Page MenuHomePhabricator

[Chronik] Store index of plugins and ensure versions match
ClosedPublic

Authored by tobias_ruck on Jul 23 2024, 10:54.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC6ac27572b166: [Chronik] Store index of plugins and ensure versions match
Summary

This is an incremental step towards adding a proper plugin interface.

The long-term goal is to have Chronik automatically re-index the transactions of a plugin using the LOKAD ID index, however, we don't need this for an initial release.

Instead, we only add a check that ensures the plugin versions that previously have been used match those that are currently loaded.

We also assign plugin_idx numbers for plugins, this allows us to use integers instead of plugin name strings when indexing transactions, and in the future may allow renaming plugins without doing a reindex.

Depends on D16520.

Test Plan

ninja check-crates && ./test/functional/test_runner.py chronik_plugins_setup

Event Timeline

Tail of the build log:

    ... required by package `chronik-http v0.1.0 (/work/chronik/chronik-http)`
versions that meet the requirements `*` (locked to 0.1.0) are: 0.1.0

the package `chronik-http` depends on `chronik-db`, with features: `plugins` but `chronik-db` does not have these features.


failed to select a version for `chronik-db` which could resolve this conflict
[4/6] cd /work && /usr/bin/cmake -E env CARGO_TARGET_DIR="/work/abc-ci-builds/build-chronik-plugins/cargo/build" CARGO_BUILD_RUSTC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustc" CARGO_BUILD_RUSTDOC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustdoc" /root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/cargo --locked clippy --package 'abc-rust-*' -- -D warnings
FAILED: chronik/CMakeFiles/check-crate-abc-rust-clippy 
cd /work && /usr/bin/cmake -E env CARGO_TARGET_DIR="/work/abc-ci-builds/build-chronik-plugins/cargo/build" CARGO_BUILD_RUSTC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustc" CARGO_BUILD_RUSTDOC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustdoc" /root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/cargo --locked clippy --package 'abc-rust-*' -- -D warnings
warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
    Blocking waiting for file lock on package cache
    Updating crates.io index
error: failed to select a version for `chronik-db`.
    ... required by package `chronik-http v0.1.0 (/work/chronik/chronik-http)`
versions that meet the requirements `*` (locked to 0.1.0) are: 0.1.0

the package `chronik-http` depends on `chronik-db`, with features: `plugins` but `chronik-db` does not have these features.


failed to select a version for `chronik-db` which could resolve this conflict
[5/6] cd /work && /usr/bin/cmake -E env CARGO_TARGET_DIR="/work/abc-ci-builds/build-chronik-plugins/cargo/build" CARGO_BUILD_RUSTC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustc" CARGO_BUILD_RUSTDOC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustdoc" /root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/cargo --locked clippy --package 'chronik-*' -- -D warnings
FAILED: chronik/CMakeFiles/check-crate-chronik-clippy 
cd /work && /usr/bin/cmake -E env CARGO_TARGET_DIR="/work/abc-ci-builds/build-chronik-plugins/cargo/build" CARGO_BUILD_RUSTC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustc" CARGO_BUILD_RUSTDOC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustdoc" /root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/cargo --locked clippy --package 'chronik-*' -- -D warnings
warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
    Blocking waiting for file lock on package cache
    Updating crates.io index
error: failed to select a version for `chronik-db`.
    ... required by package `chronik-http v0.1.0 (/work/chronik/chronik-http)`
versions that meet the requirements `*` (locked to 0.1.0) are: 0.1.0

the package `chronik-http` depends on `chronik-db`, with features: `plugins` but `chronik-db` does not have these features.


failed to select a version for `chronik-db` which could resolve this conflict
[6/6] cd /work && /usr/bin/cmake -E env CARGO_TARGET_DIR="/work/abc-ci-builds/build-chronik-plugins/cargo/build" CARGO_BUILD_RUSTC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustc" CARGO_BUILD_RUSTDOC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustdoc" /root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/cargo --locked clippy --package 'bitcoinsuite-*' -- -D warnings
FAILED: chronik/CMakeFiles/check-crate-bitcoinsuite-clippy 
cd /work && /usr/bin/cmake -E env CARGO_TARGET_DIR="/work/abc-ci-builds/build-chronik-plugins/cargo/build" CARGO_BUILD_RUSTC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustc" CARGO_BUILD_RUSTDOC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustdoc" /root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/cargo --locked clippy --package 'bitcoinsuite-*' -- -D warnings
warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
    Blocking waiting for file lock on package cache
    Updating crates.io index
