[INFO] cloning repository https://github.com/topazus/head-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/topazus/head-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftopazus%2Fhead-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftopazus%2Fhead-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 72a5e54655e37028b384063e116cc2097eee5ed3
[INFO] checking topazus/head-rs against try#b98202ad067d72e45cec8be3d5c15d86ef0fd086 for pr-155193
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftopazus%2Fhead-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/topazus/head-rs
[INFO] finished tweaking git repo https://github.com/topazus/head-rs
[INFO] tweaked toml for git repo https://github.com/topazus/head-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/topazus/head-rs on toolchain b98202ad067d72e45cec8be3d5c15d86ef0fd086
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/topazus/head-rs 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" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking topazus/head-rs against try#b98202ad067d72e45cec8be3d5c15d86ef0fd086 for pr-155193
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftopazus%2Fhead-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/topazus/head-rs
[INFO] finished tweaking git repo https://github.com/topazus/head-rs
[INFO] tweaked toml for git repo https://github.com/topazus/head-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/topazus/head-rs on toolchain b98202ad067d72e45cec8be3d5c15d86ef0fd086
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/topazus/head-rs 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" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking topazus/head-rs against try#b98202ad067d72e45cec8be3d5c15d86ef0fd086 for pr-155193
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftopazus%2Fhead-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/topazus/head-rs
[INFO] finished tweaking git repo https://github.com/topazus/head-rs
[INFO] tweaked toml for git repo https://github.com/topazus/head-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/topazus/head-rs on toolchain b98202ad067d72e45cec8be3d5c15d86ef0fd086
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/topazus/head-rs 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" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded assert_cmd v2.0.4
[INFO] [stderr]   Downloaded clap_lex v0.1.1
[INFO] [stderr]   Downloaded predicates v2.1.1
[INFO] [stderr]   Downloaded clap v3.1.12
[INFO] [stderr]   Downloaded libc v0.2.124
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 31d0ef340ae5ce6bd1b965b64a332bdad5df316eb02332d490870f32aa152996
[INFO] running `Command { std: "docker" "start" "-a" "31d0ef340ae5ce6bd1b965b64a332bdad5df316eb02332d490870f32aa152996", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "31d0ef340ae5ce6bd1b965b64a332bdad5df316eb02332d490870f32aa152996", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31d0ef340ae5ce6bd1b965b64a332bdad5df316eb02332d490870f32aa152996", kill_on_drop: false }`
[INFO] [stdout] 31d0ef340ae5ce6bd1b965b64a332bdad5df316eb02332d490870f32aa152996
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5a177c471dcb9596cd368ab49d28b65f702bfe1c05e1f54ea3ba02d7814e8efa
[INFO] running `Command { std: "docker" "start" "-a" "5a177c471dcb9596cd368ab49d28b65f702bfe1c05e1f54ea3ba02d7814e8efa", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.124
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking os_str_bytes v6.0.0
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]     Checking textwrap v0.15.0
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking difflib v0.4.0
[INFO] [stderr]     Checking regex v1.5.5
[INFO] [stderr]     Checking clap_lex v0.1.1
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]     Checking getrandom v0.2.6
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking wait-timeout v0.2.0
[INFO] [stderr]     Checking clap v3.1.12
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking float-cmp v0.9.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking predicates v2.1.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking assert_cmd v2.0.4
[INFO] [stderr]     Checking headr v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `files_str`
[INFO] [stdout]   --> src/lib.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let files_str = matches.values_of("files").unwrap().collect::<Vec<&str>>();
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_files_str`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `files_string`
[INFO] [stdout]   --> src/lib.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let files_string = matches
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_files_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `files_str`
[INFO] [stdout]   --> src/lib.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let files_str = matches.values_of("files").unwrap().collect::<Vec<&str>>();
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_files_str`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `files_string`
[INFO] [stdout]   --> src/lib.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let files_string = matches
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_files_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |     let mut file = std::fs::File::open("Cargo.toml").unwrap();
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bytes_read`
[INFO] [stdout]    --> src/lib.rs:226:9
[INFO] [stdout]     |
[INFO] [stdout] 226 |     let bytes_read = file.read_to_string(&mut contents).unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_read`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:231:9
[INFO] [stdout]     |
[INFO] [stdout] 231 |     let mut file = std::fs::File::open("Cargo.toml").unwrap();
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:232:9
[INFO] [stdout]     |
[INFO] [stdout] 232 |     let mut buf = String::new();
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/lib.rs:232:9
[INFO] [stdout]     |
[INFO] [stdout] 232 |     let mut buf = String::new();
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_args` is never used
[INFO] [stdout]   --> src/lib.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn parse_args() {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_bytes_from_file` is never used
[INFO] [stdout]    --> src/lib.rs:215:4
[INFO] [stdout]     |
[INFO] [stdout] 215 | fn read_bytes_from_file(bytes: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_bytes_from_file2` is never used
[INFO] [stdout]    --> src/lib.rs:223:4
[INFO] [stdout]     |
[INFO] [stdout] 223 | fn read_bytes_from_file2(bytes: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_bytes_from_file3` is never used
[INFO] [stdout]    --> src/lib.rs:230:4
[INFO] [stdout]     |
[INFO] [stdout] 230 | fn read_bytes_from_file3(bytes: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |     let mut file = std::fs::File::open("Cargo.toml").unwrap();
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bytes_read`
[INFO] [stdout]    --> src/lib.rs:226:9
[INFO] [stdout]     |
[INFO] [stdout] 226 |     let bytes_read = file.read_to_string(&mut contents).unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_read`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:231:9
[INFO] [stdout]     |
[INFO] [stdout] 231 |     let mut file = std::fs::File::open("Cargo.toml").unwrap();
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:232:9
[INFO] [stdout]     |
[INFO] [stdout] 232 |     let mut buf = String::new();
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/lib.rs:232:9
[INFO] [stdout]     |
[INFO] [stdout] 232 |     let mut buf = String::new();
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_args` is never used
[INFO] [stdout]   --> src/lib.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn parse_args() {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_lines_file` is never used
[INFO] [stdout]    --> src/lib.rs:173:4
[INFO] [stdout]     |
[INFO] [stdout] 173 | fn read_lines_file(file_name: &str) -> Vec<String> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_lines_file2` is never used
[INFO] [stdout]    --> src/lib.rs:183:4
[INFO] [stdout]     |
[INFO] [stdout] 183 | fn read_lines_file2(file_name: &str) -> Result<Vec<String>, Box<dyn Error>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_bytes_from_file` is never used
[INFO] [stdout]    --> src/lib.rs:215:4
[INFO] [stdout]     |
[INFO] [stdout] 215 | fn read_bytes_from_file(bytes: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_bytes_from_file2` is never used
[INFO] [stdout]    --> src/lib.rs:223:4
[INFO] [stdout]     |
[INFO] [stdout] 223 | fn read_bytes_from_file2(bytes: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_bytes_from_file3` is never used
[INFO] [stdout]    --> src/lib.rs:230:4
[INFO] [stdout]     |
[INFO] [stdout] 230 | fn read_bytes_from_file3(bytes: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_positive_int2` is never used
[INFO] [stdout]    --> src/lib.rs:264:4
[INFO] [stdout]     |
[INFO] [stdout] 264 | fn parse_positive_int2(val: &str) -> Result<isize, &str> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_positive_int3` is never used
[INFO] [stdout]    --> src/lib.rs:270:4
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn parse_positive_int3(val: &str) -> Result<isize, &str> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.43s
[INFO] running `Command { std: "docker" "inspect" "5a177c471dcb9596cd368ab49d28b65f702bfe1c05e1f54ea3ba02d7814e8efa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a177c471dcb9596cd368ab49d28b65f702bfe1c05e1f54ea3ba02d7814e8efa", kill_on_drop: false }`
[INFO] [stdout] 5a177c471dcb9596cd368ab49d28b65f702bfe1c05e1f54ea3ba02d7814e8efa
