[INFO] fetching crate git-snapshot 0.1.1... [INFO] building git-snapshot-0.1.1 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate git-snapshot 0.1.1 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate git-snapshot 0.1.1 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.20 [INFO] [stderr] Downloaded tokio-stream v0.1.9 [INFO] [stderr] Downloaded num_cpus v1.13.1 [INFO] [stderr] Downloaded unicode-ident v1.0.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.40 [INFO] [stderr] Downloaded tokio-macros v1.8.0 [INFO] [stderr] Downloaded tokio v1.19.2 [INFO] [stderr] Downloaded anyhow v1.0.58 [INFO] [stderr] Downloaded dirs v4.0.0 [INFO] [stderr] Downloaded filetime v0.2.16 [INFO] [stderr] Downloaded dirs-sys v0.3.7 [INFO] [stderr] Downloaded crossbeam-utils v0.8.9 [INFO] [stderr] Downloaded serde v1.0.137 [INFO] [stderr] Downloaded regex-syntax v0.6.26 [INFO] [stderr] Downloaded mio v0.8.4 [INFO] [stderr] Downloaded regex v1.5.6 [INFO] [stderr] Downloaded futures-sink v0.3.21 [INFO] [stderr] Downloaded env_logger v0.7.1 [INFO] [stderr] Downloaded pretty_env_logger v0.4.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.36.1 [INFO] [stderr] Downloaded libssh2-sys v0.2.23 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.36.1 [INFO] [stderr] Downloaded libc v0.2.126 [INFO] [stderr] Downloaded getrandom v0.2.7 [INFO] [stderr] Downloaded redox_users v0.4.3 [INFO] [stderr] Downloaded shellexpand v2.1.0 [INFO] [stderr] Downloaded unicode-width v0.1.9 [INFO] [stderr] Downloaded structopt-derive v0.4.18 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.36.1 [INFO] [stderr] Downloaded redox_syscall v0.2.13 [INFO] [stderr] Downloaded jobserver v0.1.24 [INFO] [stderr] Downloaded git2 v0.14.4 [INFO] [stderr] Downloaded unicode-segmentation v1.9.0 [INFO] [stderr] Downloaded cc v1.0.73 [INFO] [stderr] Downloaded pkg-config v0.3.25 [INFO] [stderr] Downloaded openssl-sys v0.9.74 [INFO] [stderr] Downloaded matches v0.1.9 [INFO] [stderr] Downloaded kqueue-sys v1.0.3 [INFO] [stderr] Downloaded kqueue v1.0.6 [INFO] [stderr] Downloaded notify v5.0.0-pre.15 [INFO] [stderr] Downloaded serde_derive v1.0.137 [INFO] [stderr] Downloaded structopt v0.3.26 [INFO] [stderr] Downloaded crossbeam-channel v0.5.5 [INFO] [stderr] Downloaded fastrand v1.7.0 [INFO] [stderr] Downloaded tempfile v3.3.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.31 [INFO] [stderr] Downloaded thiserror v1.0.31 [INFO] [stderr] Downloaded bytes v1.1.0 [INFO] [stderr] Downloaded futures-core v0.3.21 [INFO] [stderr] Downloaded syn v1.0.98 [INFO] [stderr] Downloaded tokio-util v0.7.3 [INFO] [stderr] Downloaded humantime-serde v1.1.1 [INFO] [stderr] Downloaded windows_i686_msvc v0.36.1 [INFO] [stderr] Downloaded windows_i686_gnu v0.36.1 [INFO] [stderr] Downloaded libgit2-sys v0.13.4+1.4.2 [INFO] [stderr] Downloaded libz-sys v1.1.8 [INFO] [stderr] Downloaded windows-sys v0.36.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0472049da715eb25ad193965c623f10286108023bd3bce7fbbf3947827d72ef9 [INFO] running `Command { std: "docker" "start" "-a" "0472049da715eb25ad193965c623f10286108023bd3bce7fbbf3947827d72ef9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0472049da715eb25ad193965c623f10286108023bd3bce7fbbf3947827d72ef9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0472049da715eb25ad193965c623f10286108023bd3bce7fbbf3947827d72ef9", kill_on_drop: false }` [INFO] [stdout] 0472049da715eb25ad193965c623f10286108023bd3bce7fbbf3947827d72ef9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e38119d380869ea4aa0f3af7e961f625f12eabc666622602d791fbfa5202998 [INFO] running `Command { std: "docker" "start" "-a" "5e38119d380869ea4aa0f3af7e961f625f12eabc666622602d791fbfa5202998", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.5 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling filetime v0.2.16 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling shellexpand v2.1.0 [INFO] [stderr] Compiling notify v5.0.0-pre.15 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [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] Compiling regex v1.5.6 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [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] Compiling tokio v1.19.2 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling git2 v0.14.4 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling humantime-serde v1.1.1 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.27s [INFO] running `Command { std: "docker" "inspect" "5e38119d380869ea4aa0f3af7e961f625f12eabc666622602d791fbfa5202998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e38119d380869ea4aa0f3af7e961f625f12eabc666622602d791fbfa5202998", kill_on_drop: false }` [INFO] [stdout] 5e38119d380869ea4aa0f3af7e961f625f12eabc666622602d791fbfa5202998 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b033128ba75fd59451a0df12b60cbfbd0710d98792ab0e90c024db7c00cafc82 [INFO] running `Command { std: "docker" "start" "-a" "b033128ba75fd59451a0df12b60cbfbd0710d98792ab0e90c024db7c00cafc82", kill_on_drop: false }` [INFO] [stderr] Compiling fastrand v1.7.0 [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] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.81s [INFO] running `Command { std: "docker" "inspect" "b033128ba75fd59451a0df12b60cbfbd0710d98792ab0e90c024db7c00cafc82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b033128ba75fd59451a0df12b60cbfbd0710d98792ab0e90c024db7c00cafc82", kill_on_drop: false }` [INFO] [stdout] b033128ba75fd59451a0df12b60cbfbd0710d98792ab0e90c024db7c00cafc82