error: failed to select a version for `chronik-db`.
    ... required by package `chronik-http v0.1.0 (/work/chronik/chronik-http)`
versions that meet the requirements `*` (locked to 0.1.0) are: 0.1.0

the package `chronik-http` depends on `chronik-db`, with features: `plugins` but `chronik-db` does not have these features.


failed to select a version for `chronik-db` which could resolve this conflict
ninja: build stopped: cannot make progress due to previous errors.
Build build-chronik-plugins failed with exit code 1

Tail of the build log:

[239/581] Building CXX object src/CMakeFiles/script.dir/script/standard.cpp.o
[240/581] Building CXX object src/CMakeFiles/common.dir/common/system.cpp.o
[241/581] Building CXX object src/CMakeFiles/common.dir/consensus/merkle.cpp.o
[242/581] Building CXX object src/CMakeFiles/common.dir/common/bloom.cpp.o
[243/581] Building CXX object src/CMakeFiles/common.dir/config.cpp.o
[244/581] Building CXX object src/CMakeFiles/common.dir/cashaddrenc.cpp.o
[245/581] Building CXX object src/CMakeFiles/common.dir/eventloop.cpp.o
[246/581] Building CXX object src/CMakeFiles/common.dir/chainparams.cpp.o
[247/581] Building CXX object src/CMakeFiles/script.dir/script/sign.cpp.o
[248/581] Building CXX object src/CMakeFiles/common.dir/feerate.cpp.o
[249/581] Building CXX object src/CMakeFiles/script.dir/script/signingprovider.cpp.o
[250/581] Building CXX object src/CMakeFiles/script.dir/script/interpreter.cpp.o
[251/581] Building CXX object src/CMakeFiles/common.dir/compressor.cpp.o
[252/581] Building CXX object src/CMakeFiles/common.dir/common/configfile.cpp.o
[253/581] Building CXX object src/CMakeFiles/common.dir/key.cpp.o
[254/581] Building CXX object src/CMakeFiles/common.dir/merkleblock.cpp.o
[255/581] Building CXX object src/CMakeFiles/common.dir/coins.cpp.o
[256/581] Building CXX object src/CMakeFiles/common.dir/net_permissions.cpp.o
[257/581] Building CXX object src/CMakeFiles/common.dir/key_io.cpp.o
[258/581] Building CXX object src/CMakeFiles/script.dir/script/descriptor.cpp.o
[259/581] Building CXX object src/CMakeFiles/common.dir/kernel/chainparams.cpp.o
[260/581] Building CXX object src/CMakeFiles/common.dir/common/args.cpp.o
[261/581] Building CXX object src/CMakeFiles/common.dir/outputtype.cpp.o
[262/581] Building CXX object src/CMakeFiles/common.dir/primitives/block.cpp.o
[263/581] Building CXX object src/CMakeFiles/common.dir/policy/policy.cpp.o
[264/581] Building CXX object src/CMakeFiles/common.dir/networks/abc/chainparamsconstants.cpp.o
[265/581] Building CXX object src/CMakeFiles/common.dir/netaddress.cpp.o
[266/581] Building C object src/secp256k1/CMakeFiles/recover-bench.dir/src/bench_recover.c.o
[267/581] Building CXX object src/CMakeFiles/common.dir/scheduler.cpp.o
[268/581] Building CXX object src/CMakeFiles/common.dir/protocol.cpp.o
[269/581] Building CXX object src/CMakeFiles/common.dir/warnings.cpp.o
[270/581] Building C object src/secp256k1/CMakeFiles/verify-bench.dir/src/bench_verify.c.o
[271/581] Building C object src/secp256k1/CMakeFiles/sign-bench.dir/src/bench_sign.c.o
[272/581] Building CXX object src/CMakeFiles/common.dir/core_read.cpp.o
[273/581] Building CXX object src/CMakeFiles/common.dir/netbase.cpp.o
[274/581] Building CXX object src/CMakeFiles/common.dir/networks/abc/checkpoints.cpp.o
[275/581] Building CXX object src/CMakeFiles/common.dir/core_write.cpp.o
[276/581] Building C object src/secp256k1/CMakeFiles/secp256k1.dir/src/secp256k1.c.o
[277/581] Linking C static library src/secp256k1/libsecp256k1.a
[278/581] Linking C executable src/secp256k1/recover-bench
[279/581] Linking C executable src/secp256k1/verify-bench
[280/581] Linking C executable src/secp256k1/sign-bench
[281/581] Building C object src/secp256k1/CMakeFiles/ecmult-bench.dir/src/bench_ecmult.c.o
[282/581] Linking C executable src/secp256k1/ecmult-bench
[283/581] Building C object src/secp256k1/CMakeFiles/internal-bench.dir/src/bench_internal.c.o
[284/581] Linking C executable src/secp256k1/internal-bench
[285/581] Building CXX object src/CMakeFiles/common.dir/rpc/rawtransaction_util.cpp.o
[286/581] Building CXX object src/CMakeFiles/common.dir/psbt.cpp.o
[287/581] Building CXX object src/CMakeFiles/common.dir/rpc/util.cpp.o
[288/581] Building CXX object src/CMakeFiles/bitcoin-cli.dir/bitcoin-cli.cpp.o
[289/581] Linking CXX static library src/libcommon.a
[290/581] Linking CXX static library src/libscript.a
[291/581] Linking CXX static library src/libbitcoinconsensus.a
[292/581] Linking CXX shared library src/libbitcoinconsensus.so.0.29.9
[293/581] Creating library symlink src/libbitcoinconsensus.so.0 src/libbitcoinconsensus.so
[294/581] Building CXX object src/CMakeFiles/bitcoin-tx.dir/bitcoin-tx.cpp.o
[295/581] Linking CXX executable src/bitcoin-cli
[296/581] Linking CXX executable src/bitcoin-tx
ninja: build stopped: cannot make progress due to previous errors.
Build ecash-agora-integration-tests failed with exit code 1

