[INFO] cloning repository https://github.com/cronokirby/mage [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cronokirby/mage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcronokirby%2Fmage", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcronokirby%2Fmage'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fce8e7399eaad1743ed382b73297ad2293af3fe3 [INFO] checking cronokirby/mage against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcronokirby%2Fmage" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cronokirby/mage [INFO] finished tweaking git repo https://github.com/cronokirby/mage [INFO] tweaked toml for git repo https://github.com/cronokirby/mage written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cronokirby/mage on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cronokirby/mage 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7320d35446073bd9fc6245bcc644c1fc516740d54d98e67cbb9b448694703840 [INFO] running `Command { std: "docker" "start" "-a" "7320d35446073bd9fc6245bcc644c1fc516740d54d98e67cbb9b448694703840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7320d35446073bd9fc6245bcc644c1fc516740d54d98e67cbb9b448694703840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7320d35446073bd9fc6245bcc644c1fc516740d54d98e67cbb9b448694703840", kill_on_drop: false }` [INFO] [stdout] 7320d35446073bd9fc6245bcc644c1fc516740d54d98e67cbb9b448694703840 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c7be549c6d4ae9bb93c66ef9fcbea77ef58db258390edb742e95bb70a4c6f28 [INFO] running `Command { std: "docker" "start" "-a" "1c7be549c6d4ae9bb93c66ef9fcbea77ef58db258390edb742e95bb70a4c6f28", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling proc-macro2 v0.4.29 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling syn v0.15.33 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Compiling structopt-derive v0.2.15 [INFO] [stderr] Checking structopt v0.2.15 [INFO] [stderr] Checking mage v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bmp.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | InvalidFormat(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BMPError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 49 - InvalidFormat(String), [INFO] [stdout] 49 + InvalidFormat(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bmp.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | InvalidFormat(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BMPError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 49 - InvalidFormat(String), [INFO] [stdout] 49 + InvalidFormat(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bmp.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | UnsupportedFormat(String), [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BMPError` 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] 54 - UnsupportedFormat(String), [INFO] [stdout] 54 + UnsupportedFormat(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `format` is never read [INFO] [stdout] --> src/bmp.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 188 | struct Header { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 191 | format: ColorFormat, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` 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 `input` and `output` are never read [INFO] [stdout] --> src/cli.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | Convert { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 21 | /// The image file to convert [INFO] [stdout] 22 | input: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | output: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` 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 `0` is never read [INFO] [stdout] --> src/bmp.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | UnsupportedFormat(String), [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `BMPError` 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] 54 - UnsupportedFormat(String), [INFO] [stdout] 54 + UnsupportedFormat(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `format` is never read [INFO] [stdout] --> src/bmp.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 188 | struct Header { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 191 | format: ColorFormat, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` 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 `input` and `output` are never read [INFO] [stdout] --> src/cli.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | Convert { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 21 | /// The image file to convert [INFO] [stdout] 22 | input: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | output: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mage` (bin "mage") due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mage` (bin "mage" test) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1c7be549c6d4ae9bb93c66ef9fcbea77ef58db258390edb742e95bb70a4c6f28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c7be549c6d4ae9bb93c66ef9fcbea77ef58db258390edb742e95bb70a4c6f28", kill_on_drop: false }` [INFO] [stdout] 1c7be549c6d4ae9bb93c66ef9fcbea77ef58db258390edb742e95bb70a4c6f28