[INFO] fetching crate randomx-rust-wrapper 0.4.2... [INFO] checking randomx-rust-wrapper-0.4.2 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate randomx-rust-wrapper 0.4.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate randomx-rust-wrapper 0.4.2 [INFO] finished tweaking crates.io crate randomx-rust-wrapper 0.4.2 [INFO] tweaked toml for crates.io crate randomx-rust-wrapper 0.4.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate randomx-rust-wrapper 0.4.2 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 23 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72f24ba1caef2fe574c17361790d5761f6d20547308dac4e8732804126173ba8 [INFO] running `Command { std: "docker" "start" "-a" "72f24ba1caef2fe574c17361790d5761f6d20547308dac4e8732804126173ba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72f24ba1caef2fe574c17361790d5761f6d20547308dac4e8732804126173ba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72f24ba1caef2fe574c17361790d5761f6d20547308dac4e8732804126173ba8", kill_on_drop: false }` [INFO] [stdout] 72f24ba1caef2fe574c17361790d5761f6d20547308dac4e8732804126173ba8 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ce54211058e94a5ead1a976885508e58838f9724373eb0646ce7df24bd21d29 [INFO] running `Command { std: "docker" "start" "-a" "8ce54211058e94a5ead1a976885508e58838f9724373eb0646ce7df24bd21d29", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling randomx-rust-wrapper v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stdout] error[E0277]: the trait bound `&Cache: CacheRawAPI` is not satisfied [INFO] [stdout] --> src/tests.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | let vm = RandomXVM::light(&cache, flags).unwrap(); [INFO] [stdout] | ---------------- ^^^^^^ the trait `CacheRawAPI` is not implemented for `&Cache` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `RandomXVM::::light` [INFO] [stdout] --> src/vm.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | T: CacheRawAPI, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `RandomXVM::::light` [INFO] [stdout] 38 | { [INFO] [stdout] 39 | pub fn light(cache: T, flags: RandomXFlags) -> RResult { [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 25 - let vm = RandomXVM::light(&cache, flags).unwrap(); [INFO] [stdout] 25 + let vm = RandomXVM::light(cache, flags).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Dataset: DatasetRawAPI` is not satisfied [INFO] [stdout] --> src/tests.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | let vm = RandomXVM::fast(&dataset, flags).unwrap(); [INFO] [stdout] | --------------- ^^^^^^^^ the trait `DatasetRawAPI` is not implemented for `&Dataset` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `RandomXVM::::fast` [INFO] [stdout] --> src/vm.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | T: DatasetRawAPI, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `RandomXVM::::fast` [INFO] [stdout] 61 | { [INFO] [stdout] 62 | pub fn fast(dataset: T, flags: RandomXFlags) -> RResult { [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 31 - let vm = RandomXVM::fast(&dataset, flags).unwrap(); [INFO] [stdout] 31 + let vm = RandomXVM::fast(dataset, flags).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `randomx-rust-wrapper` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "8ce54211058e94a5ead1a976885508e58838f9724373eb0646ce7df24bd21d29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ce54211058e94a5ead1a976885508e58838f9724373eb0646ce7df24bd21d29", kill_on_drop: false }` [INFO] [stdout] 8ce54211058e94a5ead1a976885508e58838f9724373eb0646ce7df24bd21d29