[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/740df7f54bfbdc8de3c3139a54fc9cde7202cd34 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffkz%2Flambda" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fkz/lambda on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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-7-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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 563e36bb8bd34470fcd9c5892cb132f6b25554678024f29f78a35e431a25ff90 [INFO] running `Command { std: "docker" "start" "-a" "563e36bb8bd34470fcd9c5892cb132f6b25554678024f29f78a35e431a25ff90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "563e36bb8bd34470fcd9c5892cb132f6b25554678024f29f78a35e431a25ff90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "563e36bb8bd34470fcd9c5892cb132f6b25554678024f29f78a35e431a25ff90", kill_on_drop: false }` [INFO] [stdout] 563e36bb8bd34470fcd9c5892cb132f6b25554678024f29f78a35e431a25ff90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5096b142a9dc8cafc134c28bd985982fb6876da769e6be1cacb2218b2c5cf3b [INFO] running `Command { std: "docker" "start" "-a" "a5096b142a9dc8cafc134c28bd985982fb6876da769e6be1cacb2218b2c5cf3b", 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 serde_json v1.0.114 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking clap_builder v4.5.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling cpp_demangle v0.4.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling ahash v0.8.10 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Compiling symbolic-demangle v12.8.0 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Checking quick-xml v0.26.0 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking str_stack v0.1.0 [INFO] [stderr] Compiling pprof v0.13.0 [INFO] [stderr] Checking iai v0.1.1 [INFO] [stderr] Checking clap v4.5.1 [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 inferno v0.11.19 [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 addr2line v0.21.0 [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 lambda_calculus v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/memory_representation.rs (7 fixes) [INFO] [stderr] Fixed src/gc_mem.rs (11 fixes) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/gc_mem.rs:304:38 [INFO] [stdout] | [INFO] [stdout] 304 | 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: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 304 | 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:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | &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] 413 | addr_of_mut!(ALLOCATOR) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present [INFO] [stdout] --> src/gc_mem.rs:482:53 [INFO] [stdout] | [INFO] [stdout] 96 | fn to_vec<'a>(&mut self) -> Vec<(Self::ShortBox<'a>, T)>; [INFO] [stdout] | - the late bound lifetime parameter is introduced here [INFO] [stdout] ... [INFO] [stdout] 482 | let mut to_do = self.replace_to_do.to_vec::<'a>(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #42868 [INFO] [stdout] = note: `#[warn(late_bound_lifetime_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present [INFO] [stdout] --> src/gc_mem.rs:575:62 [INFO] [stdout] | [INFO] [stdout] 476 | fn replace<'a>( [INFO] [stdout] | -- the late bound lifetime parameter is introduced here [INFO] [stdout] ... [INFO] [stdout] 575 | self.current = a.to_long(&self.replace::<'a>(a, p, a.to_short(&app))); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #42868 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/direct_executor.rs:231:40 [INFO] [stdout] | [INFO] [stdout] 231 | r @ Program::Reference(inner) => r, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/direct_executor.rs:241:36 [INFO] [stdout] | [INFO] [stdout] 241 | Program::Reference(p) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/gc_mem.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/gc_mem.rs:365:57 [INFO] [stdout] | [INFO] [stdout] 365 | if let super::Program::InternalReplaced(v) = next { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/gc_mem.rs:673:35 [INFO] [stdout] | [INFO] [stdout] 673 | Program::InternalReplaced(x) => panic!("Internal error"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `direct_executor::Program` is more private than the item `direct_executor::Executor::from_mem_rep` [INFO] [stdout] --> src/direct_executor.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn from_mem_rep(&mut self, program: &super::memory_representation::Program) -> Program { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `direct_executor::Executor::from_mem_rep` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `direct_executor::Program` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/direct_executor.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | enum Program { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `direct_executor::Program` is more private than the item `direct_executor::Executor::to_mem_rep` [INFO] [stdout] --> src/direct_executor.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn to_mem_rep(&self, p: Program) -> super::memory_representation::Program { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `direct_executor::Executor::to_mem_rep` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `direct_executor::Program` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/direct_executor.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | enum Program { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `direct_executor::Program` is more private than the item `direct_executor::Executor::initialize` [INFO] [stdout] --> src/direct_executor.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn initialize(&mut self, p: Program) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `direct_executor::Executor::initialize` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `direct_executor::Program` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/direct_executor.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | enum Program { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `KeepVecTrait` is more private than the item `gc_mem::Allocator::KeepVec` [INFO] [stdout] --> src/gc_mem.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | type KeepVec: for<'a> KeepVecTrait = Self::ShortBox<'a>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated type `gc_mem::Allocator::KeepVec` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `KeepVecTrait` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/gc_mem.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | trait KeepVecTrait { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `a` is never read [INFO] [stdout] --> src/gc_mem.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct LongBox>> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 163 | value: u32, [INFO] [stdout] 164 | a: A::Ref, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/human_readable.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | InvalidCode(&'static str), [INFO] [stdout] | ----------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | InvalidCode(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/human_readable.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | FreeVariables(u64), [INFO] [stdout] | ------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | FreeVariables(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gc_mem.rs:464:15 [INFO] [stdout] | [INFO] [stdout] 464 | while let Some(next) = app_stack.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/gc_mem.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interact.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | while let Some(resp) = env.next_response() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interact.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory_representation.rs:176:15 [INFO] [stdout] | [INFO] [stdout] 176 | while let Some(next) = app_stack.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory_representation.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating benches/add.rs from 2021 edition to 2024 [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/gc_mem.rs:304:38 [INFO] [stdout] | [INFO] [stdout] 304 | 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: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 304 | 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:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | &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] 413 | addr_of_mut!(ALLOCATOR) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present [INFO] [stdout] --> src/gc_mem.rs:482:53 [INFO] [stdout] | [INFO] [stdout] 96 | fn to_vec<'a>(&mut self) -> Vec<(Self::ShortBox<'a>, T)>; [INFO] [stdout] | - the late bound lifetime parameter is introduced here [INFO] [stdout] ... [INFO] [stdout] 482 | let mut to_do = self.replace_to_do.to_vec::<'a>(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #42868 [INFO] [stdout] = note: `#[warn(late_bound_lifetime_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present [INFO] [stdout] --> src/gc_mem.rs:575:62 [INFO] [stdout] | [INFO] [stdout] 476 | fn replace<'a>( [INFO] [stdout] | -- the late bound lifetime parameter is introduced here [INFO] [stdout] ... [INFO] [stdout] 575 | self.current = a.to_long(&self.replace::<'a>(a, p, a.to_short(&app))); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #42868 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/direct_executor.rs:231:40 [INFO] [stdout] | [INFO] [stdout] 231 | r @ Program::Reference(inner) => r, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/direct_executor.rs:241:36 [INFO] [stdout] | [INFO] [stdout] 241 | Program::Reference(p) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/gc_mem.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/gc_mem.rs:365:57 [INFO] [stdout] | [INFO] [stdout] 365 | if let super::Program::InternalReplaced(v) = next { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/gc_mem.rs:426:13 [INFO] [stdout] | [INFO] [stdout] 426 | let c = alloc.new(&lambda); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/gc_mem.rs:428:13 [INFO] [stdout] | [INFO] [stdout] 428 | let b = alloc.to_long(&a); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/gc_mem.rs:673:35 [INFO] [stdout] | [INFO] [stdout] 673 | Program::InternalReplaced(x) => panic!("Internal error"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `direct_executor::Program` is more private than the item `direct_executor::Executor::from_mem_rep` [INFO] [stdout] --> src/direct_executor.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn from_mem_rep(&mut self, program: &super::memory_representation::Program) -> Program { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `direct_executor::Executor::from_mem_rep` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `direct_executor::Program` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/direct_executor.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | enum Program { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `direct_executor::Program` is more private than the item `direct_executor::Executor::to_mem_rep` [INFO] [stdout] --> src/direct_executor.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn to_mem_rep(&self, p: Program) -> super::memory_representation::Program { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `direct_executor::Executor::to_mem_rep` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `direct_executor::Program` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/direct_executor.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | enum Program { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `direct_executor::Program` is more private than the item `direct_executor::Executor::initialize` [INFO] [stdout] --> src/direct_executor.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn initialize(&mut self, p: Program) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `direct_executor::Executor::initialize` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `direct_executor::Program` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/direct_executor.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | enum Program { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `KeepVecTrait` is more private than the item `gc_mem::Allocator::KeepVec` [INFO] [stdout] --> src/gc_mem.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | type KeepVec: for<'a> KeepVecTrait = Self::ShortBox<'a>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated type `gc_mem::Allocator::KeepVec` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `KeepVecTrait` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/gc_mem.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | trait KeepVecTrait { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `a` is never read [INFO] [stdout] --> src/gc_mem.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct LongBox>> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 163 | value: u32, [INFO] [stdout] 164 | a: A::Ref, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/human_readable.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | InvalidCode(&'static str), [INFO] [stdout] | ----------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | InvalidCode(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/human_readable.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | FreeVariables(u64), [INFO] [stdout] | ------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | FreeVariables(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gc_mem.rs:464:15 [INFO] [stdout] | [INFO] [stdout] 464 | while let Some(next) = app_stack.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/gc_mem.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/interact.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | while let Some(resp) = env.next_response() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/interact.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/memory_representation.rs:176:15 [INFO] [stdout] | [INFO] [stdout] 176 | while let Some(next) = app_stack.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/memory_representation.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: unused import: `gc_mem::Allocator` [INFO] [stdout] --> benches/add.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use lambda_calculus::{execute, gc_mem::Allocator, parse_arguments, pretty, Program}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/to-benchmark-json/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 11.33s [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:304:38 [INFO] [stdout] | [INFO] [stdout] 304 | 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] 304 | let allocator = unsafe { addr_of!(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:304:38 [INFO] [stdout] | [INFO] [stdout] 304 | 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] 304 | 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:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | &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] 413 | addr_of_mut!(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:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | &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] 413 | addr_of_mut!(ALLOCATOR) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present [INFO] [stdout] --> src/gc_mem.rs:482:53 [INFO] [stdout] | [INFO] [stdout] 96 | fn to_vec<'a>(&mut self) -> Vec<(Self::ShortBox<'a>, T)>; [INFO] [stdout] | - the late bound lifetime parameter is introduced here [INFO] [stdout] ... [INFO] [stdout] 482 | let mut to_do = self.replace_to_do.to_vec::<'a>(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #42868 [INFO] [stdout] = note: `#[warn(late_bound_lifetime_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present [INFO] [stdout] --> src/gc_mem.rs:482:53 [INFO] [stdout] | [INFO] [stdout] 96 | fn to_vec<'a>(&mut self) -> Vec<(Self::ShortBox<'a>, T)>; [INFO] [stdout] | - the late bound lifetime parameter is introduced here [INFO] [stdout] ... [INFO] [stdout] 482 | let mut to_do = self.replace_to_do.to_vec::<'a>(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #42868 [INFO] [stdout] = note: `#[warn(late_bound_lifetime_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present [INFO] [stdout] --> src/gc_mem.rs:575:62 [INFO] [stdout] | [INFO] [stdout] 476 | fn replace<'a>( [INFO] [stdout] | -- the late bound lifetime parameter is introduced here [INFO] [stdout] ... [INFO] [stdout] 575 | self.current = a.to_long(&self.replace::<'a>(a, p, a.to_short(&app))); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #42868 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot specify lifetime arguments explicitly if late bound lifetime parameters are present [INFO] [stdout] --> src/gc_mem.rs:575:62 [INFO] [stdout] | [INFO] [stdout] 476 | fn replace<'a>( [INFO] [stdout] | -- the late bound lifetime parameter is introduced here [INFO] [stdout] ... [INFO] [stdout] 575 | self.current = a.to_long(&self.replace::<'a>(a, p, a.to_short(&app))); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #42868 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/direct_executor.rs:231:40 [INFO] [stdout] | [INFO] [stdout] 231 | r @ Program::Reference(inner) => r, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/direct_executor.rs:241:36 [INFO] [stdout] | [INFO] [stdout] 241 | Program::Reference(p) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/direct_executor.rs:231:40 [INFO] [stdout] | [INFO] [stdout] 231 | r @ Program::Reference(inner) => r, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/direct_executor.rs:241:36 [INFO] [stdout] | [INFO] [stdout] 241 | Program::Reference(p) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/gc_mem.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/gc_mem.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/gc_mem.rs:365:57 [INFO] [stdout] | [INFO] [stdout] 365 | if let super::Program::InternalReplaced(v) = next { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/gc_mem.rs:365:57 [INFO] [stdout] | [INFO] [stdout] 365 | if let super::Program::InternalReplaced(v) = next { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/gc_mem.rs:426:13 [INFO] [stdout] | [INFO] [stdout] 426 | let c = alloc.new(&lambda); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/gc_mem.rs:428:13 [INFO] [stdout] | [INFO] [stdout] 428 | let b = alloc.to_long(&a); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/gc_mem.rs:673:35 [INFO] [stdout] | [INFO] [stdout] 673 | Program::InternalReplaced(x) => panic!("Internal error"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/gc_mem.rs:673:35 [INFO] [stdout] | [INFO] [stdout] 673 | Program::InternalReplaced(x) => panic!("Internal error"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0796`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 9 warnings emitted [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; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lambda_calculus` (lib test) due to 3 previous errors; 9 warnings emitted [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" "a5096b142a9dc8cafc134c28bd985982fb6876da769e6be1cacb2218b2c5cf3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5096b142a9dc8cafc134c28bd985982fb6876da769e6be1cacb2218b2c5cf3b", kill_on_drop: false }` [INFO] [stdout] a5096b142a9dc8cafc134c28bd985982fb6876da769e6be1cacb2218b2c5cf3b