[INFO] cloning repository https://github.com/navicore/headr
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/navicore/headr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnavicore%2Fheadr", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnavicore%2Fheadr'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b3a7e27f142a055f6c1a305452fb1acfd0d18cd6
[INFO] checking navicore/headr/b3a7e27f142a055f6c1a305452fb1acfd0d18cd6 against e5e97e3ef0ee95d34bea49cdac051ed1bbac01df for pr-158759-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnavicore%2Fheadr" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/navicore/headr
[INFO] finished tweaking git repo https://github.com/navicore/headr
[INFO] tweaked toml for git repo https://github.com/navicore/headr written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/navicore/headr on toolchain e5e97e3ef0ee95d34bea49cdac051ed1bbac01df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/navicore/headr 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" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "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-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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] 25dbcf2e71dc715c41408279e1476f62779b356dda0caae6db09111e7ea21c3b
[INFO] running `Command { std: "docker" "start" "25dbcf2e71dc715c41408279e1476f62779b356dda0caae6db09111e7ea21c3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "25dbcf2e71dc715c41408279e1476f62779b356dda0caae6db09111e7ea21c3b", 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" "25dbcf2e71dc715c41408279e1476f62779b356dda0caae6db09111e7ea21c3b" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "25dbcf2e71dc715c41408279e1476f62779b356dda0caae6db09111e7ea21c3b", 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" "25dbcf2e71dc715c41408279e1476f62779b356dda0caae6db09111e7ea21c3b" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.185
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]     Checking os_str_bytes v6.0.0
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking textwrap v0.15.0
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking clap_lex v0.2.0
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking predicates-core v1.0.3
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]     Checking itertools v0.10.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking difflib v0.4.0
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking termtree v0.2.4
[INFO] [stderr]     Checking normalize-line-endings v0.3.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking predicates-tree v1.0.5
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]     Checking float-cmp v0.9.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking wait-timeout v0.2.0
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking clap v3.1.17
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.3
[INFO] [stderr]     Checking regex v1.5.5
[INFO] [stderr]     Checking predicates v2.1.1
[INFO] [stderr]     Checking assert_cmd v2.0.4
[INFO] [stderr]     Checking headr v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `lines` and `bytes` are never read
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 10 |     files: Vec<String>,
[INFO] [stdout] 11 |     lines: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 12 |     bytes: Option<usize>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `lines` and `bytes` are never read
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 10 |     files: Vec<String>,
[INFO] [stdout] 11 |     lines: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 12 |     bytes: Option<usize>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand::distributions`
[INFO] [stdout]  --> tests/cli.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::{distributions::Alphanumeric, Rng};
[INFO] [stdout]   |            ^^^^^^^^^^^^^ could not find `distributions` in `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]   --> tests/cli.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 |     rand::thread_rng()
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `headr` (test "cli") due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "25dbcf2e71dc715c41408279e1476f62779b356dda0caae6db09111e7ea21c3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "25dbcf2e71dc715c41408279e1476f62779b356dda0caae6db09111e7ea21c3b", kill_on_drop: false }`
[INFO] [stdout] 25dbcf2e71dc715c41408279e1476f62779b356dda0caae6db09111e7ea21c3b
