[INFO] fetching crate lib-parser 0.1.0... [INFO] checking lib-parser-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate lib-parser 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate lib-parser 0.1.0 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 crates.io crate lib-parser 0.1.0 [INFO] finished tweaking crates.io crate lib-parser 0.1.0 [INFO] tweaked toml for crates.io crate lib-parser 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate lib-parser 0.1.0 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-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] 8495877813fc7f793e7e4cb1cdee87d5baf96e2a70114d03d110b87c7593c84b [INFO] running `Command { std: "docker" "start" "-a" "8495877813fc7f793e7e4cb1cdee87d5baf96e2a70114d03d110b87c7593c84b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8495877813fc7f793e7e4cb1cdee87d5baf96e2a70114d03d110b87c7593c84b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8495877813fc7f793e7e4cb1cdee87d5baf96e2a70114d03d110b87c7593c84b", kill_on_drop: false }` [INFO] [stdout] 8495877813fc7f793e7e4cb1cdee87d5baf96e2a70114d03d110b87c7593c84b [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] c97bbe71217bec17f58d39b3dcd2008668d8517da6e556f877a0eccbc82f727c [INFO] running `Command { std: "docker" "start" "-a" "c97bbe71217bec17f58d39b3dcd2008668d8517da6e556f877a0eccbc82f727c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling rustix v0.38.17 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling os_str_bytes v6.5.1 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linux-raw-sys v0.4.8 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling cbindgen v0.26.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling pest v2.7.3 [INFO] [stderr] Compiling pest_meta v2.7.3 [INFO] [stderr] Compiling pest_generator v2.7.3 [INFO] [stderr] Compiling pest_derive v2.7.3 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling lib-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/liberty_parser/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | Err(_) => Err(pest::error::Error::new_from_span( [INFO] [stdout] | ^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/liberty_parser/mod.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | Err(_) => Err(pest::error::Error::new_from_span( [INFO] [stdout] | ^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/liberty_parser/mod.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | Err(_) => Err(pest::error::Error::new_from_span( [INFO] [stdout] | ^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [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/liberty_parser/liberty_expr.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 20 | let mut buffer = liberty_expr_data::LibertyExpr::new(liberty_expr_data::LibertyExprOp::Buffer); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | buffer.set_port_name(String::from(pair.as_str())); [INFO] [stdout] 22 | Ok(Box::new(buffer)) [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/liberty_parser/liberty_expr.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | let zero = liberty_expr_data::LibertyExpr::new(liberty_expr_data::LibertyExprOp::Zero); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | Ok(Box::new(zero)) [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/liberty_parser/liberty_expr.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | let one = liberty_expr_data::LibertyExpr::new(liberty_expr_data::LibertyExprOp::One); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | Ok(Box::new(one)) [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/liberty_parser/liberty_expr.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 42 | let mut not = liberty_expr_data::LibertyExpr::new(liberty_expr_data::LibertyExprOp::Not); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let left = substitute_queue.pop_front().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | not.set_left(left); [INFO] [stdout] 45 | Ok(Box::new(not)) [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/liberty_parser/liberty_expr.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 82 | let op = liberty_expr_data::LibertyExpr::new(op_type); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | Ok(Box::new(op)) [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; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lib-parser` (lib) due to 6 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/liberty_parser/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | Err(_) => Err(pest::error::Error::new_from_span( [INFO] [stdout] | ^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/liberty_parser/mod.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | Err(_) => Err(pest::error::Error::new_from_span( [INFO] [stdout] | ^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/liberty_parser/mod.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | Err(_) => Err(pest::error::Error::new_from_span( [INFO] [stdout] | ^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [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/liberty_parser/liberty_expr.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 20 | let mut buffer = liberty_expr_data::LibertyExpr::new(liberty_expr_data::LibertyExprOp::Buffer); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | buffer.set_port_name(String::from(pair.as_str())); [INFO] [stdout] 22 | Ok(Box::new(buffer)) [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/liberty_parser/liberty_expr.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | let zero = liberty_expr_data::LibertyExpr::new(liberty_expr_data::LibertyExprOp::Zero); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | Ok(Box::new(zero)) [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/liberty_parser/liberty_expr.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | let one = liberty_expr_data::LibertyExpr::new(liberty_expr_data::LibertyExprOp::One); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | Ok(Box::new(one)) [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/liberty_parser/liberty_expr.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 42 | let mut not = liberty_expr_data::LibertyExpr::new(liberty_expr_data::LibertyExprOp::Not); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let left = substitute_queue.pop_front().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | not.set_left(left); [INFO] [stdout] 45 | Ok(Box::new(not)) [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/liberty_parser/liberty_expr.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 82 | let op = liberty_expr_data::LibertyExpr::new(op_type); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | Ok(Box::new(op)) [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; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lib-parser` (lib test) due to 6 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c97bbe71217bec17f58d39b3dcd2008668d8517da6e556f877a0eccbc82f727c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c97bbe71217bec17f58d39b3dcd2008668d8517da6e556f877a0eccbc82f727c", kill_on_drop: false }` [INFO] [stdout] c97bbe71217bec17f58d39b3dcd2008668d8517da6e556f877a0eccbc82f727c