[INFO] cloning repository https://github.com/LewisDaleUK/basic-interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LewisDaleUK/basic-interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLewisDaleUK%2Fbasic-interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLewisDaleUK%2Fbasic-interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e500e9ec3f36cd2daca318bbdaf32dac078fbc7 [INFO] checking LewisDaleUK/basic-interpreter/5e500e9ec3f36cd2daca318bbdaf32dac078fbc7 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%2FLewisDaleUK%2Fbasic-interpreter" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LewisDaleUK/basic-interpreter 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/LewisDaleUK/basic-interpreter [INFO] finished tweaking git repo https://github.com/LewisDaleUK/basic-interpreter [INFO] tweaked toml for git repo https://github.com/LewisDaleUK/basic-interpreter written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LewisDaleUK/basic-interpreter 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] c7121c37421c57ab1ffafd29492d8d033f273f09461bb9de8a813904cceb1851 [INFO] running `Command { std: "docker" "start" "-a" "c7121c37421c57ab1ffafd29492d8d033f273f09461bb9de8a813904cceb1851", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7121c37421c57ab1ffafd29492d8d033f273f09461bb9de8a813904cceb1851", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7121c37421c57ab1ffafd29492d8d033f273f09461bb9de8a813904cceb1851", kill_on_drop: false }` [INFO] [stdout] c7121c37421c57ab1ffafd29492d8d033f273f09461bb9de8a813904cceb1851 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 2d3b553ecc23c4f023311503ff64675e0fddea07836b8c888692236b5bb59c74 [INFO] running `Command { std: "docker" "start" "-a" "2d3b553ecc23c4f023311503ff64675e0fddea07836b8c888692236b5bb59c74", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking nom v7.1.2 [INFO] [stderr] Checking basic-interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `multi::many0` and `value` [INFO] [stdout] --> src/parsers/expressions.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | combinator::{map, value}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | sequence::tuple, [INFO] [stdout] 5 | IResult, branch::alt, multi::many0, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::variables::parse_int` [INFO] [stdout] --> src/parsers/expressions.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::variables::parse_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `multi::many0` and `value` [INFO] [stdout] --> src/parsers/expressions.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | combinator::{map, value}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | sequence::tuple, [INFO] [stdout] 5 | IResult, branch::alt, multi::many0, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::variables::parse_int` [INFO] [stdout] --> src/parsers/expressions.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::variables::parse_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expression_target` is never used [INFO] [stdout] --> src/parsers/expressions.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn parse_expression_target(i: &str) -> IResult<&str, ExpressionTarget> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expression` is never used [INFO] [stdout] --> src/parsers/expressions.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn parse_expression(i: &str) -> IResult<&str, Expression> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_full_expression` is never used [INFO] [stdout] --> src/parsers/expressions.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn parse_full_expression(i: &str) -> IResult<&str, Expression> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/basic.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(node: Node) -> Self { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | nodes: node.clone(), [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/basic.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 62 | let mut node = Node::None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | Ok((i, Program::new(node))) [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/parsers/expressions.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 47 | fn from(value: Expression) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | Self::Expression(Box::new(value)) [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; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `basic-interpreter` (bin "basic-interpreter") due to 4 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/basic.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(node: Node) -> Self { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | nodes: node.clone(), [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/basic.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 62 | let mut node = Node::None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | Ok((i, Program::new(node))) [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/parsers/expressions.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 47 | fn from(value: Expression) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | Self::Expression(Box::new(value)) [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `basic-interpreter` (bin "basic-interpreter" test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2d3b553ecc23c4f023311503ff64675e0fddea07836b8c888692236b5bb59c74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d3b553ecc23c4f023311503ff64675e0fddea07836b8c888692236b5bb59c74", kill_on_drop: false }` [INFO] [stdout] 2d3b553ecc23c4f023311503ff64675e0fddea07836b8c888692236b5bb59c74