[INFO] cloning repository https://github.com/Nilstrieb/lambda-calculus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nilstrieb/lambda-calculus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNilstrieb%2Flambda-calculus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNilstrieb%2Flambda-calculus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 700c8624f65c24ea44c28d55a20e3f04f4cb6b24 [INFO] checking Nilstrieb/lambda-calculus/700c8624f65c24ea44c28d55a20e3f04f4cb6b24 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%2FNilstrieb%2Flambda-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/Nilstrieb/lambda-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/Nilstrieb/lambda-calculus [INFO] finished tweaking git repo https://github.com/Nilstrieb/lambda-calculus [INFO] tweaked toml for git repo https://github.com/Nilstrieb/lambda-calculus written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Nilstrieb/lambda-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] 5292b45896bb00e4cc7371a5bb30ff0593c105a4bfd90c6b6722ef99ab2a58e3 [INFO] running `Command { std: "docker" "start" "-a" "5292b45896bb00e4cc7371a5bb30ff0593c105a4bfd90c6b6722ef99ab2a58e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5292b45896bb00e4cc7371a5bb30ff0593c105a4bfd90c6b6722ef99ab2a58e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5292b45896bb00e4cc7371a5bb30ff0593c105a4bfd90c6b6722ef99ab2a58e3", kill_on_drop: false }` [INFO] [stdout] 5292b45896bb00e4cc7371a5bb30ff0593c105a4bfd90c6b6722ef99ab2a58e3 [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] 6f83f70d4f954b08e6dea9628c4c02745d123437c4aa62b9328879199ff81230 [INFO] running `Command { std: "docker" "start" "-a" "6f83f70d4f954b08e6dea9628c4c02745d123437c4aa62b9328879199ff81230", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking yansi v0.5.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking similar v2.1.0 [INFO] [stderr] Checking ariadne v0.1.3 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling const-random-macro v0.1.13 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking const-random v0.1.13 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking chumsky v0.7.0 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Checking logos v0.12.0 [INFO] [stderr] Checking lambda-calculus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | Name(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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] 56 | Name(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `callee` and `argument` are never read [INFO] [stdout] --> src/lib.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 57 | Application { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 58 | callee: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 59 | argument: Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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 `params` and `body` are never read [INFO] [stdout] --> src/lib.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 61 | Abstraction { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 62 | params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 63 | body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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/lib.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 68 | recursive(|expr| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | let abstraction = just(Token::Lambda) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let application = expr [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | / abstraction [INFO] [stdout] 103 | | .or(expr.clone().delimited_by(Token::ParenO, Token::ParenC)) [INFO] [stdout] 104 | | .or(name_expr) [INFO] [stdout] 105 | | .or(expr) [INFO] [stdout] 106 | | .or(application) [INFO] [stdout] 107 | | .then_ignore(end()) [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/lib.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 83 | .map(|(params, body)| Expr::Abstraction { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | params, [INFO] [stdout] 85 | body: Box::new(body), [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/lib.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 96 | .map(|(callee, arg)| Expr::Application { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | callee: Box::new(callee), [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/lib.rs:98:31 [INFO] [stdout] | [INFO] [stdout] 96 | .map(|(callee, arg)| Expr::Application { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | callee: Box::new(callee), [INFO] [stdout] 98 | argument: Box::new(arg), [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 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lambda-calculus` (lib) due to 5 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6f83f70d4f954b08e6dea9628c4c02745d123437c4aa62b9328879199ff81230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f83f70d4f954b08e6dea9628c4c02745d123437c4aa62b9328879199ff81230", kill_on_drop: false }` [INFO] [stdout] 6f83f70d4f954b08e6dea9628c4c02745d123437c4aa62b9328879199ff81230