[INFO] fetching crate catsay 0.1.0... [INFO] checking catsay-0.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate catsay 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate catsay 0.1.0 [INFO] finished tweaking crates.io crate catsay 0.1.0 [INFO] tweaked toml for crates.io crate catsay 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate catsay 0.1.0 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 catsay 0.1.0 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] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [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] 1a408475e82387081127f86e6104500d20b512d15c8f43eabb839ed42b620433 [INFO] running `Command { std: "docker" "start" "-a" "1a408475e82387081127f86e6104500d20b512d15c8f43eabb839ed42b620433", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a408475e82387081127f86e6104500d20b512d15c8f43eabb839ed42b620433", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a408475e82387081127f86e6104500d20b512d15c8f43eabb839ed42b620433", kill_on_drop: false }` [INFO] [stdout] 1a408475e82387081127f86e6104500d20b512d15c8f43eabb839ed42b620433 [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] a1472e0fe275ec78217f54e1fd3bc53a9011f492fc2d27ae8716d8c4bf103a8f [INFO] running `Command { std: "docker" "start" "-a" "a1472e0fe275ec78217f54e1fd3bc53a9011f492fc2d27ae8716d8c4bf103a8f", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking predicates-core v1.0.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking predicates-tree v1.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking float-cmp v0.6.0 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking predicates v1.0.4 [INFO] [stderr] Checking assert_cmd v1.0.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Checking exitfailure v0.5.1 [INFO] [stderr] Checking structopt v0.3.14 [INFO] [stderr] Checking catsay v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/integration_test.rs:15:53 [INFO] [stdout] | [INFO] [stdout] 15 | fn fail_on_nonexisting_file() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | fn fail_on_nonexisting_file() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fail_on_nonexisting_file` is never used [INFO] [stdout] --> tests/integration_test.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn fail_on_nonexisting_file() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / #[structopt(default_value = "Meow!")] //set a new default value [INFO] [stdout] 10 | | /// what does the cat say? // three-slash documentation comment [INFO] [stdout] 11 | | message: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `catsay` (bin "catsay") due to 1 previous error [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:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / #[structopt(default_value = "Meow!")] //set a new default value [INFO] [stdout] 10 | | /// what does the cat say? // three-slash documentation comment [INFO] [stdout] 11 | | message: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `catsay` (bin "catsay" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "a1472e0fe275ec78217f54e1fd3bc53a9011f492fc2d27ae8716d8c4bf103a8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1472e0fe275ec78217f54e1fd3bc53a9011f492fc2d27ae8716d8c4bf103a8f", kill_on_drop: false }` [INFO] [stdout] a1472e0fe275ec78217f54e1fd3bc53a9011f492fc2d27ae8716d8c4bf103a8f