[INFO] fetching crate stack_test_randomx 0.1.1... [INFO] checking stack_test_randomx-0.1.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate stack_test_randomx 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate stack_test_randomx 0.1.1 [INFO] finished tweaking crates.io crate stack_test_randomx 0.1.1 [INFO] tweaked toml for crates.io crate stack_test_randomx 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate stack_test_randomx 0.1.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 62 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.37.4 (available: v0.72.1) [INFO] [stderr] Adding byteorder v0.5.3 (available: v1.5.0) [INFO] [stderr] Adding proc-macro2 v0.3.5 (available: v0.3.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 841df28d531a6923366d1880a38f01107a7d0389a4be6eee6ca85a7733815cf8 [INFO] running `Command { std: "docker" "start" "-a" "841df28d531a6923366d1880a38f01107a7d0389a4be6eee6ca85a7733815cf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "841df28d531a6923366d1880a38f01107a7d0389a4be6eee6ca85a7733815cf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "841df28d531a6923366d1880a38f01107a7d0389a4be6eee6ca85a7733815cf8", kill_on_drop: false }` [INFO] [stdout] 841df28d531a6923366d1880a38f01107a7d0389a4be6eee6ca85a7733815cf8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b8ead2acbb4ecad786e74dfd2a352a5c9ad5829a8efcb5183388a905cd00996 [INFO] running `Command { std: "docker" "start" "-a" "8b8ead2acbb4ecad786e74dfd2a352a5c9ad5829a8efcb5183388a905cd00996", 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 glob v0.2.11 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bindgen v0.37.4 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clang-sys v0.23.0 [INFO] [stderr] Checking bigint v4.4.3 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling stack_test_randomx v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::utils::*` [INFO] [stdout] --> src/lib.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | use super::utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/types.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 143 | let mut cache_ptr = unsafe { randomx_alloc_cache(flags) }; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::*` [INFO] [stdout] --> src/lib.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | use crate::utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/types.rs:169:7 [INFO] [stdout] | [INFO] [stdout] 169 | let mut dataset_ptr = unsafe { randomx_alloc_dataset(self.get_flags()) }; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/types.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | let mut vm_lock = vm.write().unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_u32_to_U256` should have a snake case name [INFO] [stdout] --> src/utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn from_u32_to_U256(v: &[u32; 8]) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `from_u32_to_u256` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/types.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 143 | let mut cache_ptr = unsafe { randomx_alloc_cache(flags) }; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/types.rs:169:7 [INFO] [stdout] | [INFO] [stdout] 169 | let mut dataset_ptr = unsafe { randomx_alloc_dataset(self.get_flags()) }; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/types.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | let mut vm_lock = vm.write().unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/stack_test_randomx-2b593c6a4753d2aa/out/ffi.rs:3:4701 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __clang_max_align_nonce1 as * const _ as usize } , 0usize , co... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/stack_test_randomx-2b593c6a4753d2aa/out/ffi.rs:3:4960 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < max_align_t > ( ) ) ) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/stack_test_randomx-2b593c6a4753d2aa/out/ffi.rs:3:7359 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __fsid_t > ( ) ) ) . __val as * const _ as usize } , 0usize , concat ! ( "Offset of f... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_u32_to_U256` should have a snake case name [INFO] [stdout] --> src/utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn from_u32_to_U256(v: &[u32; 8]) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `from_u32_to_u256` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.69s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3, nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "8b8ead2acbb4ecad786e74dfd2a352a5c9ad5829a8efcb5183388a905cd00996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b8ead2acbb4ecad786e74dfd2a352a5c9ad5829a8efcb5183388a905cd00996", kill_on_drop: false }` [INFO] [stdout] 8b8ead2acbb4ecad786e74dfd2a352a5c9ad5829a8efcb5183388a905cd00996