[INFO] fetching crate kaspa-miner 0.2.5... [INFO] testing kaspa-miner-0.2.5 against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] extracting crate kaspa-miner 0.2.5 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate kaspa-miner 0.2.5 on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assoc v0.1.3 [INFO] [stderr] Downloaded strsim v0.10.1 [INFO] [stderr] Downloaded shuttle v0.6.1 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddf8bb05974ce8e5a918707be8ce15edc3be99ee73f8a92d9200fd3e5fe63bf5 [INFO] running `Command { std: "docker" "start" "-a" "ddf8bb05974ce8e5a918707be8ce15edc3be99ee73f8a92d9200fd3e5fe63bf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddf8bb05974ce8e5a918707be8ce15edc3be99ee73f8a92d9200fd3e5fe63bf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddf8bb05974ce8e5a918707be8ce15edc3be99ee73f8a92d9200fd3e5fe63bf5", kill_on_drop: false }` [INFO] [stdout] ddf8bb05974ce8e5a918707be8ce15edc3be99ee73f8a92d9200fd3e5fe63bf5 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29db92d9d9fccc8f84607a5c5498b3b47d3f8fe0fa533ca131f2c09ba9d16534 [INFO] running `Command { std: "docker" "start" "-a" "29db92d9d9fccc8f84607a5c5498b3b47d3f8fe0fa533ca131f2c09ba9d16534", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling either v1.9.0 [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 itoa v1.0.10 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.9.0 [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 mime v0.3.17 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling anstream v0.6.5 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling strsim v0.10.1 [INFO] [stderr] Compiling clap_builder v4.4.12 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling termcolor v1.4.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 chrono v0.4.31 [INFO] [stderr] Compiling regex v1.10.2 [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 tokio v1.35.1 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling env_logger v0.10.1 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling prost v0.12.3 [INFO] [stderr] Compiling prost-types v0.12.3 [INFO] [stderr] Compiling clap v4.4.13 [INFO] [stderr] Compiling prost-build v0.12.3 [INFO] [stderr] Compiling tonic-build v0.10.2 [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 kaspa-miner v0.2.5 (/opt/rustwide/workdir) [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.80s [INFO] running `Command { std: "docker" "inspect" "29db92d9d9fccc8f84607a5c5498b3b47d3f8fe0fa533ca131f2c09ba9d16534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29db92d9d9fccc8f84607a5c5498b3b47d3f8fe0fa533ca131f2c09ba9d16534", kill_on_drop: false }` [INFO] [stdout] 29db92d9d9fccc8f84607a5c5498b3b47d3f8fe0fa533ca131f2c09ba9d16534 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fd08328e8f7ce7d2fcba96d414064175e3bd4db5cc2aa0c832f72bd949f0fc1 [INFO] running `Command { std: "docker" "start" "-a" "0fd08328e8f7ce7d2fcba96d414064175e3bd4db5cc2aa0c832f72bd949f0fc1", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling keccak v0.1.4 [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.73s [INFO] running `Command { std: "docker" "inspect" "0fd08328e8f7ce7d2fcba96d414064175e3bd4db5cc2aa0c832f72bd949f0fc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fd08328e8f7ce7d2fcba96d414064175e3bd4db5cc2aa0c832f72bd949f0fc1", kill_on_drop: false }` [INFO] [stdout] 0fd08328e8f7ce7d2fcba96d414064175e3bd4db5cc2aa0c832f72bd949f0fc1 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 263a9aa0242fc73a7a07be722982943a194413d9d27135c5b193b5b92fbf4899 [INFO] running `Command { std: "docker" "start" "-a" "263a9aa0242fc73a7a07be722982943a194413d9d27135c5b193b5b92fbf4899", 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: `kaspa-miner` (bin "kaspa-miner" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/kaspa_miner-4d80bb5970c7c8da) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test pow::hasher::tests::test_heavy_hash ... ok [INFO] [stdout] test swap_rust::tests::test_sending_val ... ok [INFO] [stdout] test pow::heavy_hash::tests::test_heavy_hash ... ok [INFO] [stdout] test pow::tests::test_serialize_header ... ok [INFO] [stdout] test swap_rust::tests::test_sending_val_waiting ... ok [INFO] [stdout] test pow::heavy_hash::tests::test_generate_matrix ... ok [INFO] [stdout] test pow::hasher::tests::test_pow_hash ... 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 5.64s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "263a9aa0242fc73a7a07be722982943a194413d9d27135c5b193b5b92fbf4899", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "263a9aa0242fc73a7a07be722982943a194413d9d27135c5b193b5b92fbf4899", kill_on_drop: false }` [INFO] [stdout] 263a9aa0242fc73a7a07be722982943a194413d9d27135c5b193b5b92fbf4899