[INFO] fetching crate fern 0.6.2... [INFO] checking fern-0.6.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate fern 0.6.2 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate fern 0.6.2 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 fern 0.6.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate fern 0.6.2 [INFO] tweaked toml for crates.io crate fern 0.6.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate fern 0.6.2 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] e7b5a26e83cff18c987feaedbd8d122048ad026754c1179aa15d5505db7e51c9 [INFO] running `Command { std: "docker" "start" "-a" "e7b5a26e83cff18c987feaedbd8d122048ad026754c1179aa15d5505db7e51c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7b5a26e83cff18c987feaedbd8d122048ad026754c1179aa15d5505db7e51c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7b5a26e83cff18c987feaedbd8d122048ad026754c1179aa15d5505db7e51c9", kill_on_drop: false }` [INFO] [stdout] e7b5a26e83cff18c987feaedbd8d122048ad026754c1179aa15d5505db7e51c9 [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] ae74a6c12d6dfca3325f28a70439ce063774c567ae00e6ba9799c7e5c2b88226 [INFO] running `Command { std: "docker" "start" "-a" "ae74a6c12d6dfca3325f28a70439ce063774c567ae00e6ba9799c7e5c2b88226", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling io-lifetimes v1.0.9 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling rustix v0.36.11 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking fern v0.6.2 (/opt/rustwide/workdir) [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/builders.rs:398:20 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn into_shared(self) -> SharedDispatch { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 395 | let (min_level, dispatch) = self.into_dispatch(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 398 | inner: Arc::new(dispatch), [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/builders.rs:765:16 [INFO] [stdout] | [INFO] [stdout] 764 | fn from(log: Dispatch) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 765 | Output(OutputInner::Dispatch(log)) [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/builders.rs:772:16 [INFO] [stdout] | [INFO] [stdout] 771 | fn from(log: SharedDispatch) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 772 | Output(OutputInner::SharedDispatch(log)) [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/builders.rs:779:16 [INFO] [stdout] | [INFO] [stdout] 778 | fn from(log: Box) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 779 | Output(OutputInner::OtherBoxed(log)) [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/builders.rs:796:16 [INFO] [stdout] | [INFO] [stdout] 795 | fn from(file: fs::File) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 796 | Output(OutputInner::File { [INFO] [stdout] | ________________^ [INFO] [stdout] 797 | | stream: file, [INFO] [stdout] 798 | | line_sep: "\n".into(), [INFO] [stdout] 799 | | }) [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/builders.rs:811:16 [INFO] [stdout] | [INFO] [stdout] 810 | fn from(writer: Box) -> Self { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 811 | Output(OutputInner::Writer { [INFO] [stdout] | ________________^ [INFO] [stdout] 812 | | stream: writer, [INFO] [stdout] 813 | | line_sep: "\n".into(), [INFO] [stdout] 814 | | }) [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/builders.rs:870:16 [INFO] [stdout] | [INFO] [stdout] 869 | fn from(stream: Sender) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 870 | Output(OutputInner::Sender { [INFO] [stdout] | ________________^ [INFO] [stdout] 871 | | stream, [INFO] [stdout] 872 | | line_sep: "\n".into(), [INFO] [stdout] 873 | | }) [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/builders.rs:998:16 [INFO] [stdout] | [INFO] [stdout] 997 | pub fn file>>(file: fs::File, line_sep: T) -> Self { [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] 998 | Output(OutputInner::File { [INFO] [stdout] | ________________^ [INFO] [stdout] 999 | | stream: file, [INFO] [stdout] 1000 | | line_sep: line_sep.into(), [INFO] [stdout] 1001 | | }) [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/builders.rs:1040:16 [INFO] [stdout] | [INFO] [stdout] 1039 | pub fn writer>>(writer: Box, line_sep: T) -> Self { [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] 1040 | Output(OutputInner::Writer { [INFO] [stdout] | ________________^ [INFO] [stdout] 1041 | | stream: writer, [INFO] [stdout] 1042 | | line_sep: line_sep.into(), [INFO] [stdout] 1043 | | }) [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/builders.rs:1144:16 [INFO] [stdout] | [INFO] [stdout] 1143 | pub fn stdout>>(line_sep: T) -> Self { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1144 | Output(OutputInner::Stdout { [INFO] [stdout] | ________________^ [INFO] [stdout] 1145 | | stream: io::stdout(), [INFO] [stdout] 1146 | | line_sep: line_sep.into(), [INFO] [stdout] 1147 | | }) [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/builders.rs:1167:16 [INFO] [stdout] | [INFO] [stdout] 1166 | pub fn stderr>>(line_sep: T) -> Self { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1167 | Output(OutputInner::Stderr { [INFO] [stdout] | ________________^ [INFO] [stdout] 1168 | | stream: io::stderr(), [INFO] [stdout] 1169 | | line_sep: line_sep.into(), [INFO] [stdout] 1170 | | }) [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/builders.rs:1190:16 [INFO] [stdout] | [INFO] [stdout] 1189 | pub fn sender>>(sender: Sender, line_sep: T) -> Self { [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] 1190 | Output(OutputInner::Sender { [INFO] [stdout] | ________________^ [INFO] [stdout] 1191 | | stream: sender, [INFO] [stdout] 1192 | | line_sep: line_sep.into(), [INFO] [stdout] 1193 | | }) [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/builders.rs:1284:20 [INFO] [stdout] | [INFO] [stdout] 1266 | pub fn call(func: F) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1284 | Self::from(Box::new(CallShim(func)) as Box) [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 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fern` (lib) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ae74a6c12d6dfca3325f28a70439ce063774c567ae00e6ba9799c7e5c2b88226", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae74a6c12d6dfca3325f28a70439ce063774c567ae00e6ba9799c7e5c2b88226", kill_on_drop: false }` [INFO] [stdout] ae74a6c12d6dfca3325f28a70439ce063774c567ae00e6ba9799c7e5c2b88226