[INFO] cloning repository https://github.com/2aecfff4/ir-thingy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/2aecfff4/ir-thingy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2aecfff4%2Fir-thingy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2aecfff4%2Fir-thingy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6e73cf8b78ba24fedda1f1261e71b3c035d9432 [INFO] checking 2aecfff4/ir-thingy/a6e73cf8b78ba24fedda1f1261e71b3c035d9432 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2aecfff4%2Fir-thingy" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/2aecfff4/ir-thingy 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] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/2aecfff4/ir-thingy [INFO] finished tweaking git repo https://github.com/2aecfff4/ir-thingy [INFO] tweaked toml for git repo https://github.com/2aecfff4/ir-thingy written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/2aecfff4/ir-thingy 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70e91a0339a17d32f863bc61d0048c6407b2051669372416c9f96cfe4c6d6ff4 [INFO] running `Command { std: "docker" "start" "-a" "70e91a0339a17d32f863bc61d0048c6407b2051669372416c9f96cfe4c6d6ff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70e91a0339a17d32f863bc61d0048c6407b2051669372416c9f96cfe4c6d6ff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70e91a0339a17d32f863bc61d0048c6407b2051669372416c9f96cfe4c6d6ff4", kill_on_drop: false }` [INFO] [stdout] 70e91a0339a17d32f863bc61d0048c6407b2051669372416c9f96cfe4c6d6ff4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96637cb945f0eeafbbca7fbe7d545de32a88135566254e1f461ff0d868a82cbb [INFO] running `Command { std: "docker" "start" "-a" "96637cb945f0eeafbbca7fbe7d545de32a88135566254e1f461ff0d868a82cbb", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating bin/compiler/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating crates/ir/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking indexmap v2.2.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Compiling strum_macros v0.26.1 [INFO] [stderr] Checking strum v0.26.1 [INFO] [stderr] Checking ir v0.1.0 (/tmp/fixit/crates/ir) [INFO] [stderr] Migrating crates/ir/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `ir` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * crates/ir/src/constant.rs [INFO] [stderr] * crates/ir/src/dump_ir.rs [INFO] [stderr] * crates/ir/src/function_builder.rs [INFO] [stderr] * crates/ir/src/passes/constant_folding.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/function_builder.rs:13:31 [INFO] [stderr] | [INFO] [stderr] 13 | impl $name: ident for $op: expr_2021 [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/function_builder.rs:27:31 [INFO] [stderr] | [INFO] [stderr] 27 | impl $name: ident for $op: expr_2021 [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/function_builder.rs:41:31 [INFO] [stderr] | [INFO] [stderr] 41 | impl $name: ident for $op: expr_2021 [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/function_builder.rs:55:31 [INFO] [stderr] | [INFO] [stderr] 55 | impl $name: ident for $op: expr_2021 [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:44:18 [INFO] [stderr] | [INFO] [stderr] 44 | ($val:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:50:18 [INFO] [stderr] | [INFO] [stderr] 50 | ($val:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:57:18 [INFO] [stderr] | [INFO] [stderr] 57 | ($is_signed:expr_2021, $op:expr_2021, $lhs:expr_2021, $rhs:expr_2021, $unsigned: ty, $signed: ty) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:57:40 [INFO] [stderr] | [INFO] [stderr] 57 | ($is_signed:expr_2021, $op:expr_2021, $lhs:expr_2021, $rhs:expr_2021, $unsigned: ty, $signed: ty) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:57:55 [INFO] [stderr] | [INFO] [stderr] 57 | ($is_signed:expr_2021, $op:expr_2021, $lhs:expr_2021, $rhs:expr_2021, $unsigned: ty, $signed: ty) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:57:71 [INFO] [stderr] | [INFO] [stderr] 57 | ($is_signed:expr_2021, $op:expr_2021, $lhs:expr_2021, $rhs:expr_2021, $unsigned: ty, $signed: ty) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:144:18 [INFO] [stderr] | [INFO] [stderr] 144 | ($val:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:150:18 [INFO] [stderr] | [INFO] [stderr] 150 | ($val:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:157:18 [INFO] [stderr] | [INFO] [stderr] 157 | ($is_signed:expr_2021, $op:expr_2021, $value:expr_2021, $unsigned: ty) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:157:40 [INFO] [stderr] | [INFO] [stderr] 157 | ($is_signed:expr_2021, $op:expr_2021, $value:expr_2021, $unsigned: ty) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:157:55 [INFO] [stderr] | [INFO] [stderr] 157 | ($is_signed:expr_2021, $op:expr_2021, $value:expr_2021, $unsigned: ty) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:206:18 [INFO] [stderr] | [INFO] [stderr] 206 | ($val:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:212:18 [INFO] [stderr] | [INFO] [stderr] 212 | ($val:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:248:18 [INFO] [stderr] | [INFO] [stderr] 248 | ($val:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:254:18 [INFO] [stderr] | [INFO] [stderr] 254 | ($val:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: unused import: `value::Value` [INFO] [stdout] --> crates/ir/src/context.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | value::Value, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: unused import: `context::Context` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | context::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | io::{self, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: unused import: `Functions` [INFO] [stdout] --> crates/ir/src/function_builder.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | function::{Function, FunctionData, Functions}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:261:18 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/function_builder.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | impl $name: ident for $op: expr [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 13 | impl $name: ident for $op: expr_2021 [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/function_builder.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | impl $name: ident for $op: expr [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 27 | impl $name: ident for $op: expr_2021 [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 261 | ($is_signed:expr_2021, $op:expr_2021, $lhs:expr_2021, $rhs:expr_2021, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/function_builder.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | impl $name: ident for $op: expr [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 41 | impl $name: ident for $op: expr_2021 [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/function_builder.rs:55:36 [INFO] [stdout] | [INFO] [stdout] 55 | impl $name: ident for $op: expr [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 55 | impl $name: ident for $op: expr_2021 [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque` [INFO] [stdout] --> crates/ir/src/label.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | ty::{Type, TypeKind, Types}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | ($val:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 44 | ($val:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | ($val:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 50 | ($val:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | ($is_signed:expr, $op:expr, $lhs:expr, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 57 | ($is_signed:expr_2021, $op:expr, $lhs:expr, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | ($is_signed:expr, $op:expr, $lhs:expr, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 57 | ($is_signed:expr, $op:expr_2021, $lhs:expr, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:261:40 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:57:50 [INFO] [stdout] | [INFO] [stdout] 57 | ($is_signed:expr, $op:expr, $lhs:expr, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 57 | ($is_signed:expr, $op:expr, $lhs:expr_2021, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:57:61 [INFO] [stdout] | [INFO] [stdout] 57 | ($is_signed:expr, $op:expr, $lhs:expr, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 57 | ($is_signed:expr, $op:expr, $lhs:expr, $rhs:expr_2021, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 261 | ($is_signed:expr_2021, $op:expr_2021, $lhs:expr_2021, $rhs:expr_2021, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | ($val:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 144 | ($val:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:150:23 [INFO] [stdout] | [INFO] [stdout] 150 | ($val:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 150 | ($val:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:157:29 [INFO] [stdout] | [INFO] [stdout] 157 | ($is_signed:expr, $op:expr, $value:expr, $unsigned: ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 157 | ($is_signed:expr_2021, $op:expr, $value:expr, $unsigned: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:157:39 [INFO] [stdout] | [INFO] [stdout] 157 | ($is_signed:expr, $op:expr, $value:expr, $unsigned: ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 157 | ($is_signed:expr, $op:expr_2021, $value:expr, $unsigned: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:157:52 [INFO] [stdout] | [INFO] [stdout] 157 | ($is_signed:expr, $op:expr, $value:expr, $unsigned: ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 157 | ($is_signed:expr, $op:expr, $value:expr_2021, $unsigned: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:206:23 [INFO] [stdout] | [INFO] [stdout] 206 | ($val:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 206 | ($val:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:212:23 [INFO] [stdout] | [INFO] [stdout] 212 | ($val:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 212 | ($val:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:248:23 [INFO] [stdout] | [INFO] [stdout] 248 | ($val:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 248 | ($val:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:261:55 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:254:23 [INFO] [stdout] | [INFO] [stdout] 254 | ($val:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 254 | ($val:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | ($is_signed:expr, $op:expr, $lhs:expr, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 261 | ($is_signed:expr_2021, $op:expr, $lhs:expr, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 261 | ($is_signed:expr_2021, $op:expr_2021, $lhs:expr_2021, $rhs:expr_2021, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:261:39 [INFO] [stdout] | [INFO] [stdout] 261 | ($is_signed:expr, $op:expr, $lhs:expr, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 261 | ($is_signed:expr, $op:expr_2021, $lhs:expr, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:261:50 [INFO] [stdout] | [INFO] [stdout] 261 | ($is_signed:expr, $op:expr, $lhs:expr, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 261 | ($is_signed:expr, $op:expr, $lhs:expr_2021, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:261:61 [INFO] [stdout] | [INFO] [stdout] 261 | ($is_signed:expr, $op:expr, $lhs:expr, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 261 | ($is_signed:expr, $op:expr, $lhs:expr, $rhs:expr_2021, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:261:71 [INFO] [stderr] | [INFO] [stderr] 261 | ($is_signed:expr_2021, $op:expr_2021, $lhs:expr_2021, $rhs:expr_2021, $unsigned: ty, $signed: ty) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:360:18 [INFO] [stderr] | [INFO] [stderr] 360 | ($val:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:366:18 [INFO] [stderr] | [INFO] [stderr] 366 | ($val:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> crates/ir/src/dump_ir.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | io::{Write}, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> crates/ir/src/constant.rs:18:42 [INFO] [stderr] | [INFO] [stderr] 18 | ConstantValue::Integer { ty, value } => *ty, [INFO] [stderr] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> crates/ir/src/constant.rs:19:40 [INFO] [stderr] | [INFO] [stderr] 19 | ConstantValue::Float { ty, value } => *ty, [INFO] [stderr] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `function` [INFO] [stderr] --> crates/ir/src/dump_ir.rs:211:13 [INFO] [stderr] | [INFO] [stderr] 211 | function, [INFO] [stderr] | ^^^^^^^^ help: try ignoring the field: `function: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arguments` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:360:23 [INFO] [stdout] | [INFO] [stdout] 360 | ($val:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 360 | ($val:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crates/ir/src/dump_ir.rs:212:13 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:366:23 [INFO] [stdout] | [INFO] [stdout] 366 | ($val:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 366 | ($val:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | io::{self, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 212 | arguments, [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/constant.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | ConstantValue::Integer { ty, value } => *ty, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `arguments: _` [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/constant.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | ConstantValue::Float { ty, value } => *ty, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | function, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `function: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `dst` [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | arguments, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `arguments: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crates/ir/src/dump_ir.rs:213:13 [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unused variable: `cast_op` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | cast_op, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 213 | dst, [INFO] [stdout] warning: unused variable: `to_type` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | to_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `cast_op` [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:222:38 [INFO] [stdout] | [INFO] [stdout] 222 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crates/ir/src/dump_ir.rs:216:13 [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:222:43 [INFO] [stdout] | [INFO] [stdout] 222 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `ptr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:222:48 [INFO] [stdout] | [INFO] [stdout] 222 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 216 | cast_op, [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> crates/ir/src/function_builder.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | function: Function, // [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> crates/ir/src/function_builder.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | arguments: &[Value], [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused variable: `cast_op` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:445:29 [INFO] [stdout] | [INFO] [stdout] 445 | ... cast_op, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `to_type` [INFO] [stdout] warning: unused variable: `to_type` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:446:29 [INFO] [stdout] | [INFO] [stdout] 446 | ... to_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crates/ir/src/dump_ir.rs:217:13 [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:447:29 [INFO] [stdout] | [INFO] [stdout] 447 | ... dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:448:29 [INFO] [stdout] | [INFO] [stdout] 448 | ... value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 217 | to_type, [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:465:29 [INFO] [stdout] | [INFO] [stdout] 465 | ... dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:466:29 [INFO] [stdout] | [INFO] [stdout] 466 | ... condition, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused variable: `on_true` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:467:29 [INFO] [stdout] | [INFO] [stdout] 467 | ... on_true, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `on_true: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `dst` [INFO] [stdout] warning: unused variable: `on_false` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:468:29 [INFO] [stdout] | [INFO] [stdout] 468 | ... on_false, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `on_false: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crates/ir/src/dump_ir.rs:218:13 [INFO] [stdout] warning: unused variable: `integer` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:376:17 [INFO] [stdout] | [INFO] [stdout] 376 | let integer = condition_const.integer().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | types: &Types, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 218 | dst, [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | location: Location, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | dst: &Value, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused variable: `on_true` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | on_true: &Value, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_true` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `value` [INFO] [stdout] warning: unused variable: `on_false` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | on_false: &Value, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_false` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crates/ir/src/dump_ir.rs:219:13 [INFO] [stdout] warning: unused variable: `cast_op` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:534:25 [INFO] [stdout] | [INFO] [stdout] 534 | cast_op, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unused variable: `to_type` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:535:25 [INFO] [stdout] | [INFO] [stdout] 535 | to_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 219 | value, [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:536:25 [INFO] [stdout] | [INFO] [stdout] 536 | dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:537:25 [INFO] [stdout] | [INFO] [stdout] 537 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:539:50 [INFO] [stdout] | [INFO] [stdout] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `dst` [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:539:55 [INFO] [stdout] | [INFO] [stdout] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] | ^^^ help: try ignoring the field: `ptr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crates/ir/src/dump_ir.rs:221:38 [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:539:60 [INFO] [stdout] | [INFO] [stdout] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: methods `get_mut` and `iter` are never used [INFO] [stdout] --> crates/ir/src/constant.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Constants { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_mut(&mut self, handle: Constant) -> &mut ConstantData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 221 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] warning: methods `functions_mut` and `types` are never used [INFO] [stdout] --> crates/ir/src/context.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl Context { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub(crate) fn functions_mut(&mut self) -> &mut Functions { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub(crate) fn types(&self) -> &Types { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> crates/ir/src/function.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 270 | impl Functions { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn get(&self, handle: Function) -> &FunctionData { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: variant `Call` is never constructed [INFO] [stdout] --> crates/ir/src/instruction.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 74 | Call { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `ptr` [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> crates/ir/src/label.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct LabelData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 11 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crates/ir/src/dump_ir.rs:221:43 [INFO] [stdout] warning: function `select` is never used [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:350:12 [INFO] [stdout] | [INFO] [stdout] 350 | fn select( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: fields `pointers`, `pointer_origins`, and `escaped_pointers` are never read [INFO] [stdout] --> crates/ir/src/pointer_analysis.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct PointerAnalysis { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 10 | pub creators: HashMap, [INFO] [stdout] 11 | pub pointers: HashSet, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub pointer_origins: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub escaped_pointers: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PointerAnalysis` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 221 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] warning: methods `get_mut` and `iter` are never used [INFO] [stdout] --> crates/ir/src/ty.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Types { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get_mut(&mut self, handle: Type) -> &mut TypeData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^ help: try ignoring the field: `ptr: _` [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> crates/ir/src/value.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Values { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_mut(&mut self, handle: Value) -> &mut ValueData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/ir/src/cfg.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | while let Some(label) = bfs.next(&self.graph) { [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] --> crates/ir/src/cfg.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `index` [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/ir/src/function.rs:173:20 [INFO] [stdout] | [INFO] [stdout] 173 | if let Some(reads) = instr.reads() { [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] --> crates/ir/src/function.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 173 ~ match instr.reads() { Some(reads) => { [INFO] [stdout] 174 | for read in reads.iter() { [INFO] [stdout] 175 | edges.entry(*read).or_default().insert(location); [INFO] [stdout] 176 | } [INFO] [stdout] 177 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crates/ir/src/dump_ir.rs:221:48 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/ir/src/function.rs:216:24 [INFO] [stdout] | [INFO] [stdout] 216 | if let Some(reads) = instr.reads() { [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] --> crates/ir/src/function.rs:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 216 ~ match instr.reads() { Some(reads) => { [INFO] [stdout] 217 | for read in reads.iter() { [INFO] [stdout] ... [INFO] [stdout] 224 | } [INFO] [stdout] 225 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/ir/src/function.rs:241:16 [INFO] [stdout] | [INFO] [stdout] 241 | if let Some(users) = dependencies.get(&value) { [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] --> crates/ir/src/function.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 241 ~ match dependencies.get(&value) { Some(users) => { [INFO] [stdout] 242 | for (_, creator) in users.iter() { [INFO] [stdout] ... [INFO] [stdout] 249 | } [INFO] [stdout] 250 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 221 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/ir/src/passes/dead_code_elimination.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 93 | if let Some(reads) = reads { [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] --> crates/ir/src/passes/dead_code_elimination.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 93 ~ match reads { Some(reads) => { [INFO] [stdout] 94 | for read in reads.iter() { [INFO] [stdout] ... [INFO] [stdout] 103 | } [INFO] [stdout] 104 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] warning: 81 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] warning: unused variable: `function` [INFO] [stderr] --> crates/ir/src/function_builder.rs:198:9 [INFO] [stderr] | [INFO] [stderr] 198 | function: Function, // [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arguments` [INFO] [stderr] --> crates/ir/src/function_builder.rs:199:9 [INFO] [stderr] | [INFO] [stderr] 199 | arguments: &[Value], [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cast_op` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:445:29 [INFO] [stderr] | [INFO] [stderr] 445 | ... cast_op, [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `to_type` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:446:29 [INFO] [stderr] | [INFO] [stderr] 446 | ... to_type, [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dst` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:447:29 [INFO] [stderr] | [INFO] [stderr] 447 | ... dst, [INFO] [stderr] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:448:29 [INFO] [stderr] | [INFO] [stderr] 448 | ... value, [INFO] [stderr] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dst` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:465:29 [INFO] [stderr] | [INFO] [stderr] 465 | ... dst, [INFO] [stderr] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `condition` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:466:29 [INFO] [stderr] | [INFO] [stderr] 466 | ... condition, [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `condition: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `on_true` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:467:29 [INFO] [stderr] | [INFO] [stderr] 467 | ... on_true, [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `on_true: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `on_false` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:468:29 [INFO] [stderr] | [INFO] [stderr] 468 | ... on_false, [INFO] [stderr] | ^^^^^^^^ help: try ignoring the field: `on_false: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `integer` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:376:17 [INFO] [stderr] | [INFO] [stderr] 376 | let integer = condition_const.integer().unwrap(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `types` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:351:13 [INFO] [stderr] | [INFO] [stderr] 351 | types: &Types, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `location` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:353:13 [INFO] [stderr] | [INFO] [stderr] 353 | location: Location, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dst` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:354:13 [INFO] [stderr] | [INFO] [stderr] 354 | dst: &Value, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `on_true` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:356:13 [INFO] [stderr] | [INFO] [stderr] 356 | on_true: &Value, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_true` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `on_false` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:357:13 [INFO] [stderr] | [INFO] [stderr] 357 | on_false: &Value, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_false` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cast_op` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:534:25 [INFO] [stderr] | [INFO] [stderr] 534 | cast_op, [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `to_type` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:535:25 [INFO] [stderr] | [INFO] [stderr] 535 | to_type, [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dst` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:536:25 [INFO] [stderr] | [INFO] [stderr] 536 | dst, [INFO] [stderr] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:537:25 [INFO] [stderr] | [INFO] [stderr] 537 | value, [INFO] [stderr] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dst` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:539:50 [INFO] [stderr] | [INFO] [stderr] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stderr] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ptr` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:539:55 [INFO] [stderr] | [INFO] [stderr] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stderr] | ^^^ help: try ignoring the field: `ptr: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:539:60 [INFO] [stderr] | [INFO] [stderr] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stderr] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stderr] [INFO] [stderr] error: aborting due to 25 previous errors; 36 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] Checking compiler v0.1.0 (/tmp/fixit/bin/compiler) [INFO] [stderr] Migrating bin/compiler/src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `ir` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * crates/ir/src/constant.rs [INFO] [stderr] * crates/ir/src/dump_ir.rs [INFO] [stderr] * crates/ir/src/function_builder.rs [INFO] [stderr] * crates/ir/src/passes/constant_folding.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/function_builder.rs:13:31 [INFO] [stderr] | [INFO] [stderr] 13 | impl $name: ident for $op: expr_2021 [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/function_builder.rs:27:31 [INFO] [stderr] | [INFO] [stderr] 27 | impl $name: ident for $op: expr_2021 [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/function_builder.rs:41:31 [INFO] [stderr] | [INFO] [stderr] 41 | impl $name: ident for $op: expr_2021 [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/function_builder.rs:55:31 [INFO] [stderr] | [INFO] [stderr] 55 | impl $name: ident for $op: expr_2021 [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:44:18 [INFO] [stderr] | [INFO] [stderr] 44 | ($val:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:50:18 [INFO] [stderr] | [INFO] [stderr] 50 | ($val:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:57:18 [INFO] [stderr] | [INFO] [stderr] 57 | ($is_signed:expr_2021, $op:expr_2021, $lhs:expr_2021, $rhs:expr_2021, $unsigned: ty, $signed: ty) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:57:40 [INFO] [stderr] | [INFO] [stderr] 57 | ($is_signed:expr_2021, $op:expr_2021, $lhs:expr_2021, $rhs:expr_2021, $unsigned: ty, $signed: ty) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:57:55 [INFO] [stderr] | [INFO] [stderr] 57 | ($is_signed:expr_2021, $op:expr_2021, $lhs:expr_2021, $rhs:expr_2021, $unsigned: ty, $signed: ty) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:57:71 [INFO] [stderr] | [INFO] [stderr] 57 | ($is_signed:expr_2021, $op:expr_2021, $lhs:expr_2021, $rhs:expr_2021, $unsigned: ty, $signed: ty) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:144:18 [INFO] [stderr] | [INFO] [stderr] 144 | ($val:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:150:18 [INFO] [stderr] | [INFO] [stderr] 150 | ($val:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:157:18 [INFO] [stderr] | [INFO] [stderr] 157 | ($is_signed:expr_2021, $op:expr_2021, $value:expr_2021, $unsigned: ty) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:157:40 [INFO] [stderr] | [INFO] [stderr] 157 | ($is_signed:expr_2021, $op:expr_2021, $value:expr_2021, $unsigned: ty) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:157:55 [INFO] [stderr] | [INFO] [stderr] 157 | ($is_signed:expr_2021, $op:expr_2021, $value:expr_2021, $unsigned: ty) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:206:18 [INFO] [stderr] | [INFO] [stderr] 206 | ($val:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:212:18 [INFO] [stderr] | [INFO] [stderr] 212 | ($val:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:248:18 [INFO] [stderr] | [INFO] [stderr] 248 | ($val:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:254:18 [INFO] [stderr] | [INFO] [stderr] 254 | ($val:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:261:18 [INFO] [stderr] | [INFO] [stderr] 261 | ($is_signed:expr_2021, $op:expr_2021, $lhs:expr_2021, $rhs:expr_2021, $unsigned: ty, $signed: ty) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:261:40 [INFO] [stderr] | [INFO] [stderr] 261 | ($is_signed:expr_2021, $op:expr_2021, $lhs:expr_2021, $rhs:expr_2021, $unsigned: ty, $signed: ty) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:261:55 [INFO] [stderr] | [INFO] [stderr] 261 | ($is_signed:expr_2021, $op:expr_2021, $lhs:expr_2021, $rhs:expr_2021, $unsigned: ty, $signed: ty) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:261:71 [INFO] [stderr] | [INFO] [stderr] 261 | ($is_signed:expr_2021, $op:expr_2021, $lhs:expr_2021, $rhs:expr_2021, $unsigned: ty, $signed: ty) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:360:18 [INFO] [stderr] | [INFO] [stderr] 360 | ($val:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:366:18 [INFO] [stderr] | [INFO] [stderr] 366 | ($val:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> crates/ir/src/dump_ir.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | io::{Write}, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> crates/ir/src/constant.rs:18:42 [INFO] [stderr] | [INFO] [stderr] 18 | ConstantValue::Integer { ty, value } => *ty, [INFO] [stderr] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> crates/ir/src/constant.rs:19:40 [INFO] [stderr] | [INFO] [stderr] 19 | ConstantValue::Float { ty, value } => *ty, [INFO] [stderr] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `function` [INFO] [stderr] --> crates/ir/src/dump_ir.rs:211:13 [INFO] [stderr] | [INFO] [stderr] 211 | function, [INFO] [stderr] | ^^^^^^^^ help: try ignoring the field: `function: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arguments` [INFO] [stderr] --> crates/ir/src/dump_ir.rs:212:13 [INFO] [stderr] | [INFO] [stderr] 212 | arguments, [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `arguments: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dst` [INFO] [stderr] --> crates/ir/src/dump_ir.rs:213:13 [INFO] [stderr] | [INFO] [stderr] 213 | dst, [INFO] [stderr] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cast_op` [INFO] [stderr] --> crates/ir/src/dump_ir.rs:216:13 [INFO] [stderr] | [INFO] [stderr] 216 | cast_op, [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `to_type` [INFO] [stderr] --> crates/ir/src/dump_ir.rs:217:13 [INFO] [stderr] | [INFO] [stderr] 217 | to_type, [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dst` [INFO] [stderr] --> crates/ir/src/dump_ir.rs:218:13 [INFO] [stderr] | [INFO] [stderr] 218 | dst, [INFO] [stderr] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> crates/ir/src/dump_ir.rs:219:13 [INFO] [stderr] | [INFO] [stderr] 219 | value, [INFO] [stderr] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dst` [INFO] [stderr] --> crates/ir/src/dump_ir.rs:221:38 [INFO] [stderr] | [INFO] [stderr] 221 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stderr] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ptr` [INFO] [stderr] --> crates/ir/src/dump_ir.rs:221:43 [INFO] [stderr] | [INFO] [stderr] 221 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stderr] | ^^^ help: try ignoring the field: `ptr: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> crates/ir/src/dump_ir.rs:221:48 [INFO] [stderr] | [INFO] [stderr] 221 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stderr] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `function` [INFO] [stderr] --> crates/ir/src/function_builder.rs:198:9 [INFO] [stderr] | [INFO] [stderr] 198 | function: Function, // [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arguments` [INFO] [stderr] --> crates/ir/src/function_builder.rs:199:9 [INFO] [stderr] | [INFO] [stderr] 199 | arguments: &[Value], [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cast_op` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:445:29 [INFO] [stderr] | [INFO] [stderr] 445 | ... cast_op, [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `to_type` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:446:29 [INFO] [stderr] | [INFO] [stderr] 446 | ... to_type, [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dst` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:447:29 [INFO] [stderr] | [INFO] [stderr] 447 | ... dst, [INFO] [stderr] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:448:29 [INFO] [stderr] | [INFO] [stderr] 448 | ... value, [INFO] [stderr] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dst` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:465:29 [INFO] [stderr] | [INFO] [stderr] 465 | ... dst, [INFO] [stderr] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `condition` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:466:29 [INFO] [stderr] | [INFO] [stderr] 466 | ... condition, [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `condition: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `on_true` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:467:29 [INFO] [stderr] | [INFO] [stderr] 467 | ... on_true, [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `on_true: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `on_false` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:468:29 [INFO] [stderr] | [INFO] [stderr] 468 | ... on_false, [INFO] [stderr] | ^^^^^^^^ help: try ignoring the field: `on_false: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `integer` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:376:17 [INFO] [stderr] | [INFO] [stderr] 376 | let integer = condition_const.integer().unwrap(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `types` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:351:13 [INFO] [stderr] | [INFO] [stderr] 351 | types: &Types, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `location` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:353:13 [INFO] [stderr] | [INFO] [stderr] 353 | location: Location, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dst` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:354:13 [INFO] [stderr] | [INFO] [stderr] 354 | dst: &Value, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `on_true` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:356:13 [INFO] [stderr] | [INFO] [stderr] 356 | on_true: &Value, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_true` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `on_false` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:357:13 [INFO] [stderr] | [INFO] [stderr] 357 | on_false: &Value, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_false` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cast_op` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:534:25 [INFO] [stderr] | [INFO] [stderr] 534 | cast_op, [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `to_type` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:535:25 [INFO] [stderr] | [INFO] [stderr] 535 | to_type, [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dst` [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:536:25 [INFO] [stdout] warning: unused import: `value::Value` [INFO] [stdout] --> crates/ir/src/context.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | value::Value, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unused import: `context::Context` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | context::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 536 | dst, [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | io::{self, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] warning: unused import: `Functions` [INFO] [stdout] --> crates/ir/src/function_builder.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | function::{Function, FunctionData, Functions}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/function_builder.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | impl $name: ident for $op: expr [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 13 | impl $name: ident for $op: expr_2021 [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `value` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/function_builder.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | impl $name: ident for $op: expr [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 27 | impl $name: ident for $op: expr_2021 [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:537:25 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/function_builder.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | impl $name: ident for $op: expr [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 41 | impl $name: ident for $op: expr_2021 [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/function_builder.rs:55:36 [INFO] [stdout] | [INFO] [stdout] 55 | impl $name: ident for $op: expr [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 55 | impl $name: ident for $op: expr_2021 [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 537 | value, [INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque` [INFO] [stdout] --> crates/ir/src/label.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | ty::{Type, TypeKind, Types}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | ($val:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 44 | ($val:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `dst` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | ($val:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 50 | ($val:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:539:50 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | ($is_signed:expr, $op:expr, $lhs:expr, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 57 | ($is_signed:expr_2021, $op:expr, $lhs:expr, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | ($is_signed:expr, $op:expr, $lhs:expr, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 57 | ($is_signed:expr, $op:expr_2021, $lhs:expr, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:57:50 [INFO] [stdout] | [INFO] [stdout] 57 | ($is_signed:expr, $op:expr, $lhs:expr, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 57 | ($is_signed:expr, $op:expr, $lhs:expr_2021, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:57:61 [INFO] [stdout] | [INFO] [stdout] 57 | ($is_signed:expr, $op:expr, $lhs:expr, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 57 | ($is_signed:expr, $op:expr, $lhs:expr, $rhs:expr_2021, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | ($val:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 144 | ($val:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `ptr` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:150:23 [INFO] [stdout] | [INFO] [stdout] 150 | ($val:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 150 | ($val:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:539:55 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:157:29 [INFO] [stdout] | [INFO] [stdout] 157 | ($is_signed:expr, $op:expr, $value:expr, $unsigned: ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 157 | ($is_signed:expr_2021, $op:expr, $value:expr, $unsigned: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:157:39 [INFO] [stdout] | [INFO] [stdout] 157 | ($is_signed:expr, $op:expr, $value:expr, $unsigned: ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 157 | ($is_signed:expr, $op:expr_2021, $value:expr, $unsigned: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:157:52 [INFO] [stdout] | [INFO] [stdout] 157 | ($is_signed:expr, $op:expr, $value:expr, $unsigned: ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 157 | ($is_signed:expr, $op:expr, $value:expr_2021, $unsigned: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^ help: try ignoring the field: `ptr: _` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:206:23 [INFO] [stdout] | [INFO] [stdout] 206 | ($val:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 206 | ($val:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:212:23 [INFO] [stdout] | [INFO] [stdout] 212 | ($val:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 212 | ($val:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `index` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:248:23 [INFO] [stdout] | [INFO] [stdout] 248 | ($val:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 248 | ($val:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> crates/ir/src/passes/constant_folding.rs:539:60 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:254:23 [INFO] [stdout] | [INFO] [stdout] 254 | ($val:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 254 | ($val:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | ($is_signed:expr, $op:expr, $lhs:expr, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 261 | ($is_signed:expr_2021, $op:expr, $lhs:expr, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:261:39 [INFO] [stdout] | [INFO] [stdout] 261 | ($is_signed:expr, $op:expr, $lhs:expr, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 261 | ($is_signed:expr, $op:expr_2021, $lhs:expr, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:261:50 [INFO] [stdout] | [INFO] [stdout] 261 | ($is_signed:expr, $op:expr, $lhs:expr, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 261 | ($is_signed:expr, $op:expr, $lhs:expr_2021, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:261:61 [INFO] [stdout] | [INFO] [stdout] 261 | ($is_signed:expr, $op:expr, $lhs:expr, $rhs:expr, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 261 | ($is_signed:expr, $op:expr, $lhs:expr, $rhs:expr_2021, $unsigned: ty, $signed: ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: aborting due to 25 previous errors; 36 warnings emitted [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:360:23 [INFO] [stdout] | [INFO] [stdout] 360 | ($val:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 360 | ($val:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:366:23 [INFO] [stdout] | [INFO] [stdout] 366 | ($val:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 366 | ($val:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | io::{self, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Original diagnostics will follow. [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/constant.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | ConstantValue::Integer { ty, value } => *ty, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/constant.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | ConstantValue::Float { ty, value } => *ty, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | function, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `function: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | arguments, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `arguments: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cast_op` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | cast_op, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_type` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | to_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:222:38 [INFO] [stdout] | [INFO] [stdout] 222 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:222:43 [INFO] [stdout] | [INFO] [stdout] 222 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `ptr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:222:48 [INFO] [stdout] | [INFO] [stdout] 222 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> crates/ir/src/function_builder.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | function: Function, // [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> crates/ir/src/function_builder.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | arguments: &[Value], [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cast_op` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:445:29 [INFO] [stdout] | [INFO] [stdout] 445 | ... cast_op, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_type` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:446:29 [INFO] [stdout] | [INFO] [stdout] 446 | ... to_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:447:29 [INFO] [stdout] | [INFO] [stdout] 447 | ... dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:448:29 [INFO] [stdout] | [INFO] [stdout] 448 | ... value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:465:29 [INFO] [stdout] | [INFO] [stdout] 465 | ... dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:466:29 [INFO] [stdout] | [INFO] [stdout] 466 | ... condition, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_true` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:467:29 [INFO] [stdout] | [INFO] [stdout] 467 | ... on_true, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `on_true: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_false` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:468:29 [INFO] [stdout] | [INFO] [stdout] 468 | ... on_false, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `on_false: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `integer` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:376:17 [INFO] [stdout] | [INFO] [stdout] 376 | let integer = condition_const.integer().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | types: &Types, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | location: Location, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | dst: &Value, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_true` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | on_true: &Value, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_true` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_false` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | on_false: &Value, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_false` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cast_op` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:534:25 [INFO] [stdout] | [INFO] [stdout] 534 | cast_op, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_type` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:535:25 [INFO] [stdout] | [INFO] [stdout] 535 | to_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:536:25 [INFO] [stdout] | [INFO] [stdout] 536 | dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:537:25 [INFO] [stdout] | [INFO] [stdout] 537 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:539:50 [INFO] [stdout] | [INFO] [stdout] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:539:55 [INFO] [stdout] | [INFO] [stdout] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] | ^^^ help: try ignoring the field: `ptr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:539:60 [INFO] [stdout] | [INFO] [stdout] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut` and `iter` are never used [INFO] [stdout] --> crates/ir/src/constant.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Constants { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_mut(&mut self, handle: Constant) -> &mut ConstantData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `functions_mut` and `types` are never used [INFO] [stdout] --> crates/ir/src/context.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl Context { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub(crate) fn functions_mut(&mut self) -> &mut Functions { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub(crate) fn types(&self) -> &Types { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> crates/ir/src/function.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 270 | impl Functions { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn get(&self, handle: Function) -> &FunctionData { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Call` is never constructed [INFO] [stdout] --> crates/ir/src/instruction.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 74 | Call { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> crates/ir/src/label.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct LabelData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 11 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select` is never used [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:350:12 [INFO] [stdout] | [INFO] [stdout] 350 | fn select( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pointers`, `pointer_origins`, and `escaped_pointers` are never read [INFO] [stdout] --> crates/ir/src/pointer_analysis.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct PointerAnalysis { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 10 | pub creators: HashMap, [INFO] [stdout] 11 | pub pointers: HashSet, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub pointer_origins: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub escaped_pointers: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PointerAnalysis` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut` and `iter` are never used [INFO] [stdout] --> crates/ir/src/ty.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Types { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get_mut(&mut self, handle: Type) -> &mut TypeData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> crates/ir/src/value.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Values { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_mut(&mut self, handle: Value) -> &mut ValueData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/ir/src/cfg.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | while let Some(label) = bfs.next(&self.graph) { [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] --> crates/ir/src/cfg.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | } [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] --> crates/ir/src/function.rs:173:20 [INFO] [stdout] | [INFO] [stdout] 173 | if let Some(reads) = instr.reads() { [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] --> crates/ir/src/function.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 173 ~ match instr.reads() { Some(reads) => { [INFO] [stdout] 174 | for read in reads.iter() { [INFO] [stdout] 175 | edges.entry(*read).or_default().insert(location); [INFO] [stdout] 176 | } [INFO] [stdout] 177 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/ir/src/function.rs:216:24 [INFO] [stdout] | [INFO] [stdout] 216 | if let Some(reads) = instr.reads() { [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] --> crates/ir/src/function.rs:225:21 [INFO] [stdout] | [INFO] [stdout] 225 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 216 ~ match instr.reads() { Some(reads) => { [INFO] [stdout] 217 | for read in reads.iter() { [INFO] [stdout] ... [INFO] [stdout] 224 | } [INFO] [stdout] 225 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/ir/src/function.rs:241:16 [INFO] [stdout] | [INFO] [stdout] 241 | if let Some(users) = dependencies.get(&value) { [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] --> crates/ir/src/function.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 241 ~ match dependencies.get(&value) { Some(users) => { [INFO] [stdout] 242 | for (_, creator) in users.iter() { [INFO] [stdout] ... [INFO] [stdout] 249 | } [INFO] [stdout] 250 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> crates/ir/src/passes/dead_code_elimination.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 93 | if let Some(reads) = reads { [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] --> crates/ir/src/passes/dead_code_elimination.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 93 ~ match reads { Some(reads) => { [INFO] [stdout] 94 | for read in reads.iter() { [INFO] [stdout] ... [INFO] [stdout] 103 | } [INFO] [stdout] 104 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 81 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `compiler` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * bin/compiler/src/emitter.rs [INFO] [stderr] * bin/compiler/src/lexer.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> bin/compiler/src/lexer.rs:275:22 [INFO] [stderr] | [INFO] [stderr] 275 | ($on_fail: expr_2021, $(($to_match: literal, $on_success: expr_2021)),*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> bin/compiler/src/lexer.rs:275:66 [INFO] [stderr] | [INFO] [stderr] 275 | ($on_fail: expr_2021, $(($to_match: literal, $on_success: expr_2021)),*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> bin/compiler/src/emitter.rs:55:29 [INFO] [stderr] | [INFO] [stderr] 55 | Ty::NamedType { name } => todo!(), [INFO] [stderr] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ty` [INFO] [stderr] --> bin/compiler/src/emitter.rs:56:25 [INFO] [stderr] | [INFO] [stderr] 56 | Ty::Array { ty, size } => todo!(), [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> bin/compiler/src/lexer.rs:275:32 [INFO] [stdout] | [INFO] [stdout] 275 | ($on_fail: expr, $(($to_match: literal, $on_success: expr)),*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 275 | ($on_fail: expr_2021, $(($to_match: literal, $on_success: expr)),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> bin/compiler/src/lexer.rs:275:74 [INFO] [stdout] | [INFO] [stdout] 275 | ($on_fail: expr, $(($to_match: literal, $on_success: expr)),*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 275 | ($on_fail: expr, $(($to_match: literal, $on_success: expr_2021)),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused imports: `TypeKind`, `Type`, and `context::Context` [INFO] [stdout] --> bin/compiler/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | context::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | ty::{Type, TypeKind}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `size` [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> bin/compiler/src/emitter.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | Ty::NamedType { name } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> bin/compiler/src/emitter.rs:56:29 [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> bin/compiler/src/emitter.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | Ty::Array { ty, size } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> bin/compiler/src/emitter.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | Ty::Array { ty, size } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `size: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 56 | Ty::Array { ty, size } => todo!(), [INFO] [stderr] | ^^^^ help: try ignoring the field: `size: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `types` [INFO] [stderr] --> bin/compiler/src/emitter.rs:57:25 [INFO] [stderr] | [INFO] [stderr] 57 | Ty::Tuple { types } => todo!(), [INFO] [stderr] | ^^^^^ help: try ignoring the field: `types: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ret` [INFO] [stderr] --> bin/compiler/src/emitter.rs:58:28 [INFO] [stderr] | [INFO] [stderr] 58 | Ty::Function { ret, params } => todo!(), [INFO] [stderr] | ^^^ help: try ignoring the field: `ret: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> bin/compiler/src/emitter.rs:58:33 [INFO] [stderr] | [INFO] [stderr] 58 | Ty::Function { ret, params } => todo!(), [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fields` [INFO] [stderr] --> bin/compiler/src/emitter.rs:59:26 [INFO] [stderr] | [INFO] [stderr] 59 | Ty::Struct { fields } => todo!(), [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> bin/compiler/src/emitter.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | Ty::Tuple { types } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `types: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> bin/compiler/src/emitter.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | Ty::Function { ret, params } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `ret: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> bin/compiler/src/emitter.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | Ty::Function { ret, params } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `condition` [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> bin/compiler/src/emitter.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | Ty::Struct { fields } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> bin/compiler/src/emitter.rs:292:32 [INFO] [stderr] | [INFO] [stderr] 292 | Statement::While { condition, body } => todo!(), [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `condition: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `body` [INFO] [stderr] --> bin/compiler/src/emitter.rs:292:43 [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> bin/compiler/src/emitter.rs:292:32 [INFO] [stdout] | [INFO] [stdout] 292 | Statement::While { condition, body } => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> bin/compiler/src/emitter.rs:292:43 [INFO] [stdout] | [INFO] [stdout] 292 | Statement::While { condition, body } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 292 | Statement::While { condition, body } => todo!(), [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> bin/compiler/src/emitter.rs:515:32 [INFO] [stdout] | [INFO] [stdout] 515 | Expression::Call { func, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> bin/compiler/src/emitter.rs:515:38 [INFO] [stdout] | [INFO] [stdout] 515 | Expression::Call { func, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> bin/compiler/src/emitter.rs:526:37 [INFO] [stdout] | [INFO] [stdout] 526 | Expression::Subscript { object, index } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `object: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `func` [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> bin/compiler/src/emitter.rs:526:45 [INFO] [stdout] | [INFO] [stdout] 526 | Expression::Subscript { object, index } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> bin/compiler/src/emitter.rs:515:32 [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> bin/compiler/src/emitter.rs:537:33 [INFO] [stdout] | [INFO] [stdout] 537 | Expression::Range { from, to } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `from: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> bin/compiler/src/emitter.rs:537:39 [INFO] [stdout] | [INFO] [stdout] 537 | Expression::Range { from, to } => { [INFO] [stdout] | ^^ help: try ignoring the field: `to: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 515 | Expression::Call { func, args } => { [INFO] [stdout] warning: unused variable: `token_data` [INFO] [stdout] --> bin/compiler/src/lexer.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | let token_data: &TokenData = self.get_token_data(token); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> bin/compiler/src/emitter.rs:515:38 [INFO] [stderr] | [INFO] [stderr] 515 | Expression::Call { func, args } => { [INFO] [stderr] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] warning: variants `Not`, `Ref`, and `Deref` are never constructed [INFO] [stdout] --> bin/compiler/src/ast.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum UnaryOp { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 5 | Neg, [INFO] [stdout] 6 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | Ref, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | Deref, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: variant `Void` is never constructed [INFO] [stdout] --> bin/compiler/src/ast.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Builtin { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 105 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Builtin` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `object` [INFO] [stderr] --> bin/compiler/src/emitter.rs:526:37 [INFO] [stderr] | [INFO] [stderr] 526 | Expression::Subscript { object, index } => { [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `object: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> bin/compiler/src/emitter.rs:526:45 [INFO] [stderr] | [INFO] [stderr] 526 | Expression::Subscript { object, index } => { [INFO] [stderr] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from` [INFO] [stdout] warning: variants `Array`, `Tuple`, and `Struct` are never constructed [INFO] [stdout] --> bin/compiler/src/ast.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub enum Ty { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 126 | Array { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | Tuple { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | Struct { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ty` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> bin/compiler/src/emitter.rs:537:33 [INFO] [stdout] warning: variant `Struct` is never constructed [INFO] [stdout] --> bin/compiler/src/ast.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 144 | pub enum Statement { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 187 | Struct {}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 537 | Expression::Range { from, to } => { [INFO] [stderr] | ^^^^ help: try ignoring the field: `from: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `to` [INFO] [stderr] --> bin/compiler/src/emitter.rs:537:39 [INFO] [stderr] | [INFO] [stderr] 537 | Expression::Range { from, to } => { [INFO] [stderr] | ^^ help: try ignoring the field: `to: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token_data` [INFO] [stderr] --> bin/compiler/src/lexer.rs:482:13 [INFO] [stderr] | [INFO] [stdout] warning: fields `ir`, `ret`, and `params` are never read [INFO] [stdout] --> bin/compiler/src/emitter.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 88 | Function { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 89 | ir: ir::function::Function, [INFO] [stdout] | ^^ [INFO] [stdout] 90 | ret: Ty, [INFO] [stdout] | ^^^ [INFO] [stdout] 91 | params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 482 | let token_data: &TokenData = self.get_token_data(token); [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> bin/compiler/src/lexer.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Keyword { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn to_string(self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_data` [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> bin/compiler/src/lexer.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl TokenKind { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 143 | pub fn to_string(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: method `get_keyword` is never used [INFO] [stdout] --> bin/compiler/src/lexer.rs:481:12 [INFO] [stdout] | [INFO] [stdout] 234 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 481 | pub fn get_keyword(&self, token: Token) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: aborting due to 2 previous errors; 16 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> bin/compiler/src/lexer.rs:242:37 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn lex(&mut self) -> Tokens> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> bin/compiler/src/lexer.rs:234:6 [INFO] [stdout] | [INFO] [stdout] 234 | impl<'a> Lexer<'a> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn lex(&mut self) -> Tokens> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 242 | pub fn lex(&mut self) -> Tokens + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> bin/compiler/src/parser/statement.rs:125:15 [INFO] [stdout] | [INFO] [stdout] 125 | while let Some(token) = self.tokens.peek_token() { [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] --> bin/compiler/src/parser/statement.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | } [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] --> bin/compiler/src/parser/ty.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | if let Some(ty) = ty { [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] --> bin/compiler/src/parser/ty.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 50 ~ match ty { Some(ty) => { [INFO] [stdout] 51 | self.eat_token(); [INFO] [stdout] 52 | Some(ty) [INFO] [stdout] 53 ~ } _ => { [INFO] [stdout] 54 | None [INFO] [stdout] 55 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> bin/compiler/src/lexer.rs:275:32 [INFO] [stdout] | [INFO] [stdout] 275 | ($on_fail: expr, $(($to_match: literal, $on_success: expr)),*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 275 | ($on_fail: expr_2021, $(($to_match: literal, $on_success: expr)),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `compiler` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * bin/compiler/src/emitter.rs [INFO] [stderr] * bin/compiler/src/lexer.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> bin/compiler/src/lexer.rs:275:22 [INFO] [stderr] | [INFO] [stderr] 275 | ($on_fail: expr_2021, $(($to_match: literal, $on_success: expr_2021)),*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> bin/compiler/src/lexer.rs:275:66 [INFO] [stderr] | [INFO] [stderr] 275 | ($on_fail: expr_2021, $(($to_match: literal, $on_success: expr_2021)),*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> bin/compiler/src/emitter.rs:55:29 [INFO] [stderr] | [INFO] [stderr] 55 | Ty::NamedType { name } => todo!(), [INFO] [stderr] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ty` [INFO] [stderr] --> bin/compiler/src/emitter.rs:56:25 [INFO] [stderr] | [INFO] [stderr] 56 | Ty::Array { ty, size } => todo!(), [INFO] [stderr] | ^^ help: try ignoring the field: `ty: _` [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> bin/compiler/src/lexer.rs:275:74 [INFO] [stdout] | [INFO] [stdout] 275 | ($on_fail: expr, $(($to_match: literal, $on_success: expr)),*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 275 | ($on_fail: expr, $(($to_match: literal, $on_success: expr_2021)),*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `size` [INFO] [stdout] warning: unused imports: `TypeKind`, `Type`, and `context::Context` [INFO] [stdout] --> bin/compiler/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | context::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | ty::{Type, TypeKind}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> bin/compiler/src/emitter.rs:56:29 [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> bin/compiler/src/emitter.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | Ty::NamedType { name } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 56 | Ty::Array { ty, size } => todo!(), [INFO] [stderr] | ^^^^ help: try ignoring the field: `size: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `types` [INFO] [stderr] --> bin/compiler/src/emitter.rs:57:25 [INFO] [stderr] | [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> bin/compiler/src/emitter.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | Ty::Array { ty, size } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 57 | Ty::Tuple { types } => todo!(), [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> bin/compiler/src/emitter.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | Ty::Array { ty, size } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `size: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^ help: try ignoring the field: `types: _` [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> bin/compiler/src/emitter.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | Ty::Tuple { types } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `types: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> bin/compiler/src/emitter.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | Ty::Function { ret, params } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `ret: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `ret` [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> bin/compiler/src/emitter.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | Ty::Function { ret, params } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> bin/compiler/src/emitter.rs:58:28 [INFO] [stderr] | [INFO] [stderr] 58 | Ty::Function { ret, params } => todo!(), [INFO] [stderr] | ^^^ help: try ignoring the field: `ret: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> bin/compiler/src/emitter.rs:58:33 [INFO] [stderr] | [INFO] [stderr] 58 | Ty::Function { ret, params } => todo!(), [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fields` [INFO] [stderr] --> bin/compiler/src/emitter.rs:59:26 [INFO] [stderr] | [INFO] [stderr] 59 | Ty::Struct { fields } => todo!(), [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `condition` [INFO] [stderr] --> bin/compiler/src/emitter.rs:292:32 [INFO] [stderr] | [INFO] [stderr] 292 | Statement::While { condition, body } => todo!(), [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> bin/compiler/src/emitter.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | Ty::Struct { fields } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `condition: _` [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> bin/compiler/src/emitter.rs:292:32 [INFO] [stdout] | [INFO] [stdout] 292 | Statement::While { condition, body } => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] warning: unused variable: `body` [INFO] [stderr] --> bin/compiler/src/emitter.rs:292:43 [INFO] [stderr] | [INFO] [stderr] 292 | Statement::While { condition, body } => todo!(), [INFO] [stderr] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `func` [INFO] [stderr] --> bin/compiler/src/emitter.rs:515:32 [INFO] [stderr] | [INFO] [stderr] 515 | Expression::Call { func, args } => { [INFO] [stderr] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> bin/compiler/src/emitter.rs:515:38 [INFO] [stderr] | [INFO] [stderr] 515 | Expression::Call { func, args } => { [INFO] [stderr] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stderr] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> bin/compiler/src/emitter.rs:292:43 [INFO] [stdout] | [INFO] [stdout] 292 | Statement::While { condition, body } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `object` [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> bin/compiler/src/emitter.rs:515:32 [INFO] [stdout] | [INFO] [stdout] 515 | Expression::Call { func, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> bin/compiler/src/emitter.rs:526:37 [INFO] [stderr] | [INFO] [stderr] 526 | Expression::Subscript { object, index } => { [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `object: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> bin/compiler/src/emitter.rs:526:45 [INFO] [stderr] | [INFO] [stderr] 526 | Expression::Subscript { object, index } => { [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> bin/compiler/src/emitter.rs:515:38 [INFO] [stdout] | [INFO] [stdout] 515 | Expression::Call { func, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from` [INFO] [stderr] --> bin/compiler/src/emitter.rs:537:33 [INFO] [stderr] | [INFO] [stderr] 537 | Expression::Range { from, to } => { [INFO] [stderr] | ^^^^ help: try ignoring the field: `from: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `to` [INFO] [stderr] --> bin/compiler/src/emitter.rs:537:39 [INFO] [stderr] | [INFO] [stderr] 537 | Expression::Range { from, to } => { [INFO] [stderr] | ^^ help: try ignoring the field: `to: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token_data` [INFO] [stderr] --> bin/compiler/src/lexer.rs:482:13 [INFO] [stderr] | [INFO] [stderr] 482 | let token_data: &TokenData = self.get_token_data(token); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_data` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 16 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> bin/compiler/src/emitter.rs:526:37 [INFO] [stdout] | [INFO] [stdout] 526 | Expression::Subscript { object, index } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `object: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> bin/compiler/src/emitter.rs:526:45 [INFO] [stdout] | [INFO] [stdout] 526 | Expression::Subscript { object, index } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> bin/compiler/src/emitter.rs:537:33 [INFO] [stdout] | [INFO] [stdout] 537 | Expression::Range { from, to } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `from: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> bin/compiler/src/emitter.rs:537:39 [INFO] [stdout] | [INFO] [stdout] 537 | Expression::Range { from, to } => { [INFO] [stdout] | ^^ help: try ignoring the field: `to: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_data` [INFO] [stdout] --> bin/compiler/src/lexer.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | let token_data: &TokenData = self.get_token_data(token); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Not`, `Ref`, and `Deref` are never constructed [INFO] [stdout] --> bin/compiler/src/ast.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum UnaryOp { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 5 | Neg, [INFO] [stdout] 6 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | Ref, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | Deref, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Void` is never constructed [INFO] [stdout] --> bin/compiler/src/ast.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Builtin { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 105 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Builtin` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Array`, `Tuple`, and `Struct` are never constructed [INFO] [stdout] --> bin/compiler/src/ast.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub enum Ty { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 126 | Array { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | Tuple { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | Struct { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ty` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Struct` is never constructed [INFO] [stdout] --> bin/compiler/src/ast.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 144 | pub enum Statement { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 187 | Struct {}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ir`, `ret`, and `params` are never read [INFO] [stdout] --> bin/compiler/src/emitter.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 88 | Function { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 89 | ir: ir::function::Function, [INFO] [stdout] | ^^ [INFO] [stdout] 90 | ret: Ty, [INFO] [stdout] | ^^^ [INFO] [stdout] 91 | params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> bin/compiler/src/lexer.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Keyword { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn to_string(self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> bin/compiler/src/lexer.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl TokenKind { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 143 | pub fn to_string(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_keyword` is never used [INFO] [stdout] --> bin/compiler/src/lexer.rs:481:12 [INFO] [stdout] | [INFO] [stdout] 234 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 481 | pub fn get_keyword(&self, token: Token) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> bin/compiler/src/lexer.rs:242:37 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn lex(&mut self) -> Tokens> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> bin/compiler/src/lexer.rs:234:6 [INFO] [stdout] | [INFO] [stdout] 234 | impl<'a> Lexer<'a> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn lex(&mut self) -> Tokens> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 242 | pub fn lex(&mut self) -> Tokens + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> bin/compiler/src/parser/statement.rs:125:15 [INFO] [stdout] | [INFO] [stdout] 125 | while let Some(token) = self.tokens.peek_token() { [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] --> bin/compiler/src/parser/statement.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | } [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] --> bin/compiler/src/parser/ty.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | if let Some(ty) = ty { [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] --> bin/compiler/src/parser/ty.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 50 ~ match ty { Some(ty) => { [INFO] [stdout] 51 | self.eat_token(); [INFO] [stdout] 52 | Some(ty) [INFO] [stdout] 53 ~ } _ => { [INFO] [stdout] 54 | None [INFO] [stdout] 55 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.25s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking ir v0.1.0 (/tmp/fixit/crates/ir) [INFO] [stdout] warning: unused import: `value::Value` [INFO] [stdout] --> crates/ir/src/context.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | value::Value, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `context::Context` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | context::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | io::{self, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Functions` [INFO] [stdout] --> crates/ir/src/function_builder.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | function::{Function, FunctionData, Functions}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque` [INFO] [stdout] --> crates/ir/src/label.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | ty::{Type, TypeKind, Types}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value::Value` [INFO] [stdout] --> crates/ir/src/context.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | value::Value, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `context::Context` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | context::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | io::{self, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Functions` [INFO] [stdout] --> crates/ir/src/function_builder.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | function::{Function, FunctionData, Functions}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `VecDeque` [INFO] [stdout] --> crates/ir/src/label.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | ty::{Type, TypeKind, Types}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | io::{self, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/constant.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | ConstantValue::Integer { ty, value } => *ty, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/constant.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | ConstantValue::Float { ty, value } => *ty, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | io::{self, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/constant.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | ConstantValue::Integer { ty, value } => *ty, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/constant.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | ConstantValue::Float { ty, value } => *ty, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | function, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `function: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | arguments, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `arguments: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cast_op` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | cast_op, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_type` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | to_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:222:38 [INFO] [stdout] | [INFO] [stdout] 222 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:222:43 [INFO] [stdout] | [INFO] [stdout] 222 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `ptr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:222:48 [INFO] [stdout] | [INFO] [stdout] 222 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | function, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `function: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | arguments, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `arguments: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cast_op` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | cast_op, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_type` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | to_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:222:38 [INFO] [stdout] | [INFO] [stdout] 222 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:222:43 [INFO] [stdout] | [INFO] [stdout] 222 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `ptr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/ir/src/dump_ir.rs:222:48 [INFO] [stdout] | [INFO] [stdout] 222 | Instruction::GetElementPtr { dst, ptr, index } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> crates/ir/src/function_builder.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | function: Function, // [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> crates/ir/src/function_builder.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | arguments: &[Value], [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> crates/ir/src/function_builder.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | function: Function, // [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> crates/ir/src/function_builder.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | arguments: &[Value], [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cast_op` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:445:29 [INFO] [stdout] | [INFO] [stdout] 445 | ... cast_op, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_type` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:446:29 [INFO] [stdout] | [INFO] [stdout] 446 | ... to_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:447:29 [INFO] [stdout] | [INFO] [stdout] 447 | ... dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:448:29 [INFO] [stdout] | [INFO] [stdout] 448 | ... value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:465:29 [INFO] [stdout] | [INFO] [stdout] 465 | ... dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:466:29 [INFO] [stdout] | [INFO] [stdout] 466 | ... condition, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_true` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:467:29 [INFO] [stdout] | [INFO] [stdout] 467 | ... on_true, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `on_true: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_false` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:468:29 [INFO] [stdout] | [INFO] [stdout] 468 | ... on_false, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `on_false: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cast_op` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:445:29 [INFO] [stdout] | [INFO] [stdout] 445 | ... cast_op, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_type` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:446:29 [INFO] [stdout] | [INFO] [stdout] 446 | ... to_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:447:29 [INFO] [stdout] | [INFO] [stdout] 447 | ... dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:448:29 [INFO] [stdout] | [INFO] [stdout] 448 | ... value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:465:29 [INFO] [stdout] | [INFO] [stdout] 465 | ... dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:466:29 [INFO] [stdout] | [INFO] [stdout] 466 | ... condition, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_true` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:467:29 [INFO] [stdout] | [INFO] [stdout] 467 | ... on_true, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `on_true: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_false` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:468:29 [INFO] [stdout] | [INFO] [stdout] 468 | ... on_false, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `on_false: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `integer` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:376:17 [INFO] [stdout] | [INFO] [stdout] 376 | let integer = condition_const.integer().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | types: &Types, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | location: Location, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | dst: &Value, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_true` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | on_true: &Value, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_true` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_false` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | on_false: &Value, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_false` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cast_op` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:534:25 [INFO] [stdout] | [INFO] [stdout] 534 | cast_op, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_type` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:535:25 [INFO] [stdout] | [INFO] [stdout] 535 | to_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:536:25 [INFO] [stdout] | [INFO] [stdout] 536 | dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:537:25 [INFO] [stdout] | [INFO] [stdout] 537 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:539:50 [INFO] [stdout] | [INFO] [stdout] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:539:55 [INFO] [stdout] | [INFO] [stdout] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] | ^^^ help: try ignoring the field: `ptr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:539:60 [INFO] [stdout] | [INFO] [stdout] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `integer` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:376:17 [INFO] [stdout] | [INFO] [stdout] 376 | let integer = condition_const.integer().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | types: &Types, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | location: Location, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | dst: &Value, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_true` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | on_true: &Value, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_true` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_false` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | on_false: &Value, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_false` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cast_op` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:534:25 [INFO] [stdout] | [INFO] [stdout] 534 | cast_op, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `cast_op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_type` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:535:25 [INFO] [stdout] | [INFO] [stdout] 535 | to_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `to_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:536:25 [INFO] [stdout] | [INFO] [stdout] 536 | dst, [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:537:25 [INFO] [stdout] | [INFO] [stdout] 537 | value, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:539:50 [INFO] [stdout] | [INFO] [stdout] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] | ^^^ help: try ignoring the field: `dst: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:539:55 [INFO] [stdout] | [INFO] [stdout] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] | ^^^ help: try ignoring the field: `ptr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:539:60 [INFO] [stdout] | [INFO] [stdout] 539 | Instruction::GetElementPtr { dst, ptr, index } => {} [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut` and `iter` are never used [INFO] [stdout] --> crates/ir/src/constant.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Constants { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_mut(&mut self, handle: Constant) -> &mut ConstantData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `functions_mut` and `types` are never used [INFO] [stdout] --> crates/ir/src/context.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl Context { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub(crate) fn functions_mut(&mut self) -> &mut Functions { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub(crate) fn types(&self) -> &Types { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> crates/ir/src/function.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 270 | impl Functions { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn get(&self, handle: Function) -> &FunctionData { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Call` is never constructed [INFO] [stdout] --> crates/ir/src/instruction.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 74 | Call { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> crates/ir/src/label.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct LabelData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 11 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select` is never used [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:350:12 [INFO] [stdout] | [INFO] [stdout] 350 | fn select( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pointers`, `pointer_origins`, and `escaped_pointers` are never read [INFO] [stdout] --> crates/ir/src/pointer_analysis.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct PointerAnalysis { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 10 | pub creators: HashMap, [INFO] [stdout] 11 | pub pointers: HashSet, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub pointer_origins: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub escaped_pointers: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PointerAnalysis` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut` and `iter` are never used [INFO] [stdout] --> crates/ir/src/ty.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Types { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get_mut(&mut self, handle: Type) -> &mut TypeData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> crates/ir/src/value.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Values { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_mut(&mut self, handle: Value) -> &mut ValueData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut` and `iter` are never used [INFO] [stdout] --> crates/ir/src/constant.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Constants { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_mut(&mut self, handle: Constant) -> &mut ConstantData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `functions_mut` and `types` are never used [INFO] [stdout] --> crates/ir/src/context.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl Context { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub(crate) fn functions_mut(&mut self) -> &mut Functions { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub(crate) fn types(&self) -> &Types { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> crates/ir/src/function.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 270 | impl Functions { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn get(&self, handle: Function) -> &FunctionData { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Call` is never constructed [INFO] [stdout] --> crates/ir/src/instruction.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 74 | Call { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> crates/ir/src/label.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct LabelData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 11 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select` is never used [INFO] [stdout] --> crates/ir/src/passes/constant_folding.rs:350:12 [INFO] [stdout] | [INFO] [stdout] 350 | fn select( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pointers`, `pointer_origins`, and `escaped_pointers` are never read [INFO] [stdout] --> crates/ir/src/pointer_analysis.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct PointerAnalysis { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 10 | pub creators: HashMap, [INFO] [stdout] 11 | pub pointers: HashSet, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub pointer_origins: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub escaped_pointers: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PointerAnalysis` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut` and `iter` are never used [INFO] [stdout] --> crates/ir/src/ty.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Types { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get_mut(&mut self, handle: Type) -> &mut TypeData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> crates/ir/src/value.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Values { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_mut(&mut self, handle: Value) -> &mut ValueData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking compiler v0.1.0 (/tmp/fixit/bin/compiler) [INFO] [stdout] warning: unused imports: `TypeKind`, `Type`, and `context::Context` [INFO] [stdout] --> bin/compiler/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | context::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | ty::{Type, TypeKind}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TypeKind`, `Type`, and `context::Context` [INFO] [stdout] --> bin/compiler/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | context::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | ty::{Type, TypeKind}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> bin/compiler/src/emitter.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | Ty::NamedType { name } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> bin/compiler/src/emitter.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | Ty::NamedType { name } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> bin/compiler/src/emitter.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | Ty::Array { ty, size } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> bin/compiler/src/emitter.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | Ty::Array { ty, size } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> bin/compiler/src/emitter.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | Ty::Array { ty, size } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `size: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> bin/compiler/src/emitter.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | Ty::Array { ty, size } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `size: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> bin/compiler/src/emitter.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | Ty::Tuple { types } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `types: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> bin/compiler/src/emitter.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | Ty::Tuple { types } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `types: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> bin/compiler/src/emitter.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | Ty::Function { ret, params } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `ret: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> bin/compiler/src/emitter.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | Ty::Function { ret, params } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `ret: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> bin/compiler/src/emitter.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | Ty::Function { ret, params } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> bin/compiler/src/emitter.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | Ty::Function { ret, params } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> bin/compiler/src/emitter.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | Ty::Struct { fields } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> bin/compiler/src/emitter.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | Ty::Struct { fields } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> bin/compiler/src/emitter.rs:292:32 [INFO] [stdout] | [INFO] [stdout] 292 | Statement::While { condition, body } => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> bin/compiler/src/emitter.rs:292:43 [INFO] [stdout] | [INFO] [stdout] 292 | Statement::While { condition, body } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> bin/compiler/src/emitter.rs:292:32 [INFO] [stdout] | [INFO] [stdout] 292 | Statement::While { condition, body } => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> bin/compiler/src/emitter.rs:292:43 [INFO] [stdout] | [INFO] [stdout] 292 | Statement::While { condition, body } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> bin/compiler/src/emitter.rs:515:32 [INFO] [stdout] | [INFO] [stdout] 515 | Expression::Call { func, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> bin/compiler/src/emitter.rs:515:38 [INFO] [stdout] | [INFO] [stdout] 515 | Expression::Call { func, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> bin/compiler/src/emitter.rs:526:37 [INFO] [stdout] | [INFO] [stdout] 526 | Expression::Subscript { object, index } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `object: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> bin/compiler/src/emitter.rs:526:45 [INFO] [stdout] | [INFO] [stdout] 526 | Expression::Subscript { object, index } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> bin/compiler/src/emitter.rs:537:33 [INFO] [stdout] | [INFO] [stdout] 537 | Expression::Range { from, to } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `from: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> bin/compiler/src/emitter.rs:537:39 [INFO] [stdout] | [INFO] [stdout] 537 | Expression::Range { from, to } => { [INFO] [stdout] | ^^ help: try ignoring the field: `to: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> bin/compiler/src/emitter.rs:515:32 [INFO] [stdout] | [INFO] [stdout] 515 | Expression::Call { func, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> bin/compiler/src/emitter.rs:515:38 [INFO] [stdout] | [INFO] [stdout] 515 | Expression::Call { func, args } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> bin/compiler/src/emitter.rs:526:37 [INFO] [stdout] | [INFO] [stdout] 526 | Expression::Subscript { object, index } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `object: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> bin/compiler/src/emitter.rs:526:45 [INFO] [stdout] | [INFO] [stdout] 526 | Expression::Subscript { object, index } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> bin/compiler/src/emitter.rs:537:33 [INFO] [stdout] | [INFO] [stdout] 537 | Expression::Range { from, to } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `from: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> bin/compiler/src/emitter.rs:537:39 [INFO] [stdout] | [INFO] [stdout] 537 | Expression::Range { from, to } => { [INFO] [stdout] | ^^ help: try ignoring the field: `to: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_data` [INFO] [stdout] --> bin/compiler/src/lexer.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | let token_data: &TokenData = self.get_token_data(token); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_data` [INFO] [stdout] --> bin/compiler/src/lexer.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | let token_data: &TokenData = self.get_token_data(token); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `lexer` as immutable because it is also borrowed as mutable [INFO] [stdout] --> bin/compiler/src/main.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 32 | let tokens = lexer.lex(); [INFO] [stdout] | ----- mutable borrow occurs here [INFO] [stdout] 33 | let mut parser = Parser::new(&lexer, tokens); [INFO] [stdout] | ^^^^^^ ------ mutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `lexer` as immutable because it is also borrowed as mutable [INFO] [stdout] --> bin/compiler/src/main.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 32 | let tokens = lexer.lex(); [INFO] [stdout] | ----- mutable borrow occurs here [INFO] [stdout] 33 | let mut parser = Parser::new(&lexer, tokens); [INFO] [stdout] | ^^^^^^ ------ mutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler` (bin "compiler") due to 2 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `compiler` (bin "compiler" test) due to 2 previous errors; 17 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" "96637cb945f0eeafbbca7fbe7d545de32a88135566254e1f461ff0d868a82cbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96637cb945f0eeafbbca7fbe7d545de32a88135566254e1f461ff0d868a82cbb", kill_on_drop: false }` [INFO] [stdout] 96637cb945f0eeafbbca7fbe7d545de32a88135566254e1f461ff0d868a82cbb