[INFO] cloning repository https://github.com/daflyinbed/wem
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/daflyinbed/wem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaflyinbed%2Fwem", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaflyinbed%2Fwem'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 58b27034cad8e74bb2e1c926c930ea6abf2f56da
[INFO] checking daflyinbed/wem against master#4eb62535fc12dd1a63fd43a4173e224e79313c4d for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaflyinbed%2Fwem" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/daflyinbed/wem
[INFO] finished tweaking git repo https://github.com/daflyinbed/wem
[INFO] tweaked toml for git repo https://github.com/daflyinbed/wem written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/daflyinbed/wem on toolchain 4eb62535fc12dd1a63fd43a4173e224e79313c4d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/daflyinbed/wem 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" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded h2 v0.3.10
[INFO] [stderr]   Downloaded socket2 v0.4.3
[INFO] [stderr]   Downloaded indicatif v0.17.0-rc.1
[INFO] [stderr]   Downloaded clap v3.0.12
[INFO] [stderr]   Downloaded libc v0.2.114
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1ca9977dfef4d7f111f59832c760d43affb86cbe2797815c4aee18dde9a24b19
[INFO] running `Command { std: "docker" "start" "1ca9977dfef4d7f111f59832c760d43affb86cbe2797815c4aee18dde9a24b19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1ca9977dfef4d7f111f59832c760d43affb86cbe2797815c4aee18dde9a24b19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1ca9977dfef4d7f111f59832c760d43affb86cbe2797815c4aee18dde9a24b19" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1ca9977dfef4d7f111f59832c760d43affb86cbe2797815c4aee18dde9a24b19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1ca9977dfef4d7f111f59832c760d43affb86cbe2797815c4aee18dde9a24b19" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.114
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]    Compiling futures-core v0.3.19
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]    Compiling futures-task v0.3.19
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling futures-util v0.3.19
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling futures-channel v0.3.19
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]     Checking futures-sink v0.3.19
[INFO] [stderr]     Checking tracing v0.1.29
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]    Compiling serde_json v1.0.78
[INFO] [stderr]     Checking http v0.2.6
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]    Compiling anyhow v1.0.53
[INFO] [stderr]     Checking rustls-pemfile v0.2.1
[INFO] [stderr]     Checking os_str_bytes v6.0.0
[INFO] [stderr]     Checking textwrap v0.14.2
[INFO] [stderr]     Checking itertools v0.10.3
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking parking_lot_core v0.8.5
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking socket2 v0.4.3
[INFO] [stderr]     Checking terminal_size v0.1.17
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap v3.0.12
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking console v0.15.0
[INFO] [stderr]     Checking indicatif v0.17.0-rc.1
[INFO] [stderr]     Checking http-body v0.4.4
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling futures-macro v0.3.19
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]     Checking tokio v1.15.0
[INFO] [stderr]     Checking webpki v0.22.0
[INFO] [stderr]     Checking sct v0.7.0
[INFO] [stderr]     Checking rustls v0.20.2
[INFO] [stderr]     Checking webpki-roots v0.22.2
[INFO] [stderr]     Checking thiserror v1.0.30
[INFO] [stderr]     Checking tokio-util v0.6.9
[INFO] [stderr]     Checking tokio-rustls v0.23.2
[INFO] [stderr]     Checking h2 v0.3.10
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper v0.14.16
[INFO] [stderr]     Checking hyper-rustls v0.23.0
[INFO] [stderr]     Checking reqwest v0.11.9
[INFO] [stderr]     Checking wem v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/main.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 |     collections::{HashMap, HashSet},
[INFO] [stdout]   |                            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/main.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 |     collections::{HashMap, HashSet},
[INFO] [stdout]   |                            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 |     if let Some(mut args) = matches.subcommand_matches("add") {
[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: unused variable: `args`
[INFO] [stdout]    --> src/main.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 |     if let Some(args) = matches.subcommand_matches("update") {}
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/main.rs:344:9
[INFO] [stdout]     |
[INFO] [stdout] 344 |     let status = unzip(&filepath, &target_path).await?;
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unset_pb_style` is never used
[INFO] [stdout]    --> src/main.rs:179:4
[INFO] [stdout]     |
[INFO] [stdout] 179 | fn unset_pb_style(pb: &ProgressBar) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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:116:45
[INFO] [stdout]     |
[INFO] [stdout] 116 |     let mut file = fs::File::create(filepath.clone()).await?;
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 |     if let Some(mut args) = matches.subcommand_matches("add") {
[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: unused variable: `args`
[INFO] [stdout]    --> src/main.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 |     if let Some(args) = matches.subcommand_matches("update") {}
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/main.rs:344:9
[INFO] [stdout]     |
[INFO] [stdout] 344 |     let status = unzip(&filepath, &target_path).await?;
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unset_pb_style` is never used
[INFO] [stdout]    --> src/main.rs:179:4
[INFO] [stdout]     |
[INFO] [stdout] 179 | fn unset_pb_style(pb: &ProgressBar) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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:116:45
[INFO] [stdout]     |
[INFO] [stdout] 116 |     let mut file = fs::File::create(filepath.clone()).await?;
[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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.52s
[INFO] running `Command { std: "docker" "inspect" "1ca9977dfef4d7f111f59832c760d43affb86cbe2797815c4aee18dde9a24b19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ca9977dfef4d7f111f59832c760d43affb86cbe2797815c4aee18dde9a24b19", kill_on_drop: false }`
[INFO] [stdout] 1ca9977dfef4d7f111f59832c760d43affb86cbe2797815c4aee18dde9a24b19
