[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] building yupferris/butterball against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyupferris%2Fbutterball" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yupferris/butterball on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-7-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.1.12 [INFO] [stderr] Downloaded time v0.1.34 [INFO] [stderr] Downloaded dylib v0.0.1 [INFO] [stderr] Downloaded nom v1.1.0 [INFO] [stderr] Downloaded gcc v0.3.21 [INFO] [stderr] Downloaded libc v0.2.5 [INFO] [stderr] Downloaded kernel32-sys v0.1.4 [INFO] [stderr] Downloaded x11-dl v2.2.1 [INFO] [stderr] Downloaded kernel32-sys v0.2.1 [INFO] [stderr] Downloaded minifb v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40206b1364d50dca1ffbb35282677ef1873dab83bc35d1e39d38b9bc17aea713 [INFO] running `Command { std: "docker" "start" "-a" "40206b1364d50dca1ffbb35282677ef1873dab83bc35d1e39d38b9bc17aea713", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40206b1364d50dca1ffbb35282677ef1873dab83bc35d1e39d38b9bc17aea713", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40206b1364d50dca1ffbb35282677ef1873dab83bc35d1e39d38b9bc17aea713", kill_on_drop: false }` [INFO] [stdout] 40206b1364d50dca1ffbb35282677ef1873dab83bc35d1e39d38b9bc17aea713 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85e78cac5d796bf6604926aa988786c40da254cae6c437b56f7305b2c5a4aebf [INFO] running `Command { std: "docker" "start" "-a" "85e78cac5d796bf6604926aa988786c40da254cae6c437b56f7305b2c5a4aebf", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling kernel32-sys v0.2.1 [INFO] [stderr] Compiling libc v0.2.5 [INFO] [stderr] Compiling winapi v0.2.5 [INFO] [stderr] Compiling gcc v0.3.21 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling nom v1.1.0 [INFO] [stderr] Compiling dylib v0.0.1 [INFO] [stderr] Compiling x11-dl v2.2.1 [INFO] [stderr] Compiling time v0.1.34 [INFO] [stderr] Compiling minifb v0.3.1 [INFO] [stderr] Compiling butterball v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | named!(whitespace<&[u8]>, [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 101 | | recognize!(many1!(alt!(multispace | comment)))); [INFO] [stdout] | |______________________________________________________- lifetime `'a` declared here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | named!(comment<&[u8]>, [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 104 | | recognize!( [INFO] [stdout] 105 | | delimited!( [INFO] [stdout] 106 | | char!(';'), [INFO] [stdout] 107 | | opt!(is_not!("\r\n")), [INFO] [stdout] 108 | | alt!(tag!("\n") | tag!("\r\n"))))); [INFO] [stdout] | |_________________________________________________- lifetime `'a` declared here [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 a dyn-compatible 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 a dyn-compatible 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.08s [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" "85e78cac5d796bf6604926aa988786c40da254cae6c437b56f7305b2c5a4aebf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85e78cac5d796bf6604926aa988786c40da254cae6c437b56f7305b2c5a4aebf", kill_on_drop: false }` [INFO] [stdout] 85e78cac5d796bf6604926aa988786c40da254cae6c437b56f7305b2c5a4aebf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f2c4131fca8fc60b066de62fffe84719de21ca9f64ae30936a75878eee76655 [INFO] running `Command { std: "docker" "start" "-a" "6f2c4131fca8fc60b066de62fffe84719de21ca9f64ae30936a75878eee76655", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling butterball v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | named!(whitespace<&[u8]>, [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 101 | | recognize!(many1!(alt!(multispace | comment)))); [INFO] [stdout] | |______________________________________________________- lifetime `'a` declared here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | named!(comment<&[u8]>, [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 104 | | recognize!( [INFO] [stdout] 105 | | delimited!( [INFO] [stdout] 106 | | char!(';'), [INFO] [stdout] 107 | | opt!(is_not!("\r\n")), [INFO] [stdout] 108 | | alt!(tag!("\n") | tag!("\r\n"))))); [INFO] [stdout] | |_________________________________________________- lifetime `'a` declared here [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 a dyn-compatible 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 a dyn-compatible 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.31s [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" "6f2c4131fca8fc60b066de62fffe84719de21ca9f64ae30936a75878eee76655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f2c4131fca8fc60b066de62fffe84719de21ca9f64ae30936a75878eee76655", kill_on_drop: false }` [INFO] [stdout] 6f2c4131fca8fc60b066de62fffe84719de21ca9f64ae30936a75878eee76655