[INFO] fetching crate oscar-io 0.4.0... [INFO] checking oscar-io-0.4.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate oscar-io 0.4.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate oscar-io 0.4.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 oscar-io 0.4.0 [INFO] finished tweaking crates.io crate oscar-io 0.4.0 [INFO] tweaked toml for crates.io crate oscar-io 0.4.0 written to /workspace/builds/worker-2-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 118 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (latest: v0.7.6) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding crc v1.8.1 (latest: v3.2.1) [INFO] [stderr] Adding digest v0.9.0 (latest: v0.10.7) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.15) [INFO] [stderr] Adding heck v0.3.3 (latest: v0.5.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding lexical-core v0.7.6 (latest: v0.8.5) [INFO] [stderr] Adding libflate v1.4.0 (latest: v2.1.0) [INFO] [stderr] Adding libflate_lz77 v1.2.0 (latest: v2.1.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding nom v5.1.3 (latest: v7.1.3) [INFO] [stderr] Adding num-bigint v0.2.6 (latest: v0.4.6) [INFO] [stderr] Adding rand v0.7.3 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (latest: v0.3.2) [INFO] [stderr] Adding snap v0.2.5 (latest: v1.1.1) [INFO] [stderr] Adding strum v0.18.0 (latest: v0.26.3) [INFO] [stderr] Adding strum_macros v0.18.0 (latest: v0.26.4) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (latest: v0.13.1) [INFO] [stderr] Adding typed-builder v0.5.1 (latest: v0.20.0) [INFO] [stderr] Adding uuid v0.8.2 (latest: v1.10.0) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding zerocopy v0.3.2 (latest: v0.7.35) [INFO] [stderr] Adding zerocopy-derive v0.2.0 (latest: v0.7.35) [INFO] [stderr] Adding zstd v0.12.4 (latest: v0.13.2) [INFO] [stderr] Adding zstd-safe v6.0.6 (latest: v7.2.1) [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 9757294637e4730e3e2e0c174089dc8ee4c2c19da9a461fb1d953a6170bb9a09 [INFO] running `Command { std: "docker" "start" "-a" "9757294637e4730e3e2e0c174089dc8ee4c2c19da9a461fb1d953a6170bb9a09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9757294637e4730e3e2e0c174089dc8ee4c2c19da9a461fb1d953a6170bb9a09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9757294637e4730e3e2e0c174089dc8ee4c2c19da9a461fb1d953a6170bb9a09", kill_on_drop: false }` [INFO] [stdout] 9757294637e4730e3e2e0c174089dc8ee4c2c19da9a461fb1d953a6170bb9a09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] ff88224e1c654d023ddfe5b518a79c7e7dc298fed2fd12a5ee3b6fc1bd496658 [INFO] running `Command { std: "docker" "start" "-a" "ff88224e1c654d023ddfe5b518a79c7e7dc298fed2fd12a5ee3b6fc1bd496658", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Checking libflate_lz77 v1.2.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking libflate v1.4.0 [INFO] [stderr] Checking snap v0.2.5 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking strum v0.18.0 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerocopy-derive v0.2.0 [INFO] [stderr] Compiling typed-builder v0.5.1 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking zerocopy v0.3.2 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking zstd v0.12.4 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking oxilangtag v0.1.5 [INFO] [stderr] Checking warc v0.3.2 [INFO] [stderr] Checking avro-rs v0.13.0 [INFO] [stderr] Checking oscar-io v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `avro` [INFO] [stdout] --> src/oscar_doc/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "avro")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `avro` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `avro` [INFO] [stdout] --> src/oscar_doc/reader.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "avro")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `avro` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `avro` [INFO] [stdout] --> src/oscar_doc/reader.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(feature = "avro")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `avro` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `avro` [INFO] [stdout] --> src/oscar_doc/reader.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(feature = "avro")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `avro` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `avro` [INFO] [stdout] --> src/oscar_doc/reader.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(feature = "avro")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `avro` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `avro` [INFO] [stdout] --> src/oscar_doc/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "avro")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `avro` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `avro` [INFO] [stdout] --> src/oscar_doc/reader.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "avro")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `avro` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `avro` [INFO] [stdout] --> src/oscar_doc/reader.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(feature = "avro")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `avro` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `avro` [INFO] [stdout] --> src/oscar_doc/reader.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(feature = "avro")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `avro` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `avro` [INFO] [stdout] --> src/oscar_doc/reader.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(feature = "avro")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `avro` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread` and `time` [INFO] [stdout] --> src/v3/writer/writer.rs:204:36 [INFO] [stdout] | [INFO] [stdout] 204 | use std::{fs::File, io::Write, thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Identifier` is never used [INFO] [stdout] --> src/common/identification.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub trait Identifier + Clone> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/v3/reader.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 26 | let metahandler = File::open(src)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let br = BufReader::new(metahandler); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | let lines = br.lines(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Ok(Self { lines }) [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] = 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/v3/reader.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 41 | let meta_str = self.lines.next(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | Some(Err(e)) => return Some(Err(Error::Io(e))), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | Some(serde_json::from_str::(&meta_str).map_err(Error::SerdeJson)) [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/v3/writer/writer.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 44 | let writer = Self::new_writer(&filepath, comp.as_ref())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | [INFO] [stdout] 46 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 47 | | dir: dir.to_path_buf(), [INFO] [stdout] 48 | | file_stem, [INFO] [stdout] 49 | | comp, [INFO] [stdout] ... | [INFO] [stdout] 53 | | nb_files: 1, [INFO] [stdout] 54 | | }) [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] | [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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oscar-io` (lib) due to 4 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait `Identifier` is never used [INFO] [stdout] --> src/common/identification.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub trait Identifier + Clone> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/oscar_doc/writer.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 57 | let f = File::open("tests/res/data.jsonl").unwrap(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | let r = BufReader::new(f); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let cr = Reader::new(r); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | cr.map(|x| x.unwrap()).collect() [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/v3/reader.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 26 | let metahandler = File::open(src)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let br = BufReader::new(metahandler); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | let lines = br.lines(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Ok(Self { lines }) [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] = 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/v3/reader.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 41 | let meta_str = self.lines.next(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | Some(Err(e)) => return Some(Err(Error::Io(e))), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | Some(serde_json::from_str::(&meta_str).map_err(Error::SerdeJson)) [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: unused `Result` that must be used [INFO] [stdout] --> src/v3/writer/docwriter.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | wr.handle.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 125 | let _ = wr.handle.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/v3/writer/docwriter.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | dbg!(std::fs::read_to_string(&pathd)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (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/v3/writer/writer.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 44 | let writer = Self::new_writer(&filepath, comp.as_ref())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | [INFO] [stdout] 46 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 47 | | dir: dir.to_path_buf(), [INFO] [stdout] 48 | | file_stem, [INFO] [stdout] 49 | | comp, [INFO] [stdout] ... | [INFO] [stdout] 53 | | nb_files: 1, [INFO] [stdout] 54 | | }) [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] | [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 4 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oscar-io` (lib test) due to 5 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ff88224e1c654d023ddfe5b518a79c7e7dc298fed2fd12a5ee3b6fc1bd496658", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff88224e1c654d023ddfe5b518a79c7e7dc298fed2fd12a5ee3b6fc1bd496658", kill_on_drop: false }` [INFO] [stdout] ff88224e1c654d023ddfe5b518a79c7e7dc298fed2fd12a5ee3b6fc1bd496658