Tail of the build log:

[239/581] Building CXX object src/CMakeFiles/common.dir/cashaddr.cpp.o
[240/581] Building CXX object src/CMakeFiles/common.dir/common/system.cpp.o
[241/581] Building CXX object src/CMakeFiles/script.dir/script/descriptor.cpp.o
[242/581] Building CXX object src/CMakeFiles/common.dir/common/bloom.cpp.o
[243/581] Building CXX object src/CMakeFiles/script.dir/script/standard.cpp.o
[244/581] Building CXX object src/CMakeFiles/common.dir/common/configfile.cpp.o
[245/581] Building CXX object src/CMakeFiles/script.dir/script/sign.cpp.o
[246/581] Building CXX object src/CMakeFiles/common.dir/consensus/merkle.cpp.o
[247/581] Building CXX object src/CMakeFiles/common.dir/common/args.cpp.o
[248/581] Building CXX object src/CMakeFiles/common.dir/cashaddrenc.cpp.o
[249/581] Building CXX object src/CMakeFiles/common.dir/config.cpp.o
[250/581] Building CXX object src/CMakeFiles/script.dir/script/signingprovider.cpp.o
[251/581] Building CXX object src/CMakeFiles/common.dir/eventloop.cpp.o
[252/581] Building CXX object src/CMakeFiles/common.dir/chainparams.cpp.o
[253/581] Building CXX object src/CMakeFiles/common.dir/feerate.cpp.o
[254/581] Building CXX object src/CMakeFiles/common.dir/compressor.cpp.o
[255/581] Building CXX object src/CMakeFiles/common.dir/kernel/chainparams.cpp.o
[256/581] Building CXX object src/CMakeFiles/common.dir/merkleblock.cpp.o
[257/581] Building CXX object src/CMakeFiles/common.dir/coins.cpp.o
[258/581] Building CXX object src/CMakeFiles/common.dir/key.cpp.o
[259/581] Building CXX object src/CMakeFiles/common.dir/core_write.cpp.o
[260/581] Building CXX object src/CMakeFiles/common.dir/netaddress.cpp.o
[261/581] Building CXX object src/CMakeFiles/common.dir/outputtype.cpp.o
[262/581] Building CXX object src/CMakeFiles/common.dir/policy/policy.cpp.o
[263/581] Building CXX object src/CMakeFiles/common.dir/key_io.cpp.o
[264/581] Building CXX object src/CMakeFiles/common.dir/netbase.cpp.o
[265/581] Building CXX object src/CMakeFiles/common.dir/primitives/block.cpp.o
[266/581] Building CXX object src/CMakeFiles/common.dir/core_read.cpp.o
[267/581] Building CXX object src/CMakeFiles/common.dir/net_permissions.cpp.o
[268/581] Building CXX object src/CMakeFiles/common.dir/protocol.cpp.o
[269/581] Building C object src/secp256k1/CMakeFiles/recover-bench.dir/src/bench_recover.c.o
[270/581] Building CXX object src/CMakeFiles/common.dir/scheduler.cpp.o
[271/581] Building C object src/secp256k1/CMakeFiles/verify-bench.dir/src/bench_verify.c.o
[272/581] Building C object src/secp256k1/CMakeFiles/sign-bench.dir/src/bench_sign.c.o
[273/581] Building CXX object src/CMakeFiles/common.dir/warnings.cpp.o
[274/581] Building C object src/secp256k1/CMakeFiles/secp256k1.dir/src/secp256k1.c.o
[275/581] Building CXX object src/CMakeFiles/common.dir/networks/abc/checkpoints.cpp.o
[276/581] Building C object src/secp256k1/CMakeFiles/ecmult-bench.dir/src/bench_ecmult.c.o
[277/581] Building C object src/secp256k1/CMakeFiles/internal-bench.dir/src/bench_internal.c.o
[278/581] Building CXX object src/CMakeFiles/common.dir/psbt.cpp.o
[279/581] Building CXX object src/CMakeFiles/common.dir/rpc/rawtransaction_util.cpp.o
[280/581] Building CXX object src/CMakeFiles/common.dir/rpc/util.cpp.o
[281/581] Linking C static library src/secp256k1/libsecp256k1.a
[282/581] Building CXX object src/CMakeFiles/bitcoin-cli.dir/bitcoin-cli.cpp.o
[283/581] Building CXX object src/CMakeFiles/bitcoin-tx.dir/bitcoin-tx.cpp.o
[284/581] Linking C executable src/secp256k1/recover-bench
[285/581] Linking C executable src/secp256k1/internal-bench
[286/581] Linking C executable src/secp256k1/ecmult-bench
[287/581] Linking C executable src/secp256k1/verify-bench
[288/581] Linking C executable src/secp256k1/sign-bench
[289/581] Building CXX object src/CMakeFiles/common.dir/networks/abc/chainparamsconstants.cpp.o
[290/581] Linking CXX static library src/libcommon.a
[291/581] Linking CXX static library src/libscript.a
[292/581] Linking CXX static library src/libbitcoinconsensus.a
[293/581] Linking CXX shared library src/libbitcoinconsensus.so.0.29.9
[294/581] Creating library symlink src/libbitcoinconsensus.so.0 src/libbitcoinconsensus.so
[295/581] Linking CXX executable src/bitcoin-cli
[296/581] Linking CXX executable src/bitcoin-tx
ninja: build stopped: cannot make progress due to previous errors.
Build ecash-lib-integration-tests failed with exit code 1

