[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#568b11762723b001bfa693d0f21c5dad01d4e813 for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoculatrix%2Fbmcc" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/joculatrix/bmcc on toolchain 568b11762723b001bfa693d0f21c5dad01d4e813 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "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" "+568b11762723b001bfa693d0f21c5dad01d4e813" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded inkwell_internals v0.10.0 [INFO] [stderr] Downloaded thiserror v1.0.65 [INFO] [stderr] Downloaded codesnake v0.2.1 [INFO] [stderr] Downloaded psm v0.1.23 [INFO] [stderr] Downloaded thiserror-impl v1.0.65 [INFO] [stderr] Downloaded anyhow v1.0.91 [INFO] [stderr] Downloaded llvm-sys v180.0.0 [INFO] [stderr] Downloaded inkwell v0.5.0 [INFO] [stderr] Downloaded chumsky v1.0.0-alpha.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73da23cd861591ac2b48101355dde0649ad26e45627a1de1928060d53585f5b5 [INFO] running `Command { std: "docker" "start" "-a" "73da23cd861591ac2b48101355dde0649ad26e45627a1de1928060d53585f5b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73da23cd861591ac2b48101355dde0649ad26e45627a1de1928060d53585f5b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73da23cd861591ac2b48101355dde0649ad26e45627a1de1928060d53585f5b5", kill_on_drop: false }` [INFO] [stdout] 73da23cd861591ac2b48101355dde0649ad26e45627a1de1928060d53585f5b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3006e23adba9b5cd0b4e31569d279dd87ef7056bb0332db26ddbae5ee812615f [INFO] running `Command { std: "docker" "start" "-a" "3006e23adba9b5cd0b4e31569d279dd87ef7056bb0332db26ddbae5ee812615f", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling anyhow v1.0.91 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling chumsky v1.0.0-alpha.7 [INFO] [stderr] Compiling inkwell v0.5.0 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Checking codesnake v0.2.1 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Checking clap_builder v4.5.20 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling llvm-sys v180.0.0 [INFO] [stderr] Compiling psm v0.1.23 [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: cannot explicitly borrow within an implicitly-borrowing pattern 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] | ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing [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 implicitly borrows the contents [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 non-reference pattern matches on a reference 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: cannot explicitly borrow within an implicitly-borrowing pattern 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] | ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing [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 implicitly borrows the contents [INFO] [stdout] --> src/analysis/typecheck.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | Expr::Array(exprs, ref mut a_type, span) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference 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: cannot explicitly borrow within an implicitly-borrowing pattern 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] | ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing [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 implicitly borrows the contents [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 non-reference pattern matches on a reference 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: cannot explicitly borrow within an implicitly-borrowing pattern 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] | ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing [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 implicitly borrows the contents [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 non-reference pattern matches on a reference 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: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024 [INFO] [stdout] --> src/analysis/typecheck.rs:450:26 [INFO] [stdout] | [INFO] [stdout] 450 | Stmt::Return(ref mut expr, span) => { [INFO] [stdout] | ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing [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 implicitly borrows the contents [INFO] [stdout] --> src/analysis/typecheck.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | Stmt::Return(ref mut expr, span) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference 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: cannot explicitly borrow within an implicitly-borrowing pattern 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] | ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing [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 implicitly borrows the contents [INFO] [stdout] --> src/analysis/typecheck.rs:451:24 [INFO] [stdout] | [INFO] [stdout] 451 | if let Some(ref mut expr) = expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference 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: cannot explicitly borrow within an implicitly-borrowing pattern 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] | ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing [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 implicitly borrows the contents [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 non-reference pattern matches on a reference 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: cannot explicitly borrow within an implicitly-borrowing pattern 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] | ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing [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 implicitly borrows the contents [INFO] [stdout] --> src/analysis/typecheck.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | Expr::Array(exprs, ref mut a_type, span) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference 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: cannot explicitly borrow within an implicitly-borrowing pattern 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] | ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing [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 implicitly borrows the contents [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 non-reference pattern matches on a reference 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: cannot explicitly borrow within an implicitly-borrowing pattern 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] | ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing [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 implicitly borrows the contents [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 non-reference pattern matches on a reference 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: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024 [INFO] [stdout] --> src/analysis/typecheck.rs:450:26 [INFO] [stdout] | [INFO] [stdout] 450 | Stmt::Return(ref mut expr, span) => { [INFO] [stdout] | ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing [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 implicitly borrows the contents [INFO] [stdout] --> src/analysis/typecheck.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | Stmt::Return(ref mut expr, span) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference 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: cannot explicitly borrow within an implicitly-borrowing pattern 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] | ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing [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 implicitly borrows the contents [INFO] [stdout] --> src/analysis/typecheck.rs:451:24 [INFO] [stdout] | [INFO] [stdout] 451 | if let Some(ref mut expr) = expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference 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 22.77s [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" "3006e23adba9b5cd0b4e31569d279dd87ef7056bb0332db26ddbae5ee812615f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3006e23adba9b5cd0b4e31569d279dd87ef7056bb0332db26ddbae5ee812615f", kill_on_drop: false }` [INFO] [stdout] 3006e23adba9b5cd0b4e31569d279dd87ef7056bb0332db26ddbae5ee812615f