multi: fix staticcheck flags
#2805
Triggered via pull request
December 12, 2025 10:12
Status
Failure
Total duration
10m 32s
Artifacts
–
main.yml
on: pull_request
RPC compilation check
1m 30s
SQL compilation check
8s
go mod check
10m 24s
build and lint code
4m 52s
verify that auto-generated documentation is up-to-date
26s
run unit-test sqlite3 race
8m 41s
run unit-test postgres race
10m 28s
run LiT itests
5m 29s
run LiT unit tests
6m 17s
Annotations
64 errors and 2 warnings
|
build and lint code:
loopin_test.go#L651
cannot use <-ctx.errChan (comma, ok expression of interface type error) as *loopInSwap value in assignment
|
|
build and lint code:
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)
|
|
build and lint code:
loopin_test.go#L630
cannot use resumeLoopInSwap(context.Background(), cfg, pendSwap) (value of interface type error) as *loopInSwap value in assignment
|
|
build and lint code:
loopin_test.go#L623
inSwap.state undefined (type error has no field or method state)
|
|
build and lint code:
loopin_test.go#L618
inSwap.LoopInContract undefined (type error has no field or method LoopInContract)
|
|
build and lint code:
loopin_test.go#L614
err.Error undefined (type *loopInSwap has no field or method Error)
|
|
build and lint code:
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)
|
|
build and lint code:
loopin_test.go#L612
cannot use <-ctx.errChan (comma, ok expression of interface type error) as *loopInSwap value in assignment
|
|
build and lint code:
loopin_test.go#L602
inSwap.abandonChan undefined (type error has no field or method abandonChan)
|
|
build and lint code:
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 LiT itests
Process completed with exit code 2.
|
|
run LiT itests
undefined: staticaddressrpc.ServerPsbtWithdrawSigningInfo
|
|
run LiT itests
undefined: staticaddressrpc.ServerPsbtWithdrawRequest
|
|
run LiT itests
m.cfg.StaticAddressServerClient.ServerPsbtWithdrawDeposits undefined (type swapserverrpc.StaticAddressServerClient has no field or method ServerPsbtWithdrawDeposits)
|
|
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 LiT unit tests
m.cfg.StaticAddressServerClient.ServerPsbtWithdrawDeposits undefined (type swapserverrpc.StaticAddressServerClient has no field or method ServerPsbtWithdrawDeposits)
|
|
run LiT unit tests
undefined: staticaddressrpc.ServerPsbtWithdrawSigningInfo
|
|
run LiT unit tests
undefined: staticaddressrpc.ServerPsbtWithdrawRequest
|
|
run LiT unit tests
m.cfg.StaticAddressServerClient.ServerPsbtWithdrawDeposits undefined (type swapserverrpc.StaticAddressServerClient has no field or method ServerPsbtWithdrawDeposits)
|
|
run LiT unit tests
undefined: staticaddressrpc.ServerPsbtWithdrawSigningInfo
|
|
run LiT unit tests
undefined: staticaddressrpc.ServerPsbtWithdrawRequest
|
|
run LiT unit tests
m.cfg.StaticAddressServerClient.ServerPsbtWithdrawDeposits undefined (type swapserverrpc.StaticAddressServerClient has no field or method ServerPsbtWithdrawDeposits)
|
|
run LiT unit tests
undefined: staticaddressrpc.ServerPsbtWithdrawSigningInfo
|
|
run LiT unit tests
undefined: staticaddressrpc.ServerPsbtWithdrawRequest
|
|
run LiT unit tests
m.cfg.StaticAddressServerClient.ServerPsbtWithdrawDeposits undefined (type swapserverrpc.StaticAddressServerClient has no field or method ServerPsbtWithdrawDeposits)
|
|
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 unit-test sqlite3 race:
loopin_test.go#L651
cannot use <-ctx.errChan (comma, ok expression of interface type error) as *loopInSwap value in assignment
|
|
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 postgres race:
loopin_test.go#L651
cannot use <-ctx.errChan (comma, ok expression of interface type error) as *loopInSwap value in assignment
|
|
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 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
|