[INFO] fetching crate git2 0.18.1...
[INFO] checking git2-0.18.1 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate git2 0.18.1 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate git2 0.18.1 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate git2 0.18.1
[INFO] finished tweaking crates.io crate git2 0.18.1
[INFO] tweaked toml for crates.io crate git2 0.18.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate crates.io crate git2 0.18.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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded errno v0.3.3
[INFO] [stderr]   Downloaded proc-macro2 v1.0.67
[INFO] [stderr]   Downloaded fastrand v2.0.0
[INFO] [stderr]   Downloaded tempfile v3.8.0
[INFO] [stderr]   Downloaded openssl-sys v0.9.93
[INFO] [stderr]   Downloaded rustix v0.38.14
[INFO] [stderr]   Downloaded libc v0.2.148
[INFO] [stderr]   Downloaded linux-raw-sys v0.4.7
[INFO] [stderr]   Downloaded libgit2-sys v0.16.1+1.7.1
[INFO] [stderr]   Downloaded openssl-src v300.1.5+3.1.3
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d66f15c9fe2dd1ffd0a95de6cc77f26a9c84ac363b415d0f2c98c93b505ba698
[INFO] running `Command { std: "docker" "start" "-a" "d66f15c9fe2dd1ffd0a95de6cc77f26a9c84ac363b415d0f2c98c93b505ba698", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d66f15c9fe2dd1ffd0a95de6cc77f26a9c84ac363b415d0f2c98c93b505ba698", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d66f15c9fe2dd1ffd0a95de6cc77f26a9c84ac363b415d0f2c98c93b505ba698", kill_on_drop: false }`
[INFO] [stdout] d66f15c9fe2dd1ffd0a95de6cc77f26a9c84ac363b415d0f2c98c93b505ba698
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1efdb2c4a66b68404f8cfdd9d3430a167f5f8e9aaa97049705581693db7cea33
[INFO] running `Command { std: "docker" "start" "-a" "1efdb2c4a66b68404f8cfdd9d3430a167f5f8e9aaa97049705581693db7cea33", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.148
[INFO] [stderr]    Compiling proc-macro2 v1.0.67
[INFO] [stderr]    Compiling rustix v0.38.14
[INFO] [stderr]     Checking unicode-bidi v0.3.13
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]     Checking form_urlencoded v1.2.0
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking linux-raw-sys v0.4.7
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking fastrand v2.0.0
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking url v2.4.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling jobserver v0.1.26
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking tempfile v3.8.0
[INFO] [stderr]    Compiling libz-sys v1.1.12
[INFO] [stderr]    Compiling openssl-sys v0.9.93
[INFO] [stderr]    Compiling libssh2-sys v0.3.0
[INFO] [stderr]    Compiling libgit2-sys v0.16.1+1.7.1
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]     Checking structopt v0.3.26
[INFO] [stderr]     Checking git2 v0.18.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/call.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use libc;
[INFO] [stdout]   |     ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]   --> src/call.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     use libc;
[INFO] [stdout]    |         ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `IntoIterator` is imported redundantly
[INFO] [stdout]  --> src/util.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::iter::IntoIterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `IntoIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/commit.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc;
[INFO] [stdout]   |     ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/config.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc;
[INFO] [stdout]   |     ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `url` is imported redundantly
[INFO] [stdout]  --> src/cred.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use url;
[INFO] [stdout]   |     ^^^ the item `url` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/oid.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc;
[INFO] [stdout]   |     ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `IntoIterator` is imported redundantly
[INFO] [stdout]  --> src/pathspec.rs:2:32
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::iter::{FusedIterator, IntoIterator};
[INFO] [stdout]   |                                ^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `IntoIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/remote.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc;
[INFO] [stdout]   |     ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `IntoIterator` is imported redundantly
[INFO] [stdout]  --> src/repo.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::iter::IntoIterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `IntoIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/signature.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc;
[INFO] [stdout]   |     ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/tree.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc::{self, c_char, c_int, c_void};
[INFO] [stdout]   |            ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `libc` is imported redundantly
[INFO] [stdout]   --> src/call.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout] 2  | use libc;
[INFO] [stdout]    |     ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:72:24
[INFO] [stdout]    |
[INFO] [stdout] 72 | #![cfg_attr(test, deny(warnings))]
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout]    = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `libc` is imported redundantly
[INFO] [stdout]   --> src/call.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     use libc;
[INFO] [stdout]    |         ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `IntoIterator` is imported redundantly
[INFO] [stdout]  --> src/util.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::iter::IntoIterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `IntoIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/commit.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc;
[INFO] [stdout]   |     ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/config.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc;
[INFO] [stdout]   |     ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `url` is imported redundantly
[INFO] [stdout]  --> src/cred.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use url;
[INFO] [stdout]   |     ^^^ the item `url` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/oid.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc;
[INFO] [stdout]   |     ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `IntoIterator` is imported redundantly
[INFO] [stdout]  --> src/pathspec.rs:2:32
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::iter::{FusedIterator, IntoIterator};
[INFO] [stdout]   |                                ^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `IntoIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/remote.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc;
[INFO] [stdout]   |     ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `IntoIterator` is imported redundantly
[INFO] [stdout]  --> src/repo.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::iter::IntoIterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `IntoIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/signature.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc;
[INFO] [stdout]   |     ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/tree.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc::{self, c_char, c_int, c_void};
[INFO] [stdout]   |            ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/reference.rs:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct Refdb<'repo>(&'repo Repository);
[INFO] [stdout]    |        -----        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct Refdb<'repo>(());
[INFO] [stdout]    |                     ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: field `0` is never read
[INFO] [stdout]   --> src/reference.rs:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct Refdb<'repo>(&'repo Repository);
[INFO] [stdout]    |        -----        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct Refdb<'repo>(());
[INFO] [stdout]    |                     ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `git2` (lib test) due to 14 previous errors
[INFO] running `Command { std: "docker" "inspect" "1efdb2c4a66b68404f8cfdd9d3430a167f5f8e9aaa97049705581693db7cea33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1efdb2c4a66b68404f8cfdd9d3430a167f5f8e9aaa97049705581693db7cea33", kill_on_drop: false }`
[INFO] [stdout] 1efdb2c4a66b68404f8cfdd9d3430a167f5f8e9aaa97049705581693db7cea33
[INFO] checking git2-0.18.1 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate git2 0.18.1 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate git2 0.18.1 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate git2 0.18.1
[INFO] finished tweaking crates.io crate git2 0.18.1
[INFO] tweaked toml for crates.io crate git2 0.18.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate crates.io crate git2 0.18.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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 099f9aba7352784d82222d5969ef8cfdb5a0f4251aecbaf619e8000f4019d4b2
[INFO] running `Command { std: "docker" "start" "-a" "099f9aba7352784d82222d5969ef8cfdb5a0f4251aecbaf619e8000f4019d4b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "099f9aba7352784d82222d5969ef8cfdb5a0f4251aecbaf619e8000f4019d4b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "099f9aba7352784d82222d5969ef8cfdb5a0f4251aecbaf619e8000f4019d4b2", kill_on_drop: false }`
[INFO] [stdout] 099f9aba7352784d82222d5969ef8cfdb5a0f4251aecbaf619e8000f4019d4b2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 447460bfa06e34062d5570f56b1b750b07131d30646b8766dbf4f9f54334070f
[INFO] running `Command { std: "docker" "start" "-a" "447460bfa06e34062d5570f56b1b750b07131d30646b8766dbf4f9f54334070f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.148
[INFO] [stderr]    Compiling proc-macro2 v1.0.67
[INFO] [stderr]     Checking unicode-bidi v0.3.13
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling rustix v0.38.14
[INFO] [stderr]     Checking linux-raw-sys v0.4.7
[INFO] [stderr]     Checking form_urlencoded v1.2.0
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking fastrand v2.0.0
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking url v2.4.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]    Compiling jobserver v0.1.26
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking tempfile v3.8.0
[INFO] [stderr]    Compiling openssl-sys v0.9.93
[INFO] [stderr]    Compiling libz-sys v1.1.12
[INFO] [stderr]    Compiling libssh2-sys v0.3.0
[INFO] [stderr]    Compiling libgit2-sys v0.16.1+1.7.1
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]     Checking structopt v0.3.26
[INFO] [stderr]     Checking git2 v0.18.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/call.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use libc;
[INFO] [stdout]   |     ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]   --> src/call.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     use libc;
[INFO] [stdout]    |         ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `IntoIterator` is imported redundantly
[INFO] [stdout]  --> src/util.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::iter::IntoIterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `IntoIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/commit.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc;
[INFO] [stdout]   |     ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/config.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc;
[INFO] [stdout]   |     ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `url` is imported redundantly
[INFO] [stdout]  --> src/cred.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use url;
[INFO] [stdout]   |     ^^^ the item `url` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/oid.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc;
[INFO] [stdout]   |     ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `IntoIterator` is imported redundantly
[INFO] [stdout]  --> src/pathspec.rs:2:32
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::iter::{FusedIterator, IntoIterator};
[INFO] [stdout]   |                                ^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `IntoIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/remote.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc;
[INFO] [stdout]   |     ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `IntoIterator` is imported redundantly
[INFO] [stdout]  --> src/repo.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::iter::IntoIterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `IntoIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/signature.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc;
[INFO] [stdout]   |     ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/tree.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc::{self, c_char, c_int, c_void};
[INFO] [stdout]   |            ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `libc` is imported redundantly
[INFO] [stdout]   --> src/call.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout] 2  | use libc;
[INFO] [stdout]    |     ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:72:24
[INFO] [stdout]    |
[INFO] [stdout] 72 | #![cfg_attr(test, deny(warnings))]
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout]    = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `libc` is imported redundantly
[INFO] [stdout]   --> src/call.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     use libc;
[INFO] [stdout]    |         ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `IntoIterator` is imported redundantly
[INFO] [stdout]  --> src/util.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::iter::IntoIterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `IntoIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/commit.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc;
[INFO] [stdout]   |     ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/config.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc;
[INFO] [stdout]   |     ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `url` is imported redundantly
[INFO] [stdout]  --> src/cred.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use url;
[INFO] [stdout]   |     ^^^ the item `url` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/oid.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc;
[INFO] [stdout]   |     ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `IntoIterator` is imported redundantly
[INFO] [stdout]  --> src/pathspec.rs:2:32
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::iter::{FusedIterator, IntoIterator};
[INFO] [stdout]   |                                ^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `IntoIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/remote.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc;
[INFO] [stdout]   |     ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `IntoIterator` is imported redundantly
[INFO] [stdout]  --> src/repo.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::iter::IntoIterator;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `IntoIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/signature.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc;
[INFO] [stdout]   |     ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `libc` is imported redundantly
[INFO] [stdout]  --> src/tree.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use libc::{self, c_char, c_int, c_void};
[INFO] [stdout]   |            ^^^^ the item `libc` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/reference.rs:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct Refdb<'repo>(&'repo Repository);
[INFO] [stdout]    |        -----        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct Refdb<'repo>(());
[INFO] [stdout]    |                     ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: field `0` is never read
[INFO] [stdout]   --> src/reference.rs:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct Refdb<'repo>(&'repo Repository);
[INFO] [stdout]    |        -----        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct Refdb<'repo>(());
[INFO] [stdout]    |                     ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `git2` (lib test) due to 14 previous errors
[INFO] running `Command { std: "docker" "inspect" "447460bfa06e34062d5570f56b1b750b07131d30646b8766dbf4f9f54334070f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "447460bfa06e34062d5570f56b1b750b07131d30646b8766dbf4f9f54334070f", kill_on_drop: false }`
[INFO] [stdout] 447460bfa06e34062d5570f56b1b750b07131d30646b8766dbf4f9f54334070f