Tail of the build log:

[239/581] Building CXX object src/CMakeFiles/script.dir/script/sigencoding.cpp.o
[240/581] Building CXX object src/CMakeFiles/script.dir/script/descriptor.cpp.o
[241/581] Building CXX object src/CMakeFiles/script.dir/script/sign.cpp.o
[242/581] Building CXX object src/CMakeFiles/script.dir/script/standard.cpp.o
[243/581] Building CXX object src/CMakeFiles/common.dir/common/system.cpp.o
[244/581] Building CXX object src/CMakeFiles/common.dir/common/bloom.cpp.o
[245/581] Building CXX object src/CMakeFiles/common.dir/common/configfile.cpp.o
[246/581] Building CXX object src/CMakeFiles/common.dir/cashaddrenc.cpp.o
[247/581] Building CXX object src/CMakeFiles/common.dir/chainparams.cpp.o
[248/581] Building CXX object src/CMakeFiles/common.dir/consensus/merkle.cpp.o
[249/581] Building CXX object src/CMakeFiles/script.dir/script/signingprovider.cpp.o
[250/581] Building CXX object src/CMakeFiles/common.dir/config.cpp.o
[251/581] Building CXX object src/CMakeFiles/common.dir/eventloop.cpp.o
[252/581] Building CXX object src/CMakeFiles/common.dir/common/args.cpp.o
[253/581] Building CXX object src/CMakeFiles/common.dir/coins.cpp.o
[254/581] Building CXX object src/CMakeFiles/common.dir/compressor.cpp.o
[255/581] Building CXX object src/CMakeFiles/common.dir/feerate.cpp.o
[256/581] Building CXX object src/CMakeFiles/common.dir/merkleblock.cpp.o
[257/581] Building CXX object src/CMakeFiles/common.dir/net_permissions.cpp.o
[258/581] Building CXX object src/CMakeFiles/common.dir/core_read.cpp.o
[259/581] Building CXX object src/CMakeFiles/common.dir/key.cpp.o
[260/581] Building CXX object src/CMakeFiles/common.dir/key_io.cpp.o
[261/581] Building CXX object src/CMakeFiles/common.dir/netaddress.cpp.o
[262/581] Building CXX object src/CMakeFiles/common.dir/netbase.cpp.o
[263/581] Building CXX object src/CMakeFiles/common.dir/core_write.cpp.o
[264/581] Building CXX object src/CMakeFiles/common.dir/outputtype.cpp.o
[265/581] Building CXX object src/CMakeFiles/common.dir/policy/policy.cpp.o
[266/581] Building CXX object src/CMakeFiles/common.dir/primitives/block.cpp.o
[267/581] Building CXX object src/CMakeFiles/common.dir/protocol.cpp.o
[268/581] Building CXX object src/CMakeFiles/common.dir/scheduler.cpp.o
[269/581] Building CXX object src/CMakeFiles/common.dir/warnings.cpp.o
[270/581] Building C object src/secp256k1/CMakeFiles/recover-bench.dir/src/bench_recover.c.o
[271/581] Building C object src/secp256k1/CMakeFiles/secp256k1.dir/src/secp256k1.c.o
[272/581] Building CXX object src/CMakeFiles/common.dir/psbt.cpp.o
[273/581] Building CXX object src/CMakeFiles/common.dir/rpc/rawtransaction_util.cpp.o
[274/581] Building CXX object src/CMakeFiles/common.dir/networks/abc/checkpoints.cpp.o
[275/581] Building C object src/secp256k1/CMakeFiles/verify-bench.dir/src/bench_verify.c.o
[276/581] Building C object src/secp256k1/CMakeFiles/sign-bench.dir/src/bench_sign.c.o
[277/581] Building C object src/secp256k1/CMakeFiles/ecmult-bench.dir/src/bench_ecmult.c.o
[278/581] Building CXX object src/CMakeFiles/common.dir/rpc/util.cpp.o
[279/581] Building C object src/secp256k1/CMakeFiles/internal-bench.dir/src/bench_internal.c.o
[280/581] Building CXX object src/CMakeFiles/bitcoin-cli.dir/bitcoin-cli.cpp.o
[281/581] Linking C static library src/secp256k1/libsecp256k1.a
[282/581] Building CXX object src/CMakeFiles/bitcoin-tx.dir/bitcoin-tx.cpp.o
[283/581] Linking C executable src/secp256k1/verify-bench
[284/581] Linking C executable src/secp256k1/sign-bench
[285/581] Linking C executable src/secp256k1/recover-bench
[286/581] Linking C executable src/secp256k1/ecmult-bench
[287/581] Linking C executable src/secp256k1/internal-bench
[288/581] Building CXX object src/CMakeFiles/common.dir/networks/abc/chainparamsconstants.cpp.o
[289/581] Building CXX object src/CMakeFiles/common.dir/kernel/chainparams.cpp.o
[290/581] Linking CXX static library src/libcommon.a
[291/581] Linking CXX static library src/libscript.a
[292/581] Linking CXX static library src/libbitcoinconsensus.a
[293/581] Linking CXX shared library src/libbitcoinconsensus.so.0.29.9
[294/581] Creating library symlink src/libbitcoinconsensus.so.0 src/libbitcoinconsensus.so
[295/581] Linking CXX executable src/bitcoin-cli
[296/581] Linking CXX executable src/bitcoin-tx
ninja: build stopped: cannot make progress due to previous errors.
Build chronik-client-integration-tests failed with exit code 1

