[INFO] fetching crate miniscript-qtum 10.0.0-qtum... [INFO] checking miniscript-qtum-10.0.0-qtum against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate miniscript-qtum 10.0.0-qtum into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate miniscript-qtum 10.0.0-qtum on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate miniscript-qtum 10.0.0-qtum [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate miniscript-qtum 10.0.0-qtum [INFO] tweaked toml for crates.io crate miniscript-qtum 10.0.0-qtum written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate miniscript-qtum 10.0.0-qtum already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `internals` dependency) [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ckb-rational v0.112.1 [INFO] [stderr] Downloaded core2 v0.3.3 [INFO] [stderr] Downloaded ckb-occupied-capacity v0.112.1 [INFO] [stderr] Downloaded golomb-coded-set v0.2.0 [INFO] [stderr] Downloaded molecule v0.7.5 [INFO] [stderr] Downloaded qtum-private v0.1.0-qtum [INFO] [stderr] Downloaded ckb-channel v0.112.1 [INFO] [stderr] Downloaded ckb-error v0.112.1 [INFO] [stderr] Downloaded ckb-fixed-hash-core v0.112.1 [INFO] [stderr] Downloaded ckb-occupied-capacity-core v0.112.1 [INFO] [stderr] Downloaded ckb-constant v0.112.1 [INFO] [stderr] Downloaded ckb-fixed-hash-macros v0.112.1 [INFO] [stderr] Downloaded ckb-gen-types v0.112.1 [INFO] [stderr] Downloaded ckb-fixed-hash v0.112.1 [INFO] [stderr] Downloaded ckb-hash v0.112.1 [INFO] [stderr] Downloaded ckb-occupied-capacity-macros v0.112.1 [INFO] [stderr] Downloaded ckb-types v0.112.1 [INFO] [stderr] Downloaded qtum v0.30.0-qtum [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3c9e4435198524cc4590ff8eeb53cc040237aecb221990e1755a8bafd11cffe [INFO] running `Command { std: "docker" "start" "-a" "e3c9e4435198524cc4590ff8eeb53cc040237aecb221990e1755a8bafd11cffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3c9e4435198524cc4590ff8eeb53cc040237aecb221990e1755a8bafd11cffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3c9e4435198524cc4590ff8eeb53cc040237aecb221990e1755a8bafd11cffe", kill_on_drop: false }` [INFO] [stdout] e3c9e4435198524cc4590ff8eeb53cc040237aecb221990e1755a8bafd11cffe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06bdf3c6f5a096ce8720f2409aa07b2315e34403713a0002756a559b7171acc0 [INFO] running `Command { std: "docker" "start" "-a" "06bdf3c6f5a096ce8720f2409aa07b2315e34403713a0002756a559b7171acc0", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `internals` dependency) [INFO] [stderr] Compiling proc-macro2 v1.0.68 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.17 [INFO] [stderr] Compiling faster-hex v0.6.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking blake2b-ref v0.3.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking crossbeam-channel v0.5.9 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Compiling qtum-private v0.1.0-qtum [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Checking ckb-channel v0.112.1 [INFO] [stderr] Checking bitcoin_hashes v0.12.0 [INFO] [stderr] Checking golomb-coded-set v0.2.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Compiling blake2b-rs v0.2.0 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ckb-merkle-mountain-range v0.5.2 [INFO] [stderr] Checking ckb-hash v0.112.1 [INFO] [stderr] Checking merkle-cbt v0.3.2 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking ckb-constant v0.112.1 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling qtum v0.30.0-qtum [INFO] [stderr] Checking keccak-hash v0.10.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Compiling numext-constructor v0.1.6 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking secp256k1 v0.27.0 [INFO] [stderr] Checking ckb-occupied-capacity-core v0.112.1 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking numext-fixed-uint-core v0.1.6 [INFO] [stderr] Checking ckb-fixed-hash-core v0.112.1 [INFO] [stderr] Checking serde_test v1.0.176 [INFO] [stderr] Checking molecule v0.7.5 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Compiling ckb-occupied-capacity-macros v0.112.1 [INFO] [stderr] Compiling ckb-fixed-hash-macros v0.112.1 [INFO] [stderr] Checking ckb-occupied-capacity v0.112.1 [INFO] [stderr] Checking ckb-error v0.112.1 [INFO] [stderr] Checking ckb-fixed-hash v0.112.1 [INFO] [stderr] Compiling numext-fixed-uint-hack v0.1.6 [INFO] [stderr] Checking numext-fixed-uint v0.1.6 [INFO] [stderr] Checking ckb-gen-types v0.112.1 [INFO] [stderr] Checking ckb-rational v0.112.1 [INFO] [stderr] Checking ckb-types v0.112.1 [INFO] [stderr] Checking miniscript-qtum v10.0.0-qtum (/opt/rustwide/workdir) [INFO] [stdout] error: unused import: `pub_macros::*` [INFO] [stdout] --> src/lib.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | pub use pub_macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | #![deny(unused_imports)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused imports: `BTreeSet`, `BinaryHeap`, `Cow`, `rc`, `slice`, and `vec_deque::VecDeque` [INFO] [stdout] --> src/lib.rs:965:26 [INFO] [stdout] | [INFO] [stdout] 965 | borrow::{Borrow, Cow, ToOwned}, [INFO] [stdout] | ^^^ [INFO] [stdout] 966 | boxed::Box, [INFO] [stdout] 967 | collections::{vec_deque::VecDeque, BTreeMap, BTreeSet, BinaryHeap, HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 968 | rc, slice, [INFO] [stdout] | ^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `pub_macros::*` [INFO] [stdout] --> src/lib.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | pub use pub_macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | #![deny(unused_imports)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-fmt` [INFO] [stdout] --> src/miniscript/ms_tests.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg_attr(feature="cargo-fmt", rustfmt_skip)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actual-serde`, `base64`, `compiler`, `default`, `hashbrown`, `no-std`, `rand`, `serde`, `std`, `trace`, and `unstable` [INFO] [stdout] = help: consider adding `cargo-fmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-fmt` [INFO] [stdout] --> src/miniscript/ms_tests.rs:5649:16 [INFO] [stdout] | [INFO] [stdout] 5649 | #[cfg_attr(feature="cargo-fmt", rustfmt_skip)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actual-serde`, `base64`, `compiler`, `default`, `hashbrown`, `no-std`, `rand`, `serde`, `std`, `trace`, and `unstable` [INFO] [stdout] = help: consider adding `cargo-fmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-fmt` [INFO] [stdout] --> src/miniscript/ms_tests.rs:9146:16 [INFO] [stdout] | [INFO] [stdout] 9146 | #[cfg_attr(feature="cargo-fmt", rustfmt_skip)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actual-serde`, `base64`, `compiler`, `default`, `hashbrown`, `no-std`, `rand`, `serde`, `std`, `trace`, and `unstable` [INFO] [stdout] = help: consider adding `cargo-fmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-fmt` [INFO] [stdout] --> src/miniscript/ms_tests.rs:15047:16 [INFO] [stdout] | [INFO] [stdout] 15047 | #[cfg_attr(feature="cargo-fmt", rustfmt_skip)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actual-serde`, `base64`, `compiler`, `default`, `hashbrown`, `no-std`, `rand`, `serde`, `std`, `trace`, and `unstable` [INFO] [stdout] = help: consider adding `cargo-fmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-fmt` [INFO] [stdout] --> src/miniscript/ms_tests.rs:22080:20 [INFO] [stdout] | [INFO] [stdout] 22080 | #[cfg_attr(feature="cargo-fmt", rustfmt_skip)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `actual-serde`, `base64`, `compiler`, `default`, `hashbrown`, `no-std`, `rand`, `serde`, `std`, `trace`, and `unstable` [INFO] [stdout] = help: consider adding `cargo-fmt` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused imports: `BTreeSet`, `BinaryHeap`, `Cow`, `rc`, `slice`, and `vec_deque::VecDeque` [INFO] [stdout] --> src/lib.rs:965:26 [INFO] [stdout] | [INFO] [stdout] 965 | borrow::{Borrow, Cow, ToOwned}, [INFO] [stdout] | ^^^ [INFO] [stdout] 966 | boxed::Box, [INFO] [stdout] 967 | collections::{vec_deque::VecDeque, BTreeMap, BTreeSet, BinaryHeap, HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 968 | rc, slice, [INFO] [stdout] | ^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: methods `proprietary` and `unknown` are never used [INFO] [stdout] --> src/psbt/mod.rs:1054:8 [INFO] [stdout] | [INFO] [stdout] 1045 | trait PsbtFields { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 1054 | fn proprietary(&mut self) -> &mut BTreeMap>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1055 | fn unknown(&mut self) -> &mut BTreeMap>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | #![deny(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `miniscript-qtum` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: methods `proprietary` and `unknown` are never used [INFO] [stdout] --> src/psbt/mod.rs:1054:8 [INFO] [stdout] | [INFO] [stdout] 1045 | trait PsbtFields { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 1054 | fn proprietary(&mut self) -> &mut BTreeMap>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1055 | fn unknown(&mut self) -> &mut BTreeMap>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | #![deny(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a module [INFO] [stdout] --> src/miniscript/iter.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub mod test { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | #![deny(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a type alias [INFO] [stdout] --> src/miniscript/iter.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | pub type TestData = ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a function [INFO] [stdout] --> src/miniscript/iter.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn gen_secp_pubkeys(n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a function [INFO] [stdout] --> src/miniscript/iter.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn gen_bitcoin_pubkeys(n: usize, compressed: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a function [INFO] [stdout] --> src/miniscript/iter.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn gen_testcases() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `miniscript-qtum` (lib test) due to 9 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "06bdf3c6f5a096ce8720f2409aa07b2315e34403713a0002756a559b7171acc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06bdf3c6f5a096ce8720f2409aa07b2315e34403713a0002756a559b7171acc0", kill_on_drop: false }` [INFO] [stdout] 06bdf3c6f5a096ce8720f2409aa07b2315e34403713a0002756a559b7171acc0