[INFO] cloning repository https://github.com/Potato-h/entropyc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Potato-h/entropyc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPotato-h%2Fentropyc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPotato-h%2Fentropyc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54aaae83b9e3b5be6a24f081aeabea61e9941c3d [INFO] checking Potato-h/entropyc/54aaae83b9e3b5be6a24f081aeabea61e9941c3d 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%2FPotato-h%2Fentropyc" "/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/Potato-h/entropyc 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/Potato-h/entropyc [INFO] finished tweaking git repo https://github.com/Potato-h/entropyc [INFO] tweaked toml for git repo https://github.com/Potato-h/entropyc written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Potato-h/entropyc 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] 2e19fb7f62b96e72af538fd7eb819f542996821a5b84ad1d338041996ab2d8f5 [INFO] running `Command { std: "docker" "start" "-a" "2e19fb7f62b96e72af538fd7eb819f542996821a5b84ad1d338041996ab2d8f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e19fb7f62b96e72af538fd7eb819f542996821a5b84ad1d338041996ab2d8f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e19fb7f62b96e72af538fd7eb819f542996821a5b84ad1d338041996ab2d8f5", kill_on_drop: false }` [INFO] [stdout] 2e19fb7f62b96e72af538fd7eb819f542996821a5b84ad1d338041996ab2d8f5 [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] 76a975cbe0b27f28768e6efec82c053f339cda09d6a496da7e33fd1f94ac449b [INFO] running `Command { std: "docker" "start" "-a" "76a975cbe0b27f28768e6efec82c053f339cda09d6a496da7e33fd1f94ac449b", kill_on_drop: false }` [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling const-random-macro v0.1.15 [INFO] [stderr] Checking const-random v0.1.15 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking chumsky v0.8.0 [INFO] [stderr] Checking entropyc v0.1.0 (/opt/rustwide/workdir) [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:55:16 [INFO] [stdout] | [INFO] [stdout] 21 | recursive(|expr| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | let atom = choice(( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | let prod = atom [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | let sum = prod [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | choice(( [INFO] [stdout] | ________________^ [INFO] [stdout] 56 | | sum.clone() [INFO] [stdout] 57 | | .then(op) [INFO] [stdout] 58 | | .then(sum.clone()) [INFO] [stdout] 59 | | .map(|((lhs, op), rhs)| Expression::Binary(Box::new(BinaryExpr { op, lhs, rhs }))), [INFO] [stdout] 60 | | sum.clone(), [INFO] [stdout] 61 | | )) [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:37:56 [INFO] [stdout] | [INFO] [stdout] 37 | .foldl(|lhs, (op, rhs)| Expression::Binary(Box::new(BinaryExpr { op, lhs, rhs }))); [INFO] [stdout] | --- --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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.rs:48:56 [INFO] [stdout] | [INFO] [stdout] 48 | .foldl(|lhs, (op, rhs)| Expression::Binary(Box::new(BinaryExpr { op, lhs, rhs }))); [INFO] [stdout] | --- --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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.rs:59:60 [INFO] [stdout] | [INFO] [stdout] 59 | .map(|((lhs, op), rhs)| Expression::Binary(Box::new(BinaryExpr { op, lhs, rhs }))), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 83 | recursive(|statement| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | let if_parser = text::keyword("if") [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | let while_parser = text::keyword("while") [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | choice(( [INFO] [stdout] | ________________^ [INFO] [stdout] 109 | | let_parser().map(Box::new).map(Statement::Let), [INFO] [stdout] 110 | | if_parser.map(Box::new).map(Statement::If), [INFO] [stdout] 111 | | while_parser.map(Box::new).map(Statement::While), [INFO] [stdout] 112 | | print_parser().map(Statement::Print), [INFO] [stdout] 113 | | )) [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `entropyc` (lib) due to 6 previous errors [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/parser.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 21 | recursive(|expr| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | let atom = choice(( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | let prod = atom [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | let sum = prod [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | choice(( [INFO] [stdout] | ________________^ [INFO] [stdout] 56 | | sum.clone() [INFO] [stdout] 57 | | .then(op) [INFO] [stdout] 58 | | .then(sum.clone()) [INFO] [stdout] 59 | | .map(|((lhs, op), rhs)| Expression::Binary(Box::new(BinaryExpr { op, lhs, rhs }))), [INFO] [stdout] 60 | | sum.clone(), [INFO] [stdout] 61 | | )) [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:37:56 [INFO] [stdout] | [INFO] [stdout] 37 | .foldl(|lhs, (op, rhs)| Expression::Binary(Box::new(BinaryExpr { op, lhs, rhs }))); [INFO] [stdout] | --- --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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.rs:48:56 [INFO] [stdout] | [INFO] [stdout] 48 | .foldl(|lhs, (op, rhs)| Expression::Binary(Box::new(BinaryExpr { op, lhs, rhs }))); [INFO] [stdout] | --- --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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.rs:59:60 [INFO] [stdout] | [INFO] [stdout] 59 | .map(|((lhs, op), rhs)| Expression::Binary(Box::new(BinaryExpr { op, lhs, rhs }))), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 83 | recursive(|statement| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | let if_parser = text::keyword("if") [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | let while_parser = text::keyword("while") [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | choice(( [INFO] [stdout] | ________________^ [INFO] [stdout] 109 | | let_parser().map(Box::new).map(Statement::Let), [INFO] [stdout] 110 | | if_parser.map(Box::new).map(Statement::If), [INFO] [stdout] 111 | | while_parser.map(Box::new).map(Statement::While), [INFO] [stdout] 112 | | print_parser().map(Statement::Print), [INFO] [stdout] 113 | | )) [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `entropyc` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "76a975cbe0b27f28768e6efec82c053f339cda09d6a496da7e33fd1f94ac449b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76a975cbe0b27f28768e6efec82c053f339cda09d6a496da7e33fd1f94ac449b", kill_on_drop: false }` [INFO] [stdout] 76a975cbe0b27f28768e6efec82c053f339cda09d6a496da7e33fd1f94ac449b