[INFO] fetching crate debosirus 0.1.1... [INFO] checking debosirus-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate debosirus 0.1.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate debosirus 0.1.1 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 debosirus 0.1.1 [INFO] finished tweaking crates.io crate debosirus 0.1.1 [INFO] tweaked toml for crates.io crate debosirus 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate debosirus 0.1.1 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] f76ce852389d2705c557fbfaa3135dab5bbc9bdd4673ac48de1f5c675dbee3c7 [INFO] running `Command { std: "docker" "start" "-a" "f76ce852389d2705c557fbfaa3135dab5bbc9bdd4673ac48de1f5c675dbee3c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f76ce852389d2705c557fbfaa3135dab5bbc9bdd4673ac48de1f5c675dbee3c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f76ce852389d2705c557fbfaa3135dab5bbc9bdd4673ac48de1f5c675dbee3c7", kill_on_drop: false }` [INFO] [stdout] f76ce852389d2705c557fbfaa3135dab5bbc9bdd4673ac48de1f5c675dbee3c7 [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] 70a8c6aa96226ab3223ad302c875de28d7f034c5adbac8bc99314c822d921db3 [INFO] running `Command { std: "docker" "start" "-a" "70a8c6aa96226ab3223ad302c875de28d7f034c5adbac8bc99314c822d921db3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling proc-macro2 v0.4.26 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling winapi v0.3.6 [INFO] [stderr] Compiling serde v1.0.85 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Checking rgb v0.8.14 [INFO] [stderr] Checking yaml-rust v0.4.2 [INFO] [stderr] Checking regex-syntax v0.6.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking humanize-rs v0.1.5 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.9 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking errno v0.2.4 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking loopdev v0.2.1 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling serde_derive v1.0.85 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Checking structopt v0.3.5 [INFO] [stderr] Checking serde_yaml v0.8.8 [INFO] [stderr] Checking serde-humanize-rs v0.1.1 [INFO] [stderr] Checking debosirus v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/actions/debootstrap.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/actions/user.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::chroot::ChRoot` [INFO] [stdout] --> src/actions/user.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::chroot::ChRoot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/actions/debootstrap.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/actions/user.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::chroot::ChRoot` [INFO] [stdout] --> src/actions/user.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::chroot::ChRoot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/actions/user.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::actions::user::User` [INFO] [stdout] --> src/actions/user.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | use crate::actions::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::Error` [INFO] [stdout] --> src/actions/inject.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::errors::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::actions::user::User` [INFO] [stdout] --> src/actions/inject.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | use crate::actions::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/actions/user.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut user: User = serde_yaml::from_value(value.clone()).map_err(|e| Error::Serde(e))?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `toolchain`, and `version` are never read [INFO] [stdout] --> src/target.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Target { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | toolchain: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | #[serde(default)] [INFO] [stdout] 11 | version: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Target` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mountpoint` and `partition` are never read [INFO] [stdout] --> src/actions/image_partition.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Mountpoint { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 18 | mountpoint: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | partition: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mountpoint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flags` is never read [INFO] [stdout] --> src/actions/image_partition.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Partition { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 91 | flags: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Partition` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gptgap` is never read [INFO] [stdout] --> src/actions/image_partition.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct ImagePartition { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 145 | gptgap: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImagePartition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize` is never used [INFO] [stdout] --> src/actions/image_partition.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn deserialize<'de, D>(deserializer: D,) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `action` is never read [INFO] [stdout] --> src/actions/apt.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Apt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 9 | pub action: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Apt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `action`, `mirror`, and `check_pkg` are never read [INFO] [stdout] --> src/actions/debootstrap.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Debootstrap { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | action: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | mirror: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | check_pkg: bool [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Debootstrap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `install_rust` and `rust_target` are never read [INFO] [stdout] --> src/actions/user.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | install_rust: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | rust_target: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lodev` is never read [INFO] [stdout] --> src/losetup.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Mount { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 67 | lodev: Losetup, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/errors.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | CommandFailed(String, i32), [INFO] [stdout] | ------------- ^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 4 | CommandFailed((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | ExitCode(i32), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 5 | ExitCode(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | Serde(serde_yaml::Error), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 6 | Serde(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | IO(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 7 | IO(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | MissingField(&'static str), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 11 | MissingField(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | MissingDefine(&'static str), [INFO] [stdout] | ------------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 12 | MissingDefine(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/actions/image_partition.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | panic!(format!("FIXME translation from MySize::Percent({}) to usize is not implemented", value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 33 - panic!(format!("FIXME translation from MySize::Percent({}) to usize is not implemented", value)) [INFO] [stdout] 33 + panic!("FIXME translation from MySize::Percent({}) to usize is not implemented", value) [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/actions/user.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | File::create(path)?.write_all(gitconfig.as_bytes()).map_err(|e| Error::IO(e)) [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/arguments.rs:28:68 [INFO] [stdout] | [INFO] [stdout] 28 | #[structopt(short = "D", long = "define", parse(try_from_str = parse_key_val), help="key=value for example -D email=foo@bar.com")] [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/losetup.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn mount(lodev: Losetup, path: &PathBuf) -> Option { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | Some(Self { [INFO] [stdout] | ______________^ [INFO] [stdout] 81 | | lodev, [INFO] [stdout] 82 | | path: path.clone() [INFO] [stdout] 83 | | }) [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: variable does not need to be mutable [INFO] [stdout] --> src/actions/user.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut user: User = serde_yaml::from_value(value.clone()).map_err(|e| Error::Serde(e))?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `debosirus` (bin "debosirus") due to 4 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `name`, `toolchain`, and `version` are never read [INFO] [stdout] --> src/target.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Target { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | toolchain: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | #[serde(default)] [INFO] [stdout] 11 | version: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Target` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mountpoint` and `partition` are never read [INFO] [stdout] --> src/actions/image_partition.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Mountpoint { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 18 | mountpoint: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | partition: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mountpoint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flags` is never read [INFO] [stdout] --> src/actions/image_partition.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Partition { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 91 | flags: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Partition` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gptgap` is never read [INFO] [stdout] --> src/actions/image_partition.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct ImagePartition { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 145 | gptgap: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImagePartition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize` is never used [INFO] [stdout] --> src/actions/image_partition.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn deserialize<'de, D>(deserializer: D,) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `action` is never read [INFO] [stdout] --> src/actions/apt.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Apt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 9 | pub action: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Apt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `action`, `mirror`, and `check_pkg` are never read [INFO] [stdout] --> src/actions/debootstrap.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Debootstrap { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | action: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | mirror: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | check_pkg: bool [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Debootstrap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `install_rust` and `rust_target` are never read [INFO] [stdout] --> src/actions/user.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | install_rust: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | rust_target: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lodev` is never read [INFO] [stdout] --> src/losetup.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Mount { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 67 | lodev: Losetup, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/errors.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | CommandFailed(String, i32), [INFO] [stdout] | ------------- ^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 4 | CommandFailed((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | ExitCode(i32), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 5 | ExitCode(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | Serde(serde_yaml::Error), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 6 | Serde(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | IO(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 7 | IO(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | MissingField(&'static str), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 11 | MissingField(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | MissingDefine(&'static str), [INFO] [stdout] | ------------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 12 | MissingDefine(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/actions/image_partition.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | panic!(format!("FIXME translation from MySize::Percent({}) to usize is not implemented", value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 33 - panic!(format!("FIXME translation from MySize::Percent({}) to usize is not implemented", value)) [INFO] [stdout] 33 + panic!("FIXME translation from MySize::Percent({}) to usize is not implemented", value) [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/actions/user.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | File::create(path)?.write_all(gitconfig.as_bytes()).map_err(|e| Error::IO(e)) [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/arguments.rs:28:68 [INFO] [stdout] | [INFO] [stdout] 28 | #[structopt(short = "D", long = "define", parse(try_from_str = parse_key_val), help="key=value for example -D email=foo@bar.com")] [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/losetup.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn mount(lodev: Losetup, path: &PathBuf) -> Option { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | Some(Self { [INFO] [stdout] | ______________^ [INFO] [stdout] 81 | | lodev, [INFO] [stdout] 82 | | path: path.clone() [INFO] [stdout] 83 | | }) [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; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `debosirus` (bin "debosirus" test) due to 4 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "70a8c6aa96226ab3223ad302c875de28d7f034c5adbac8bc99314c822d921db3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70a8c6aa96226ab3223ad302c875de28d7f034c5adbac8bc99314c822d921db3", kill_on_drop: false }` [INFO] [stdout] 70a8c6aa96226ab3223ad302c875de28d7f034c5adbac8bc99314c822d921db3