[INFO] cloning repository https://github.com/joculatrix/bmcc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joculatrix/bmcc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoculatrix%2Fbmcc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoculatrix%2Fbmcc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a4e8593ebab2e47e2f09c8db9fbaabdba3fdf17 [INFO] checking joculatrix/bmcc against master#42b384ec0dfcd528d99a4db0a337d9188a9eecaa for pr-133502-16 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoculatrix%2Fbmcc" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/joculatrix/bmcc [INFO] finished tweaking git repo https://github.com/joculatrix/bmcc [INFO] tweaked toml for git repo https://github.com/joculatrix/bmcc written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/joculatrix/bmcc on toolchain 42b384ec0dfcd528d99a4db0a337d9188a9eecaa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/joculatrix/bmcc 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" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.65 [INFO] [stderr] Downloaded thiserror v1.0.65 [INFO] [stderr] Downloaded unicode-ident v1.0.13 [INFO] [stderr] Downloaded codesnake v0.2.1 [INFO] [stderr] Downloaded clap_lex v0.7.2 [INFO] [stderr] Downloaded psm v0.1.23 [INFO] [stderr] Downloaded serde_derive v1.0.214 [INFO] [stderr] Downloaded anyhow v1.0.91 [INFO] [stderr] Downloaded clap v4.5.20 [INFO] [stderr] Downloaded cc v1.1.31 [INFO] [stderr] Downloaded inkwell v0.5.0 [INFO] [stderr] Downloaded serde v1.0.214 [INFO] [stderr] Downloaded llvm-sys v180.0.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.89 [INFO] [stderr] Downloaded anstyle-wincon v3.0.6 [INFO] [stderr] Downloaded chumsky v1.0.0-alpha.7 [INFO] [stderr] Downloaded clap_builder v4.5.20 [INFO] [stderr] Downloaded clap_derive v4.5.18 [INFO] [stderr] Downloaded inkwell_internals v0.10.0 [INFO] [stderr] Downloaded quote v1.0.37 [INFO] [stderr] Downloaded stacker v0.1.17 [INFO] [stderr] Downloaded regex-syntax v0.7.5 [INFO] [stderr] Downloaded libc v0.2.161 [INFO] [stderr] Downloaded regex-automata v0.3.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c80570a3a33b1cee6be891f9cfb7c3ddfa26d4b2dfce2fba989b3f130a10d35 [INFO] running `Command { std: "docker" "start" "-a" "9c80570a3a33b1cee6be891f9cfb7c3ddfa26d4b2dfce2fba989b3f130a10d35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c80570a3a33b1cee6be891f9cfb7c3ddfa26d4b2dfce2fba989b3f130a10d35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c80570a3a33b1cee6be891f9cfb7c3ddfa26d4b2dfce2fba989b3f130a10d35", kill_on_drop: false }` [INFO] [stdout] 9c80570a3a33b1cee6be891f9cfb7c3ddfa26d4b2dfce2fba989b3f130a10d35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ab3a931838ccc6ecade67e91c5dd41ef29c7d30bf6bff32e8b66dc800ce0887 [INFO] running `Command { std: "docker" "start" "-a" "2ab3a931838ccc6ecade67e91c5dd41ef29c7d30bf6bff32e8b66dc800ce0887", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling anyhow v1.0.91 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling chumsky v1.0.0-alpha.7 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling inkwell v0.5.0 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking codesnake v0.2.1 [INFO] [stderr] Checking clap_builder v4.5.20 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling psm v0.1.23 [INFO] [stderr] Compiling llvm-sys v180.0.0 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling inkwell_internals v0.10.0 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking clap v4.5.20 [INFO] [stderr] Checking bmcc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `OptimizationLevel` and `RelocMode` [INFO] [stdout] --> src/llvm/target.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | targets::{FileType, InitializationConfig, RelocMode, Target, TargetMachine, TargetMachineOptions, TargetTriple}, OptimizationLevel [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OptimizationLevel` and `RelocMode` [INFO] [stdout] --> src/llvm/target.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | targets::{FileType, InitializationConfig, RelocMode, Target, TargetMachine, TargetMachineOptions, TargetTriple}, OptimizationLevel [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binding modifiers may only be written when the default binding mode is `move` in Rust 2024 [INFO] [stdout] --> src/analysis/typecheck.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(ref mut right) = &mut v.rhs { [INFO] [stdout] | ^^^^^^^ binding modifier not allowed under `ref mut` default binding mode [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: matching on a reference type with a non-reference pattern changes the default binding mode [INFO] [stdout] --> src/analysis/typecheck.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(ref mut right) = &mut v.rhs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this matches on type `&mut _` [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(rust_2024_compatibility)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(rust_2024_incompatible_pat)]` implied by `#[warn(rust_2024_compatibility)]` [INFO] [stdout] help: remove the unnecessary binding modifier [INFO] [stdout] | [INFO] [stdout] 68 - if let Some(ref mut right) = &mut v.rhs { [INFO] [stdout] 68 + if let Some(right) = &mut v.rhs { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binding modifiers may only be written when the default binding mode is `move` in Rust 2024 [INFO] [stdout] --> src/analysis/typecheck.rs:182:32 [INFO] [stdout] | [INFO] [stdout] 182 | Expr::Array(exprs, ref mut a_type, span) => { [INFO] [stdout] | ^^^^^^^ binding modifier not allowed under `ref mut` default binding mode [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: matching on a reference type with a non-reference pattern changes the default binding mode [INFO] [stdout] --> src/analysis/typecheck.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | Expr::Array(exprs, ref mut a_type, span) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this matches on type `&mut _` [INFO] [stdout] help: remove the unnecessary binding modifier [INFO] [stdout] | [INFO] [stdout] 182 - Expr::Array(exprs, ref mut a_type, span) => { [INFO] [stdout] 182 + Expr::Array(exprs, a_type, span) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binding modifiers may only be written when the default binding mode is `move` in Rust 2024 [INFO] [stdout] --> src/analysis/typecheck.rs:433:24 [INFO] [stdout] | [INFO] [stdout] 433 | Stmt::Decl(ref mut decl, _) => self.visit_decl(decl), [INFO] [stdout] | ^^^^^^^ binding modifier not allowed under `ref mut` default binding mode [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: matching on a reference type with a non-reference pattern changes the default binding mode [INFO] [stdout] --> src/analysis/typecheck.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | Stmt::Decl(ref mut decl, _) => self.visit_decl(decl), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this matches on type `&mut _` [INFO] [stdout] help: remove the unnecessary binding modifier [INFO] [stdout] | [INFO] [stdout] 433 - Stmt::Decl(ref mut decl, _) => self.visit_decl(decl), [INFO] [stdout] 433 + Stmt::Decl(decl, _) => self.visit_decl(decl), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binding modifiers may only be written when the default binding mode is `move` in Rust 2024 [INFO] [stdout] --> src/analysis/typecheck.rs:434:24 [INFO] [stdout] | [INFO] [stdout] 434 | Stmt::Expr(ref mut expr, _) => { self.visit_expr(expr); } [INFO] [stdout] | ^^^^^^^ binding modifier not allowed under `ref mut` default binding mode [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: matching on a reference type with a non-reference pattern changes the default binding mode [INFO] [stdout] --> src/analysis/typecheck.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | Stmt::Expr(ref mut expr, _) => { self.visit_expr(expr); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this matches on type `&mut _` [INFO] [stdout] help: remove the unnecessary binding modifier [INFO] [stdout] | [INFO] [stdout] 434 - Stmt::Expr(ref mut expr, _) => { self.visit_expr(expr); } [INFO] [stdout] 434 + Stmt::Expr(expr, _) => { self.visit_expr(expr); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binding modifiers may only be written when the default binding mode is `move` in Rust 2024 [INFO] [stdout] --> src/analysis/typecheck.rs:450:26 [INFO] [stdout] | [INFO] [stdout] 450 | Stmt::Return(ref mut expr, span) => { [INFO] [stdout] | ^^^^^^^ binding modifier not allowed under `ref mut` default binding mode [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: matching on a reference type with a non-reference pattern changes the default binding mode [INFO] [stdout] --> src/analysis/typecheck.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | Stmt::Return(ref mut expr, span) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this matches on type `&mut _` [INFO] [stdout] help: remove the unnecessary binding modifier [INFO] [stdout] | [INFO] [stdout] 450 - Stmt::Return(ref mut expr, span) => { [INFO] [stdout] 450 + Stmt::Return(expr, span) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binding modifiers may only be written when the default binding mode is `move` in Rust 2024 [INFO] [stdout] --> src/analysis/typecheck.rs:451:29 [INFO] [stdout] | [INFO] [stdout] 451 | if let Some(ref mut expr) = expr { [INFO] [stdout] | ^^^^^^^ binding modifier not allowed under `ref mut` default binding mode [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: matching on a reference type with a non-reference pattern changes the default binding mode [INFO] [stdout] --> src/analysis/typecheck.rs:451:24 [INFO] [stdout] | [INFO] [stdout] 451 | if let Some(ref mut expr) = expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this matches on type `&mut _` [INFO] [stdout] help: remove the unnecessary binding modifier [INFO] [stdout] | [INFO] [stdout] 451 - if let Some(ref mut expr) = expr { [INFO] [stdout] 451 + if let Some(expr) = expr { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/llvm/target.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 10 | let triple = if let Some(t) = triple { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `triple` calls a custom destructor [INFO] [stdout] | `triple` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | match Target::from_triple(&triple) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.5.0/src/support/mod.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | impl Drop for LLVMString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `triple` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.5.0/src/support/mod.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | impl Drop for LLVMString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: `#[warn(tail_expr_drop_order)]` implied by `#[warn(rust_2024_compatibility)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/llvm/target.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 24 | let triple = if let Some(t) = triple { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `triple` calls a custom destructor [INFO] [stdout] | `triple` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | match target.create_target_machine_from_options(&triple, options) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.5.0/src/targets.rs:1277:1 [INFO] [stdout] | [INFO] [stdout] 1277 | impl Drop for TargetMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `triple` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.5.0/src/support/mod.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | impl Drop for LLVMString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/llvm/ir/visitor/decl.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | block.remove_from_function(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 93 | let _ = block.remove_from_function(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binding modifiers may only be written when the default binding mode is `move` in Rust 2024 [INFO] [stdout] --> src/analysis/typecheck.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(ref mut right) = &mut v.rhs { [INFO] [stdout] | ^^^^^^^ binding modifier not allowed under `ref mut` default binding mode [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: matching on a reference type with a non-reference pattern changes the default binding mode [INFO] [stdout] --> src/analysis/typecheck.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(ref mut right) = &mut v.rhs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this matches on type `&mut _` [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(rust_2024_compatibility)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(rust_2024_incompatible_pat)]` implied by `#[warn(rust_2024_compatibility)]` [INFO] [stdout] help: remove the unnecessary binding modifier [INFO] [stdout] | [INFO] [stdout] 68 - if let Some(ref mut right) = &mut v.rhs { [INFO] [stdout] 68 + if let Some(right) = &mut v.rhs { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binding modifiers may only be written when the default binding mode is `move` in Rust 2024 [INFO] [stdout] --> src/analysis/typecheck.rs:182:32 [INFO] [stdout] | [INFO] [stdout] 182 | Expr::Array(exprs, ref mut a_type, span) => { [INFO] [stdout] | ^^^^^^^ binding modifier not allowed under `ref mut` default binding mode [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: matching on a reference type with a non-reference pattern changes the default binding mode [INFO] [stdout] --> src/analysis/typecheck.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | Expr::Array(exprs, ref mut a_type, span) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this matches on type `&mut _` [INFO] [stdout] help: remove the unnecessary binding modifier [INFO] [stdout] | [INFO] [stdout] 182 - Expr::Array(exprs, ref mut a_type, span) => { [INFO] [stdout] 182 + Expr::Array(exprs, a_type, span) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binding modifiers may only be written when the default binding mode is `move` in Rust 2024 [INFO] [stdout] --> src/analysis/typecheck.rs:433:24 [INFO] [stdout] | [INFO] [stdout] 433 | Stmt::Decl(ref mut decl, _) => self.visit_decl(decl), [INFO] [stdout] | ^^^^^^^ binding modifier not allowed under `ref mut` default binding mode [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: matching on a reference type with a non-reference pattern changes the default binding mode [INFO] [stdout] --> src/analysis/typecheck.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | Stmt::Decl(ref mut decl, _) => self.visit_decl(decl), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this matches on type `&mut _` [INFO] [stdout] help: remove the unnecessary binding modifier [INFO] [stdout] | [INFO] [stdout] 433 - Stmt::Decl(ref mut decl, _) => self.visit_decl(decl), [INFO] [stdout] 433 + Stmt::Decl(decl, _) => self.visit_decl(decl), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binding modifiers may only be written when the default binding mode is `move` in Rust 2024 [INFO] [stdout] --> src/analysis/typecheck.rs:434:24 [INFO] [stdout] | [INFO] [stdout] 434 | Stmt::Expr(ref mut expr, _) => { self.visit_expr(expr); } [INFO] [stdout] | ^^^^^^^ binding modifier not allowed under `ref mut` default binding mode [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: matching on a reference type with a non-reference pattern changes the default binding mode [INFO] [stdout] --> src/analysis/typecheck.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | Stmt::Expr(ref mut expr, _) => { self.visit_expr(expr); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this matches on type `&mut _` [INFO] [stdout] help: remove the unnecessary binding modifier [INFO] [stdout] | [INFO] [stdout] 434 - Stmt::Expr(ref mut expr, _) => { self.visit_expr(expr); } [INFO] [stdout] 434 + Stmt::Expr(expr, _) => { self.visit_expr(expr); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binding modifiers may only be written when the default binding mode is `move` in Rust 2024 [INFO] [stdout] --> src/analysis/typecheck.rs:450:26 [INFO] [stdout] | [INFO] [stdout] 450 | Stmt::Return(ref mut expr, span) => { [INFO] [stdout] | ^^^^^^^ binding modifier not allowed under `ref mut` default binding mode [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: matching on a reference type with a non-reference pattern changes the default binding mode [INFO] [stdout] --> src/analysis/typecheck.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | Stmt::Return(ref mut expr, span) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this matches on type `&mut _` [INFO] [stdout] help: remove the unnecessary binding modifier [INFO] [stdout] | [INFO] [stdout] 450 - Stmt::Return(ref mut expr, span) => { [INFO] [stdout] 450 + Stmt::Return(expr, span) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: binding modifiers may only be written when the default binding mode is `move` in Rust 2024 [INFO] [stdout] --> src/analysis/typecheck.rs:451:29 [INFO] [stdout] | [INFO] [stdout] 451 | if let Some(ref mut expr) = expr { [INFO] [stdout] | ^^^^^^^ binding modifier not allowed under `ref mut` default binding mode [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: matching on a reference type with a non-reference pattern changes the default binding mode [INFO] [stdout] --> src/analysis/typecheck.rs:451:24 [INFO] [stdout] | [INFO] [stdout] 451 | if let Some(ref mut expr) = expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this matches on type `&mut _` [INFO] [stdout] help: remove the unnecessary binding modifier [INFO] [stdout] | [INFO] [stdout] 451 - if let Some(ref mut expr) = expr { [INFO] [stdout] 451 + if let Some(expr) = expr { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/llvm/target.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 10 | let triple = if let Some(t) = triple { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `triple` calls a custom destructor [INFO] [stdout] | `triple` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | match Target::from_triple(&triple) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.5.0/src/support/mod.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | impl Drop for LLVMString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `triple` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.5.0/src/support/mod.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | impl Drop for LLVMString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: `#[warn(tail_expr_drop_order)]` implied by `#[warn(rust_2024_compatibility)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/llvm/target.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 24 | let triple = if let Some(t) = triple { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | `triple` calls a custom destructor [INFO] [stdout] | `triple` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | match target.create_target_machine_from_options(&triple, options) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.5.0/src/targets.rs:1277:1 [INFO] [stdout] | [INFO] [stdout] 1277 | impl Drop for TargetMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `triple` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/inkwell-0.5.0/src/support/mod.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | impl Drop for LLVMString { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/llvm/ir/visitor/decl.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | block.remove_from_function(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 93 | let _ = block.remove_from_function(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.79s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: chumsky v1.0.0-alpha.7 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2ab3a931838ccc6ecade67e91c5dd41ef29c7d30bf6bff32e8b66dc800ce0887", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ab3a931838ccc6ecade67e91c5dd41ef29c7d30bf6bff32e8b66dc800ce0887", kill_on_drop: false }` [INFO] [stdout] 2ab3a931838ccc6ecade67e91c5dd41ef29c7d30bf6bff32e8b66dc800ce0887