[INFO] fetching crate mysqldump-mutator 0.0.1... [INFO] checking mysqldump-mutator-0.0.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate mysqldump-mutator 0.0.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate mysqldump-mutator 0.0.1 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 mysqldump-mutator 0.0.1 [INFO] finished tweaking crates.io crate mysqldump-mutator 0.0.1 [INFO] tweaked toml for crates.io crate mysqldump-mutator 0.0.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 45 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (latest: v0.7.6) [INFO] [stderr] Adding bigdecimal v0.1.2 (latest: v0.4.5) [INFO] [stderr] Adding colored v1.9.4 (latest: v2.1.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding num-bigint v0.2.6 (latest: v0.4.6) [INFO] [stderr] Adding simple_logger v1.16.0 (latest: v5.0.0) [INFO] [stderr] Adding utf8-chars v0.1.4 (latest: v3.0.3) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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] 940d408271ac3fbd599130fa2e3f229666274356c94696c570882cde19bce651 [INFO] running `Command { std: "docker" "start" "-a" "940d408271ac3fbd599130fa2e3f229666274356c94696c570882cde19bce651", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "940d408271ac3fbd599130fa2e3f229666274356c94696c570882cde19bce651", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "940d408271ac3fbd599130fa2e3f229666274356c94696c570882cde19bce651", kill_on_drop: false }` [INFO] [stdout] 940d408271ac3fbd599130fa2e3f229666274356c94696c570882cde19bce651 [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] 33bd136dfccbd0c564f49bfec9468e34e3cbe2df1c8a604cb5c52d234e58a08b [INFO] running `Command { std: "docker" "start" "-a" "33bd136dfccbd0c564f49bfec9468e34e3cbe2df1c8a604cb5c52d234e58a08b", kill_on_drop: false }` [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking utf8-chars v0.1.4 [INFO] [stderr] Checking mysqldump-mutator v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Cte`, `Fetch`, `OrderByExpr`, `SetOperator`, `TableAlias`, and `Top` [INFO] [stdout] --> src/ast/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Cte, Fetch, OrderByExpr, Query, SetExpr, SetOperator, TableAlias, Top, Values, [INFO] [stdout] | ^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::ansi::AnsiDialect` [INFO] [stdout] --> src/dialect/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use self::ansi::AnsiDialect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::generic::GenericDialect` [INFO] [stdout] --> src/dialect/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use self::generic::GenericDialect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::mssql::MsSqlDialect` [INFO] [stdout] --> src/dialect/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use self::mssql::MsSqlDialect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::postgresql::PostgreSqlDialect` [INFO] [stdout] --> src/dialect/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use self::postgresql::PostgreSqlDialect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser.rs:1128:21 [INFO] [stdout] | [INFO] [stdout] 1128 | Err(e) => parser_err!(format!("Could not parse '{}' as number: {}", n, e)), [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] 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:241:24 [INFO] [stdout] | [INFO] [stdout] 237 | fn new(sql: &'a mut R, handler: H, commit_handler: CH) -> Self { [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] ... [INFO] [stdout] 241 | tokenizer: Tokenizer::new(MySqlDialect {}, sql), [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:244:28 [INFO] [stdout] | [INFO] [stdout] 237 | fn new(sql: &'a mut R, handler: H, commit_handler: CH) -> Self { [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] ... [INFO] [stdout] 244 | value_handler: Some(handler), [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/parser.rs:245:29 [INFO] [stdout] | [INFO] [stdout] 237 | fn new(sql: &'a mut R, handler: H, commit_handler: CH) -> Self { [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] ... [INFO] [stdout] 245 | commit_handler: Some(commit_handler), [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/parser.rs:466:12 [INFO] [stdout] | [INFO] [stdout] 460 | fn parse_between(&mut self, expr: Expr, negated: bool) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 463 | let low = self.parse_subexpr(Self::BETWEEN_PREC)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 464 | self.expect_keyword("AND")?; [INFO] [stdout] 465 | let high = self.parse_subexpr(Self::BETWEEN_PREC)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 466 | Ok(Expr::Between { [INFO] [stdout] | ____________^ [INFO] [stdout] 467 | | expr: Box::new(expr), [INFO] [stdout] 468 | | negated, [INFO] [stdout] 469 | | low: Box::new(low), [INFO] [stdout] 470 | | high: Box::new(high), [INFO] [stdout] 471 | | }) [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] | [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:476:12 [INFO] [stdout] | [INFO] [stdout] 475 | fn parse_pg_cast(&mut self, expr: Expr) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 476 | Ok(Expr::Cast { [INFO] [stdout] | ____________^ [INFO] [stdout] 477 | | expr: Box::new(expr), [INFO] [stdout] 478 | | data_type: self.parse_data_type()?, [INFO] [stdout] 479 | | }) [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/parser.rs:898:12 [INFO] [stdout] | [INFO] [stdout] 834 | let mut columns = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 835 | let mut constraints = vec![]; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 898 | Ok((columns, constraints)) [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/parser.rs:1317:12 [INFO] [stdout] | [INFO] [stdout] 1305 | let ctes = vec![]; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1306 | [INFO] [stdout] 1307 | let body = self.parse_query_body(0)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1308 | [INFO] [stdout] 1309 | let order_by = vec![]; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1310 | [INFO] [stdout] 1311 | let limit = None; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1312 | [INFO] [stdout] 1313 | let offset = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1314 | [INFO] [stdout] 1315 | let fetch = None; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1316 | [INFO] [stdout] 1317 | Ok(Query { [INFO] [stdout] | ____________^ [INFO] [stdout] 1318 | | ctes, [INFO] [stdout] 1319 | | body, [INFO] [stdout] 1320 | | limit, [INFO] [stdout] ... | [INFO] [stdout] 1323 | | fetch, [INFO] [stdout] 1324 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/parser.rs:1382:12 [INFO] [stdout] | [INFO] [stdout] 1369 | let _values = self.parse_comma_separated(|parser| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1382 | Ok(Values(vec![])) [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/tokenizer.rs:280:20 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn new(dialect: D, query: &'a mut R) -> Self { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 280 | query: query.chars().peekable(), [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 9 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mysqldump-mutator` (lib) due to 10 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "33bd136dfccbd0c564f49bfec9468e34e3cbe2df1c8a604cb5c52d234e58a08b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33bd136dfccbd0c564f49bfec9468e34e3cbe2df1c8a604cb5c52d234e58a08b", kill_on_drop: false }` [INFO] [stdout] 33bd136dfccbd0c564f49bfec9468e34e3cbe2df1c8a604cb5c52d234e58a08b