[INFO] cloning repository https://github.com/hujewelz/rust_by_example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hujewelz/rust_by_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhujewelz%2Frust_by_example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhujewelz%2Frust_by_example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1bdc070fd576e0d2d53a9168194b92c04bdb5381
[INFO] checking hujewelz/rust_by_example against 165655a2f1981fef27b31c547ad7631979fc5139 for pr-160235
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhujewelz%2Frust_by_example" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hujewelz/rust_by_example
[INFO] finished tweaking git repo https://github.com/hujewelz/rust_by_example
[INFO] tweaked toml for git repo https://github.com/hujewelz/rust_by_example written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hujewelz/rust_by_example on toolchain 165655a2f1981fef27b31c547ad7631979fc5139
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hujewelz/rust_by_example 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" "+165655a2f1981fef27b31c547ad7631979fc5139" "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 hujewelz/rust_by_example against 165655a2f1981fef27b31c547ad7631979fc5139 for pr-160235
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhujewelz%2Frust_by_example" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hujewelz/rust_by_example
[INFO] finished tweaking git repo https://github.com/hujewelz/rust_by_example
[INFO] tweaked toml for git repo https://github.com/hujewelz/rust_by_example written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hujewelz/rust_by_example on toolchain 165655a2f1981fef27b31c547ad7631979fc5139
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hujewelz/rust_by_example 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" "+165655a2f1981fef27b31c547ad7631979fc5139" "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-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2d095b233f26ed4e83a19fda579808e13ccb6e051feec8a1c24588432ebf5ac9
[INFO] running `Command { std: "docker" "start" "2d095b233f26ed4e83a19fda579808e13ccb6e051feec8a1c24588432ebf5ac9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2d095b233f26ed4e83a19fda579808e13ccb6e051feec8a1c24588432ebf5ac9", 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" "2d095b233f26ed4e83a19fda579808e13ccb6e051feec8a1c24588432ebf5ac9" "/opt/rustwide/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2d095b233f26ed4e83a19fda579808e13ccb6e051feec8a1c24588432ebf5ac9", 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" "2d095b233f26ed4e83a19fda579808e13ccb6e051feec8a1c24588432ebf5ac9" "/opt/rustwide/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rust_by_example v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `read_file2` is never used
[INFO] [stdout]   --> src/error_handling.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn read_file2() -> Result<String, io::Error> {
[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 `last_char_of_first_line` is never used
[INFO] [stdout]   --> src/error_handling.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn last_char_of_first_line(text: &str) -> Option<char> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/format.rs:40:23
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub struct MyType(i32);
[INFO] [stdout]    |                ------ ^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `MyType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_file2` is never used
[INFO] [stdout]   --> src/error_handling.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn read_file2() -> Result<String, io::Error> {
[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 `last_char_of_first_line` is never used
[INFO] [stdout]   --> src/error_handling.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn last_char_of_first_line(text: &str) -> Option<char> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/format.rs:40:23
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub struct MyType(i32);
[INFO] [stdout]    |                ------ ^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `MyType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] running `Command { std: "docker" "inspect" "2d095b233f26ed4e83a19fda579808e13ccb6e051feec8a1c24588432ebf5ac9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2d095b233f26ed4e83a19fda579808e13ccb6e051feec8a1c24588432ebf5ac9", kill_on_drop: false }`
[INFO] [stdout] 2d095b233f26ed4e83a19fda579808e13ccb6e051feec8a1c24588432ebf5ac9
