[INFO] cloning repository https://github.com/fkz/lambda [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fkz/lambda" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffkz%2Flambda", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffkz%2Flambda'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 740df7f54bfbdc8de3c3139a54fc9cde7202cd34 [INFO] checking fkz/lambda against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffkz%2Flambda" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fkz/lambda 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/fkz/lambda [INFO] finished tweaking git repo https://github.com/fkz/lambda [INFO] tweaked toml for git repo https://github.com/fkz/lambda written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fkz/lambda 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] warning: unused manifest key: build [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ahash v0.8.10 [INFO] [stderr] Downloaded criterion-cycles-per-byte v0.6.0 [INFO] [stderr] Downloaded iai v0.1.1 [INFO] [stderr] Downloaded bumpalo v3.15.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 2039e7f5e74a65787b273154b42682b568880138c7278adc24f06d8365ef3ccf [INFO] running `Command { std: "docker" "start" "-a" "2039e7f5e74a65787b273154b42682b568880138c7278adc24f06d8365ef3ccf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2039e7f5e74a65787b273154b42682b568880138c7278adc24f06d8365ef3ccf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2039e7f5e74a65787b273154b42682b568880138c7278adc24f06d8365ef3ccf", kill_on_drop: false }` [INFO] [stdout] 2039e7f5e74a65787b273154b42682b568880138c7278adc24f06d8365ef3ccf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 1d727c5a247befba0731b65142ebd0f6c441abd73f25616d46414fffbc701b40 [INFO] running `Command { std: "docker" "start" "-a" "1d727c5a247befba0731b65142ebd0f6c441abd73f25616d46414fffbc701b40", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Checking clap_builder v4.5.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling ahash v0.8.10 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking quick-xml v0.26.0 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking iai v0.1.1 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking symbolic-common v12.8.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking clap v4.5.1 [INFO] [stderr] Checking symbolic-demangle v12.8.0 [INFO] [stderr] Checking inferno v0.11.19 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking criterion-cycles-per-byte v0.6.0 [INFO] [stderr] Checking pprof v0.13.0 [INFO] [stderr] Checking lambda_calculus v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.81s [INFO] running `Command { std: "docker" "inspect" "1d727c5a247befba0731b65142ebd0f6c441abd73f25616d46414fffbc701b40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d727c5a247befba0731b65142ebd0f6c441abd73f25616d46414fffbc701b40", kill_on_drop: false }` [INFO] [stdout] 1d727c5a247befba0731b65142ebd0f6c441abd73f25616d46414fffbc701b40 [INFO] checking fkz/lambda against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffkz%2Flambda" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fkz/lambda 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/fkz/lambda [INFO] finished tweaking git repo https://github.com/fkz/lambda [INFO] tweaked toml for git repo https://github.com/fkz/lambda written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fkz/lambda 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] [stderr] warning: unused manifest key: build [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 3e4417320d9a7b17653c0a2c422c36b9464a1485f02416dec7a4de4d1918dbd4 [INFO] running `Command { std: "docker" "start" "-a" "3e4417320d9a7b17653c0a2c422c36b9464a1485f02416dec7a4de4d1918dbd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e4417320d9a7b17653c0a2c422c36b9464a1485f02416dec7a4de4d1918dbd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e4417320d9a7b17653c0a2c422c36b9464a1485f02416dec7a4de4d1918dbd4", kill_on_drop: false }` [INFO] [stdout] 3e4417320d9a7b17653c0a2c422c36b9464a1485f02416dec7a4de4d1918dbd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b39764f364af86e302cb14846e53b2dc01c52ace702a4f13e248cbd3b9fff8d7 [INFO] running `Command { std: "docker" "start" "-a" "b39764f364af86e302cb14846e53b2dc01c52ace702a4f13e248cbd3b9fff8d7", 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] warning: unused manifest key: build [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking clap_builder v4.5.1 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling ahash v0.8.10 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking quick-xml v0.26.0 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking iai v0.1.1 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.5.1 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking symbolic-common v12.8.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking symbolic-demangle v12.8.0 [INFO] [stderr] Checking inferno v0.11.19 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking criterion-cycles-per-byte v0.6.0 [INFO] [stderr] Checking pprof v0.13.0 [INFO] [stderr] Checking lambda_calculus v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/gc_mem.rs:309:38 [INFO] [stdout] | [INFO] [stdout] 309 | let allocator = unsafe { &ALLOCATOR }; [INFO] [stdout] | ^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared 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!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 309 | let allocator = unsafe { addr_of!(ALLOCATOR) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/gc_mem.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | &mut ALLOCATOR [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] 418 | addr_of_mut!(ALLOCATOR) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/gc_mem.rs:309:38 [INFO] [stdout] | [INFO] [stdout] 309 | let allocator = unsafe { &ALLOCATOR }; [INFO] [stdout] | ^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared 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!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 309 | let allocator = unsafe { addr_of!(ALLOCATOR) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/gc_mem.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | &mut ALLOCATOR [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] 418 | addr_of_mut!(ALLOCATOR) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating benches/add.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/to-benchmark-json/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/add.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.59s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Checking lambda_calculus v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/gc_mem.rs:309:38 [INFO] [stdout] | [INFO] [stdout] 309 | let allocator = unsafe { &ALLOCATOR }; [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 309 | let allocator = unsafe { addr_of!(ALLOCATOR) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/gc_mem.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | &mut ALLOCATOR [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] 418 | addr_of_mut!(ALLOCATOR) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/gc_mem.rs:309:38 [INFO] [stdout] | [INFO] [stdout] 309 | let allocator = unsafe { &ALLOCATOR }; [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 309 | let allocator = unsafe { addr_of!(ALLOCATOR) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/gc_mem.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | &mut ALLOCATOR [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] 418 | addr_of_mut!(ALLOCATOR) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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 `lambda_calculus` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 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 `lambda_calculus` (lib test) due to 3 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" "b39764f364af86e302cb14846e53b2dc01c52ace702a4f13e248cbd3b9fff8d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b39764f364af86e302cb14846e53b2dc01c52ace702a4f13e248cbd3b9fff8d7", kill_on_drop: false }` [INFO] [stdout] b39764f364af86e302cb14846e53b2dc01c52ace702a4f13e248cbd3b9fff8d7