[INFO] fetching crate wyrcan 2.1.2... [INFO] checking wyrcan-2.1.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate wyrcan 2.1.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate wyrcan 2.1.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 wyrcan 2.1.2 [INFO] finished tweaking crates.io crate wyrcan 2.1.2 [INFO] tweaked toml for crates.io crate wyrcan 2.1.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate wyrcan 2.1.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-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] 5ba7c908befeb12ceac531dccf9cdda616a2087758d6457aedf7ac696a759f78 [INFO] running `Command { std: "docker" "start" "-a" "5ba7c908befeb12ceac531dccf9cdda616a2087758d6457aedf7ac696a759f78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ba7c908befeb12ceac531dccf9cdda616a2087758d6457aedf7ac696a759f78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ba7c908befeb12ceac531dccf9cdda616a2087758d6457aedf7ac696a759f78", kill_on_drop: false }` [INFO] [stdout] 5ba7c908befeb12ceac531dccf9cdda616a2087758d6457aedf7ac696a759f78 [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] 514ad24d00fac95a6d3bd119315f80b3b8e4f83388ac21bab74976b7d30b3d15 [INFO] running `Command { std: "docker" "start" "-a" "514ad24d00fac95a6d3bd119315f80b3b8e4f83388ac21bab74976b7d30b3d15", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking iocuddle v0.1.1 [INFO] [stderr] Checking cpio v0.2.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking tar v0.4.38 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Checking clap v3.1.6 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki-roots v0.22.2 [INFO] [stderr] Checking ureq v2.4.0 [INFO] [stderr] Checking wyrcan v2.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/formats/mod.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | DockerV2List(docker::v2::ManifestList), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Manifest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 | DockerV2List(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `schema_version`, `name`, `tag`, `architecture`, and `history` are never read [INFO] [stdout] --> src/formats/docker/v1.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Manifest { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 19 | #[serde(rename = "schemaVersion")] [INFO] [stdout] 20 | pub schema_version: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 21 | [INFO] [stdout] 22 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | [INFO] [stdout] 24 | pub tag: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | [INFO] [stdout] 26 | pub architecture: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub history: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Manifest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `architecture`, `os`, `os_version`, `os_features`, `variant`, and `features` are never read [INFO] [stdout] --> src/formats/docker/v2.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Platform { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 10 | pub architecture: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | [INFO] [stdout] 12 | pub os: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub os_version: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub os_features: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | [INFO] [stdout] 20 | pub variant: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub features: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Platform` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `media_type`, `size`, `digest`, and `platform` are never read [INFO] [stdout] --> src/formats/docker/v2.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 28 | #[serde(rename = "mediaType")] [INFO] [stdout] 29 | pub media_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | [INFO] [stdout] 31 | pub size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | [INFO] [stdout] 33 | pub digest: Digest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | [INFO] [stdout] 35 | pub platform: Platform, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `schema_version`, `media_type`, and `manifests` are never read [INFO] [stdout] --> src/formats/docker/v2.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct ManifestList { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 40 | #[serde(rename = "schemaVersion")] [INFO] [stdout] 41 | pub schema_version: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub media_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 45 | [INFO] [stdout] 46 | pub manifests: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ManifestList` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `media_type`, `size`, and `digest` are never read [INFO] [stdout] --> src/formats/docker/v2.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 51 | #[serde(rename = "mediaType")] [INFO] [stdout] 52 | pub media_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 53 | [INFO] [stdout] 54 | pub size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 55 | [INFO] [stdout] 56 | pub digest: Digest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `urls` is never read [INFO] [stdout] --> src/formats/docker/v2.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Layer { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 69 | pub urls: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Layer` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `schema_version`, `media_type`, and `config` are never read [INFO] [stdout] --> src/formats/docker/v2.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Manifest { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 74 | #[serde(rename = "schemaVersion")] [INFO] [stdout] 75 | pub schema_version: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub media_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 79 | [INFO] [stdout] 80 | pub config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Manifest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `annotations` is never read [INFO] [stdout] --> src/formats/oci.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Descriptor { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub annotations: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Descriptor` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `schema_version`, `media_type`, `config`, and `annotations` are never read [INFO] [stdout] --> src/formats/oci.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Manifest { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 28 | #[serde(rename = "schemaVersion")] [INFO] [stdout] 29 | pub schema_version: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub media_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | [INFO] [stdout] 34 | pub config: Descriptor, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub annotations: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Manifest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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/api/layer.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 55 | let rep = self.repo.get(&path, &[])?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let validator = Validator::new(rep.into_reader(), self.level.digest.clone()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | Ok((len, validator)) [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/api/repository.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 68 | let mut req = ureq::get(&url); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | match req.call() { [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/cmdline.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(cmdline: T) -> std::io::Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | Err(ErrorKind::InvalidData.into()) [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/commands/unpacker.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 34 | .filter_map(|x| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | / x.map(|(entry, path)| { [INFO] [stdout] 36 | | if self.unpacker.skip(self.level, path) { [INFO] [stdout] 37 | | return None; [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | [INFO] [stdout] 40 | | Some(entry) [INFO] [stdout] 41 | | }) [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/commands/unpacker.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 56 | let already = RwLock::new(Vec::new()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | [INFO] [stdout] 58 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 59 | | progress, [INFO] [stdout] 60 | | already, [INFO] [stdout] 61 | | layers, [INFO] [stdout] 62 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/iotools/threaded.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(mut reader: R) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let (tx, rx) = channel(); [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] 28 | let thread = spawn(move || { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | thread: Some(thread), [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/iotools/threaded.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(mut reader: R) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let (tx, rx) = channel(); [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] 28 | let thread = spawn(move || { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | rx: Some(rx), [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/iotools/validator.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(reader: R, writer: W) -> 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] 25 | Self(Siphon::new(reader, writer)) [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 8 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/formats/mod.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | DockerV2List(docker::v2::ManifestList), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Manifest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 | DockerV2List(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `schema_version`, `name`, `tag`, `architecture`, and `history` are never read [INFO] [stdout] --> src/formats/docker/v1.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Manifest { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 19 | #[serde(rename = "schemaVersion")] [INFO] [stdout] 20 | pub schema_version: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 21 | [INFO] [stdout] 22 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | [INFO] [stdout] 24 | pub tag: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | [INFO] [stdout] 26 | pub architecture: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub history: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Manifest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `architecture`, `os`, `os_version`, `os_features`, `variant`, and `features` are never read [INFO] [stdout] --> src/formats/docker/v2.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Platform { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 10 | pub architecture: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | [INFO] [stdout] 12 | pub os: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub os_version: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub os_features: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | [INFO] [stdout] 20 | pub variant: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub features: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Platform` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `media_type`, `size`, `digest`, and `platform` are never read [INFO] [stdout] --> src/formats/docker/v2.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 28 | #[serde(rename = "mediaType")] [INFO] [stdout] 29 | pub media_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | [INFO] [stdout] 31 | pub size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | [INFO] [stdout] 33 | pub digest: Digest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | [INFO] [stdout] 35 | pub platform: Platform, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `schema_version`, `media_type`, and `manifests` are never read [INFO] [stdout] --> src/formats/docker/v2.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct ManifestList { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 40 | #[serde(rename = "schemaVersion")] [INFO] [stdout] 41 | pub schema_version: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub media_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 45 | [INFO] [stdout] 46 | pub manifests: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ManifestList` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `media_type`, `size`, and `digest` are never read [INFO] [stdout] --> src/formats/docker/v2.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 51 | #[serde(rename = "mediaType")] [INFO] [stdout] 52 | pub media_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 53 | [INFO] [stdout] 54 | pub size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 55 | [INFO] [stdout] 56 | pub digest: Digest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `urls` is never read [INFO] [stdout] --> src/formats/docker/v2.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Layer { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 69 | pub urls: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Layer` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `schema_version`, `media_type`, and `config` are never read [INFO] [stdout] --> src/formats/docker/v2.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Manifest { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 74 | #[serde(rename = "schemaVersion")] [INFO] [stdout] 75 | pub schema_version: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub media_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 79 | [INFO] [stdout] 80 | pub config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Manifest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `annotations` is never read [INFO] [stdout] --> src/formats/oci.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Descriptor { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub annotations: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Descriptor` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `schema_version`, `media_type`, `config`, and `annotations` are never read [INFO] [stdout] --> src/formats/oci.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Manifest { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 28 | #[serde(rename = "schemaVersion")] [INFO] [stdout] 29 | pub schema_version: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub media_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | [INFO] [stdout] 34 | pub config: Descriptor, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub annotations: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Manifest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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/api/layer.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 55 | let rep = self.repo.get(&path, &[])?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let validator = Validator::new(rep.into_reader(), self.level.digest.clone()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | Ok((len, validator)) [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/api/repository.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 68 | let mut req = ureq::get(&url); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | match req.call() { [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/cmdline.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(cmdline: T) -> std::io::Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | Err(ErrorKind::InvalidData.into()) [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/commands/unpacker.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 34 | .filter_map(|x| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | / x.map(|(entry, path)| { [INFO] [stdout] 36 | | if self.unpacker.skip(self.level, path) { [INFO] [stdout] 37 | | return None; [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | [INFO] [stdout] 40 | | Some(entry) [INFO] [stdout] 41 | | }) [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/commands/unpacker.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 56 | let already = RwLock::new(Vec::new()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | [INFO] [stdout] 58 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 59 | | progress, [INFO] [stdout] 60 | | already, [INFO] [stdout] 61 | | layers, [INFO] [stdout] 62 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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] [stderr] error: could not compile `wyrcan` (bin "wyrcan") due to 9 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/iotools/threaded.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(mut reader: R) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let (tx, rx) = channel(); [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] 28 | let thread = spawn(move || { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | thread: Some(thread), [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/iotools/threaded.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(mut reader: R) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let (tx, rx) = channel(); [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] 28 | let thread = spawn(move || { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | rx: Some(rx), [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/iotools/validator.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(reader: R, writer: W) -> 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] 25 | Self(Siphon::new(reader, writer)) [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 8 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wyrcan` (bin "wyrcan" test) due to 9 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "514ad24d00fac95a6d3bd119315f80b3b8e4f83388ac21bab74976b7d30b3d15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "514ad24d00fac95a6d3bd119315f80b3b8e4f83388ac21bab74976b7d30b3d15", kill_on_drop: false }` [INFO] [stdout] 514ad24d00fac95a6d3bd119315f80b3b8e4f83388ac21bab74976b7d30b3d15