[INFO] fetching crate time-macros 0.2.18... [INFO] checking time-macros-0.2.18 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate time-macros 0.2.18 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate time-macros 0.2.18 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 time-macros 0.2.18 [INFO] finished tweaking crates.io crate time-macros 0.2.18 [INFO] tweaked toml for crates.io crate time-macros 0.2.18 written to /workspace/builds/worker-0-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 3 packages to latest compatible versions [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 6396e0efb778ccae98933e5206ab83ad59a25cf7c4bcf1f13b28e065d6a75984 [INFO] running `Command { std: "docker" "start" "-a" "6396e0efb778ccae98933e5206ab83ad59a25cf7c4bcf1f13b28e065d6a75984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6396e0efb778ccae98933e5206ab83ad59a25cf7c4bcf1f13b28e065d6a75984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6396e0efb778ccae98933e5206ab83ad59a25cf7c4bcf1f13b28e065d6a75984", kill_on_drop: false }` [INFO] [stdout] 6396e0efb778ccae98933e5206ab83ad59a25cf7c4bcf1f13b28e065d6a75984 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 07f80452d056c5bce1847879c76bc3ac0dc219acfb290f1ee4433f78d526847d [INFO] running `Command { std: "docker" "start" "-a" "07f80452d056c5bce1847879c76bc3ac0dc219acfb290f1ee4433f78d526847d", kill_on_drop: false }` [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking time-macros v0.2.18 (/opt/rustwide/workdir) [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/helpers/mod.rs:100:6 [INFO] [stdout] | [INFO] [stdout] 100 | .cast_unsigned() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `cast_unsigned(...)` to keep using the current method [INFO] [stdout] = note: requested on the command line with `-W unstable-name-collisions` [INFO] [stdout] help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_unsigned` [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 + #![feature(integer_sign_cast)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/helpers/mod.rs:100:6 [INFO] [stdout] | [INFO] [stdout] 100 | .cast_unsigned() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `cast_unsigned(...)` to keep using the current method [INFO] [stdout] = note: requested on the command line with `-W unstable-name-collisions` [INFO] [stdout] help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_unsigned` [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 + #![feature(integer_sign_cast)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/offset.rs:63:44 [INFO] [stdout] | [INFO] [stdout] 63 | } else if minutes >= Minute::per(Hour).cast_signed() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 + #![feature(integer_sign_cast)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/offset.rs:63:44 [INFO] [stdout] | [INFO] [stdout] 63 | } else if minutes >= Minute::per(Hour).cast_signed() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 + #![feature(integer_sign_cast)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/offset.rs:70:46 [INFO] [stdout] | [INFO] [stdout] 70 | } else if seconds >= Second::per(Minute).cast_signed() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 + #![feature(integer_sign_cast)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/offset.rs:70:46 [INFO] [stdout] | [INFO] [stdout] 70 | } else if seconds >= Second::per(Minute).cast_signed() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `cast_signed(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(integer_sign_cast)]` to the crate attributes to enable `core::num::::cast_signed` [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 + #![feature(integer_sign_cast)] [INFO] [stdout] | [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/lib.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn $name(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] 48 | let mut iter = input.into_iter().peekable(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | match $name::parse(&mut iter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | impl_macros![date datetime offset time]; [INFO] [stdout] | --------------------------------------- in this macro invocation [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] = note: this error originates in the macro `impl_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [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/quote.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 4 | let mut ts = ::proc_macro::TokenStream::new(); [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] 20 | ::proc_macro::TokenTree::Group(::proc_macro::Group::new( [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 21 | | ::proc_macro::Delimiter::Brace, [INFO] [stdout] 22 | | quote!($($x)*) [INFO] [stdout] 23 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/datetime.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | let (type_name, maybe_offset) = match self.offset { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | / quote_group! {{ [INFO] [stdout] 50 | | const DATE_TIME: ::time::#(type_name) = ::time::PrimitiveDateTime::new( [INFO] [stdout] 51 | | #(self.date), [INFO] [stdout] 52 | | #(self.time), [INFO] [stdout] 53 | | ) #S(maybe_offset); [INFO] [stdout] 54 | | DATE_TIME [INFO] [stdout] 55 | | }} [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `quote_group` (in Nightly builds, run with -Z macro-backtrace for more info) [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_tokens.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 15 | fn append_to(self, ts: &mut TokenStream) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | ts.extend([self.into_token_tree()]) [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/lib.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn $name(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] 48 | let mut iter = input.into_iter().peekable(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | match $name::parse(&mut iter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | impl_macros![date datetime offset time]; [INFO] [stdout] | --------------------------------------- in this macro invocation [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] = note: this error originates in the macro `impl_macros` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [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/quote.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 4 | let mut ts = ::proc_macro::TokenStream::new(); [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] 20 | ::proc_macro::TokenTree::Group(::proc_macro::Group::new( [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 21 | | ::proc_macro::Delimiter::Brace, [INFO] [stdout] 22 | | quote!($($x)*) [INFO] [stdout] 23 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/datetime.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | let (type_name, maybe_offset) = match self.offset { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | / quote_group! {{ [INFO] [stdout] 50 | | const DATE_TIME: ::time::#(type_name) = ::time::PrimitiveDateTime::new( [INFO] [stdout] 51 | | #(self.date), [INFO] [stdout] 52 | | #(self.time), [INFO] [stdout] 53 | | ) #S(maybe_offset); [INFO] [stdout] 54 | | DATE_TIME [INFO] [stdout] 55 | | }} [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `quote_group` (in Nightly builds, run with -Z macro-backtrace for more info) [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_tokens.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 15 | fn append_to(self, ts: &mut TokenStream) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | ts.extend([self.into_token_tree()]) [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 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `time-macros` (lib test) due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `time-macros` (lib) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "07f80452d056c5bce1847879c76bc3ac0dc219acfb290f1ee4433f78d526847d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07f80452d056c5bce1847879c76bc3ac0dc219acfb290f1ee4433f78d526847d", kill_on_drop: false }` [INFO] [stdout] 07f80452d056c5bce1847879c76bc3ac0dc219acfb290f1ee4433f78d526847d