[INFO] fetching crate apply-license 0.3.1... [INFO] checking apply-license-0.3.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate apply-license 0.3.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate apply-license 0.3.1 [INFO] finished tweaking crates.io crate apply-license 0.3.1 [INFO] tweaked toml for crates.io crate apply-license 0.3.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate apply-license 0.3.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 apply-license 0.3.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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] e0d8701556fcc3b08b1ed16f4cee5349b3674069cd3faa6ef6c85f51dfcaebe2 [INFO] running `Command { std: "docker" "start" "-a" "e0d8701556fcc3b08b1ed16f4cee5349b3674069cd3faa6ef6c85f51dfcaebe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0d8701556fcc3b08b1ed16f4cee5349b3674069cd3faa6ef6c85f51dfcaebe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0d8701556fcc3b08b1ed16f4cee5349b3674069cd3faa6ef6c85f51dfcaebe2", kill_on_drop: false }` [INFO] [stdout] e0d8701556fcc3b08b1ed16f4cee5349b3674069cd3faa6ef6c85f51dfcaebe2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 256e85e337074ecaf1276495bb90a3d0cc36f63e4bb8439ec3a44772a5c18059 [INFO] running `Command { std: "docker" "start" "-a" "256e85e337074ecaf1276495bb90a3d0cc36f63e4bb8439ec3a44772a5c18059", 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 serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling camino v1.0.7 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling semver v1.0.6 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Compiling regex v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Checking combine v4.6.3 [INFO] [stderr] Checking log v0.4.3 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Checking regex-syntax v0.6.1 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking aho-corasick v0.6.5 [INFO] [stderr] Checking atty v0.2.10 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking chrono v0.4.4 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Checking predicates v2.1.1 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking assert_cmd v2.0.4 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Checking clap v3.1.5 [INFO] [stderr] Checking cargo-platform v0.1.2 [INFO] [stderr] Checking kstring v1.0.6 [INFO] [stderr] Checking toml_edit v0.13.4 [INFO] [stderr] Checking cargo_metadata v0.14.2 [INFO] [stderr] Checking handlebars v4.2.1 [INFO] [stderr] Checking apply-license v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/apply-license.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / /// The authors of the crate. Can be specified multiple times. [INFO] [stdout] 10 | | #[clap(long = "author", short = 'a', min_values = 1)] [INFO] [stdout] 11 | | authors: Vec, [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/bin/apply-license.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / /// The SPDX license expression for the license or licenses to apply. [INFO] [stdout] 14 | | #[clap(long = "license", short = 'l')] [INFO] [stdout] 15 | | license: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/cargo-apply-license.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / /// Path to Cargo.toml [INFO] [stdout] 25 | | #[clap(long = "manifest-path", name = "PATH")] [INFO] [stdout] 26 | | manifest_path: Option, [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/bin/cargo-apply-license.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / /// An SPDX license expression. If specified, overrides the value in Cargo.toml. [INFO] [stdout] 29 | | #[clap(long = "license")] [INFO] [stdout] 30 | | license: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/cargo-apply-license.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / /// Path to Cargo.toml [INFO] [stdout] 25 | | #[clap(long = "manifest-path", name = "PATH")] [INFO] [stdout] 26 | | manifest_path: Option, [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/bin/cargo-apply-license.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / /// An SPDX license expression. If specified, overrides the value in Cargo.toml. [INFO] [stdout] 29 | | #[clap(long = "license")] [INFO] [stdout] 30 | | license: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `apply-license` (bin "apply-license" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `apply-license` (bin "cargo-apply-license" test) due to 2 previous errors [INFO] [stderr] error: could not compile `apply-license` (bin "cargo-apply-license") due to 2 previous errors [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/apply-license.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / /// The authors of the crate. Can be specified multiple times. [INFO] [stdout] 10 | | #[clap(long = "author", short = 'a', min_values = 1)] [INFO] [stdout] 11 | | authors: Vec, [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/bin/apply-license.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / /// The SPDX license expression for the license or licenses to apply. [INFO] [stdout] 14 | | #[clap(long = "license", short = 'l')] [INFO] [stdout] 15 | | license: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `apply-license` (bin "apply-license") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "256e85e337074ecaf1276495bb90a3d0cc36f63e4bb8439ec3a44772a5c18059", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "256e85e337074ecaf1276495bb90a3d0cc36f63e4bb8439ec3a44772a5c18059", kill_on_drop: false }` [INFO] [stdout] 256e85e337074ecaf1276495bb90a3d0cc36f63e4bb8439ec3a44772a5c18059