[INFO] updating cached repository https://github.com/Et-17/lunar-calculus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55cf125a0d4390fab4e83467d066b6a3051997f3 [INFO] checking Et-17/lunar-calculus/55cf125a0d4390fab4e83467d066b6a3051997f3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEt-17%2Flunar-calculus" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Et-17/lunar-calculus on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Et-17/lunar-calculus [INFO] finished tweaking git repo https://github.com/Et-17/lunar-calculus [INFO] tweaked toml for git repo https://github.com/Et-17/lunar-calculus written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Et-17/lunar-calculus 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09e8e8c14ada505c387f832ebf4f2cfd6c39713849a6b4c32f3a4d13814a2bc1 [INFO] running `Command { std: "docker" "start" "-a" "09e8e8c14ada505c387f832ebf4f2cfd6c39713849a6b4c32f3a4d13814a2bc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09e8e8c14ada505c387f832ebf4f2cfd6c39713849a6b4c32f3a4d13814a2bc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09e8e8c14ada505c387f832ebf4f2cfd6c39713849a6b4c32f3a4d13814a2bc1", kill_on_drop: false }` [INFO] [stdout] 09e8e8c14ada505c387f832ebf4f2cfd6c39713849a6b4c32f3a4d13814a2bc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cfabc9cc4cd2a9e78c5d103aa3feda81212651c4835e7a222f0f07fc53c7e2d [INFO] running `Command { std: "docker" "start" "-a" "5cfabc9cc4cd2a9e78c5d103aa3feda81212651c4835e7a222f0f07fc53c7e2d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking iter_tools v0.1.4 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Checking clap v3.2.20 [INFO] [stderr] Checking lunar-calculus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `name` and `definitions` are never read [INFO] [stdout] --> src/parser/file.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct File { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | pub definitions: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` 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] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/file.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Lam(Lambda), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Term` has derived impls for the traits `Debug` and `Clone`, 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] 15 | Lam(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/file.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | App(Application), [INFO] [stdout] | --- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Term` has derived impls for the traits `Debug` and `Clone`, 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] 16 | App(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/file.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Var(Variable), [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Term` has derived impls for the traits `Debug` and `Clone`, 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] 17 | Var(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body` is never read [INFO] [stdout] --> src/parser/file.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Lambda { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 22 | pub body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lambda` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function` and `argument` are never read [INFO] [stdout] --> src/parser/file.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Application { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 27 | pub function: Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | pub argument: Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Application` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/parser/file.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Variable { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 33 | pub index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` has derived impls for the traits `Debug` and `Clone`, but these are 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/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 11 | let mut definitions = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | Ok(file::File { name, definitions }) [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/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 78 | let value = parse_body(&line[end + 4..], prev_defs)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | Ok(file::Definition { name, value }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/mod.rs:168:45 [INFO] [stdout] | [INFO] [stdout] 167 | |prev, _| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | file::Term::Lam(file::Lambda { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 169 | | body: Box::new(prev), [INFO] [stdout] 170 | | }) [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lunar-calculus` (bin "lunar-calculus") due to 4 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `name` and `definitions` are never read [INFO] [stdout] --> src/parser/file.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct File { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | pub definitions: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` 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] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/file.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Lam(Lambda), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Term` has derived impls for the traits `Debug` and `Clone`, 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] 15 | Lam(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/file.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | App(Application), [INFO] [stdout] | --- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Term` has derived impls for the traits `Debug` and `Clone`, 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] 16 | App(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/file.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Var(Variable), [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Term` has derived impls for the traits `Debug` and `Clone`, 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] 17 | Var(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body` is never read [INFO] [stdout] --> src/parser/file.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Lambda { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 22 | pub body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lambda` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function` and `argument` are never read [INFO] [stdout] --> src/parser/file.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Application { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 27 | pub function: Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | pub argument: Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Application` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/parser/file.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Variable { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 33 | pub index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` has derived impls for the traits `Debug` and `Clone`, but these are 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/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 11 | let mut definitions = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | Ok(file::File { name, definitions }) [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/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 78 | let value = parse_body(&line[end + 4..], prev_defs)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | Ok(file::Definition { name, value }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/mod.rs:168:45 [INFO] [stdout] | [INFO] [stdout] 167 | |prev, _| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | file::Term::Lam(file::Lambda { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 169 | | body: Box::new(prev), [INFO] [stdout] 170 | | }) [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lunar-calculus` (bin "lunar-calculus" test) due to 4 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5cfabc9cc4cd2a9e78c5d103aa3feda81212651c4835e7a222f0f07fc53c7e2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cfabc9cc4cd2a9e78c5d103aa3feda81212651c4835e7a222f0f07fc53c7e2d", kill_on_drop: false }` [INFO] [stdout] 5cfabc9cc4cd2a9e78c5d103aa3feda81212651c4835e7a222f0f07fc53c7e2d