[INFO] cloning repository https://github.com/the2sang/headr
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/the2sang/headr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe2sang%2Fheadr", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe2sang%2Fheadr'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 428683ccada8635977159199e8704caed94fe196
[INFO] checking the2sang/headr against e5e97e3ef0ee95d34bea49cdac051ed1bbac01df for pr-158759-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe2sang%2Fheadr" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/the2sang/headr
[INFO] finished tweaking git repo https://github.com/the2sang/headr
[INFO] tweaked toml for git repo https://github.com/the2sang/headr written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/the2sang/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/the2sang/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 11a823a58142c417a7aa3f71bf53c33bb44e2205e5ca87d2a9f95402a901dc0c
[INFO] running `Command { std: "docker" "start" "11a823a58142c417a7aa3f71bf53c33bb44e2205e5ca87d2a9f95402a901dc0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "11a823a58142c417a7aa3f71bf53c33bb44e2205e5ca87d2a9f95402a901dc0c", 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" "11a823a58142c417a7aa3f71bf53c33bb44e2205e5ca87d2a9f95402a901dc0c" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "11a823a58142c417a7aa3f71bf53c33bb44e2205e5ca87d2a9f95402a901dc0c", 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" "11a823a58142c417a7aa3f71bf53c33bb44e2205e5ca87d2a9f95402a901dc0c" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.16
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]     Checking anstyle v1.0.10
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]    Compiling zerocopy v0.8.17
[INFO] [stderr]     Checking anstyle-parse v0.2.6
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking colorchoice v1.0.3
[INFO] [stderr]     Checking anstyle-query v1.1.2
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking clap_lex v0.7.4
[INFO] [stderr]     Checking predicates-core v1.0.9
[INFO] [stderr]    Compiling anyhow v1.0.95
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking clap_builder v4.5.27
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]     Checking normalize-line-endings v0.3.0
[INFO] [stderr]     Checking difflib v0.4.0
[INFO] [stderr]    Compiling assert_cmd v2.0.16
[INFO] [stderr]     Checking termtree v0.5.1
[INFO] [stderr]     Checking wait-timeout v0.2.1
[INFO] [stderr]     Checking float-cmp v0.10.0
[INFO] [stderr]     Checking predicates-tree v1.0.12
[INFO] [stderr]     Checking diff v0.1.13
[INFO] [stderr]     Checking yansi v1.0.1
[INFO] [stderr]     Checking pretty_assertions v1.4.1
[INFO] [stderr]     Checking rand_core v0.9.0
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling clap_derive v4.5.28
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking bstr v1.11.3
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking predicates v3.1.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking clap v4.5.28
[INFO] [stderr]     Checking headr v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.0
[INFO] [stdout] error[E0252]: the name `Result` is defined multiple times
[INFO] [stdout]  --> tests/cli.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     -------------- previous import of the type `Result` here
[INFO] [stdout] 2 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ `Result` reimported here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Result` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand::distributions`
[INFO] [stdout]  --> tests/cli.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::{distributions::Alphanumeric, Rng};
[INFO] [stdout]   |            ^^^^^^^^^^^^^ could not find `distributions` in `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> tests/cli.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]   --> tests/cli.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 |     rand::thread_rng()
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0252, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0252`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `headr` (test "cli") due to 2 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "11a823a58142c417a7aa3f71bf53c33bb44e2205e5ca87d2a9f95402a901dc0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "11a823a58142c417a7aa3f71bf53c33bb44e2205e5ca87d2a9f95402a901dc0c", kill_on_drop: false }`
[INFO] [stdout] 11a823a58142c417a7aa3f71bf53c33bb44e2205e5ca87d2a9f95402a901dc0c
