[INFO] cloning repository https://github.com/yupferris/butterball [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yupferris/butterball" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyupferris%2Fbutterball", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyupferris%2Fbutterball'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3d5876a03fe4a9a8db1f732060646ba9db9c281 [INFO] checking yupferris/butterball against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyupferris%2Fbutterball" "/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/yupferris/butterball 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/yupferris/butterball [INFO] finished tweaking git repo https://github.com/yupferris/butterball [INFO] tweaked toml for git repo https://github.com/yupferris/butterball written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yupferris/butterball 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gdi32-sys v0.1.1 [INFO] [stderr] Downloaded libc v0.2.5 [INFO] [stderr] Downloaded gcc v0.3.21 [INFO] [stderr] Downloaded x11-dl v2.2.1 [INFO] [stderr] Downloaded nom v1.1.0 [INFO] [stderr] Downloaded user32-sys v0.1.2 [INFO] [stderr] Downloaded winapi v0.2.5 [INFO] [stderr] Downloaded minifb v0.3.1 [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] 37ad6d90c22adf4a0402dac6af222801639d480fb164293f48255b56946faa3b [INFO] running `Command { std: "docker" "start" "-a" "37ad6d90c22adf4a0402dac6af222801639d480fb164293f48255b56946faa3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37ad6d90c22adf4a0402dac6af222801639d480fb164293f48255b56946faa3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37ad6d90c22adf4a0402dac6af222801639d480fb164293f48255b56946faa3b", kill_on_drop: false }` [INFO] [stdout] 37ad6d90c22adf4a0402dac6af222801639d480fb164293f48255b56946faa3b [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] b00cabaf90d1c060aa264ef7d1fc759865ce54ade58e864761a947cc35c7ef95 [INFO] running `Command { std: "docker" "start" "-a" "b00cabaf90d1c060aa264ef7d1fc759865ce54ade58e864761a947cc35c7ef95", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking libc v0.2.5 [INFO] [stderr] Compiling gcc v0.3.21 [INFO] [stderr] Checking winapi v0.2.5 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Checking nom v1.1.0 [INFO] [stderr] Compiling kernel32-sys v0.2.1 [INFO] [stderr] Checking dylib v0.0.1 [INFO] [stderr] Checking x11-dl v2.2.1 [INFO] [stderr] Checking time v0.1.34 [INFO] [stderr] Compiling minifb v0.3.1 [INFO] [stderr] Checking butterball v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let file_name = try!(get_file_name()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | let file = try!(read_file(&file_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | let ast = try!(parser::parse(&file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | try!(file.read_to_string(&mut ret)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let mut file = try!(File::open(file_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let file_name = try!(get_file_name()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | let file = try!(read_file(&file_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | let ast = try!(parser::parse(&file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | try!(file.read_to_string(&mut ret)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let mut file = try!(File::open(file_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/impls.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | pub function: Box Value>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | pub function: Box Value>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/impls.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | pub function: Box Value>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | pub function: Box Value>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/impls.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | function: Box Value>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | function: Box Value>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/impls.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | function: Box Value>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | function: Box Value>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 60 | read_file_impl(file_name).map_err(|x| x.description().to_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 60 | read_file_impl(file_name).map_err(|x| x.description().to_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | Include(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | Include(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | TypeDecl(TypeDecl), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | TypeDecl(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `fields` are never read [INFO] [stdout] --> src/ast.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct TypeDecl { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 22 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | pub fields: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeDecl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `type_specifier`, and `array_size` are never read [INFO] [stdout] --> src/ast.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Field { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 28 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | pub type_specifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub array_size: Option [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | Custom(String) [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeSpecifier` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 | Custom(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_specifier` is never read [INFO] [stdout] --> src/ast.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct FunctionDecl { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 64 | pub name: String, [INFO] [stdout] 65 | pub type_specifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionDecl` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_specifier` is never read [INFO] [stdout] --> src/ast.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct FunctionCallOrArrayElemRef { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 86 | pub type_specifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionCallOrArrayElemRef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | Repeat(Repeat), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 146 | Repeat(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | Select(Select), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 148 | Select(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body` is never read [INFO] [stdout] --> src/ast.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct Repeat { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 178 | pub body: StatementList [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Repeat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expr` and `arms` are never read [INFO] [stdout] --> src/ast.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 209 | pub struct Select { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 210 | pub expr: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 211 | pub arms: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Select` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `body` are never read [INFO] [stdout] --> src/ast.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct CaseArm { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 216 | pub value: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 217 | pub body: StatementList [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CaseArm` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_const` is never read [INFO] [stdout] --> src/il.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct SingleVariable { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 38 | pub name: String, [INFO] [stdout] 39 | pub is_const: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SingleVariable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `locals` is never read [INFO] [stdout] --> src/il.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Function { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 57 | pub signature: FunctionSignature, [INFO] [stdout] 58 | pub locals: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/il.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct FunctionSignature { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 65 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionSignature` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value_type` is never read [INFO] [stdout] --> src/interpreter.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 96 | struct SingleVariable { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 97 | value: Value, [INFO] [stdout] 98 | value_type: ValueType [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SingleVariable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value_type` is never read [INFO] [stdout] --> src/interpreter.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 102 | struct Array { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 105 | value_type: ValueType [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Array` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | Include(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | Include(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | TypeDecl(TypeDecl), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | TypeDecl(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `fields` are never read [INFO] [stdout] --> src/ast.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct TypeDecl { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 22 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | pub fields: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeDecl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `type_specifier`, and `array_size` are never read [INFO] [stdout] --> src/ast.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Field { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 28 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | pub type_specifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub array_size: Option [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | Custom(String) [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeSpecifier` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 | Custom(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_specifier` is never read [INFO] [stdout] --> src/ast.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct FunctionDecl { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 64 | pub name: String, [INFO] [stdout] 65 | pub type_specifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionDecl` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_specifier` is never read [INFO] [stdout] --> src/ast.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct FunctionCallOrArrayElemRef { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 86 | pub type_specifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionCallOrArrayElemRef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | Repeat(Repeat), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 146 | Repeat(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | Select(Select), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 148 | Select(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body` is never read [INFO] [stdout] --> src/ast.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct Repeat { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 178 | pub body: StatementList [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Repeat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expr` and `arms` are never read [INFO] [stdout] --> src/ast.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 209 | pub struct Select { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 210 | pub expr: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 211 | pub arms: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Select` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `body` are never read [INFO] [stdout] --> src/ast.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct CaseArm { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 216 | pub value: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 217 | pub body: StatementList [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CaseArm` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_const` is never read [INFO] [stdout] --> src/il.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct SingleVariable { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 38 | pub name: String, [INFO] [stdout] 39 | pub is_const: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SingleVariable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `locals` is never read [INFO] [stdout] --> src/il.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Function { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 57 | pub signature: FunctionSignature, [INFO] [stdout] 58 | pub locals: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/il.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct FunctionSignature { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 65 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionSignature` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value_type` is never read [INFO] [stdout] --> src/interpreter.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 96 | struct SingleVariable { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 97 | value: Value, [INFO] [stdout] 98 | value_type: ValueType [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SingleVariable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value_type` is never read [INFO] [stdout] --> src/interpreter.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 102 | struct Array { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 105 | value_type: ValueType [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Array` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.71s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v1.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b00cabaf90d1c060aa264ef7d1fc759865ce54ade58e864761a947cc35c7ef95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b00cabaf90d1c060aa264ef7d1fc759865ce54ade58e864761a947cc35c7ef95", kill_on_drop: false }` [INFO] [stdout] b00cabaf90d1c060aa264ef7d1fc759865ce54ade58e864761a947cc35c7ef95 [INFO] checking yupferris/butterball 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%2Fyupferris%2Fbutterball" "/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/yupferris/butterball 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/yupferris/butterball [INFO] finished tweaking git repo https://github.com/yupferris/butterball [INFO] tweaked toml for git repo https://github.com/yupferris/butterball written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yupferris/butterball 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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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] 7a9bb9de825a285956675218872aae98ea5531540bd765c79a14defd458b6d4f [INFO] running `Command { std: "docker" "start" "-a" "7a9bb9de825a285956675218872aae98ea5531540bd765c79a14defd458b6d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a9bb9de825a285956675218872aae98ea5531540bd765c79a14defd458b6d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a9bb9de825a285956675218872aae98ea5531540bd765c79a14defd458b6d4f", kill_on_drop: false }` [INFO] [stdout] 7a9bb9de825a285956675218872aae98ea5531540bd765c79a14defd458b6d4f [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] b0c16bbe880381b4f7449f1f9fab4edb863a13eef5cc35947e2220e4dac9cf27 [INFO] running `Command { std: "docker" "start" "-a" "b0c16bbe880381b4f7449f1f9fab4edb863a13eef5cc35947e2220e4dac9cf27", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking libc v0.2.5 [INFO] [stderr] Compiling gcc v0.3.21 [INFO] [stderr] Checking winapi v0.2.5 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Checking nom v1.1.0 [INFO] [stderr] Compiling kernel32-sys v0.2.1 [INFO] [stderr] Checking dylib v0.0.1 [INFO] [stderr] Checking x11-dl v2.2.1 [INFO] [stderr] Checking time v0.1.34 [INFO] [stderr] Compiling minifb v0.3.1 [INFO] [stderr] Checking butterball v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let file_name = try!(get_file_name()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | let file = try!(read_file(&file_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | let ast = try!(parser::parse(&file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | try!(file.read_to_string(&mut ret)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let mut file = try!(File::open(file_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let file_name = try!(get_file_name()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | let file = try!(read_file(&file_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | let ast = try!(parser::parse(&file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | try!(file.read_to_string(&mut ret)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let mut file = try!(File::open(file_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/impls.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | pub function: Box Value>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | pub function: Box Value>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/impls.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | pub function: Box Value>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | pub function: Box Value>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/impls.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | function: Box Value>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | function: Box Value>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/impls.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | function: Box Value>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | function: Box Value>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 60 | read_file_impl(file_name).map_err(|x| x.description().to_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 60 | read_file_impl(file_name).map_err(|x| x.description().to_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | Include(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | Include(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | TypeDecl(TypeDecl), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | TypeDecl(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `fields` are never read [INFO] [stdout] --> src/ast.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct TypeDecl { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 22 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | pub fields: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeDecl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `type_specifier`, and `array_size` are never read [INFO] [stdout] --> src/ast.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Field { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 28 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | pub type_specifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub array_size: Option [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | Custom(String) [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeSpecifier` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 | Custom(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_specifier` is never read [INFO] [stdout] --> src/ast.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct FunctionDecl { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 64 | pub name: String, [INFO] [stdout] 65 | pub type_specifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionDecl` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_specifier` is never read [INFO] [stdout] --> src/ast.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct FunctionCallOrArrayElemRef { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 86 | pub type_specifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionCallOrArrayElemRef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | Repeat(Repeat), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 146 | Repeat(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | Select(Select), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 148 | Select(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body` is never read [INFO] [stdout] --> src/ast.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct Repeat { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 178 | pub body: StatementList [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Repeat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expr` and `arms` are never read [INFO] [stdout] --> src/ast.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 209 | pub struct Select { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 210 | pub expr: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 211 | pub arms: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Select` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `body` are never read [INFO] [stdout] --> src/ast.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct CaseArm { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 216 | pub value: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 217 | pub body: StatementList [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CaseArm` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_const` is never read [INFO] [stdout] --> src/il.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct SingleVariable { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 38 | pub name: String, [INFO] [stdout] 39 | pub is_const: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SingleVariable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `locals` is never read [INFO] [stdout] --> src/il.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Function { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 57 | pub signature: FunctionSignature, [INFO] [stdout] 58 | pub locals: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/il.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct FunctionSignature { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 65 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionSignature` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value_type` is never read [INFO] [stdout] --> src/interpreter.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 96 | struct SingleVariable { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 97 | value: Value, [INFO] [stdout] 98 | value_type: ValueType [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SingleVariable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value_type` is never read [INFO] [stdout] --> src/interpreter.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 102 | struct Array { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 105 | value_type: ValueType [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Array` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/parser.rs:92:39 [INFO] [stdout] | [INFO] [stdout] 89 | values: separated_nonempty_list!( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | || ast::Node::Data(ast::Data { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 93 | | values: values [INFO] [stdout] 94 | | })) | [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/parser.rs:479:36 [INFO] [stdout] | [INFO] [stdout] 473 | init_expr: preceded!( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 479 | || ast::Node::ConstDecl(ast::ConstDecl { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 480 | | name: name, [INFO] [stdout] 481 | | type_specifier: type_specifier, [INFO] [stdout] 482 | | init_expr: init_expr [INFO] [stdout] 483 | | }))); [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/parser.rs:593:41 [INFO] [stdout] | [INFO] [stdout] 584 | condition: expr ~ [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 587 | body: separated_nonempty_list!( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 593 | else_clause: 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] [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/parser.rs:737:27 [INFO] [stdout] | [INFO] [stdout] 726 | arguments: opt!( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 737 | arguments: arguments.unwrap_or(Vec::new()) [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/compiler.rs:487:15 [INFO] [stdout] | [INFO] [stdout] 480 | let l_value = compile_l_value(&assignment.l_value, tables); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 481 | [INFO] [stdout] 482 | let expr = compile_expr(&assignment.expr, tables); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 487 | expr: insert_cast(expr, value_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/compiler.rs:587:14 [INFO] [stdout] | [INFO] [stdout] 582 | let arguments_or_dimensions = [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 587 | Box::new(match tables.function_index_map.get(&function_call_or_array_elem_ref.function_name) { [INFO] [stdout] | ______________^ [INFO] [stdout] 588 | | Some(index) => il::Expr::FunctionCall(il::FunctionCall { [INFO] [stdout] 589 | | function_index: *index, [INFO] [stdout] 590 | | arguments: arguments_or_dimensions, [INFO] [stdout] ... | [INFO] [stdout] 604 | | } [INFO] [stdout] 605 | | }) [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: field `0` is never read [INFO] [stdout] --> src/ast.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | Include(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | Include(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | TypeDecl(TypeDecl), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | TypeDecl(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `fields` are never read [INFO] [stdout] --> src/ast.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct TypeDecl { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 22 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | pub fields: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeDecl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `type_specifier`, and `array_size` are never read [INFO] [stdout] --> src/ast.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Field { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 28 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | pub type_specifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub array_size: Option [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | Custom(String) [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypeSpecifier` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 | Custom(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_specifier` is never read [INFO] [stdout] --> src/ast.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct FunctionDecl { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 64 | pub name: String, [INFO] [stdout] 65 | pub type_specifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionDecl` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_specifier` is never read [INFO] [stdout] --> src/ast.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct FunctionCallOrArrayElemRef { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 86 | pub type_specifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionCallOrArrayElemRef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | Repeat(Repeat), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 146 | Repeat(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | Select(Select), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 148 | Select(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body` is never read [INFO] [stdout] --> src/ast.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct Repeat { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 178 | pub body: StatementList [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Repeat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expr` and `arms` are never read [INFO] [stdout] --> src/ast.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 209 | pub struct Select { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 210 | pub expr: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 211 | pub arms: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Select` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `body` are never read [INFO] [stdout] --> src/ast.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct CaseArm { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 216 | pub value: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 217 | pub body: StatementList [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CaseArm` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_const` is never read [INFO] [stdout] --> src/il.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct SingleVariable { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 38 | pub name: String, [INFO] [stdout] 39 | pub is_const: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SingleVariable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `locals` is never read [INFO] [stdout] --> src/il.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Function { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 57 | pub signature: FunctionSignature, [INFO] [stdout] 58 | pub locals: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/il.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct FunctionSignature { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 65 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionSignature` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value_type` is never read [INFO] [stdout] --> src/interpreter.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 96 | struct SingleVariable { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 97 | value: Value, [INFO] [stdout] 98 | value_type: ValueType [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SingleVariable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value_type` is never read [INFO] [stdout] --> src/interpreter.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 102 | struct Array { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 105 | value_type: ValueType [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Array` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/parser.rs:92:39 [INFO] [stdout] | [INFO] [stdout] 89 | values: separated_nonempty_list!( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | || ast::Node::Data(ast::Data { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 93 | | values: values [INFO] [stdout] 94 | | })) | [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/parser.rs:479:36 [INFO] [stdout] | [INFO] [stdout] 473 | init_expr: preceded!( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 479 | || ast::Node::ConstDecl(ast::ConstDecl { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 480 | | name: name, [INFO] [stdout] 481 | | type_specifier: type_specifier, [INFO] [stdout] 482 | | init_expr: init_expr [INFO] [stdout] 483 | | }))); [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/parser.rs:593:41 [INFO] [stdout] | [INFO] [stdout] 584 | condition: expr ~ [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 587 | body: separated_nonempty_list!( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 593 | else_clause: 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] [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/parser.rs:737:27 [INFO] [stdout] | [INFO] [stdout] 726 | arguments: opt!( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 737 | arguments: arguments.unwrap_or(Vec::new()) [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 6 previous errors; 25 warnings emitted [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/compiler.rs:487:15 [INFO] [stdout] | [INFO] [stdout] 480 | let l_value = compile_l_value(&assignment.l_value, tables); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 481 | [INFO] [stdout] 482 | let expr = compile_expr(&assignment.expr, tables); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 487 | expr: insert_cast(expr, value_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/compiler.rs:587:14 [INFO] [stdout] | [INFO] [stdout] 582 | let arguments_or_dimensions = [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 587 | Box::new(match tables.function_index_map.get(&function_call_or_array_elem_ref.function_name) { [INFO] [stdout] | ______________^ [INFO] [stdout] 588 | | Some(index) => il::Expr::FunctionCall(il::FunctionCall { [INFO] [stdout] 589 | | function_index: *index, [INFO] [stdout] 590 | | arguments: arguments_or_dimensions, [INFO] [stdout] ... | [INFO] [stdout] 604 | | } [INFO] [stdout] 605 | | }) [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] [stderr] error: could not compile `butterball` (bin "butterball") due to 7 previous errors; 25 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `butterball` (bin "butterball" test) due to 7 previous errors; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b0c16bbe880381b4f7449f1f9fab4edb863a13eef5cc35947e2220e4dac9cf27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0c16bbe880381b4f7449f1f9fab4edb863a13eef5cc35947e2220e4dac9cf27", kill_on_drop: false }` [INFO] [stdout] b0c16bbe880381b4f7449f1f9fab4edb863a13eef5cc35947e2220e4dac9cf27