[INFO] fetching crate debosirus 0.1.1... [INFO] checking debosirus-0.1.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate debosirus 0.1.1 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate debosirus 0.1.1 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-tc1/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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded structopt-derive v0.3.5 [INFO] [stderr] Downloaded percent-encoding v1.0.1 [INFO] [stderr] Downloaded url v1.7.2 [INFO] [stderr] Downloaded autocfg v0.1.7 [INFO] [stderr] Downloaded approx v0.1.1 [INFO] [stderr] Downloaded num-traits v0.2.9 [INFO] [stderr] Downloaded cgmath v0.16.1 [INFO] [stderr] Downloaded unicode-segmentation v1.2.1 [INFO] [stderr] Downloaded serde_derive v1.0.85 [INFO] [stderr] Downloaded syn v0.15.26 [INFO] [stderr] Downloaded serde v1.0.85 [INFO] [stderr] Downloaded clap v2.33.0 [INFO] [stderr] Downloaded idna v0.1.5 [INFO] [stderr] Downloaded regex v1.1.0 [INFO] [stderr] Downloaded regex-syntax v0.6.5 [INFO] [stderr] Downloaded libc v0.2.48 [INFO] [stderr] Downloaded unicode-normalization v0.1.7 [INFO] [stderr] Downloaded syn v1.0.8 [INFO] [stderr] Downloaded serde_yaml v0.8.8 [INFO] [stderr] Downloaded bitflags v1.0.4 [INFO] [stderr] Downloaded structopt v0.3.5 [INFO] [stderr] Downloaded winconsole v0.10.0 [INFO] [stderr] Downloaded loopdev v0.2.1 [INFO] [stderr] Downloaded memchr v2.1.3 [INFO] [stderr] Downloaded utf8-ranges v1.0.2 [INFO] [stderr] Downloaded humanize-rs v0.1.5 [INFO] [stderr] Downloaded winapi v0.3.6 [INFO] [stderr] Downloaded ucd-util v0.1.3 [INFO] [stderr] Downloaded dtoa v0.4.3 [INFO] [stderr] Downloaded proc-macro2 v0.4.26 [INFO] [stderr] Downloaded yaml-rust v0.4.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.6 [INFO] [stderr] Downloaded rgb v0.8.14 [INFO] [stderr] Downloaded colored v1.8.0 [INFO] [stderr] Downloaded errno v0.2.4 [INFO] [stderr] Downloaded aho-corasick v0.6.9 [INFO] [stderr] Downloaded lazy_static v1.2.0 [INFO] [stderr] Downloaded thread_local v0.3.6 [INFO] [stderr] Downloaded quote v0.6.11 [INFO] [stderr] Downloaded linked-hash-map v0.5.1 [INFO] [stderr] Downloaded redox_syscall v0.1.51 [INFO] [stderr] Downloaded termion v1.5.1 [INFO] [stderr] Downloaded unicode-width v0.1.5 [INFO] [stderr] Downloaded vec_map v0.8.1 [INFO] [stderr] Downloaded errno-dragonfly v0.1.1 [INFO] [stderr] Downloaded cfg-if v0.1.6 [INFO] [stderr] Downloaded serde-humanize-rs v0.1.1 [INFO] [stderr] Downloaded atty v0.2.11 [INFO] [stderr] Downloaded proc-macro-error v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34b9a1dc5011dcd86333a39f94027ea13dd09afc223b6f7d2e1a447b2d69db4d [INFO] running `Command { std: "docker" "start" "-a" "34b9a1dc5011dcd86333a39f94027ea13dd09afc223b6f7d2e1a447b2d69db4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34b9a1dc5011dcd86333a39f94027ea13dd09afc223b6f7d2e1a447b2d69db4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34b9a1dc5011dcd86333a39f94027ea13dd09afc223b6f7d2e1a447b2d69db4d", kill_on_drop: false }` [INFO] [stdout] 34b9a1dc5011dcd86333a39f94027ea13dd09afc223b6f7d2e1a447b2d69db4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fe415bff649c57d7006c6a750856308e82b0cb5c18de602af2fd50e80268531 [INFO] running `Command { std: "docker" "start" "-a" "0fe415bff649c57d7006c6a750856308e82b0cb5c18de602af2fd50e80268531", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling proc-macro2 v0.4.26 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling autocfg v0.1.7 [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 winapi v0.3.6 [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Compiling serde v1.0.85 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking rgb v0.8.14 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking linked-hash-map v0.5.1 [INFO] [stderr] Checking regex-syntax v0.6.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking humanize-rs v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.9 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking errno v0.2.4 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking yaml-rust v0.4.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking loopdev v0.2.1 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.85 [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-humanize-rs v0.1.1 [INFO] [stderr] Checking serde_yaml v0.8.8 [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: 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] warning: 20 warnings emitted [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] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.58s [INFO] running `Command { std: "docker" "inspect" "0fe415bff649c57d7006c6a750856308e82b0cb5c18de602af2fd50e80268531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fe415bff649c57d7006c6a750856308e82b0cb5c18de602af2fd50e80268531", kill_on_drop: false }` [INFO] [stdout] 0fe415bff649c57d7006c6a750856308e82b0cb5c18de602af2fd50e80268531