Skip to content

multi: fix staticcheck flags #2803

multi: fix staticcheck flags

multi: fix staticcheck flags #2803

Triggered via pull request December 11, 2025 20:10
Status Failure
Total duration 10m 1s
Artifacts

main.yml

on: pull_request
RPC compilation check
1m 39s
RPC compilation check
SQL compilation check
10s
SQL compilation check
go mod check
9m 58s
go mod check
build and lint code
3m 12s
build and lint code
verify that auto-generated documentation is up-to-date
3m 18s
verify that auto-generated documentation is up-to-date
run unit-test sqlite3 race
5m 25s
run unit-test sqlite3 race
run unit-test postgres race
5m 58s
run unit-test postgres race
run LiT itests
5m 47s
run LiT itests
run LiT unit tests
6m 49s
run LiT unit tests
Fit to window
Zoom out
Zoom in

Annotations

52 errors and 2 warnings
build and lint code
Process completed with exit code 2.
build and lint code: swap_server_client.go#L919
undefined: insecure
verify that auto-generated documentation is up-to-date
Process completed with exit code 2.
run unit-test sqlite3 race: loopin_test.go#L633
cannot use err (variable of type *loopInSwap) as error value in argument to require.NoError: *loopInSwap does not implement error (missing method Error)
run unit-test sqlite3 race: loopin_test.go#L630
cannot use resumeLoopInSwap(context.Background(), cfg, pendSwap) (value of interface type error) as *loopInSwap value in assignment
run unit-test sqlite3 race: loopin_test.go#L623
inSwap.state undefined (type error has no field or method state)
run unit-test sqlite3 race: loopin_test.go#L618
inSwap.LoopInContract undefined (type error has no field or method LoopInContract)
run unit-test sqlite3 race: loopin_test.go#L614
err.Error undefined (type *loopInSwap has no field or method Error)
run unit-test sqlite3 race: loopin_test.go#L613
cannot use err (variable of type *loopInSwap) as error value in argument to require.Error: *loopInSwap does not implement error (missing method Error)
run unit-test sqlite3 race: loopin_test.go#L612
cannot use <-ctx.errChan (comma, ok expression of interface type error) as *loopInSwap value in assignment
run unit-test sqlite3 race: loopin_test.go#L602
inSwap.abandonChan undefined (type error has no field or method abandonChan)
run unit-test sqlite3 race: loopin_test.go#L597
cannot use err (variable of type *loopInSwap) as error value in argument to require.NoError: *loopInSwap does not implement error (missing method Error)
run unit-test sqlite3 race: swap_server_client.go#L919
undefined: insecure
run LiT itests
Process completed with exit code 2.
run LiT itests
undefined: insecure
run LiT itests
Cannot open: File exists
run LiT itests
Cannot open: File exists
run LiT itests
Cannot open: File exists
run LiT itests
Cannot open: File exists
run LiT itests
Cannot open: File exists
run LiT itests
Cannot open: File exists
run LiT itests
Cannot open: File exists
run LiT itests
Cannot open: File exists
run LiT itests
Cannot open: File exists
run LiT itests
Cannot open: File exists
run unit-test postgres race: loopin_test.go#L633
cannot use err (variable of type *loopInSwap) as error value in argument to require.NoError: *loopInSwap does not implement error (missing method Error)
run unit-test postgres race: loopin_test.go#L630
cannot use resumeLoopInSwap(context.Background(), cfg, pendSwap) (value of interface type error) as *loopInSwap value in assignment
run unit-test postgres race: loopin_test.go#L623
inSwap.state undefined (type error has no field or method state)
run unit-test postgres race: loopin_test.go#L618
inSwap.LoopInContract undefined (type error has no field or method LoopInContract)
run unit-test postgres race: loopin_test.go#L614
err.Error undefined (type *loopInSwap has no field or method Error)
run unit-test postgres race: loopin_test.go#L613
cannot use err (variable of type *loopInSwap) as error value in argument to require.Error: *loopInSwap does not implement error (missing method Error)
run unit-test postgres race: loopin_test.go#L612
cannot use <-ctx.errChan (comma, ok expression of interface type error) as *loopInSwap value in assignment
run unit-test postgres race: loopin_test.go#L602
inSwap.abandonChan undefined (type error has no field or method abandonChan)
run unit-test postgres race: loopin_test.go#L597
cannot use err (variable of type *loopInSwap) as error value in argument to require.NoError: *loopInSwap does not implement error (missing method Error)
run unit-test postgres race: swap_server_client.go#L919
undefined: insecure
run LiT unit tests
Process completed with exit code 2.
run LiT unit tests
undefined: insecure
run LiT unit tests
undefined: insecure
run LiT unit tests
undefined: insecure
run LiT unit tests
undefined: insecure
run LiT unit tests
undefined: insecure
run LiT unit tests
Cannot open: File exists
run LiT unit tests
Cannot open: File exists
run LiT unit tests
Cannot open: File exists
run LiT unit tests
Cannot open: File exists
run LiT unit tests
Cannot open: File exists
run LiT unit tests
Cannot open: File exists
run LiT unit tests
Cannot open: File exists
run LiT unit tests
Cannot open: File exists
run LiT unit tests
Cannot open: File exists
run LiT unit tests
Cannot open: File exists
run LiT itests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
run LiT unit tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2