[INFO] fetching crate jsonrpc-derive 18.0.0... [INFO] checking jsonrpc-derive-18.0.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate jsonrpc-derive 18.0.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate jsonrpc-derive 18.0.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 jsonrpc-derive 18.0.0 [INFO] finished tweaking crates.io crate jsonrpc-derive 18.0.0 [INFO] tweaked toml for crates.io crate jsonrpc-derive 18.0.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate jsonrpc-derive 18.0.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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 75624ef9cd1afe24e291ee7d9faa3b657b37825f733dd28458dd62ff4fd34393 [INFO] running `Command { std: "docker" "start" "-a" "75624ef9cd1afe24e291ee7d9faa3b657b37825f733dd28458dd62ff4fd34393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75624ef9cd1afe24e291ee7d9faa3b657b37825f733dd28458dd62ff4fd34393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75624ef9cd1afe24e291ee7d9faa3b657b37825f733dd28458dd62ff4fd34393", kill_on_drop: false }` [INFO] [stdout] 75624ef9cd1afe24e291ee7d9faa3b657b37825f733dd28458dd62ff4fd34393 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a7a7be4be171d66b7ba2a9017fb7410ac1775021bb91d06d72ca20226e0e53d2 [INFO] running `Command { std: "docker" "start" "-a" "a7a7be4be171d66b7ba2a9017fb7410ac1775021bb91d06d72ca20226e0e53d2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling tokio v1.8.2 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking tinyvec v1.3.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Compiling trybuild v1.0.42 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking proc-macro-crate v0.1.5 [INFO] [stderr] Checking jsonrpc-derive v18.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking jsonrpc-core v18.0.0 [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/lib.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn rpc(args: TokenStream, input: TokenStream) -> TokenStream { [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] 217 | let input_toks = parse_macro_input!(input as syn::Item); [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] 218 | let args = syn::parse_macro_input!(args as syn::AttributeArgs); [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] 225 | match rpc_trait::rpc_impl(input_toks, &options) { [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/options.rs:50:47 [INFO] [stdout] | [INFO] [stdout] 50 | ... .map_err(|e| syn::Error::new_spanned(nv.clone(), e))?; [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/rpc_trait.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 63 | let methods_result: Result> = item_trait [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | let methods = methods_result?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | [INFO] [stdout] 80 | let mut pubsub_method_pairs: HashMap, Option)> = HashMap::new(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | let mut method_registrations: Vec = Vec::new(); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | Ok((method_registrations, methods)) [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/to_delegate.rs:463:2 [INFO] [stdout] | [INFO] [stdout] 458 | let mut visitor = FindTyParams::default(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 461 | let additional_where_clause = item_trait.generics.where_clause.clone(); [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 462 | [INFO] [stdout] 463 | / item_trait [INFO] [stdout] 464 | | .generics [INFO] [stdout] 465 | | .type_params() [INFO] [stdout] 466 | | .map(|ty| { [INFO] [stdout] ... | [INFO] [stdout] 507 | | }) [INFO] [stdout] 508 | | }) [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/to_delegate.rs:502:30 [INFO] [stdout] | [INFO] [stdout] 467 | let ty_path = syn::TypePath { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 471 | let mut bounds: Punctuated = parse_quote!(Send + Sync + 'static); [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] 502 | syn::WherePredicate::Type(syn::PredicateType { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 503 | | lifetimes: None, [INFO] [stdout] 504 | | bounded_ty: syn::Type::Path(ty_path), [INFO] [stdout] 505 | | colon_token: ::default(), [INFO] [stdout] 506 | | bounds, [INFO] [stdout] 507 | | }) [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 `jsonrpc-derive` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a7a7be4be171d66b7ba2a9017fb7410ac1775021bb91d06d72ca20226e0e53d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7a7be4be171d66b7ba2a9017fb7410ac1775021bb91d06d72ca20226e0e53d2", kill_on_drop: false }` [INFO] [stdout] a7a7be4be171d66b7ba2a9017fb7410ac1775021bb91d06d72ca20226e0e53d2