[INFO] fetching crate gn 0.1.5...
[INFO] checking gn-0.1.5 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] extracting crate gn 0.1.5 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate gn 0.1.5
[INFO] finished tweaking crates.io crate gn 0.1.5
[INFO] tweaked toml for crates.io crate gn 0.1.5 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate gn 0.1.5 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 gn 0.1.5 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-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ec7c2e326f87c9988a542bdc011beee53cd4fbfe0bb5652909cd24a73de28bfa
[INFO] running `Command { std: "docker" "start" "-a" "ec7c2e326f87c9988a542bdc011beee53cd4fbfe0bb5652909cd24a73de28bfa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ec7c2e326f87c9988a542bdc011beee53cd4fbfe0bb5652909cd24a73de28bfa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ec7c2e326f87c9988a542bdc011beee53cd4fbfe0bb5652909cd24a73de28bfa", kill_on_drop: false }`
[INFO] [stdout] ec7c2e326f87c9988a542bdc011beee53cd4fbfe0bb5652909cd24a73de28bfa
[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 -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] 443d4654cdc198d46de2483c8726fa40f6e718e17f38a08212d0123b8e9f060f
[INFO] running `Command { std: "docker" "start" "-a" "443d4654cdc198d46de2483c8726fa40f6e718e17f38a08212d0123b8e9f060f", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.4
[INFO] [stderr]    Compiling syn v1.0.100
[INFO] [stderr]    Compiling thiserror v1.0.35
[INFO] [stderr]    Compiling serde_derive v1.0.144
[INFO] [stderr]    Compiling serde v1.0.144
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling ucd-trie v0.1.5
[INFO] [stderr]    Compiling once_cell v1.14.0
[INFO] [stderr]    Compiling serde_json v1.0.85
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]     Checking itoa v1.0.3
[INFO] [stderr]     Checking aho-corasick v0.7.19
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]    Compiling anyhow v1.0.65
[INFO] [stderr]     Checking textwrap v0.15.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]     Checking unsafe-libyaml v0.2.4
[INFO] [stderr]     Checking bool_ext v0.5.1
[INFO] [stderr]     Checking either v1.8.0
[INFO] [stderr]     Checking idna v0.3.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking colored v2.0.0
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]     Checking regex v1.6.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking num-integer v0.1.45
[INFO] [stderr]     Checking num-complex v0.4.2
[INFO] [stderr]     Checking num-bigint v0.4.3
[INFO] [stderr]     Checking num-iter v0.1.43
[INFO] [stderr]     Checking num v0.4.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.35
[INFO] [stderr]    Compiling clap_derive v3.2.18
[INFO] [stderr]    Compiling pest v2.3.1
[INFO] [stderr]     Checking clap v3.2.22
[INFO] [stderr]    Compiling pest_meta v2.3.1
[INFO] [stderr]    Compiling pest_generator v2.3.1
[INFO] [stderr]    Compiling pest_derive v2.3.1
[INFO] [stderr]     Checking serde_yaml v0.9.13
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking toml v0.5.9
[INFO] [stderr]     Checking url v2.3.1
[INFO] [stderr]     Checking serde-gron v0.1.2
[INFO] [stderr]     Checking gn v0.1.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |             let mut args = args;
[INFO] [stdout]    |                 ----^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `OutputWriter` is never used
[INFO] [stdout]   --> src/output/mod.rs:41:11
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub trait OutputWriter<Value> {
[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<cli::Input, Infallible>
[INFO] [stdout]   --> src/cli.rs:79:53
[INFO] [stdout]    |
[INFO] [stdout] 79 |       fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout]    |  _____________________________________________________^
[INFO] [stdout] 80 | |         match s {
[INFO] [stdout] 81 | |             "" | "-" => Ok(Input::Stdin),
[INFO] [stdout] 82 | |             s => {
[INFO] [stdout] ...  |
[INFO] [stdout] 90 | |     }
[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<cli::Input, Infallible>
[INFO] [stdout]   --> src/cli.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 | /         match s {
[INFO] [stdout] 81 | |             "" | "-" => Ok(Input::Stdin),
[INFO] [stdout] 82 | |             s => {
[INFO] [stdout] 83 | |                 if let Ok(url) = Url::parse(s) {
[INFO] [stdout] ...  |
[INFO] [stdout] 89 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<cli::Input, Infallible>
[INFO] [stdout]   --> src/cli.rs:81:25
[INFO] [stdout]    |
[INFO] [stdout] 81 |             "" | "-" => Ok(Input::Stdin),
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<cli::Input, Infallible>
[INFO] [stdout]   --> src/cli.rs:82:18
[INFO] [stdout]    |
[INFO] [stdout] 82 |               s => {
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 83 | |                 if let Ok(url) = Url::parse(s) {
[INFO] [stdout] 84 | |                     Ok(Input::Url(url))
[INFO] [stdout] 85 | |                 } else {
[INFO] [stdout] ...  |
[INFO] [stdout] 88 | |             }
[INFO] [stdout]    | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<cli::Input, Infallible>
[INFO] [stdout]   --> src/cli.rs:83:17
[INFO] [stdout]    |
[INFO] [stdout] 83 | /                 if let Ok(url) = Url::parse(s) {
[INFO] [stdout] 84 | |                     Ok(Input::Url(url))
[INFO] [stdout] 85 | |                 } else {
[INFO] [stdout] 86 | |                     Ok(Input::Path(PathBuf::from(s)))
[INFO] [stdout] 87 | |                 }
[INFO] [stdout]    | |_________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<cli::Input, Infallible>
[INFO] [stdout]   --> src/cli.rs:83:48
[INFO] [stdout]    |
[INFO] [stdout] 83 |                   if let Ok(url) = Url::parse(s) {
[INFO] [stdout]    |  ________________________________________________^
[INFO] [stdout] 84 | |                     Ok(Input::Url(url))
[INFO] [stdout] 85 | |                 } else {
[INFO] [stdout]    | |_________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<cli::Input, Infallible>
[INFO] [stdout]   --> src/cli.rs:84:21
[INFO] [stdout]    |
[INFO] [stdout] 84 |                     Ok(Input::Url(url))
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<cli::Input, Infallible>
[INFO] [stdout]   --> src/cli.rs:85:24
[INFO] [stdout]    |
[INFO] [stdout] 85 |                   } else {
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 86 | |                     Ok(Input::Path(PathBuf::from(s)))
[INFO] [stdout] 87 | |                 }
[INFO] [stdout]    | |_________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<cli::Input, Infallible>
[INFO] [stdout]   --> src/cli.rs:86:21
[INFO] [stdout]    |
[INFO] [stdout] 86 |                     Ok(Input::Path(PathBuf::from(s)))
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<cli::Input, Infallible>
[INFO] [stdout]    --> src/cli.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 |     pub input: Input,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |             let mut args = args;
[INFO] [stdout]    |                 ----^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gn` (bin "gn") due to 10 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: trait `OutputWriter` is never used
[INFO] [stdout]   --> src/output/mod.rs:41:11
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub trait OutputWriter<Value> {
[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<cli::Input, Infallible>
[INFO] [stdout]   --> src/cli.rs:79:53
[INFO] [stdout]    |
[INFO] [stdout] 79 |       fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout]    |  _____________________________________________________^
[INFO] [stdout] 80 | |         match s {
[INFO] [stdout] 81 | |             "" | "-" => Ok(Input::Stdin),
[INFO] [stdout] 82 | |             s => {
[INFO] [stdout] ...  |
[INFO] [stdout] 90 | |     }
[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<cli::Input, Infallible>
[INFO] [stdout]   --> src/cli.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 | /         match s {
[INFO] [stdout] 81 | |             "" | "-" => Ok(Input::Stdin),
[INFO] [stdout] 82 | |             s => {
[INFO] [stdout] 83 | |                 if let Ok(url) = Url::parse(s) {
[INFO] [stdout] ...  |
[INFO] [stdout] 89 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<cli::Input, Infallible>
[INFO] [stdout]   --> src/cli.rs:81:25
[INFO] [stdout]    |
[INFO] [stdout] 81 |             "" | "-" => Ok(Input::Stdin),
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<cli::Input, Infallible>
[INFO] [stdout]   --> src/cli.rs:82:18
[INFO] [stdout]    |
[INFO] [stdout] 82 |               s => {
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 83 | |                 if let Ok(url) = Url::parse(s) {
[INFO] [stdout] 84 | |                     Ok(Input::Url(url))
[INFO] [stdout] 85 | |                 } else {
[INFO] [stdout] ...  |
[INFO] [stdout] 88 | |             }
[INFO] [stdout]    | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<cli::Input, Infallible>
[INFO] [stdout]   --> src/cli.rs:83:17
[INFO] [stdout]    |
[INFO] [stdout] 83 | /                 if let Ok(url) = Url::parse(s) {
[INFO] [stdout] 84 | |                     Ok(Input::Url(url))
[INFO] [stdout] 85 | |                 } else {
[INFO] [stdout] 86 | |                     Ok(Input::Path(PathBuf::from(s)))
[INFO] [stdout] 87 | |                 }
[INFO] [stdout]    | |_________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<cli::Input, Infallible>
[INFO] [stdout]   --> src/cli.rs:83:48
[INFO] [stdout]    |
[INFO] [stdout] 83 |                   if let Ok(url) = Url::parse(s) {
[INFO] [stdout]    |  ________________________________________________^
[INFO] [stdout] 84 | |                     Ok(Input::Url(url))
[INFO] [stdout] 85 | |                 } else {
[INFO] [stdout]    | |_________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<cli::Input, Infallible>
[INFO] [stdout]   --> src/cli.rs:84:21
[INFO] [stdout]    |
[INFO] [stdout] 84 |                     Ok(Input::Url(url))
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<cli::Input, Infallible>
[INFO] [stdout]   --> src/cli.rs:85:24
[INFO] [stdout]    |
[INFO] [stdout] 85 |                   } else {
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 86 | |                     Ok(Input::Path(PathBuf::from(s)))
[INFO] [stdout] 87 | |                 }
[INFO] [stdout]    | |_________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<cli::Input, Infallible>
[INFO] [stdout]   --> src/cli.rs:86:21
[INFO] [stdout]    |
[INFO] [stdout] 86 |                     Ok(Input::Path(PathBuf::from(s)))
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<cli::Input, Infallible>
[INFO] [stdout]    --> src/cli.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 |     pub input: Input,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: ControlFlow<Result<Infallible, Infallible>, std::path::PathBuf>
[INFO] [stdout]    --> src/cli.rs:121:25
[INFO] [stdout]     |
[INFO] [stdout] 121 |             Input::Path(PathBuf::from_str("/data/package.json")?).extension()
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::path::PathBuf, Infallible>
[INFO] [stdout]    --> src/cli.rs:121:25
[INFO] [stdout]     |
[INFO] [stdout] 121 |             Input::Path(PathBuf::from_str("/data/package.json")?).extension()
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gn` (bin "gn" test) due to 12 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "443d4654cdc198d46de2483c8726fa40f6e718e17f38a08212d0123b8e9f060f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "443d4654cdc198d46de2483c8726fa40f6e718e17f38a08212d0123b8e9f060f", kill_on_drop: false }`
[INFO] [stdout] 443d4654cdc198d46de2483c8726fa40f6e718e17f38a08212d0123b8e9f060f
