Skip to content

tapdb: fix bug w.r.t null bool handling, allow InsertScriptKey to allow flipping known to true #3347

tapdb: fix bug w.r.t null bool handling, allow InsertScriptKey to allow flipping known to true

tapdb: fix bug w.r.t null bool handling, allow InsertScriptKey to allow flipping known to true #3347

Triggered via pull request November 9, 2024 01:48
Status Failure
Total duration 12m 46s
Artifacts 2

main.yaml

on: pull_request
Matrix: run unit tests
Sqlc check
29s
Sqlc check
RPC check
1m 12s
RPC check
go mod check
24s
go mod check
test vector check
52s
test vector check
migration version check
12s
migration version check
Compilation check
37s
Compilation check
sample configuration check
34s
sample configuration check
Docker build check
3m 29s
Docker build check
cross compilation
1m 30s
cross compilation
Lint check
2m 30s
Lint check
Format check
23s
Format check
run itests
2m 32s
run itests
run itests postgres
2m 39s
run itests postgres
run LiT tests
12m 36s
run LiT tests
Fit to window
Zoom out
Zoom in

Annotations

37 errors and 18 warnings
Compilation check: tapcfg/server.go#L102
cannot use db.WithTx(tx) (value of type *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries) as tapdb.AddrBook value in return statement: *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries does not implement tapdb.AddrBook (missing method DeclareScriptKeyKnown)
Compilation check: tapcfg/server.go#L107
cannot use addrBookDB (variable of type *tapdb.TransactionExecutor[tapdb.AddrBook]) as tapdb.BatchedAddrBook value in argument to tapdb.NewTapAddressBook: *tapdb.TransactionExecutor[tapdb.AddrBook] does not implement tapdb.BatchedAddrBook (missing method DeclareScriptKeyKnown)
Compilation check
Process completed with exit code 1.
cross compilation
cannot use db.WithTx(tx) (value of type *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries) as tapdb.AddrBook value in return statement: *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries does not implement tapdb.AddrBook (missing method DeclareScriptKeyKnown)
cross compilation
cannot use addrBookDB (variable of type *tapdb.TransactionExecutor[tapdb.AddrBook]) as tapdb.BatchedAddrBook value in argument to tapdb.NewTapAddressBook: *tapdb.TransactionExecutor[tapdb.AddrBook] does not implement tapdb.BatchedAddrBook (missing method DeclareScriptKeyKnown)
cross compilation
Process completed with exit code 2.
run itests: tapcfg/server.go#L102
cannot use db.WithTx(tx) (value of type *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries) as tapdb.AddrBook value in return statement: *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries does not implement tapdb.AddrBook (missing method DeclareScriptKeyKnown)
run itests: tapcfg/server.go#L107
cannot use addrBookDB (variable of type *tapdb.TransactionExecutor[tapdb.AddrBook]) as tapdb.BatchedAddrBook value in argument to tapdb.NewTapAddressBook: *tapdb.TransactionExecutor[tapdb.AddrBook] does not implement tapdb.BatchedAddrBook (missing method DeclareScriptKeyKnown)
run itests
Process completed with exit code 2.
run itests postgres: tapcfg/server.go#L102
cannot use db.WithTx(tx) (value of type *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries) as tapdb.AddrBook value in return statement: *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries does not implement tapdb.AddrBook (missing method DeclareScriptKeyKnown)
run itests postgres: tapcfg/server.go#L107
cannot use addrBookDB (variable of type *tapdb.TransactionExecutor[tapdb.AddrBook]) as tapdb.BatchedAddrBook value in argument to tapdb.NewTapAddressBook: *tapdb.TransactionExecutor[tapdb.AddrBook] does not implement tapdb.BatchedAddrBook (missing method DeclareScriptKeyKnown)
run itests postgres
Process completed with exit code 2.
run unit tests (unit-cover): tapgarden/custodian_test.go#L48
cannot use db.WithTx(tx) (value of type *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries) as tapdb.AddrBook value in return statement: *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries does not implement tapdb.AddrBook (missing method DeclareScriptKeyKnown)
run unit tests (unit-cover): tapgarden/custodian_test.go#L53
cannot use addrTx (variable of type *tapdb.TransactionExecutor[tapdb.AddrBook]) as tapdb.BatchedAddrBook value in argument to tapdb.NewTapAddressBook: *tapdb.TransactionExecutor[tapdb.AddrBook] does not implement tapdb.BatchedAddrBook (missing method DeclareScriptKeyKnown)
run unit tests (unit-cover)
Process completed with exit code 2.
run unit tests (unit dbbackend=postgres): tapgarden/custodian_test.go#L48
cannot use db.WithTx(tx) (value of type *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries) as tapdb.AddrBook value in return statement: *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries does not implement tapdb.AddrBook (missing method DeclareScriptKeyKnown)
run unit tests (unit dbbackend=postgres): tapgarden/custodian_test.go#L53
cannot use addrTx (variable of type *tapdb.TransactionExecutor[tapdb.AddrBook]) as tapdb.BatchedAddrBook value in argument to tapdb.NewTapAddressBook: *tapdb.TransactionExecutor[tapdb.AddrBook] does not implement tapdb.BatchedAddrBook (missing method DeclareScriptKeyKnown)
run unit tests (unit dbbackend=postgres): tapdb/addrs_test.go#L34
cannot use db.WithTx(tx) (value of type *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries) as AddrBook value in return statement: *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries does not implement AddrBook (missing method DeclareScriptKeyKnown)
run unit tests (unit dbbackend=postgres): tapdb/addrs_test.go#L38
cannot use addrTx (variable of type *TransactionExecutor[AddrBook]) as BatchedAddrBook value in argument to NewTapAddressBook: *TransactionExecutor[AddrBook] does not implement BatchedAddrBook (missing method DeclareScriptKeyKnown)
run unit tests (unit dbbackend=postgres): tapcfg/server.go#L102
cannot use db.WithTx(tx) (value of type *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries) as tapdb.AddrBook value in return statement: *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries does not implement tapdb.AddrBook (missing method DeclareScriptKeyKnown)
run unit tests (unit dbbackend=postgres): tapcfg/server.go#L107
cannot use addrBookDB (variable of type *tapdb.TransactionExecutor[tapdb.AddrBook]) as tapdb.BatchedAddrBook value in argument to tapdb.NewTapAddressBook: *tapdb.TransactionExecutor[tapdb.AddrBook] does not implement tapdb.BatchedAddrBook (missing method DeclareScriptKeyKnown)
run unit tests (unit dbbackend=postgres): tapcfg/server.go#L102
cannot use db.WithTx(tx) (value of type *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries) as tapdb.AddrBook value in return statement: *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries does not implement tapdb.AddrBook (missing method DeclareScriptKeyKnown)
run unit tests (unit dbbackend=postgres): tapcfg/server.go#L107
cannot use addrBookDB (variable of type *tapdb.TransactionExecutor[tapdb.AddrBook]) as tapdb.BatchedAddrBook value in argument to tapdb.NewTapAddressBook: *tapdb.TransactionExecutor[tapdb.AddrBook] does not implement tapdb.BatchedAddrBook (missing method DeclareScriptKeyKnown)
run unit tests (unit dbbackend=postgres): tapcfg/server.go#L102
cannot use db.WithTx(tx) (value of type *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries) as tapdb.AddrBook value in return statement: *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries does not implement tapdb.AddrBook (missing method DeclareScriptKeyKnown)
run unit tests (unit dbbackend=postgres): tapcfg/server.go#L107
cannot use addrBookDB (variable of type *tapdb.TransactionExecutor[tapdb.AddrBook]) as tapdb.BatchedAddrBook value in argument to tapdb.NewTapAddressBook: *tapdb.TransactionExecutor[tapdb.AddrBook] does not implement tapdb.BatchedAddrBook (missing method DeclareScriptKeyKnown)
Docker build check
buildx failed with: ERROR: failed to solve: process "/bin/sh -c make release-install TAGS=monitoring" did not complete successfully: exit code: 2
run unit tests (unit-race): tapgarden/custodian_test.go#L48
cannot use db.WithTx(tx) (value of type *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries) as tapdb.AddrBook value in return statement: *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries does not implement tapdb.AddrBook (missing method DeclareScriptKeyKnown)
run unit tests (unit-race): tapgarden/custodian_test.go#L53
cannot use addrTx (variable of type *tapdb.TransactionExecutor[tapdb.AddrBook]) as tapdb.BatchedAddrBook value in argument to tapdb.NewTapAddressBook: *tapdb.TransactionExecutor[tapdb.AddrBook] does not implement tapdb.BatchedAddrBook (missing method DeclareScriptKeyKnown)
run unit tests (unit-race): tapdb/addrs_test.go#L34
cannot use db.WithTx(tx) (value of type *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries) as AddrBook value in return statement: *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries does not implement AddrBook (missing method DeclareScriptKeyKnown)
run unit tests (unit-race): tapdb/addrs_test.go#L38
cannot use addrTx (variable of type *TransactionExecutor[AddrBook]) as BatchedAddrBook value in argument to NewTapAddressBook: *TransactionExecutor[AddrBook] does not implement BatchedAddrBook (missing method DeclareScriptKeyKnown)
run unit tests (unit-race): tapcfg/server.go#L102
cannot use db.WithTx(tx) (value of type *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries) as tapdb.AddrBook value in return statement: *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries does not implement tapdb.AddrBook (missing method DeclareScriptKeyKnown)
run unit tests (unit-race): tapcfg/server.go#L107
cannot use addrBookDB (variable of type *tapdb.TransactionExecutor[tapdb.AddrBook]) as tapdb.BatchedAddrBook value in argument to tapdb.NewTapAddressBook: *tapdb.TransactionExecutor[tapdb.AddrBook] does not implement tapdb.BatchedAddrBook (missing method DeclareScriptKeyKnown)
run unit tests (unit-race): tapcfg/server.go#L102
cannot use db.WithTx(tx) (value of type *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries) as tapdb.AddrBook value in return statement: *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries does not implement tapdb.AddrBook (missing method DeclareScriptKeyKnown)
run unit tests (unit-race): tapcfg/server.go#L107
cannot use addrBookDB (variable of type *tapdb.TransactionExecutor[tapdb.AddrBook]) as tapdb.BatchedAddrBook value in argument to tapdb.NewTapAddressBook: *tapdb.TransactionExecutor[tapdb.AddrBook] does not implement tapdb.BatchedAddrBook (missing method DeclareScriptKeyKnown)
run unit tests (unit-race): tapcfg/server.go#L102
cannot use db.WithTx(tx) (value of type *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries) as tapdb.AddrBook value in return statement: *"github.com/lightninglabs/taproot-assets/tapdb/sqlc".Queries does not implement tapdb.AddrBook (missing method DeclareScriptKeyKnown)
run unit tests (unit-race): tapcfg/server.go#L107
cannot use addrBookDB (variable of type *tapdb.TransactionExecutor[tapdb.AddrBook]) as tapdb.BatchedAddrBook value in argument to tapdb.NewTapAddressBook: *tapdb.TransactionExecutor[tapdb.AddrBook] does not implement tapdb.BatchedAddrBook (missing method DeclareScriptKeyKnown)
finish
Error: The process '/home/runner/work/_actions/shogo82148/actions-goveralls/v1/bin/goveralls_linux_amd64' failed with exit code 1
migration version check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Format check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
go mod check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Sqlc check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/setup-go@v3, jpribyl/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
sample configuration check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Compilation check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test vector check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
RPC check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
cross compilation
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run itests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/setup-go@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run itests postgres
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/setup-go@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run unit tests (unit-cover)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run unit tests (unit dbbackend=postgres)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Docker build check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, docker/setup-qemu-action@v2, docker/setup-buildx-action@v2, docker/build-push-action@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run unit tests (unit-race)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run LiT tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/setup-go@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "logs-itest", "logs-itest-postgres". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
logs-itest Expired
22 Bytes
logs-itest-postgres Expired
22 Bytes