[INFO] cloning repository https://github.com/Scarjit/cryptoBench [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Scarjit/cryptoBench" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FScarjit%2FcryptoBench", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FScarjit%2FcryptoBench'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9ff75f2bc07eb2badf21127ac11d176f1e0e889 [INFO] checking Scarjit/cryptoBench against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FScarjit%2FcryptoBench" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Scarjit/cryptoBench on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Scarjit/cryptoBench [INFO] finished tweaking git repo https://github.com/Scarjit/cryptoBench [INFO] tweaked toml for git repo https://github.com/Scarjit/cryptoBench written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Scarjit/cryptoBench 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" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ciborium-io v0.2.1 [INFO] [stderr] Downloaded serde v1.0.167 [INFO] [stderr] Downloaded ghash v0.5.0 [INFO] [stderr] Downloaded aes-gcm v0.10.2 [INFO] [stderr] Downloaded rustix v0.38.3 [INFO] [stderr] Downloaded regex-syntax v0.7.3 [INFO] [stderr] Downloaded regex-automata v0.3.0 [INFO] [stderr] Downloaded regex v1.9.0 [INFO] [stderr] Downloaded linux-raw-sys v0.4.3 [INFO] [stderr] Downloaded syn v2.0.23 [INFO] [stderr] Downloaded ciborium v0.2.1 [INFO] [stderr] Downloaded clap_builder v4.3.11 [INFO] [stderr] Downloaded clap v4.3.11 [INFO] [stderr] Downloaded aho-corasick v1.0.2 [INFO] [stderr] Downloaded ryu v1.0.14 [INFO] [stderr] Downloaded serde_json v1.0.100 [INFO] [stderr] Downloaded ciborium-ll v0.2.1 [INFO] [stderr] Downloaded either v1.8.1 [INFO] [stderr] Downloaded itoa v1.0.8 [INFO] [stderr] Downloaded unicode-ident v1.0.10 [INFO] [stderr] Downloaded serde_derive v1.0.167 [INFO] [stderr] Downloaded walkdir v2.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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d3a28813a0a8e9fa4c75e591db5d6a3c19fb0f0e89e9e766aa3b8324eed5f56 [INFO] running `Command { std: "docker" "start" "-a" "8d3a28813a0a8e9fa4c75e591db5d6a3c19fb0f0e89e9e766aa3b8324eed5f56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d3a28813a0a8e9fa4c75e591db5d6a3c19fb0f0e89e9e766aa3b8324eed5f56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d3a28813a0a8e9fa4c75e591db5d6a3c19fb0f0e89e9e766aa3b8324eed5f56", kill_on_drop: false }` [INFO] [stdout] 8d3a28813a0a8e9fa4c75e591db5d6a3c19fb0f0e89e9e766aa3b8324eed5f56 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f322c8acd52d9d8548cf70c8667775b3b9c5303870d34fa1208504393075d596 [INFO] running `Command { std: "docker" "start" "-a" "f322c8acd52d9d8548cf70c8667775b3b9c5303870d34fa1208504393075d596", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling serde v1.0.167 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling serde_json v1.0.100 [INFO] [stderr] Compiling rustix v0.38.3 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking ryu v1.0.14 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking regex-syntax v0.7.3 [INFO] [stderr] Checking itoa v1.0.8 [INFO] [stderr] Checking clap_builder v4.3.11 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking zeroize v1.6.0 [INFO] [stderr] Checking cryptoBench v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling syn v2.0.23 [INFO] [stderr] Checking regex-automata v0.3.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap v4.3.11 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking polyval v0.6.1 [INFO] [stderr] Checking ghash v0.5.0 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.3 [INFO] [stderr] Checking regex v1.9.0 [INFO] [stderr] Checking aes-gcm v0.10.2 [INFO] [stderr] Checking aes-gcm-siv v0.11.1 [INFO] [stderr] Compiling serde_derive v1.0.167 [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.06s [INFO] running `Command { std: "docker" "inspect" "f322c8acd52d9d8548cf70c8667775b3b9c5303870d34fa1208504393075d596", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f322c8acd52d9d8548cf70c8667775b3b9c5303870d34fa1208504393075d596", kill_on_drop: false }` [INFO] [stdout] f322c8acd52d9d8548cf70c8667775b3b9c5303870d34fa1208504393075d596 [INFO] checking Scarjit/cryptoBench against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FScarjit%2FcryptoBench" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Scarjit/cryptoBench on toolchain 519d6e23a6cb73c4d0f295f71ad37db8e95c54ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Scarjit/cryptoBench [INFO] finished tweaking git repo https://github.com/Scarjit/cryptoBench [INFO] tweaked toml for git repo https://github.com/Scarjit/cryptoBench written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Scarjit/cryptoBench 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" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ed96815fbc7cce55acede2f67c051c5c54af7934982cc7e24e9c1754bd325dd [INFO] running `Command { std: "docker" "start" "-a" "1ed96815fbc7cce55acede2f67c051c5c54af7934982cc7e24e9c1754bd325dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ed96815fbc7cce55acede2f67c051c5c54af7934982cc7e24e9c1754bd325dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ed96815fbc7cce55acede2f67c051c5c54af7934982cc7e24e9c1754bd325dd", kill_on_drop: false }` [INFO] [stdout] 1ed96815fbc7cce55acede2f67c051c5c54af7934982cc7e24e9c1754bd325dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d1812491bf93ee0405a2e48e90394542f4ffa0c94707f73ba425cd350becaf3 [INFO] running `Command { std: "docker" "start" "-a" "6d1812491bf93ee0405a2e48e90394542f4ffa0c94707f73ba425cd350becaf3", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling serde v1.0.167 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rustix v0.38.3 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.100 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Checking regex-syntax v0.7.3 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking ryu v1.0.14 [INFO] [stderr] Checking itoa v1.0.8 [INFO] [stderr] Checking clap_builder v4.3.11 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking zeroize v1.6.0 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking cryptoBench v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.23 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking regex-automata v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap v4.3.11 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking polyval v0.6.1 [INFO] [stderr] Checking ghash v0.5.0 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.3 [INFO] [stderr] Checking aes-gcm v0.10.2 [INFO] [stderr] Checking aes-gcm-siv v0.11.1 [INFO] [stderr] Checking regex v1.9.0 [INFO] [stderr] Compiling serde_derive v1.0.167 [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Migrating benches/cryptoBench.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/aes.rs from 2021 edition to 2024 [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> benches/cryptoBench.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | rng.fill_bytes(&mut KEY_128BIT); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(static_mut_refs)]` [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 21 | rng.fill_bytes(addr_of_mut!(KEY_128BIT)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> benches/cryptoBench.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | rng.fill_bytes(&mut KEY_256BIT); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 22 | rng.fill_bytes(addr_of_mut!(KEY_256BIT)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> benches/cryptoBench.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | rng.fill_bytes(&mut NONCE_96BIT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 23 | rng.fill_bytes(addr_of_mut!(NONCE_96BIT)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> benches/cryptoBench.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | rng.fill_bytes(&mut PAYLOAD_1KB); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 24 | rng.fill_bytes(addr_of_mut!(PAYLOAD_1KB)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> benches/cryptoBench.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | rng.fill_bytes(&mut PAYLOAD_1MB_HEAP); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 28 | rng.fill_bytes(addr_of_mut!(PAYLOAD_1MB_HEAP)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.06s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking cryptoBench v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> benches/cryptoBench.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | rng.fill_bytes(&mut KEY_128BIT); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 21 | rng.fill_bytes(addr_of_mut!(KEY_128BIT)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> benches/cryptoBench.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | rng.fill_bytes(&mut KEY_256BIT); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 22 | rng.fill_bytes(addr_of_mut!(KEY_256BIT)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> benches/cryptoBench.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | rng.fill_bytes(&mut NONCE_96BIT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 23 | rng.fill_bytes(addr_of_mut!(NONCE_96BIT)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> benches/cryptoBench.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | rng.fill_bytes(&mut PAYLOAD_1KB); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 24 | rng.fill_bytes(addr_of_mut!(PAYLOAD_1KB)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> benches/cryptoBench.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | rng.fill_bytes(&mut PAYLOAD_1MB_HEAP); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 28 | rng.fill_bytes(addr_of_mut!(PAYLOAD_1MB_HEAP)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0796`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cryptoBench` (bench "cryptoBench") due to 6 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "6d1812491bf93ee0405a2e48e90394542f4ffa0c94707f73ba425cd350becaf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d1812491bf93ee0405a2e48e90394542f4ffa0c94707f73ba425cd350becaf3", kill_on_drop: false }` [INFO] [stdout] 6d1812491bf93ee0405a2e48e90394542f4ffa0c94707f73ba425cd350becaf3