[INFO] cloning repository https://github.com/HoneyPony/jaylox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HoneyPony/jaylox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoneyPony%2Fjaylox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoneyPony%2Fjaylox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8fbae40b4cd93546e1cd7813d898cffd3a6f0459 [INFO] checking HoneyPony/jaylox/8fbae40b4cd93546e1cd7813d898cffd3a6f0459 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%2FHoneyPony%2Fjaylox" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HoneyPony/jaylox 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/HoneyPony/jaylox [INFO] finished tweaking git repo https://github.com/HoneyPony/jaylox [INFO] tweaked toml for git repo https://github.com/HoneyPony/jaylox written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/HoneyPony/jaylox 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f063153261a8c2236f93adc702f55bbb7802dbba19a20bbf9a8f762c82b6c106 [INFO] running `Command { std: "docker" "start" "-a" "f063153261a8c2236f93adc702f55bbb7802dbba19a20bbf9a8f762c82b6c106", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f063153261a8c2236f93adc702f55bbb7802dbba19a20bbf9a8f762c82b6c106", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f063153261a8c2236f93adc702f55bbb7802dbba19a20bbf9a8f762c82b6c106", kill_on_drop: false }` [INFO] [stdout] f063153261a8c2236f93adc702f55bbb7802dbba19a20bbf9a8f762c82b6c106 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f3eff7028051b9f2914cdfb6556d1bd203c44500b12afec73cfd56aa5e6011ea [INFO] running `Command { std: "docker" "start" "-a" "f3eff7028051b9f2914cdfb6556d1bd203c44500b12afec73cfd56aa5e6011ea", kill_on_drop: false }` [INFO] [stderr] Compiling jlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `paren` is never read [INFO] [stdout] --> /opt/rustwide/target/debug/build/jlox-162e2409b618837a/out/expr.gen.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 10 | Call { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 11 | callee: Box, [INFO] [stdout] 12 | paren: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `keyword` and `this_identity` are never read [INFO] [stdout] --> /opt/rustwide/target/debug/build/jlox-162e2409b618837a/out/expr.gen.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 31 | Super { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 32 | keyword: Token, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | this_identity: VarRef, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `keyword` is never read [INFO] [stdout] --> /opt/rustwide/target/debug/build/jlox-162e2409b618837a/out/expr.gen.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 37 | This { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 38 | keyword: Token, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> /opt/rustwide/target/debug/build/jlox-162e2409b618837a/out/expr.gen.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 49 | Assign { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 50 | name: Token, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `var_name` is never read [INFO] [stdout] --> /opt/rustwide/target/debug/build/jlox-162e2409b618837a/out/stmt.gen.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 9 | ExternFunction { [INFO] [stdout] | -------------- field in this variant [INFO] [stdout] 10 | var_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `keyword` is never read [INFO] [stdout] --> /opt/rustwide/target/debug/build/jlox-162e2409b618837a/out/stmt.gen.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 22 | Return { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 23 | keyword: Token, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> /opt/rustwide/target/debug/build/jlox-162e2409b618837a/out/stmt.gen.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 26 | Var { [INFO] [stdout] | --- field in this variant [INFO] [stdout] 27 | name: Token, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vars` is never read [INFO] [stdout] --> src/stmt.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Function { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub vars: HashSet, [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/expr.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn binary_folded(left: Expr, operator: Token, right: Expr, lox: &mut Lox) -> Result { [INFO] [stdout] | ---------- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | match (left, right) { [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:831:6 [INFO] [stdout] | [INFO] [stdout] 812 | let mut methods = vec![Function::empty_init()]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 831 | Ok(Stmt::class(crate::stmt::Class { [INFO] [stdout] | ____________^ [INFO] [stdout] 832 | | name, [INFO] [stdout] 833 | | methods, [INFO] [stdout] 834 | | superclass, [INFO] [stdout] 835 | | identity, [INFO] [stdout] 836 | | })) [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 `paren` is never read [INFO] [stdout] --> /opt/rustwide/target/debug/build/jlox-162e2409b618837a/out/expr.gen.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 10 | Call { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 11 | callee: Box, [INFO] [stdout] 12 | paren: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `keyword` and `this_identity` are never read [INFO] [stdout] --> /opt/rustwide/target/debug/build/jlox-162e2409b618837a/out/expr.gen.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 31 | Super { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 32 | keyword: Token, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | this_identity: VarRef, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `keyword` is never read [INFO] [stdout] --> /opt/rustwide/target/debug/build/jlox-162e2409b618837a/out/expr.gen.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 37 | This { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 38 | keyword: Token, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> /opt/rustwide/target/debug/build/jlox-162e2409b618837a/out/expr.gen.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 49 | Assign { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 50 | name: Token, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `var_name` is never read [INFO] [stdout] --> /opt/rustwide/target/debug/build/jlox-162e2409b618837a/out/stmt.gen.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 9 | ExternFunction { [INFO] [stdout] | -------------- field in this variant [INFO] [stdout] 10 | var_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `keyword` is never read [INFO] [stdout] --> /opt/rustwide/target/debug/build/jlox-162e2409b618837a/out/stmt.gen.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 22 | Return { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 23 | keyword: Token, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> /opt/rustwide/target/debug/build/jlox-162e2409b618837a/out/stmt.gen.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 26 | Var { [INFO] [stdout] | --- field in this variant [INFO] [stdout] 27 | name: Token, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vars` is never read [INFO] [stdout] --> src/stmt.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Function { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub vars: HashSet, [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/expr.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn binary_folded(left: Expr, operator: Token, right: Expr, lox: &mut Lox) -> Result { [INFO] [stdout] | ---------- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | match (left, right) { [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:831:6 [INFO] [stdout] | [INFO] [stdout] 812 | let mut methods = vec![Function::empty_init()]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 831 | Ok(Stmt::class(crate::stmt::Class { [INFO] [stdout] | ____________^ [INFO] [stdout] 832 | | name, [INFO] [stdout] 833 | | methods, [INFO] [stdout] 834 | | superclass, [INFO] [stdout] 835 | | identity, [INFO] [stdout] 836 | | })) [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 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jlox` (bin "jlox") due to 3 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `jlox` (bin "jlox" test) due to 3 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f3eff7028051b9f2914cdfb6556d1bd203c44500b12afec73cfd56aa5e6011ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3eff7028051b9f2914cdfb6556d1bd203c44500b12afec73cfd56aa5e6011ea", kill_on_drop: false }` [INFO] [stdout] f3eff7028051b9f2914cdfb6556d1bd203c44500b12afec73cfd56aa5e6011ea