[INFO] fetching crate git-snapshot 0.1.1...
[INFO] checking git-snapshot-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] extracting crate git-snapshot 0.1.1 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate git-snapshot 0.1.1
[INFO] finished tweaking crates.io crate git-snapshot 0.1.1
[INFO] tweaked toml for crates.io crate git-snapshot 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate git-snapshot 0.1.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 git-snapshot 0.1.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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 8eafa111db532d52d199a2574e22f1671765a49f4d329977747e93524ee69b14
[INFO] running `Command { std: "docker" "start" "-a" "8eafa111db532d52d199a2574e22f1671765a49f4d329977747e93524ee69b14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8eafa111db532d52d199a2574e22f1671765a49f4d329977747e93524ee69b14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8eafa111db532d52d199a2574e22f1671765a49f4d329977747e93524ee69b14", kill_on_drop: false }`
[INFO] [stdout] 8eafa111db532d52d199a2574e22f1671765a49f4d329977747e93524ee69b14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a08a7ab483ef9d5859ee8b75a4bd4771a26fb52609d8bf57211db51d799c4866
[INFO] running `Command { std: "docker" "start" "-a" "a08a7ab483ef9d5859ee8b75a4bd4771a26fb52609d8bf57211db51d799c4866", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]     Checking once_cell v1.12.0
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling crossbeam-utils v0.8.9
[INFO] [stderr]    Compiling jobserver v0.1.24
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking dirs-sys-next v0.1.2
[INFO] [stderr]     Checking regex v1.5.6
[INFO] [stderr]     Checking inotify-sys v0.1.5
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]    Compiling anyhow v1.0.58
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]     Checking dirs-next v2.0.0
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking inotify v0.9.6
[INFO] [stderr]     Checking filetime v0.2.16
[INFO] [stderr]     Checking dirs-sys v0.3.7
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking ryu v1.0.10
[INFO] [stderr]     Checking itoa v1.0.2
[INFO] [stderr]     Checking shellexpand v2.1.0
[INFO] [stderr]     Checking dirs v4.0.0
[INFO] [stderr]     Checking tempfile v3.3.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.5
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]    Compiling openssl-sys v0.9.74
[INFO] [stderr]    Compiling libz-sys v1.1.8
[INFO] [stderr]    Compiling libssh2-sys v0.2.23
[INFO] [stderr]    Compiling libgit2-sys v0.13.4+1.4.2
[INFO] [stderr]     Checking notify v5.0.0-pre.15
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking pretty_env_logger v0.4.0
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]     Checking tokio v1.19.2
[INFO] [stderr]     Checking thiserror v1.0.31
[INFO] [stderr]     Checking structopt v0.3.26
[INFO] [stderr]     Checking git2 v0.14.4
[INFO] [stderr]     Checking tokio-util v0.7.3
[INFO] [stderr]     Checking tokio-stream v0.1.9
[INFO] [stderr]     Checking serde v1.0.137
[INFO] [stderr]     Checking serde_json v1.0.81
[INFO] [stderr]     Checking humantime-serde v1.1.1
[INFO] [stderr]     Checking git-snapshot v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/repo_watcher.rs:34:24
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct RepoWatcher(SyncWatcher);
[INFO] [stdout]    |            ----------- ^^^^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[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/repo.rs:173:32
[INFO] [stdout]     |
[INFO] [stdout] 173 |             let config = config.clone();
[INFO] [stdout]     |                                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `git2::Config` does not implement `Clone`, so calling `clone` on `&git2::Config` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 173 -             let config = config.clone();
[INFO] [stdout] 173 +             let config = config;
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `git2::Config`, implement `Clone` for it
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/git2-0.14.4/src/config.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 + #[derive(Clone)]
[INFO] [stdout]  13 | pub struct Config {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/repo_watcher.rs:34:24
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct RepoWatcher(SyncWatcher);
[INFO] [stdout]    |            ----------- ^^^^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[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/repo.rs:173:32
[INFO] [stdout]     |
[INFO] [stdout] 173 |             let config = config.clone();
[INFO] [stdout]     |                                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `git2::Config` does not implement `Clone`, so calling `clone` on `&git2::Config` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 173 -             let config = config.clone();
[INFO] [stdout] 173 +             let config = config;
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `git2::Config`, implement `Clone` for it
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/git2-0.14.4/src/config.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 + #[derive(Clone)]
[INFO] [stdout]  13 | pub struct Config {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<PathBuf, Infallible>
[INFO] [stdout]   --> src/main.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 | /         #[structopt(short, long, env = "GIT_SNAPSHOT_CONFIG")]
[INFO] [stdout] 94 | |         config: Option<PathBuf>,
[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<PathBuf, Infallible>
[INFO] [stdout]   --> src/main.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 | /         #[structopt(short, long, env = "GIT_SNAPSHOT_CONFIG")]
[INFO] [stdout] 94 | |         config: Option<PathBuf>,
[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<PathBuf, Infallible>
[INFO] [stdout]   --> src/main.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |         path: PathBuf,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<PathBuf, Infallible>
[INFO] [stdout]   --> src/main.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 98 | /         #[structopt(short, long, env = "GIT_SNAPSHOT_CONFIG")]
[INFO] [stdout] 99 | |         config: Option<PathBuf>,
[INFO] [stdout]    | |_______________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<PathBuf, Infallible>
[INFO] [stdout]    --> src/main.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |         path: PathBuf,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<PathBuf, Infallible>
[INFO] [stdout]    --> src/main.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 | /         #[structopt(short, long, env = "GIT_SNAPSHOT_CONFIG")]
[INFO] [stdout] 104 | |         config: Option<PathBuf>,
[INFO] [stdout]     | |_______________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<PathBuf, Infallible>
[INFO] [stdout]   --> src/main.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |         path: PathBuf,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<PathBuf, Infallible>
[INFO] [stdout]   --> src/main.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 98 | /         #[structopt(short, long, env = "GIT_SNAPSHOT_CONFIG")]
[INFO] [stdout] 99 | |         config: Option<PathBuf>,
[INFO] [stdout]    | |_______________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<PathBuf, Infallible>
[INFO] [stdout]    --> src/main.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |         path: PathBuf,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<PathBuf, Infallible>
[INFO] [stdout]    --> src/main.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 | /         #[structopt(short, long, env = "GIT_SNAPSHOT_CONFIG")]
[INFO] [stdout] 104 | |         config: Option<PathBuf>,
[INFO] [stdout]     | |_______________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `git-snapshot` (bin "git-snapshot") due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `git-snapshot` (bin "git-snapshot" test) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "a08a7ab483ef9d5859ee8b75a4bd4771a26fb52609d8bf57211db51d799c4866", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a08a7ab483ef9d5859ee8b75a4bd4771a26fb52609d8bf57211db51d799c4866", kill_on_drop: false }`
[INFO] [stdout] a08a7ab483ef9d5859ee8b75a4bd4771a26fb52609d8bf57211db51d799c4866
