[INFO] fetching crate cs_mwc-bch 0.2.0... [INFO] testing cs_mwc-bch-0.2.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate cs_mwc-bch 0.2.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate cs_mwc-bch 0.2.0 [INFO] finished tweaking crates.io crate cs_mwc-bch 0.2.0 [INFO] tweaked toml for crates.io crate cs_mwc-bch 0.2.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cs_mwc-bch 0.2.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cs_mwc-bch 0.2.0 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded digest v0.7.6 [INFO] [stderr] Downloaded ripemd160 v0.7.0 [INFO] [stderr] Downloaded byte-tools v0.2.0 [INFO] [stderr] Downloaded snowflake v1.3.0 [INFO] [stderr] Downloaded rust-base58 v0.0.4 [INFO] [stderr] Downloaded dns-lookup v0.9.1 [INFO] [stderr] Downloaded murmur3 v0.4.1 [INFO] [stderr] Downloaded socket2 v0.3.19 [INFO] [stderr] Downloaded secp256k1 v0.19.0 [INFO] [stderr] Downloaded cc v1.2.37 [INFO] [stderr] Downloaded rand v0.5.6 [INFO] [stderr] Downloaded secp256k1-sys v0.3.0 [INFO] [stderr] Downloaded rust-crypto v0.2.36 [INFO] [stderr] Downloaded block-buffer v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4b111d3ae5c73f5a0f781a2bee9d71cf7a122d2fb8ba33a7269d8c1af0ba00d [INFO] running `Command { std: "docker" "start" "-a" "e4b111d3ae5c73f5a0f781a2bee9d71cf7a122d2fb8ba33a7269d8c1af0ba00d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4b111d3ae5c73f5a0f781a2bee9d71cf7a122d2fb8ba33a7269d8c1af0ba00d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4b111d3ae5c73f5a0f781a2bee9d71cf7a122d2fb8ba33a7269d8c1af0ba00d", kill_on_drop: false }` [INFO] [stdout] e4b111d3ae5c73f5a0f781a2bee9d71cf7a122d2fb8ba33a7269d8c1af0ba00d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97833038e1926c22988237c9b5014641fa33c7d8c3cd26a2a648a9ab1eaf24d8 [INFO] running `Command { std: "docker" "start" "-a" "97833038e1926c22988237c9b5014641fa33c7d8c3cd26a2a648a9ab1eaf24d8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling murmur3 v0.4.1 [INFO] [stderr] Compiling snowflake v1.3.0 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling generic-array v0.9.1 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling ripemd160 v0.7.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling secp256k1-sys v0.3.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling dns-lookup v0.9.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling secp256k1 v0.19.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling rust-base58 v0.0.4 [INFO] [stderr] Compiling cs_mwc-bch v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/peer/atomic_reader.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(reader: &mut dyn Read) -> AtomicReader { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(reader: &mut dyn Read) -> AtomicReader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.54s [INFO] running `Command { std: "docker" "inspect" "97833038e1926c22988237c9b5014641fa33c7d8c3cd26a2a648a9ab1eaf24d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97833038e1926c22988237c9b5014641fa33c7d8c3cd26a2a648a9ab1eaf24d8", kill_on_drop: false }` [INFO] [stdout] 97833038e1926c22988237c9b5014641fa33c7d8c3cd26a2a648a9ab1eaf24d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd1b4694e032f5bb5b7a2b50c364cf80cd372ae5a2b724b8040da7436491ad4f [INFO] running `Command { std: "docker" "start" "-a" "cd1b4694e032f5bb5b7a2b50c364cf80cd372ae5a2b724b8040da7436491ad4f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling cs_mwc-bch v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/peer/atomic_reader.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(reader: &mut dyn Read) -> AtomicReader { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(reader: &mut dyn Read) -> AtomicReader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/address/legacyaddr.rs:73:44 [INFO] [stdout] | [INFO] [stdout] 73 | let legacyaddr = legacyaddr_encode(&pubkeyhash, AddressType::P2PKH, Network::Mainnet); [INFO] [stdout] | ----------------- ^^^^^^^^^^^ expected `&[u8]`, found `&Hash160` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&util::hash160::Hash160` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/address/legacyaddr.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn legacyaddr_encode(hash160: &[u8], addr_type: AddressType, network: Network) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cs_mwc-bch` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "cd1b4694e032f5bb5b7a2b50c364cf80cd372ae5a2b724b8040da7436491ad4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd1b4694e032f5bb5b7a2b50c364cf80cd372ae5a2b724b8040da7436491ad4f", kill_on_drop: false }` [INFO] [stdout] cd1b4694e032f5bb5b7a2b50c364cf80cd372ae5a2b724b8040da7436491ad4f