[INFO] cloning repository https://github.com/kper/mill [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kper/mill" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkper%2Fmill", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkper%2Fmill'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] acc159b8b09e55ef36c21ddf24205e2b22a386ba [INFO] checking kper/mill against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkper%2Fmill" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kper/mill on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kper/mill [INFO] finished tweaking git repo https://github.com/kper/mill [INFO] tweaked toml for git repo https://github.com/kper/mill written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kper/mill 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded graphviz-rust v0.6.6 [INFO] [stderr] Downloaded llvm-sys v130.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58882b14ae2927feb019eb4ffe642d9b770d4613070f758e76df24414ae6f296 [INFO] running `Command { std: "docker" "start" "-a" "58882b14ae2927feb019eb4ffe642d9b770d4613070f758e76df24414ae6f296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58882b14ae2927feb019eb4ffe642d9b770d4613070f758e76df24414ae6f296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58882b14ae2927feb019eb4ffe642d9b770d4613070f758e76df24414ae6f296", kill_on_drop: false }` [INFO] [stdout] 58882b14ae2927feb019eb4ffe642d9b770d4613070f758e76df24414ae6f296 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 536e4bacf31e5d51a4e9147330be22ce1e4041961f9c321e34df682bf26855c8 [INFO] running `Command { std: "docker" "start" "-a" "536e4bacf31e5d51a4e9147330be22ce1e4041961f9c321e34df682bf26855c8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling dot-structures v0.1.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Compiling into-attr v0.1.1 [INFO] [stderr] Compiling dot-generator v0.2.0 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking clap_builder v4.4.7 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking similar v2.3.0 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Checking tempfile v3.8.1 [INFO] [stderr] Checking insta v1.34.0 [INFO] [stderr] Compiling into-attr-derive v0.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking lalrpop-util v0.20.0 [INFO] [stderr] Compiling pest v2.7.5 [INFO] [stderr] Compiling lalrpop v0.20.0 [INFO] [stderr] Checking clap v4.4.7 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling pest_meta v2.7.5 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling llvm-sys v130.1.2 [INFO] [stderr] Compiling pest_generator v2.7.5 [INFO] [stderr] Compiling pest_derive v2.7.5 [INFO] [stderr] Checking graphviz-rust v0.6.6 [INFO] [stderr] Compiling mill v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/lir/lowering.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/lir/lowering.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `insta::assert_snapshot` [INFO] [stdout] --> src/tests/ir.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use insta::assert_snapshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::run_visitor` [INFO] [stdout] --> src/tests/prelude.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use crate::run_visitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struc` [INFO] [stdout] --> src/lir/lowering.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | fn map_struct(&mut self, struc: &Struct) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_struc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struc` [INFO] [stdout] --> src/lir/lowering.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | fn map_struct(&mut self, struc: &Struct) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_struc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codegen` [INFO] [stdout] --> src/tests/ir.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_codegen` [INFO] [stdout] ... [INFO] [stdout] 51 | compile!("fn main() { return 1; }"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/tests/ir.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] ... [INFO] [stdout] 51 | compile!("fn main() { return 1; }"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tests/ir.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] ... [INFO] [stdout] 51 | compile!("fn main() { return 1; }"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 51 | compile!("fn main() { return 1; }"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 51 | compile!("fn main() { return 1; }"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 51 | compile!("fn main() { return 1; }"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codegen` [INFO] [stdout] --> src/tests/ir.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_codegen` [INFO] [stdout] ... [INFO] [stdout] 56 | compile!("fn main() { let a : int = 1; let b : int = 2; }"); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/tests/ir.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] ... [INFO] [stdout] 56 | compile!("fn main() { let a : int = 1; let b : int = 2; }"); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tests/ir.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] ... [INFO] [stdout] 56 | compile!("fn main() { let a : int = 1; let b : int = 2; }"); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 56 | compile!("fn main() { let a : int = 1; let b : int = 2; }"); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 56 | compile!("fn main() { let a : int = 1; let b : int = 2; }"); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 56 | compile!("fn main() { let a : int = 1; let b : int = 2; }"); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codegen` [INFO] [stdout] --> src/tests/ir.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_codegen` [INFO] [stdout] ... [INFO] [stdout] 61 | compile!("fn main() { let a : int = 1; a = 2; }"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/tests/ir.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] ... [INFO] [stdout] 61 | compile!("fn main() { let a : int = 1; a = 2; }"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tests/ir.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] ... [INFO] [stdout] 61 | compile!("fn main() { let a : int = 1; a = 2; }"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 61 | compile!("fn main() { let a : int = 1; a = 2; }"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 61 | compile!("fn main() { let a : int = 1; a = 2; }"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 61 | compile!("fn main() { let a : int = 1; a = 2; }"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codegen` [INFO] [stdout] --> src/tests/ir.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_codegen` [INFO] [stdout] ... [INFO] [stdout] 66 | compile!("fn main() { return 1 + 2; }"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/tests/ir.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] ... [INFO] [stdout] 66 | compile!("fn main() { return 1 + 2; }"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tests/ir.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] ... [INFO] [stdout] 66 | compile!("fn main() { return 1 + 2; }"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 66 | compile!("fn main() { return 1 + 2; }"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 66 | compile!("fn main() { return 1 + 2; }"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 66 | compile!("fn main() { return 1 + 2; }"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codegen` [INFO] [stdout] --> src/tests/ir.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_codegen` [INFO] [stdout] ... [INFO] [stdout] 71 | compile!("fn main() -> int { if 2 == 2 { return 1; } return 0; }"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/tests/ir.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] ... [INFO] [stdout] 71 | compile!("fn main() -> int { if 2 == 2 { return 1; } return 0; }"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tests/ir.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] ... [INFO] [stdout] 71 | compile!("fn main() -> int { if 2 == 2 { return 1; } return 0; }"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 71 | compile!("fn main() -> int { if 2 == 2 { return 1; } return 0; }"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 71 | compile!("fn main() -> int { if 2 == 2 { return 1; } return 0; }"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 71 | compile!("fn main() -> int { if 2 == 2 { return 1; } return 0; }"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codegen` [INFO] [stdout] --> src/tests/ir.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_codegen` [INFO] [stdout] ... [INFO] [stdout] 76 | / compile!( [INFO] [stdout] 77 | | "fn f(b: int) -> int { return b; } fn main() -> int { let a : int = 1; return f(a); }" [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/tests/ir.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] ... [INFO] [stdout] 76 | / compile!( [INFO] [stdout] 77 | | "fn f(b: int) -> int { return b; } fn main() -> int { let a : int = 1; return f(a); }" [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tests/ir.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] ... [INFO] [stdout] 76 | / compile!( [INFO] [stdout] 77 | | "fn f(b: int) -> int { return b; } fn main() -> int { let a : int = 1; return f(a); }" [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 76 | / compile!( [INFO] [stdout] 77 | | "fn f(b: int) -> int { return b; } fn main() -> int { let a : int = 1; return f(a); }" [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 76 | / compile!( [INFO] [stdout] 77 | | "fn f(b: int) -> int { return b; } fn main() -> int { let a : int = 1; return f(a); }" [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 76 | / compile!( [INFO] [stdout] 77 | | "fn f(b: int) -> int { return b; } fn main() -> int { let a : int = 1; return f(a); }" [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codegen` [INFO] [stdout] --> src/tests/ir.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_codegen` [INFO] [stdout] ... [INFO] [stdout] 83 | compile!("fn main() -> int { let a : int = 1; return f(a); } fn f(a:int) -> int { return a; }"); [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/tests/ir.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] ... [INFO] [stdout] 83 | compile!("fn main() -> int { let a : int = 1; return f(a); } fn f(a:int) -> int { return a; }"); [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tests/ir.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] ... [INFO] [stdout] 83 | compile!("fn main() -> int { let a : int = 1; return f(a); } fn f(a:int) -> int { return a; }"); [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 83 | compile!("fn main() -> int { let a : int = 1; return f(a); } fn f(a:int) -> int { return a; }"); [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 83 | compile!("fn main() -> int { let a : int = 1; return f(a); } fn f(a:int) -> int { return a; }"); [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 83 | compile!("fn main() -> int { let a : int = 1; return f(a); } fn f(a:int) -> int { return a; }"); [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/main.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> src/main.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | fn run(mut ast: ast::Program) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn run(mut ast: ast::Program) -> Result<()> { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/codegen/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Codegen { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 12 | pub context: LLVMContextRef, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub module: LLVMModuleRef, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | pub builder: LLVMBuilderRef, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | pub symbol_tables: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub function_table: LLVMFunctionTable, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub block_table: LLVMBlockTable, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | pub struct_table: LLVMStructTable, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | pub expr_tables: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_expr_table` is never used [INFO] [stdout] --> src/codegen/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Codegen { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn clear_expr_table(&mut self, function: &Identifier) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lowering` is never used [INFO] [stdout] --> src/runner.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Runner { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 7 | pub fn lowering(&mut self, program: &Program) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lir/tree.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl LoweredFunction { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 53 | pub fn new(id: Identifier, pars: Vec, entry: BasicBlockId, blocks: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Phi` and `UnconditionalJump` are never constructed [INFO] [stdout] --> src/lir/tree.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 131 | pub enum LoweredStatement { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 134 | Phi(Variable, Vec), [INFO] [stdout] | ^^^ [INFO] [stdout] 135 | UnconditionalJump(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoweredStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map_struct` is never used [INFO] [stdout] --> src/lir/lowering.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl LoweringPass { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | fn map_struct(&mut self, struc: &Struct) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/main.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> src/main.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | fn run(mut ast: ast::Program) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn run(mut ast: ast::Program) -> Result<()> { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Codegen` is never constructed [INFO] [stdout] --> src/codegen/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Codegen { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `clear_expr_table` are never used [INFO] [stdout] --> src/codegen/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Codegen { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 23 | pub fn new(context: LLVMContextRef, module: LLVMModuleRef, builder: LLVMBuilderRef) -> Codegen { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn clear_expr_table(&mut self, function: &Identifier) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lowering` is never used [INFO] [stdout] --> src/runner.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Runner { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 7 | pub fn lowering(&mut self, program: &Program) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pars` and `entry` are never read [INFO] [stdout] --> src/lir/tree.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct LoweredFunction { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 32 | pub id: Identifier, [INFO] [stdout] 33 | pub pars: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | pub entry: BasicBlockId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoweredFunction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lir/tree.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl LoweredFunction { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 53 | pub fn new(id: Identifier, pars: Vec, entry: BasicBlockId, blocks: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Phi` and `UnconditionalJump` are never constructed [INFO] [stdout] --> src/lir/tree.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 131 | pub enum LoweredStatement { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 134 | Phi(Variable, Vec), [INFO] [stdout] | ^^^ [INFO] [stdout] 135 | UnconditionalJump(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoweredStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map_struct` is never used [INFO] [stdout] --> src/lir/lowering.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl LoweringPass { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | fn map_struct(&mut self, struc: &Struct) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.15s [INFO] running `Command { std: "docker" "inspect" "536e4bacf31e5d51a4e9147330be22ce1e4041961f9c321e34df682bf26855c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "536e4bacf31e5d51a4e9147330be22ce1e4041961f9c321e34df682bf26855c8", kill_on_drop: false }` [INFO] [stdout] 536e4bacf31e5d51a4e9147330be22ce1e4041961f9c321e34df682bf26855c8 [INFO] checking kper/mill against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkper%2Fmill" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kper/mill on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kper/mill [INFO] finished tweaking git repo https://github.com/kper/mill [INFO] tweaked toml for git repo https://github.com/kper/mill written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kper/mill 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4738fd4559bd8bca18d5af98f96b0619a6bf3afea8aa376b43eb42dad7f32ba7 [INFO] running `Command { std: "docker" "start" "-a" "4738fd4559bd8bca18d5af98f96b0619a6bf3afea8aa376b43eb42dad7f32ba7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4738fd4559bd8bca18d5af98f96b0619a6bf3afea8aa376b43eb42dad7f32ba7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4738fd4559bd8bca18d5af98f96b0619a6bf3afea8aa376b43eb42dad7f32ba7", kill_on_drop: false }` [INFO] [stdout] 4738fd4559bd8bca18d5af98f96b0619a6bf3afea8aa376b43eb42dad7f32ba7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7cdb78f6e4d679c8590defc7569cc67b0127238e11ae2212aca52ccc5e8e2e5 [INFO] running `Command { std: "docker" "start" "-a" "d7cdb78f6e4d679c8590defc7569cc67b0127238e11ae2212aca52ccc5e8e2e5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling dot-structures v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Compiling into-attr v0.1.1 [INFO] [stderr] Compiling dot-generator v0.2.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking clap_builder v4.4.7 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking similar v2.3.0 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking tempfile v3.8.1 [INFO] [stderr] Checking insta v1.34.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling into-attr-derive v0.2.1 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking lalrpop-util v0.20.0 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling lalrpop v0.20.0 [INFO] [stderr] Compiling pest v2.7.5 [INFO] [stderr] Checking clap v4.4.7 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling pest_meta v2.7.5 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling llvm-sys v130.1.2 [INFO] [stderr] Compiling pest_generator v2.7.5 [INFO] [stderr] Compiling pest_derive v2.7.5 [INFO] [stderr] Checking graphviz-rust v0.6.6 [INFO] [stderr] Compiling mill v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/lir/lowering.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/lir/lowering.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `insta::assert_snapshot` [INFO] [stdout] --> src/tests/ir.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use insta::assert_snapshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::run_visitor` [INFO] [stdout] --> src/tests/prelude.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use crate::run_visitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struc` [INFO] [stdout] --> src/lir/lowering.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | fn map_struct(&mut self, struc: &Struct) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_struc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struc` [INFO] [stdout] --> src/lir/lowering.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | fn map_struct(&mut self, struc: &Struct) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_struc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codegen` [INFO] [stdout] --> src/tests/ir.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_codegen` [INFO] [stdout] ... [INFO] [stdout] 51 | compile!("fn main() { return 1; }"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/tests/ir.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] ... [INFO] [stdout] 51 | compile!("fn main() { return 1; }"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tests/ir.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] ... [INFO] [stdout] 51 | compile!("fn main() { return 1; }"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 51 | compile!("fn main() { return 1; }"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 51 | compile!("fn main() { return 1; }"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 51 | compile!("fn main() { return 1; }"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codegen` [INFO] [stdout] --> src/tests/ir.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_codegen` [INFO] [stdout] ... [INFO] [stdout] 56 | compile!("fn main() { let a : int = 1; let b : int = 2; }"); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/tests/ir.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] ... [INFO] [stdout] 56 | compile!("fn main() { let a : int = 1; let b : int = 2; }"); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tests/ir.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] ... [INFO] [stdout] 56 | compile!("fn main() { let a : int = 1; let b : int = 2; }"); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 56 | compile!("fn main() { let a : int = 1; let b : int = 2; }"); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 56 | compile!("fn main() { let a : int = 1; let b : int = 2; }"); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 56 | compile!("fn main() { let a : int = 1; let b : int = 2; }"); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codegen` [INFO] [stdout] --> src/tests/ir.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_codegen` [INFO] [stdout] ... [INFO] [stdout] 61 | compile!("fn main() { let a : int = 1; a = 2; }"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/tests/ir.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] ... [INFO] [stdout] 61 | compile!("fn main() { let a : int = 1; a = 2; }"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tests/ir.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] ... [INFO] [stdout] 61 | compile!("fn main() { let a : int = 1; a = 2; }"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 61 | compile!("fn main() { let a : int = 1; a = 2; }"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 61 | compile!("fn main() { let a : int = 1; a = 2; }"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 61 | compile!("fn main() { let a : int = 1; a = 2; }"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codegen` [INFO] [stdout] --> src/tests/ir.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_codegen` [INFO] [stdout] ... [INFO] [stdout] 66 | compile!("fn main() { return 1 + 2; }"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/tests/ir.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] ... [INFO] [stdout] 66 | compile!("fn main() { return 1 + 2; }"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tests/ir.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] ... [INFO] [stdout] 66 | compile!("fn main() { return 1 + 2; }"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 66 | compile!("fn main() { return 1 + 2; }"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 66 | compile!("fn main() { return 1 + 2; }"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 66 | compile!("fn main() { return 1 + 2; }"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codegen` [INFO] [stdout] --> src/tests/ir.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_codegen` [INFO] [stdout] ... [INFO] [stdout] 71 | compile!("fn main() -> int { if 2 == 2 { return 1; } return 0; }"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/tests/ir.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] ... [INFO] [stdout] 71 | compile!("fn main() -> int { if 2 == 2 { return 1; } return 0; }"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tests/ir.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] ... [INFO] [stdout] 71 | compile!("fn main() -> int { if 2 == 2 { return 1; } return 0; }"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 71 | compile!("fn main() -> int { if 2 == 2 { return 1; } return 0; }"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 71 | compile!("fn main() -> int { if 2 == 2 { return 1; } return 0; }"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 71 | compile!("fn main() -> int { if 2 == 2 { return 1; } return 0; }"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codegen` [INFO] [stdout] --> src/tests/ir.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_codegen` [INFO] [stdout] ... [INFO] [stdout] 76 | / compile!( [INFO] [stdout] 77 | | "fn f(b: int) -> int { return b; } fn main() -> int { let a : int = 1; return f(a); }" [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/tests/ir.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] ... [INFO] [stdout] 76 | / compile!( [INFO] [stdout] 77 | | "fn f(b: int) -> int { return b; } fn main() -> int { let a : int = 1; return f(a); }" [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tests/ir.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] ... [INFO] [stdout] 76 | / compile!( [INFO] [stdout] 77 | | "fn f(b: int) -> int { return b; } fn main() -> int { let a : int = 1; return f(a); }" [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 76 | / compile!( [INFO] [stdout] 77 | | "fn f(b: int) -> int { return b; } fn main() -> int { let a : int = 1; return f(a); }" [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 76 | / compile!( [INFO] [stdout] 77 | | "fn f(b: int) -> int { return b; } fn main() -> int { let a : int = 1; return f(a); }" [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 76 | / compile!( [INFO] [stdout] 77 | | "fn f(b: int) -> int { return b; } fn main() -> int { let a : int = 1; return f(a); }" [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codegen` [INFO] [stdout] --> src/tests/ir.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_codegen` [INFO] [stdout] ... [INFO] [stdout] 83 | compile!("fn main() -> int { let a : int = 1; return f(a); } fn f(a:int) -> int { return a; }"); [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/tests/ir.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] ... [INFO] [stdout] 83 | compile!("fn main() -> int { let a : int = 1; return f(a); } fn f(a:int) -> int { return a; }"); [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tests/ir.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] ... [INFO] [stdout] 83 | compile!("fn main() -> int { let a : int = 1; return f(a); } fn f(a:int) -> int { return a; }"); [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 83 | compile!("fn main() -> int { let a : int = 1; return f(a); } fn f(a:int) -> int { return a; }"); [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 83 | compile!("fn main() -> int { let a : int = 1; return f(a); } fn f(a:int) -> int { return a; }"); [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 83 | compile!("fn main() -> int { let a : int = 1; return f(a); } fn f(a:int) -> int { return a; }"); [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/main.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> src/main.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | fn run(mut ast: ast::Program) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn run(mut ast: ast::Program) -> Result<()> { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Codegen` is never constructed [INFO] [stdout] --> src/codegen/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Codegen { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `clear_expr_table` are never used [INFO] [stdout] --> src/codegen/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Codegen { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 23 | pub fn new(context: LLVMContextRef, module: LLVMModuleRef, builder: LLVMBuilderRef) -> Codegen { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn clear_expr_table(&mut self, function: &Identifier) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lowering` is never used [INFO] [stdout] --> src/runner.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Runner { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 7 | pub fn lowering(&mut self, program: &Program) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pars` and `entry` are never read [INFO] [stdout] --> src/lir/tree.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct LoweredFunction { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 32 | pub id: Identifier, [INFO] [stdout] 33 | pub pars: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | pub entry: BasicBlockId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoweredFunction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lir/tree.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl LoweredFunction { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 53 | pub fn new(id: Identifier, pars: Vec, entry: BasicBlockId, blocks: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Phi` and `UnconditionalJump` are never constructed [INFO] [stdout] --> src/lir/tree.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 131 | pub enum LoweredStatement { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 134 | Phi(Variable, Vec), [INFO] [stdout] | ^^^ [INFO] [stdout] 135 | UnconditionalJump(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoweredStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map_struct` is never used [INFO] [stdout] --> src/lir/lowering.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl LoweringPass { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | fn map_struct(&mut self, struc: &Struct) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/ast.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(id: String, pos_l: usize, pos_r: usize, ty: Option) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | field: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/ast.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(name: Identifier, fields: Vec) -> Result { [INFO] [stdout] | ---------------- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | Ok(Self { name, fields }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/ast.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 146 | id: Identifier, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | pars: Vec, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | statements: Vec>, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | ret_ty: Option, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 150 | ) -> Result { [INFO] [stdout] 151 | let mut symbol_table = SymbolTable::default(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 166 | | id, [INFO] [stdout] 167 | | pars, [INFO] [stdout] 168 | | statements, [INFO] [stdout] 169 | | ret_ty, [INFO] [stdout] 170 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/ast.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | .map(|x| x.ty.clone().expect("Argument must have type")) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/symbol_table.rs:230:24 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn new(arguments_ty: Vec, return_ty: Option) -> FunctionSignature { [INFO] [stdout] | --------------------------- --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 230 | return_ty: return_ty.into_iter().collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lir/lowering.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 22 | let (functions, errors): (Vec<_>, Vec<_>) = program [INFO] [stdout] | --------- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | Ok(LoweredProgram::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 33 | | "Program".to_string(), [INFO] [stdout] 34 | | functions.into_iter().map(Result::unwrap).collect(), [INFO] [stdout] 35 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lir/lowering.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | .map(|x| self.map_function(x).context("Mapping failed")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lir/lowering.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 39 | let mut blocks = vec![BasicBlock::empty( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(LoweredFunction { [INFO] [stdout] | ____________^ [INFO] [stdout] 52 | | id: function.id.clone(), [INFO] [stdout] 53 | | pars: function.pars.clone(), [INFO] [stdout] 54 | | entry: blocks [INFO] [stdout] ... | [INFO] [stdout] 59 | | blocks: blocks, [INFO] [stdout] 60 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lir/lowering.rs:132:39 [INFO] [stdout] | [INFO] [stdout] 132 | .map(|x| Box::new(self.map_expr(x).unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/mill-05346c6c5853ec33/out/grammar.rs:27999:5 [INFO] [stdout] | [INFO] [stdout] 27990 | (_, id, _): (usize, Identifier, usize), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27991 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 27992 | (_, pars, _): (usize, Vec, usize), [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27995 | (_, statements, _): (usize, alloc::vec::Vec>, usize), [INFO] [stdout] | ------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27999 | Func::new(id, pars, statements, None).map_err(|w| ParseError::User { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/mill-05346c6c5853ec33/out/grammar.rs:28022:5 [INFO] [stdout] | [INFO] [stdout] 28011 | (_, id, _): (usize, Identifier, usize), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28012 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 28013 | (_, pars, _): (usize, Vec, usize), [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28016 | (_, ret, _): (usize, DataType, usize), [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28017 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 28018 | (_, statements, _): (usize, alloc::vec::Vec>, usize), [INFO] [stdout] | ------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28022 | Func::new(id, pars, statements, Some(ret)).map_err(|w| ParseError::User { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/mill-05346c6c5853ec33/out/grammar.rs:28040:5 [INFO] [stdout] | [INFO] [stdout] 28034 | (_, id, _): (usize, Identifier, usize), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28035 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 28036 | (_, fields, _): (usize, Vec, usize), [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28040 | Struct::new(id, fields).map_err(|w| ParseError::User { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/mill-05346c6c5853ec33/out/grammar.rs:28080:22 [INFO] [stdout] | [INFO] [stdout] 28077 | (_, id, _): (usize, Identifier, usize), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28080 | DataType::Struct(Box::new(id)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/mill-05346c6c5853ec33/out/grammar.rs:28107:14 [INFO] [stdout] | [INFO] [stdout] 28103 | (_, e, _): (usize, Box, usize), [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28107 | Box::new(Statement::Ret(e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/mill-05346c6c5853ec33/out/grammar.rs:28142:14 [INFO] [stdout] | [INFO] [stdout] 28136 | (_, id, _): (usize, Identifier, usize), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28137 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 28138 | (_, e, _): (usize, Box, usize), [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28142 | Box::new(Statement::Assign(id, e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/mill-05346c6c5853ec33/out/grammar.rs:28158:14 [INFO] [stdout] | [INFO] [stdout] 28152 | (_, e, _): (usize, Box, usize), [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28153 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 28154 | (_, stats, _): (usize, alloc::vec::Vec>, usize), [INFO] [stdout] | -------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28158 | Box::new(Statement::Conditional(e, stats)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/mill-05346c6c5853ec33/out/grammar.rs:28172:14 [INFO] [stdout] | [INFO] [stdout] 28167 | (_, n1, _): (usize, Box, usize), [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28168 | (_, op, _): (usize, Opcode, usize), [INFO] [stdout] 28169 | (_, n2, _): (usize, Box, usize), [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28172 | Box::new(Expr::Binary(op, n1, n2)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/mill-05346c6c5853ec33/out/grammar.rs:28187:14 [INFO] [stdout] | [INFO] [stdout] 28181 | (_, id, _): (usize, Identifier, usize), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28182 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 28183 | (_, exprs, _): (usize, Vec>, usize), [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28187 | Box::new(Expr::Call(id, exprs)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/mill-05346c6c5853ec33/out/grammar.rs:28199:14 [INFO] [stdout] | [INFO] [stdout] 28196 | (_, n1, _): (usize, Box, usize), [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28199 | Box::new(Expr::Term(n1)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/mill-05346c6c5853ec33/out/grammar.rs:28259:14 [INFO] [stdout] | [INFO] [stdout] 28256 | (_, __0, _): (usize, Identifier, usize), [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28259 | Box::new(Term::Id(__0)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/main.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> src/main.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | fn run(mut ast: ast::Program) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn run(mut ast: ast::Program) -> Result<()> { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/codegen/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Codegen { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 12 | pub context: LLVMContextRef, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub module: LLVMModuleRef, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | pub builder: LLVMBuilderRef, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | pub symbol_tables: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub function_table: LLVMFunctionTable, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub block_table: LLVMBlockTable, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | pub struct_table: LLVMStructTable, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | pub expr_tables: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_expr_table` is never used [INFO] [stdout] --> src/codegen/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Codegen { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn clear_expr_table(&mut self, function: &Identifier) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lowering` is never used [INFO] [stdout] --> src/runner.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Runner { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 7 | pub fn lowering(&mut self, program: &Program) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lir/tree.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl LoweredFunction { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 53 | pub fn new(id: Identifier, pars: Vec, entry: BasicBlockId, blocks: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Phi` and `UnconditionalJump` are never constructed [INFO] [stdout] --> src/lir/tree.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 131 | pub enum LoweredStatement { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 134 | Phi(Variable, Vec), [INFO] [stdout] | ^^^ [INFO] [stdout] 135 | UnconditionalJump(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoweredStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map_struct` is never used [INFO] [stdout] --> src/lir/lowering.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl LoweringPass { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | fn map_struct(&mut self, struc: &Struct) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/ast.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(id: String, pos_l: usize, pos_r: usize, ty: Option) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | field: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/ast.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(name: Identifier, fields: Vec) -> Result { [INFO] [stdout] | ---------------- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | Ok(Self { name, fields }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/ast.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 146 | id: Identifier, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | pars: Vec, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | statements: Vec>, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | ret_ty: Option, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 150 | ) -> Result { [INFO] [stdout] 151 | let mut symbol_table = SymbolTable::default(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 166 | | id, [INFO] [stdout] 167 | | pars, [INFO] [stdout] 168 | | statements, [INFO] [stdout] 169 | | ret_ty, [INFO] [stdout] 170 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/ast.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | .map(|x| x.ty.clone().expect("Argument must have type")) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/symbol_table.rs:230:24 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn new(arguments_ty: Vec, return_ty: Option) -> FunctionSignature { [INFO] [stdout] | --------------------------- --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 230 | return_ty: return_ty.into_iter().collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lir/lowering.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 22 | let (functions, errors): (Vec<_>, Vec<_>) = program [INFO] [stdout] | --------- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | Ok(LoweredProgram::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 33 | | "Program".to_string(), [INFO] [stdout] 34 | | functions.into_iter().map(Result::unwrap).collect(), [INFO] [stdout] 35 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lir/lowering.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | .map(|x| self.map_function(x).context("Mapping failed")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lir/lowering.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 39 | let mut blocks = vec![BasicBlock::empty( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(LoweredFunction { [INFO] [stdout] | ____________^ [INFO] [stdout] 52 | | id: function.id.clone(), [INFO] [stdout] 53 | | pars: function.pars.clone(), [INFO] [stdout] 54 | | entry: blocks [INFO] [stdout] ... | [INFO] [stdout] 59 | | blocks: blocks, [INFO] [stdout] 60 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lir/lowering.rs:132:39 [INFO] [stdout] | [INFO] [stdout] 132 | .map(|x| Box::new(self.map_expr(x).unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/mill-05346c6c5853ec33/out/grammar.rs:27999:5 [INFO] [stdout] | [INFO] [stdout] 27990 | (_, id, _): (usize, Identifier, usize), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27991 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 27992 | (_, pars, _): (usize, Vec, usize), [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27995 | (_, statements, _): (usize, alloc::vec::Vec>, usize), [INFO] [stdout] | ------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27999 | Func::new(id, pars, statements, None).map_err(|w| ParseError::User { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/mill-05346c6c5853ec33/out/grammar.rs:28022:5 [INFO] [stdout] | [INFO] [stdout] 28011 | (_, id, _): (usize, Identifier, usize), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28012 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 28013 | (_, pars, _): (usize, Vec, usize), [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28016 | (_, ret, _): (usize, DataType, usize), [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28017 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 28018 | (_, statements, _): (usize, alloc::vec::Vec>, usize), [INFO] [stdout] | ------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28022 | Func::new(id, pars, statements, Some(ret)).map_err(|w| ParseError::User { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/mill-05346c6c5853ec33/out/grammar.rs:28040:5 [INFO] [stdout] | [INFO] [stdout] 28034 | (_, id, _): (usize, Identifier, usize), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28035 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 28036 | (_, fields, _): (usize, Vec, usize), [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28040 | Struct::new(id, fields).map_err(|w| ParseError::User { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/mill-05346c6c5853ec33/out/grammar.rs:28080:22 [INFO] [stdout] | [INFO] [stdout] 28077 | (_, id, _): (usize, Identifier, usize), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28080 | DataType::Struct(Box::new(id)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/mill-05346c6c5853ec33/out/grammar.rs:28107:14 [INFO] [stdout] | [INFO] [stdout] 28103 | (_, e, _): (usize, Box, usize), [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28107 | Box::new(Statement::Ret(e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/mill-05346c6c5853ec33/out/grammar.rs:28142:14 [INFO] [stdout] | [INFO] [stdout] 28136 | (_, id, _): (usize, Identifier, usize), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28137 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 28138 | (_, e, _): (usize, Box, usize), [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28142 | Box::new(Statement::Assign(id, e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/mill-05346c6c5853ec33/out/grammar.rs:28158:14 [INFO] [stdout] | [INFO] [stdout] 28152 | (_, e, _): (usize, Box, usize), [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28153 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 28154 | (_, stats, _): (usize, alloc::vec::Vec>, usize), [INFO] [stdout] | -------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28158 | Box::new(Statement::Conditional(e, stats)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/mill-05346c6c5853ec33/out/grammar.rs:28172:14 [INFO] [stdout] | [INFO] [stdout] 28167 | (_, n1, _): (usize, Box, usize), [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28168 | (_, op, _): (usize, Opcode, usize), [INFO] [stdout] 28169 | (_, n2, _): (usize, Box, usize), [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28172 | Box::new(Expr::Binary(op, n1, n2)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/mill-05346c6c5853ec33/out/grammar.rs:28187:14 [INFO] [stdout] | [INFO] [stdout] 28181 | (_, id, _): (usize, Identifier, usize), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28182 | (_, _, _): (usize, &'input str, usize), [INFO] [stdout] 28183 | (_, exprs, _): (usize, Vec>, usize), [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28187 | Box::new(Expr::Call(id, exprs)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/mill-05346c6c5853ec33/out/grammar.rs:28199:14 [INFO] [stdout] | [INFO] [stdout] 28196 | (_, n1, _): (usize, Box, usize), [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28199 | Box::new(Expr::Term(n1)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/mill-05346c6c5853ec33/out/grammar.rs:28259:14 [INFO] [stdout] | [INFO] [stdout] 28256 | (_, __0, _): (usize, Identifier, usize), [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28259 | Box::new(Term::Id(__0)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mill` (bin "mill") due to 21 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 20 previous errors; 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mill` (bin "mill" test) due to 21 previous errors; 57 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d7cdb78f6e4d679c8590defc7569cc67b0127238e11ae2212aca52ccc5e8e2e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7cdb78f6e4d679c8590defc7569cc67b0127238e11ae2212aca52ccc5e8e2e5", kill_on_drop: false }` [INFO] [stdout] d7cdb78f6e4d679c8590defc7569cc67b0127238e11ae2212aca52ccc5e8e2e5