[INFO] fetching crate macro_tools 0.40.0... [INFO] checking macro_tools-0.40.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate macro_tools 0.40.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate macro_tools 0.40.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 macro_tools 0.40.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate macro_tools 0.40.0 [INFO] tweaked toml for crates.io crate macro_tools 0.40.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate macro_tools 0.40.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" "+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-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b7ebcddb37c703be8a1cdc94bab676e64669f3e2f4b7509244c1aa76bef0461 [INFO] running `Command { std: "docker" "start" "-a" "3b7ebcddb37c703be8a1cdc94bab676e64669f3e2f4b7509244c1aa76bef0461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b7ebcddb37c703be8a1cdc94bab676e64669f3e2f4b7509244c1aa76bef0461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b7ebcddb37c703be8a1cdc94bab676e64669f3e2f4b7509244c1aa76bef0461", kill_on_drop: false }` [INFO] [stdout] 3b7ebcddb37c703be8a1cdc94bab676e64669f3e2f4b7509244c1aa76bef0461 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1faf9ed72646e78ab652e6d0186e1315a1f7930578b2f0591771338280802ad [INFO] running `Command { std: "docker" "start" "-a" "b1faf9ed72646e78ab652e6d0186e1315a1f7930578b2f0591771338280802ad", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling interval_adapter v0.16.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling interval_adapter v0.19.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling derive_tools v0.19.0 [INFO] [stderr] Compiling derive_tools v0.21.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling trybuild v1.0.89 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking literally v0.1.3 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking implements v0.8.0 [INFO] [stderr] Checking is_slice v0.9.0 [INFO] [stderr] Checking for_each v0.8.0 [INFO] [stderr] Checking collection_tools v0.12.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking dissimilar v1.0.7 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking clone_dyn_types v0.23.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking error_tools v0.11.0 [INFO] [stderr] Checking data_type v0.7.0 [INFO] [stderr] Checking diagnostics_tools v0.8.0 [INFO] [stderr] Checking former_types v2.8.0 [INFO] [stderr] Checking mem_tools v0.6.0 [INFO] [stderr] Checking interval_adapter v0.24.0 [INFO] [stderr] Checking quote v1.0.36 [INFO] [stderr] Compiling inspect_type v0.10.0 [INFO] [stderr] Compiling test_tools v0.9.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Checking typing_tools v0.8.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking shared_child v1.0.0 [INFO] [stderr] Checking os_pipe v1.1.5 [INFO] [stderr] Checking duct v0.13.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking iter_tools v0.13.0 [INFO] [stderr] Checking iter_tools v0.21.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking const_format v0.2.32 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling iter_tools v0.16.0 [INFO] [stderr] Checking basic-toml v0.1.9 [INFO] [stderr] Checking macro_tools v0.40.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling macro_tools v0.21.0 [INFO] [stderr] Compiling macro_tools v0.24.0 [INFO] [stderr] Compiling derive_more-impl v1.0.0-beta.6 [INFO] [stderr] Compiling derive_tools_meta v0.16.0 [INFO] [stderr] Compiling derive_tools_meta v0.18.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling impls_index_meta v0.7.0 [INFO] [stderr] Compiling former_meta v0.12.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking impls_index v0.7.0 [INFO] [stderr] Compiling variadic_from v0.14.0 [INFO] [stderr] Compiling variadic_from v0.12.0 [INFO] [stderr] Checking former v0.13.0 [INFO] [stderr] Checking error_tools v0.13.0 [INFO] [stderr] Compiling derive_more v1.0.0-beta.6 [INFO] [stderr] Compiling mod_interface_meta v0.18.0 [INFO] [stderr] Compiling mod_interface_meta v0.16.0 [INFO] [stderr] Checking mod_interface v0.16.0 [INFO] [stderr] Checking proper_path_tools v0.3.0 [INFO] [stderr] Checking process_tools v0.2.0 [INFO] [stderr] Checking mod_interface v0.18.0 [INFO] [stderr] Checking meta_tools v0.10.0 [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> tests/smoke_test.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / #[ test ] [INFO] [stdout] 4 | | fn local_smoke_test() [INFO] [stdout] 5 | | { [INFO] [stdout] 6 | | ::test_tools::smoke_test_for_local_run(); [INFO] [stdout] ... | [INFO] [stdout] 13 | | ::test_tools::smoke_test_for_published_run(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W missing-docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `TokenStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/inc/./generic_params_test.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 165 | let generics = generics.unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | let ( _impl_with_def, impl_gen, ty_gen, where_gen ) = the_module::generic_params::decompose( &generics ); [INFO] [stdout] | -------------- -------- ------ --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | [INFO] [stdout] 168 | let impl_exp : syn::Generics = syn::parse_quote! { < T, U, > }; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | let ty_exp : syn::Generics = syn::parse_quote! { < T, U, > }; [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | assert_eq!( pt.bounded_ty.to_token_stream().to_string(), "U", "The second where clause should be for U" ); [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 `TokenStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/inc/./generic_params_test.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 217 | let generics = generics.unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | let ( _impl_with_def, impl_gen, ty_gen, where_gen ) = the_module::generic_params::decompose( &generics ); [INFO] [stdout] | -------------- -------- ------ --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | [INFO] [stdout] 220 | let impl_exp : syn::Generics = syn::parse_quote! { < T : Clone + Send, U : Default, > }; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 221 | let ty_exp : syn::Generics = syn::parse_quote! { < T, U, > }; [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 243 | assert_eq!( pt.bounded_ty.to_token_stream().to_string(), "U", "The second where clause should be for U" ); [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: this value of type `TokenStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/inc/./generic_params_test.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 322 | let generics = generics.unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 323 | let ( _impl_with_def, impl_gen, ty_gen, where_gen ) = the_module::generic_params::decompose( &generics ); [INFO] [stdout] | -------------- -------- ------ --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 324 | [INFO] [stdout] 325 | let impl_exp : syn::Generics = syn::parse_quote! { < 'a, T, const N : usize, U : Trait1, > }; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 326 | let ty_exp : syn::Generics = syn::parse_quote! { < 'a, T, N, U, > }; [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 347 | assert_eq!( pt.bounded_ty.to_token_stream().to_string(), "U", "The second where clause should be for U" ); [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: missing documentation for the crate [INFO] [stdout] --> tests/tests.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[ allow( unused_imports ) ] [INFO] [stdout] 2 | | use macro_tools as the_module; [INFO] [stdout] 3 | | #[ allow( unused_imports ) ] [INFO] [stdout] 4 | | use test_tools::exposed::*; [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | mod inc; [INFO] [stdout] | |________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W missing-docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `macro_tools` (test "tests") due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b1faf9ed72646e78ab652e6d0186e1315a1f7930578b2f0591771338280802ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1faf9ed72646e78ab652e6d0186e1315a1f7930578b2f0591771338280802ad", kill_on_drop: false }` [INFO] [stdout] b1faf9ed72646e78ab652e6d0186e1315a1f7930578b2f0591771338280802ad