[INFO] fetching crate rinpg 0.1.25... [INFO] checking rinpg-0.1.25 against master#0599f3403366d9c57f0625e6de3af214b5042a90 for pr-87710 [INFO] extracting crate rinpg 0.1.25 into /workspace/builds/worker-47/source [INFO] validating manifest of crates.io crate rinpg 0.1.25 on toolchain 0599f3403366d9c57f0625e6de3af214b5042a90 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0599f3403366d9c57f0625e6de3af214b5042a90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rinpg 0.1.25 [INFO] finished tweaking crates.io crate rinpg 0.1.25 [INFO] tweaked toml for crates.io crate rinpg 0.1.25 written to /workspace/builds/worker-47/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0599f3403366d9c57f0625e6de3af214b5042a90" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0599f3403366d9c57f0625e6de3af214b5042a90" "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-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+0599f3403366d9c57f0625e6de3af214b5042a90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 439d9807aea30c7c2f5f9ca7943a95c6acc230bd3c9c6b0dac9a7e9dca1e2a33 [INFO] running `Command { std: "docker" "start" "-a" "439d9807aea30c7c2f5f9ca7943a95c6acc230bd3c9c6b0dac9a7e9dca1e2a33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "439d9807aea30c7c2f5f9ca7943a95c6acc230bd3c9c6b0dac9a7e9dca1e2a33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "439d9807aea30c7c2f5f9ca7943a95c6acc230bd3c9c6b0dac9a7e9dca1e2a33", kill_on_drop: false }` [INFO] [stdout] 439d9807aea30c7c2f5f9ca7943a95c6acc230bd3c9c6b0dac9a7e9dca1e2a33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/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" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+0599f3403366d9c57f0625e6de3af214b5042a90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c2e082d355466d8dfd86e4b492dc1957f32a418674f2c4b41b395ac35d1ba37 [INFO] running `Command { std: "docker" "start" "-a" "9c2e082d355466d8dfd86e4b492dc1957f32a418674f2c4b41b395ac35d1ba37", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Checking json v0.11.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rinpg v0.1.25 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | let mut child = if platform == "web" { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let mut child = child.arg("--no-default-features") [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | let mut output = Command::new("cargo") [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | let mut output = if platform == "web" { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `Mutiny` not covered [INFO] [stdout] --> src/main.rs:338:15 [INFO] [stdout] | [INFO] [stdout] 12 | / enum Template{ [INFO] [stdout] 13 | | App, [INFO] [stdout] 14 | | Loop, [INFO] [stdout] 15 | | Mutiny, [INFO] [stdout] | | ------ not covered [INFO] [stdout] 16 | | } [INFO] [stdout] | |_- `Template` defined here [INFO] [stdout] ... [INFO] [stdout] 338 | match template{ [INFO] [stdout] | ^^^^^^^^ pattern `Mutiny` not covered [INFO] [stdout] | [INFO] [stdout] = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms [INFO] [stdout] = note: the matched value is of type `Template` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | let mut child = if platform == "web" { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let mut child = child.arg("--no-default-features") [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | let mut output = Command::new("cargo") [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | let mut output = if platform == "web" { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rinpg` due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9c2e082d355466d8dfd86e4b492dc1957f32a418674f2c4b41b395ac35d1ba37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c2e082d355466d8dfd86e4b492dc1957f32a418674f2c4b41b395ac35d1ba37", kill_on_drop: false }` [INFO] [stdout] 9c2e082d355466d8dfd86e4b492dc1957f32a418674f2c4b41b395ac35d1ba37