[INFO] fetching crate numbat-wasm-derive 0.0.0... [INFO] checking numbat-wasm-derive-0.0.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate numbat-wasm-derive 0.0.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate numbat-wasm-derive 0.0.0 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 numbat-wasm-derive 0.0.0 [INFO] finished tweaking crates.io crate numbat-wasm-derive 0.0.0 [INFO] tweaked toml for crates.io crate numbat-wasm-derive 0.0.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [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] 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] 69d45855bfdb920ad03ad751acc55c914b624ba9fcbc47835e8cc6e4438fcf82 [INFO] running `Command { std: "docker" "start" "-a" "69d45855bfdb920ad03ad751acc55c914b624ba9fcbc47835e8cc6e4438fcf82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69d45855bfdb920ad03ad751acc55c914b624ba9fcbc47835e8cc6e4438fcf82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69d45855bfdb920ad03ad751acc55c914b624ba9fcbc47835e8cc6e4438fcf82", kill_on_drop: false }` [INFO] [stdout] 69d45855bfdb920ad03ad751acc55c914b624ba9fcbc47835e8cc6e4438fcf82 [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] ea8f0fe195285fe9155f3dc7fdc1c8859fc211286869f7a722977e7f31032e01 [INFO] running `Command { std: "docker" "start" "-a" "ea8f0fe195285fe9155f3dc7fdc1c8859fc211286869f7a722977e7f31032e01", kill_on_drop: false }` [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking numbat-wasm-derive v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/contract_gen_callback.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | let arg_init_snippets: Vec = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | let match_arm = quote! { [INFO] [stdout] | _________________________________________- [INFO] [stdout] | |_________________________________________| [INFO] [stdout] 88 | | #fn_name_literal => [INFO] [stdout] 89 | | { [INFO] [stdout] 90 | | let mut ___cb_arg_loader = CallDataArgLoader::new(cb_data_deserializer); [INFO] [stdout] ... | [INFO] [stdout] 94 | | }, [INFO] [stdout] 95 | | }; [INFO] [stdout] | | - [INFO] [stdout] | |_________________________| [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/contract_gen_storage.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 19 | let id_literal = array_literal(identifier.as_bytes()); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | let key_appends: Vec = key_args.iter().map(|arg| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | / quote! { [INFO] [stdout] 36 | | let mut key: Vec = #id_literal.to_vec(); [INFO] [stdout] 37 | | #(#key_appends)* [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________- these local bindings with significant drop implementation may 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: this value of type `ReturnType` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/contract_gen_storage.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 43 | let msig = m.generate_sig(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let key_snippet = generate_key_snippet(&m.method_args.as_slice(), identifier); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | match m.return_type.clone() { [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] warning: panic message is not a string literal [INFO] [stdout] --> src/util.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | ... panic!(bad_self_ref) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 42 | panic!("{}", bad_self_ref) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/util.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | _ => panic!(bad_self_ref), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 45 | _ => panic!("{}", bad_self_ref), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `numbat-wasm-derive` (lib test) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/contract_gen_callback.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | let arg_init_snippets: Vec = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | let match_arm = quote! { [INFO] [stdout] | _________________________________________- [INFO] [stdout] | |_________________________________________| [INFO] [stdout] 88 | | #fn_name_literal => [INFO] [stdout] 89 | | { [INFO] [stdout] 90 | | let mut ___cb_arg_loader = CallDataArgLoader::new(cb_data_deserializer); [INFO] [stdout] ... | [INFO] [stdout] 94 | | }, [INFO] [stdout] 95 | | }; [INFO] [stdout] | | - [INFO] [stdout] | |_________________________| [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/contract_gen_storage.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 19 | let id_literal = array_literal(identifier.as_bytes()); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | let key_appends: Vec = key_args.iter().map(|arg| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | / quote! { [INFO] [stdout] 36 | | let mut key: Vec = #id_literal.to_vec(); [INFO] [stdout] 37 | | #(#key_appends)* [INFO] [stdout] 38 | | } [INFO] [stdout] | |_________- these local bindings with significant drop implementation may 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: this value of type `ReturnType` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/contract_gen_storage.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 43 | let msig = m.generate_sig(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let key_snippet = generate_key_snippet(&m.method_args.as_slice(), identifier); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | match m.return_type.clone() { [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] warning: panic message is not a string literal [INFO] [stdout] --> src/util.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | ... panic!(bad_self_ref) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 42 | panic!("{}", bad_self_ref) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/util.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | _ => panic!(bad_self_ref), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 45 | _ => panic!("{}", bad_self_ref), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `numbat-wasm-derive` (lib) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ea8f0fe195285fe9155f3dc7fdc1c8859fc211286869f7a722977e7f31032e01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea8f0fe195285fe9155f3dc7fdc1c8859fc211286869f7a722977e7f31032e01", kill_on_drop: false }` [INFO] [stdout] ea8f0fe195285fe9155f3dc7fdc1c8859fc211286869f7a722977e7f31032e01