Tail of the build log:

    ... required by package `chronik-http v0.1.0 (/work/chronik/chronik-http)`
versions that meet the requirements `*` (locked to 0.1.0) are: 0.1.0

the package `chronik-http` depends on `chronik-db`, with features: `plugins` but `chronik-db` does not have these features.


failed to select a version for `chronik-db` which could resolve this conflict
[4/6] cd /work && /usr/bin/cmake -E env CARGO_TARGET_DIR="/work/abc-ci-builds/build-chronik/cargo/build" CARGO_BUILD_RUSTC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustc" CARGO_BUILD_RUSTDOC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustdoc" /root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/cargo --locked clippy --package 'chronik-*' -- -D warnings
FAILED: chronik/CMakeFiles/check-crate-chronik-clippy 
cd /work && /usr/bin/cmake -E env CARGO_TARGET_DIR="/work/abc-ci-builds/build-chronik/cargo/build" CARGO_BUILD_RUSTC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustc" CARGO_BUILD_RUSTDOC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustdoc" /root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/cargo --locked clippy --package 'chronik-*' -- -D warnings
warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
    Blocking waiting for file lock on package cache
    Updating crates.io index
error: failed to select a version for `chronik-db`.
    ... required by package `chronik-http v0.1.0 (/work/chronik/chronik-http)`
