[INFO] fetching crate kaspa-miner 0.2.5... [INFO] testing kaspa-miner-0.2.5 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate kaspa-miner 0.2.5 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate kaspa-miner 0.2.5 [INFO] finished tweaking crates.io crate kaspa-miner 0.2.5 [INFO] tweaked toml for crates.io crate kaspa-miner 0.2.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kaspa-miner 0.2.5 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kaspa-miner 0.2.5 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f1a612129213128dee86c174a117be4782df4b1506eb9d07a3b4d73d7a94f7a [INFO] running `Command { std: "docker" "start" "-a" "0f1a612129213128dee86c174a117be4782df4b1506eb9d07a3b4d73d7a94f7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f1a612129213128dee86c174a117be4782df4b1506eb9d07a3b4d73d7a94f7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f1a612129213128dee86c174a117be4782df4b1506eb9d07a3b4d73d7a94f7a", kill_on_drop: false }` [INFO] [stdout] 0f1a612129213128dee86c174a117be4782df4b1506eb9d07a3b4d73d7a94f7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 735ee69ad762bf7613079a5bf6cad40aef1607d398fca6c61b02aad43e17ffc5 [INFO] running `Command { std: "docker" "start" "-a" "735ee69ad762bf7613079a5bf6cad40aef1607d398fca6c61b02aad43e17ffc5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling anstream v0.6.5 [INFO] [stderr] Compiling strsim v0.10.1 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling clap_builder v4.4.12 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling blake2b_simd v1.0.2 [INFO] [stderr] Compiling arc-swap v1.6.0 [INFO] [stderr] Compiling is-terminal v0.4.10 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling env_logger v0.10.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling prost-derive v0.12.3 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling clap v4.4.13 [INFO] [stderr] Compiling prost v0.12.3 [INFO] [stderr] Compiling prost-types v0.12.3 [INFO] [stderr] Compiling prost-build v0.12.3 [INFO] [stderr] Compiling tonic-build v0.10.2 [INFO] [stderr] Compiling kaspa-miner v0.2.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.10.2 [INFO] [stdout] warning: unused imports: `Barrier` and `thread` [INFO] [stdout] --> src/swap_rust.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | sync::{Arc, Barrier}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 115 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/pow.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 19 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/swap_rust.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn lock(&self) -> MutexGuard { [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] 125 | pub fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "735ee69ad762bf7613079a5bf6cad40aef1607d398fca6c61b02aad43e17ffc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "735ee69ad762bf7613079a5bf6cad40aef1607d398fca6c61b02aad43e17ffc5", kill_on_drop: false }` [INFO] [stdout] 735ee69ad762bf7613079a5bf6cad40aef1607d398fca6c61b02aad43e17ffc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0ae39faa957f0d2e2c63cea4f35e44099067c04847eb4c2f1ed47bd3e084cfe [INFO] running `Command { std: "docker" "start" "-a" "c0ae39faa957f0d2e2c63cea4f35e44099067c04847eb4c2f1ed47bd3e084cfe", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling kaspa-miner v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/pow.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 19 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/swap_rust.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn lock(&self) -> MutexGuard { [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] 125 | pub fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.47s [INFO] running `Command { std: "docker" "inspect" "c0ae39faa957f0d2e2c63cea4f35e44099067c04847eb4c2f1ed47bd3e084cfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0ae39faa957f0d2e2c63cea4f35e44099067c04847eb4c2f1ed47bd3e084cfe", kill_on_drop: false }` [INFO] [stdout] c0ae39faa957f0d2e2c63cea4f35e44099067c04847eb4c2f1ed47bd3e084cfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 237d5498f64d217dfcde198b1da1508b94513958c42ddb7b39dbf9b36b32f942 [INFO] running `Command { std: "docker" "start" "-a" "237d5498f64d217dfcde198b1da1508b94513958c42ddb7b39dbf9b36b32f942", kill_on_drop: false }` [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/pow.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct State { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 19 | pub id: usize, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `State` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/swap_rust.rs:125:21 [INFO] [stderr] | [INFO] [stderr] 125 | pub fn lock(&self) -> MutexGuard { [INFO] [stderr] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 125 | pub fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `kaspa-miner` (bin "kaspa-miner" test) generated 2 warnings (run `cargo fix --bin "kaspa-miner" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/kaspa_miner-848219cf358e3499) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test pow::hasher::tests::test_heavy_hash ... ok [INFO] [stdout] test pow::hasher::tests::test_pow_hash ... ok [INFO] [stdout] test pow::heavy_hash::tests::test_heavy_hash ... ok [INFO] [stdout] test swap_rust::tests::test_sending_val ... ok [INFO] [stdout] test swap_rust::tests::test_sending_val_waiting ... ok [INFO] [stdout] test pow::tests::test_serialize_header ... ok [INFO] [stdout] test pow::heavy_hash::tests::test_generate_matrix ... ok [INFO] [stdout] test pow::heavy_hash::tests::test_compute_rank ... ok [INFO] [stdout] test swap_rust::tests::test_waiting_on_val ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 8.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "237d5498f64d217dfcde198b1da1508b94513958c42ddb7b39dbf9b36b32f942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "237d5498f64d217dfcde198b1da1508b94513958c42ddb7b39dbf9b36b32f942", kill_on_drop: false }` [INFO] [stdout] 237d5498f64d217dfcde198b1da1508b94513958c42ddb7b39dbf9b36b32f942