[INFO] cloning repository https://github.com/mdaffin/scribe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mdaffin/scribe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdaffin%2Fscribe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdaffin%2Fscribe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd1bdf1431d676f55cac0126ebcf25841c89f3c3 [INFO] checking mdaffin/scribe against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdaffin%2Fscribe" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mdaffin/scribe on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mdaffin/scribe [INFO] finished tweaking git repo https://github.com/mdaffin/scribe [INFO] tweaked toml for git repo https://github.com/mdaffin/scribe written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mdaffin/scribe 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v0.6.3 [INFO] [stderr] Downloaded synstructure v0.6.1 [INFO] [stderr] Downloaded cfg-if v0.1.3 [INFO] [stderr] Downloaded atty v0.2.10 [INFO] [stderr] Downloaded bitflags v1.0.3 [INFO] [stderr] Downloaded structopt-derive v0.2.10 [INFO] [stderr] Downloaded os_type v2.0.0 [INFO] [stderr] Downloaded failure_derive v0.1.1 [INFO] [stderr] Downloaded lazy_static v1.0.1 [INFO] [stderr] Downloaded rustc-demangle v0.1.8 [INFO] [stderr] Downloaded cc v1.0.17 [INFO] [stderr] Downloaded serde_derive v1.0.66 [INFO] [stderr] Downloaded serde v1.0.66 [INFO] [stderr] Downloaded backtrace-sys v0.1.23 [INFO] [stderr] Downloaded toml v0.4.6 [INFO] [stderr] Downloaded itertools v0.7.8 [INFO] [stderr] Downloaded num-traits v0.2.4 [INFO] [stderr] Downloaded chrono v0.4.3 [INFO] [stderr] Downloaded clap v2.31.2 [INFO] [stderr] Downloaded syn v0.14.2 [INFO] [stderr] Downloaded libc v0.2.42 [INFO] [stderr] Downloaded backtrace v0.3.8 [INFO] [stderr] Downloaded failure v0.1.1 [INFO] [stderr] Downloaded term v0.5.1 [INFO] [stderr] Downloaded human-panic v1.0.0 [INFO] [stderr] Downloaded either v1.5.0 [INFO] [stderr] Downloaded num-integer v0.1.38 [INFO] [stderr] Downloaded log v0.4.2 [INFO] [stderr] Downloaded byteorder v1.2.3 [INFO] [stderr] Downloaded simplelog v0.5.2 [INFO] [stderr] Downloaded proc-macro2 v0.4.6 [INFO] [stderr] Downloaded structopt v0.2.10 [INFO] [stderr] Downloaded remove_dir_all v0.5.1 [INFO] [stderr] Downloaded termcolor v0.3.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b1303b490e99fa3470df04c7d82e4c4de722235661f7edba1671930e3d3c6a9 [INFO] running `Command { std: "docker" "start" "-a" "1b1303b490e99fa3470df04c7d82e4c4de722235661f7edba1671930e3d3c6a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b1303b490e99fa3470df04c7d82e4c4de722235661f7edba1671930e3d3c6a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b1303b490e99fa3470df04c7d82e4c4de722235661f7edba1671930e3d3c6a9", kill_on_drop: false }` [INFO] [stdout] 1b1303b490e99fa3470df04c7d82e4c4de722235661f7edba1671930e3d3c6a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd69ddbfb0e1dcaffa3c5ac7a677ecb4d0a5d301b3a7ab8c0b4238df62257dbc [INFO] running `Command { std: "docker" "start" "-a" "dd69ddbfb0e1dcaffa3c5ac7a677ecb4d0a5d301b3a7ab8c0b4238df62257dbc", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking cfg-if v0.1.3 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Checking lazy_static v1.0.1 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling serde v1.0.66 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Compiling syn v0.14.2 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking rustc-demangle v0.1.8 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking atty v0.2.10 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking chrono v0.4.3 [INFO] [stderr] Checking clap v2.31.2 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking uuid v0.6.5 [INFO] [stderr] Checking log v0.4.2 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking backtrace v0.3.8 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking itertools v0.7.8 [INFO] [stderr] Checking simplelog v0.5.2 [INFO] [stderr] Checking termion v1.5.1 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Checking os_type v2.0.0 [INFO] [stderr] Compiling serde_derive v1.0.66 [INFO] [stderr] Compiling structopt-derive v0.2.10 [INFO] [stderr] Checking structopt v0.2.10 [INFO] [stderr] Checking toml v0.4.6 [INFO] [stderr] Checking human-panic v1.0.0 [INFO] [stderr] Checking scribe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/block_dev.rs:296:14 [INFO] [stdout] | [INFO] [stdout] 296 | 0...1024 => format!("{}", size), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/block_dev.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | 1024...1_048_576 => format!("{:.*}KiB", decimals, size as f64 / 1024.0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/block_dev.rs:298:22 [INFO] [stdout] | [INFO] [stdout] 298 | 1_048_576...1_073_741_824 => format!("{:.*}MiB", decimals, size as f64 / 1_048_576.0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/block_dev.rs:299:26 [INFO] [stdout] | [INFO] [stdout] 299 | 1_073_741_824...1_099_511_627_776 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `termion` is imported redundantly [INFO] [stdout] --> src/menus.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use termion::{self, raw::IntoRawMode}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate termion; [INFO] [stdout] | --------------------- the item `termion` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/block_dev.rs:296:14 [INFO] [stdout] | [INFO] [stdout] 296 | 0...1024 => format!("{}", size), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/block_dev.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | 1024...1_048_576 => format!("{:.*}KiB", decimals, size as f64 / 1024.0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/block_dev.rs:298:22 [INFO] [stdout] | [INFO] [stdout] 298 | 1_048_576...1_073_741_824 => format!("{:.*}MiB", decimals, size as f64 / 1_048_576.0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/block_dev.rs:299:26 [INFO] [stdout] | [INFO] [stdout] 299 | 1_073_741_824...1_099_511_627_776 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `termion` is imported redundantly [INFO] [stdout] --> src/menus.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use termion::{self, raw::IntoRawMode}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate termion; [INFO] [stdout] | --------------------- the item `termion` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/block_dev.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 296 | 0...1024 => format!("{}", size), [INFO] [stdout] | -------- this range overlaps on `1024_u64`... [INFO] [stdout] 297 | 1024...1_048_576 => format!("{:.*}KiB", decimals, size as f64 / 1024.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/block_dev.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 297 | 1024...1_048_576 => format!("{:.*}KiB", decimals, size as f64 / 1024.0), [INFO] [stdout] | ---------------- this range overlaps on `1048576_u64`... [INFO] [stdout] 298 | 1_048_576...1_073_741_824 => format!("{:.*}MiB", decimals, size as f64 / 1_048_576.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/block_dev.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 298 | 1_048_576...1_073_741_824 => format!("{:.*}MiB", decimals, size as f64 / 1_048_576.0), [INFO] [stdout] | ------------------------- this range overlaps on `1073741824_u64`... [INFO] [stdout] 299 | 1_073_741_824...1_099_511_627_776 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/block_dev.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 296 | 0...1024 => format!("{}", size), [INFO] [stdout] | -------- this range overlaps on `1024_u64`... [INFO] [stdout] 297 | 1024...1_048_576 => format!("{:.*}KiB", decimals, size as f64 / 1024.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/block_dev.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 297 | 1024...1_048_576 => format!("{:.*}KiB", decimals, size as f64 / 1024.0), [INFO] [stdout] | ---------------- this range overlaps on `1048576_u64`... [INFO] [stdout] 298 | 1_048_576...1_073_741_824 => format!("{:.*}MiB", decimals, size as f64 / 1_048_576.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/block_dev.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 298 | 1_048_576...1_073_741_824 => format!("{:.*}MiB", decimals, size as f64 / 1_048_576.0), [INFO] [stdout] | ------------------------- this range overlaps on `1073741824_u64`... [INFO] [stdout] 299 | 1_073_741_824...1_099_511_627_776 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reasons` is never read [INFO] [stdout] --> src/main.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct ListCmd { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 134 | reasons: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListCmd` 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 `show_all`, `device`, and `image` are never read [INFO] [stdout] --> src/main.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct BackupCmd { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 141 | show_all: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | device: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | image: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BackupCmd` 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 `force_internal` and `device` are never read [INFO] [stdout] --> src/main.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct WriteCmd { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 160 | force_internal: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | device: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WriteCmd` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ExternalDrive` is never constructed [INFO] [stdout] --> src/block_dev.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum DeviceType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 49 | ExternalDrive, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceType` 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 `reasons` is never read [INFO] [stdout] --> src/main.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct ListCmd { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 134 | reasons: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListCmd` 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 `show_all`, `device`, and `image` are never read [INFO] [stdout] --> src/main.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct BackupCmd { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 141 | show_all: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | device: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | image: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BackupCmd` 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 `force_internal` and `device` are never read [INFO] [stdout] --> src/main.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct WriteCmd { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 160 | force_internal: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | device: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WriteCmd` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/block_dev.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | run_checks(&mut blkdev); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 367 | let _ = run_checks(&mut blkdev); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.59s [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "dd69ddbfb0e1dcaffa3c5ac7a677ecb4d0a5d301b3a7ab8c0b4238df62257dbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd69ddbfb0e1dcaffa3c5ac7a677ecb4d0a5d301b3a7ab8c0b4238df62257dbc", kill_on_drop: false }` [INFO] [stdout] dd69ddbfb0e1dcaffa3c5ac7a677ecb4d0a5d301b3a7ab8c0b4238df62257dbc [INFO] checking mdaffin/scribe against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdaffin%2Fscribe" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mdaffin/scribe on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mdaffin/scribe [INFO] finished tweaking git repo https://github.com/mdaffin/scribe [INFO] tweaked toml for git repo https://github.com/mdaffin/scribe written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mdaffin/scribe 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c9ef24c84de7b945fb6ba9f113b5f7f6bb24dc3df5d2c4624fba7a3c6601faa [INFO] running `Command { std: "docker" "start" "-a" "7c9ef24c84de7b945fb6ba9f113b5f7f6bb24dc3df5d2c4624fba7a3c6601faa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c9ef24c84de7b945fb6ba9f113b5f7f6bb24dc3df5d2c4624fba7a3c6601faa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c9ef24c84de7b945fb6ba9f113b5f7f6bb24dc3df5d2c4624fba7a3c6601faa", kill_on_drop: false }` [INFO] [stdout] 7c9ef24c84de7b945fb6ba9f113b5f7f6bb24dc3df5d2c4624fba7a3c6601faa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cffef4d9a104825eda66479a194e6af8031aa2090678077e2e70fab16cf49ae5 [INFO] running `Command { std: "docker" "start" "-a" "cffef4d9a104825eda66479a194e6af8031aa2090678077e2e70fab16cf49ae5", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Checking cfg-if v0.1.3 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling serde v1.0.66 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking lazy_static v1.0.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Compiling syn v0.14.2 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking rustc-demangle v0.1.8 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking atty v0.2.10 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking uuid v0.6.5 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking clap v2.31.2 [INFO] [stderr] Checking chrono v0.4.3 [INFO] [stderr] Checking log v0.4.2 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking simplelog v0.5.2 [INFO] [stderr] Checking itertools v0.7.8 [INFO] [stderr] Checking termion v1.5.1 [INFO] [stderr] Checking backtrace v0.3.8 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Compiling structopt-derive v0.2.10 [INFO] [stderr] Compiling serde_derive v1.0.66 [INFO] [stderr] Checking os_type v2.0.0 [INFO] [stderr] Checking structopt v0.2.10 [INFO] [stderr] Checking toml v0.4.6 [INFO] [stderr] Checking human-panic v1.0.0 [INFO] [stderr] Checking scribe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/block_dev.rs:296:14 [INFO] [stdout] | [INFO] [stdout] 296 | 0...1024 => format!("{}", size), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/block_dev.rs:296:14 [INFO] [stdout] | [INFO] [stdout] 296 | 0...1024 => format!("{}", size), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/block_dev.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | 1024...1_048_576 => format!("{:.*}KiB", decimals, size as f64 / 1024.0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/block_dev.rs:298:22 [INFO] [stdout] | [INFO] [stdout] 298 | 1_048_576...1_073_741_824 => format!("{:.*}MiB", decimals, size as f64 / 1_048_576.0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/block_dev.rs:299:26 [INFO] [stdout] | [INFO] [stdout] 299 | 1_073_741_824...1_099_511_627_776 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `termion` is imported redundantly [INFO] [stdout] --> src/menus.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use termion::{self, raw::IntoRawMode}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate termion; [INFO] [stdout] | --------------------- the item `termion` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/block_dev.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | 1024...1_048_576 => format!("{:.*}KiB", decimals, size as f64 / 1024.0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/block_dev.rs:298:22 [INFO] [stdout] | [INFO] [stdout] 298 | 1_048_576...1_073_741_824 => format!("{:.*}MiB", decimals, size as f64 / 1_048_576.0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/block_dev.rs:299:26 [INFO] [stdout] | [INFO] [stdout] 299 | 1_073_741_824...1_099_511_627_776 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `termion` is imported redundantly [INFO] [stdout] --> src/menus.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use termion::{self, raw::IntoRawMode}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate termion; [INFO] [stdout] | --------------------- the item `termion` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/block_dev.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 296 | 0...1024 => format!("{}", size), [INFO] [stdout] | -------- this range overlaps on `1024_u64`... [INFO] [stdout] 297 | 1024...1_048_576 => format!("{:.*}KiB", decimals, size as f64 / 1024.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/block_dev.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 297 | 1024...1_048_576 => format!("{:.*}KiB", decimals, size as f64 / 1024.0), [INFO] [stdout] | ---------------- this range overlaps on `1048576_u64`... [INFO] [stdout] 298 | 1_048_576...1_073_741_824 => format!("{:.*}MiB", decimals, size as f64 / 1_048_576.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/block_dev.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 298 | 1_048_576...1_073_741_824 => format!("{:.*}MiB", decimals, size as f64 / 1_048_576.0), [INFO] [stdout] | ------------------------- this range overlaps on `1073741824_u64`... [INFO] [stdout] 299 | 1_073_741_824...1_099_511_627_776 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reasons` is never read [INFO] [stdout] --> src/main.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct ListCmd { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 134 | reasons: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListCmd` 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 `show_all`, `device`, and `image` are never read [INFO] [stdout] --> src/main.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct BackupCmd { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 141 | show_all: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | device: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | image: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BackupCmd` 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 `force_internal` and `device` are never read [INFO] [stdout] --> src/main.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct WriteCmd { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 160 | force_internal: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | device: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WriteCmd` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/block_dev.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | run_checks(&mut blkdev); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 367 | let _ = run_checks(&mut blkdev); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/block_dev.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 296 | 0...1024 => format!("{}", size), [INFO] [stdout] | -------- this range overlaps on `1024_u64`... [INFO] [stdout] 297 | 1024...1_048_576 => format!("{:.*}KiB", decimals, size as f64 / 1024.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/block_dev.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 297 | 1024...1_048_576 => format!("{:.*}KiB", decimals, size as f64 / 1024.0), [INFO] [stdout] | ---------------- this range overlaps on `1048576_u64`... [INFO] [stdout] 298 | 1_048_576...1_073_741_824 => format!("{:.*}MiB", decimals, size as f64 / 1_048_576.0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/block_dev.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 298 | 1_048_576...1_073_741_824 => format!("{:.*}MiB", decimals, size as f64 / 1_048_576.0), [INFO] [stdout] | ------------------------- this range overlaps on `1073741824_u64`... [INFO] [stdout] 299 | 1_073_741_824...1_099_511_627_776 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reasons` is never read [INFO] [stdout] --> src/main.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct ListCmd { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 134 | reasons: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListCmd` 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 `show_all`, `device`, and `image` are never read [INFO] [stdout] --> src/main.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct BackupCmd { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 141 | show_all: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | device: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | image: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BackupCmd` 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 `force_internal` and `device` are never read [INFO] [stdout] --> src/main.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct WriteCmd { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 160 | force_internal: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | device: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WriteCmd` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ExternalDrive` is never constructed [INFO] [stdout] --> src/block_dev.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum DeviceType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 49 | ExternalDrive, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceType` 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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.57s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "cffef4d9a104825eda66479a194e6af8031aa2090678077e2e70fab16cf49ae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cffef4d9a104825eda66479a194e6af8031aa2090678077e2e70fab16cf49ae5", kill_on_drop: false }` [INFO] [stdout] cffef4d9a104825eda66479a194e6af8031aa2090678077e2e70fab16cf49ae5