[INFO] fetching crate sanctity 1.2.1... [INFO] checking sanctity-1.2.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate sanctity 1.2.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate sanctity 1.2.1 [INFO] finished tweaking crates.io crate sanctity 1.2.1 [INFO] tweaked toml for crates.io crate sanctity 1.2.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sanctity 1.2.1 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 crates.io crate sanctity 1.2.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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 285bcd6bee421b93a869418278ed6e68e8ba3a7bc0b336cf3f215c34028ec92f [INFO] running `Command { std: "docker" "start" "-a" "285bcd6bee421b93a869418278ed6e68e8ba3a7bc0b336cf3f215c34028ec92f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "285bcd6bee421b93a869418278ed6e68e8ba3a7bc0b336cf3f215c34028ec92f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "285bcd6bee421b93a869418278ed6e68e8ba3a7bc0b336cf3f215c34028ec92f", kill_on_drop: false }` [INFO] [stdout] 285bcd6bee421b93a869418278ed6e68e8ba3a7bc0b336cf3f215c34028ec92f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 33cb57bdd53df6a373a9e8960a0809951b5b577d4edfa7847dea9cdf467915ff [INFO] running `Command { std: "docker" "start" "-a" "33cb57bdd53df6a373a9e8960a0809951b5b577d4edfa7847dea9cdf467915ff", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking recolored v1.9.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.1.2 [INFO] [stderr] Checking clap v3.1.2 [INFO] [stderr] Checking sanctity v1.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / /// Text that will be used to test the colors. [INFO] [stdout] 14 | | #[clap(long, short, default_value = " ••• ")] [INFO] [stdout] 15 | | text: String, [INFO] [stdout] | |________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / /// Print the background colors in either columns or rows. [INFO] [stdout] 18 | | #[clap(long, short, possible_values = ["column", "row"], default_value = "column")] [INFO] [stdout] 19 | | layout: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / /// Select which background colors to print. "all" is not a color. It means all colors. [INFO] [stdout] 22 | | #[clap(long, short, possible_values = ["black", "bright_black", "red", "bright_red", "green", "bright_green", "yellow", "bright_yello... [INFO] [stdout] 23 | | bgcolor: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:440:34 [INFO] [stdout] | [INFO] [stdout] 440 | print!("{}", text.clone().on_color(color).color(column_color)); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:450:34 [INFO] [stdout] | [INFO] [stdout] 450 | print!("{}", text.clone().on_color(column_color).color(color)); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sanctity` (bin "sanctity") due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / /// Text that will be used to test the colors. [INFO] [stdout] 14 | | #[clap(long, short, default_value = " ••• ")] [INFO] [stdout] 15 | | text: String, [INFO] [stdout] | |________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / /// Print the background colors in either columns or rows. [INFO] [stdout] 18 | | #[clap(long, short, possible_values = ["column", "row"], default_value = "column")] [INFO] [stdout] 19 | | layout: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / /// Select which background colors to print. "all" is not a color. It means all colors. [INFO] [stdout] 22 | | #[clap(long, short, possible_values = ["black", "bright_black", "red", "bright_red", "green", "bright_green", "yellow", "bright_yello... [INFO] [stdout] 23 | | bgcolor: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:440:34 [INFO] [stdout] | [INFO] [stdout] 440 | print!("{}", text.clone().on_color(color).color(column_color)); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:450:34 [INFO] [stdout] | [INFO] [stdout] 450 | print!("{}", text.clone().on_color(column_color).color(color)); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sanctity` (bin "sanctity" test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "33cb57bdd53df6a373a9e8960a0809951b5b577d4edfa7847dea9cdf467915ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33cb57bdd53df6a373a9e8960a0809951b5b577d4edfa7847dea9cdf467915ff", kill_on_drop: false }` [INFO] [stdout] 33cb57bdd53df6a373a9e8960a0809951b5b577d4edfa7847dea9cdf467915ff