versions that meet the requirements `*` (locked to 0.1.0) are: 0.1.0

the package `chronik-http` depends on `chronik-db`, with features: `plugins` but `chronik-db` does not have these features.


failed to select a version for `chronik-db` which could resolve this conflict
[5/6] cd /work && /usr/bin/cmake -E env CARGO_TARGET_DIR="/work/abc-ci-builds/build-chronik/cargo/build" CARGO_BUILD_RUSTC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustc" CARGO_BUILD_RUSTDOC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustdoc" /root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/cargo --locked clippy --package 'abc-rust-*' -- -D warnings
FAILED: chronik/CMakeFiles/check-crate-abc-rust-clippy 
cd /work && /usr/bin/cmake -E env CARGO_TARGET_DIR="/work/abc-ci-builds/build-chronik/cargo/build" CARGO_BUILD_RUSTC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustc" CARGO_BUILD_RUSTDOC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustdoc" /root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/cargo --locked clippy --package 'abc-rust-*' -- -D warnings
warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
    Blocking waiting for file lock on package cache
    Updating crates.io index
error: failed to select a version for `chronik-db`.
    ... required by package `chronik-http v0.1.0 (/work/chronik/chronik-http)`
versions that meet the requirements `*` (locked to 0.1.0) are: 0.1.0

the package `chronik-http` depends on `chronik-db`, with features: `plugins` but `chronik-db` does not have these features.


failed to select a version for `chronik-db` which could resolve this conflict
[6/6] cd /work && /usr/bin/cmake -E env CARGO_TARGET_DIR="/work/abc-ci-builds/build-chronik/cargo/build" CARGO_BUILD_RUSTC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustc" CARGO_BUILD_RUSTDOC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustdoc" /root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/cargo --locked clippy --package 'bitcoinsuite-*' -- -D warnings
FAILED: chronik/CMakeFiles/check-crate-bitcoinsuite-clippy 
cd /work && /usr/bin/cmake -E env CARGO_TARGET_DIR="/work/abc-ci-builds/build-chronik/cargo/build" CARGO_BUILD_RUSTC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustc" CARGO_BUILD_RUSTDOC="/root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustdoc" /root/.rustup/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/cargo --locked clippy --package 'bitcoinsuite-*' -- -D warnings
warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
    Blocking waiting for file lock on package cache
    Updating crates.io index
error: failed to select a version for `chronik-db`.
    ... required by package `chronik-http v0.1.0 (/work/chronik/chronik-http)`
versions that meet the requirements `*` (locked to 0.1.0) are: 0.1.0

the package `chronik-http` depends on `chronik-db`, with features: `plugins` but `chronik-db` does not have these features.


failed to select a version for `chronik-db` which could resolve this conflict
ninja: build stopped: cannot make progress due to previous errors.
Build build-chronik failed with exit code 1
This revision is now accepted and ready to land.Jul 24 2024, 09:44