[INFO] fetching crate derive-sql-statement 0.12.1... [INFO] checking derive-sql-statement-0.12.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate derive-sql-statement 0.12.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate derive-sql-statement 0.12.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate derive-sql-statement 0.12.1 [INFO] finished tweaking crates.io crate derive-sql-statement 0.12.1 [INFO] tweaked toml for crates.io crate derive-sql-statement 0.12.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate derive-sql-statement 0.12.1 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17e583880422bafe91e14f0eeddbfcce9b69fc4e4e31935d327a3b73fa802c06 [INFO] running `Command { std: "docker" "start" "-a" "17e583880422bafe91e14f0eeddbfcce9b69fc4e4e31935d327a3b73fa802c06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17e583880422bafe91e14f0eeddbfcce9b69fc4e4e31935d327a3b73fa802c06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17e583880422bafe91e14f0eeddbfcce9b69fc4e4e31935d327a3b73fa802c06", kill_on_drop: false }` [INFO] [stdout] 17e583880422bafe91e14f0eeddbfcce9b69fc4e4e31935d327a3b73fa802c06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95c7d6b33f37ae89bce30a6f9ffc09f308d7932f7776dd5c788cbc1da2c26ebd [INFO] running `Command { std: "docker" "start" "-a" "95c7d6b33f37ae89bce30a6f9ffc09f308d7932f7776dd5c788cbc1da2c26ebd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.157 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling collection_literals v1.0.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bindgen v0.70.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling proc-macro-utils v0.8.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Compiling manyhow-macros v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling libz-sys v1.1.19 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Compiling mysql v24.0.0 [INFO] [stderr] Checking pem v2.0.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Compiling manyhow v0.8.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Compiling derive_utils v0.14.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling derive-where v1.2.7 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Compiling frunk_proc_macros v0.1.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling io-enum v1.1.3 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking frunk v0.4.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling quote-use-macros v0.7.2 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking lru v0.10.1 [INFO] [stderr] Compiling quote-use v0.7.2 [INFO] [stderr] Compiling attribute-derive-macro v0.8.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Compiling attribute-derive v0.8.1 [INFO] [stderr] Checking derive-sql-common v0.12.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking derive-sql-statement v0.12.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/statement.rs:12:64 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a> TryFrom<&'a syn::DeriveInput> for Statement<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 11 | type Error = syn::parse::Error; [INFO] [stdout] 12 | fn try_from(ast: &'a syn::DeriveInput) -> syn::parse::Result { [INFO] [stdout] | ^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling derive-sql-statement v0.12.0 [INFO] [stderr] Compiling derive-sql-mysql v0.12.1 [INFO] [stderr] Compiling derive-sql-sqlite v0.12.1 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/statement.rs:12:64 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a> TryFrom<&'a syn::DeriveInput> for Statement<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 11 | type Error = syn::parse::Error; [INFO] [stdout] 12 | fn try_from(ast: &'a syn::DeriveInput) -> syn::parse::Result { [INFO] [stdout] | ^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling mysql-common-derive v0.30.2 [INFO] [stderr] Checking rusqlite v0.32.1 [INFO] [stderr] Compiling mysql_common v0.30.6 [INFO] [stderr] Checking derive-sql v0.11.3 [INFO] [stdout] warning: unused imports: `Delete` and `Update` [INFO] [stdout] --> examples/attributes.rs:40:53 [INFO] [stdout] | [INFO] [stdout] 40 | use derive_sql::traits::{Table, SelectV2, Insert, Delete, Update}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `structs::filter` [INFO] [stdout] --> examples/simple.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use derive_sql::{traits, structs::Field, structs::filter, structs::order}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result<(), derive_sql::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/attributes.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 27 | let mut conn = mysql::Conn::new( [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | if let Err(e) = sample(&mut conn) { [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: this value of type `Result<(), Box>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/simple.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 25 | let mut conn = mysql::Conn::new( [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | let mut conn = rusqlite::Connection::open_in_memory().unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | if let Err(e) = sample(&mut conn) { [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: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `derive-sql-statement` (example "attributes") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `derive-sql-statement` (example "simple") due to 2 previous errors; 1 warning emitted [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/statement.rs:12:64 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a> TryFrom<&'a syn::DeriveInput> for Statement<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 11 | type Error = syn::parse::Error; [INFO] [stdout] 12 | fn try_from(ast: &'a syn::DeriveInput) -> syn::parse::Result { [INFO] [stdout] | ^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "95c7d6b33f37ae89bce30a6f9ffc09f308d7932f7776dd5c788cbc1da2c26ebd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95c7d6b33f37ae89bce30a6f9ffc09f308d7932f7776dd5c788cbc1da2c26ebd", kill_on_drop: false }` [INFO] [stdout] 95c7d6b33f37ae89bce30a6f9ffc09f308d7932f7776dd5c788cbc1da2c26ebd