[INFO] cloning repository https://github.com/ivline11/hw4
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ivline11/hw4" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivline11%2Fhw4", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivline11%2Fhw4'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0ecf52ca1fbf7c0c6debc5bb048d85d01e1cde3d
[INFO] checking ivline11/hw4 against master#dc375db7d8df0aa450e622c529147c95eee756f5 for pr-156749
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivline11%2Fhw4" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  92% (839/911)
Updating files:  93% (848/911)
Updating files:  94% (857/911)
Updating files:  95% (866/911)
Updating files:  96% (875/911)
Updating files:  97% (884/911)
Updating files:  98% (893/911)
Updating files:  99% (902/911)
Updating files: 100% (911/911)
Updating files: 100% (911/911), done.
[INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/ivline11/hw4
[INFO] finished tweaking git repo https://github.com/ivline11/hw4
[INFO] tweaked toml for git repo https://github.com/ivline11/hw4 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ivline11/hw4 on toolchain dc375db7d8df0aa450e622c529147c95eee756f5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ivline11/hw4 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" "+dc375db7d8df0aa450e622c529147c95eee756f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.2.22
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 360fb0f6332ab55d2e5a51b007211b6cd1c2a5e0209a941d9ca7b0042269d0c7
[INFO] running `Command { std: "docker" "start" "360fb0f6332ab55d2e5a51b007211b6cd1c2a5e0209a941d9ca7b0042269d0c7", 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" "360fb0f6332ab55d2e5a51b007211b6cd1c2a5e0209a941d9ca7b0042269d0c7" "/opt/rustwide/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "360fb0f6332ab55d2e5a51b007211b6cd1c2a5e0209a941d9ca7b0042269d0c7", 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" "360fb0f6332ab55d2e5a51b007211b6cd1c2a5e0209a941d9ca7b0042269d0c7" "/opt/rustwide/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]     Checking hex-literal v0.4.1
[INFO] [stderr]    Compiling cc v1.2.22
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling hw4 v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/bin/signtool.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{self, Read, Write};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/bin/signtool.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `private_key_path`
[INFO] [stdout]   --> src/bin/signtool.rs:78:38
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn sign_executable(input_path: &str, private_key_path: &str, output_path: &str) -> io::Result<()> {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_private_key_path`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `public_key_path`
[INFO] [stdout]    --> src/bin/signtool.rs:106:40
[INFO] [stdout]     |
[INFO] [stdout] 106 | fn verify_executable(input_path: &str, public_key_path: &str) -> io::Result<VerificationResult> {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SIGNATURE_SECTION_NAME` is never used
[INFO] [stdout]  --> src/bin/signtool.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const SIGNATURE_SECTION_NAME: &str = ".signature";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/bin/signtool.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{self, Read, Write};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/bin/signtool.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `private_key_path`
[INFO] [stdout]   --> src/bin/signtool.rs:78:38
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn sign_executable(input_path: &str, private_key_path: &str, output_path: &str) -> io::Result<()> {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_private_key_path`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `public_key_path`
[INFO] [stdout]    --> src/bin/signtool.rs:106:40
[INFO] [stdout]     |
[INFO] [stdout] 106 | fn verify_executable(input_path: &str, public_key_path: &str) -> io::Result<VerificationResult> {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SIGNATURE_SECTION_NAME` is never used
[INFO] [stdout]  --> src/bin/signtool.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const SIGNATURE_SECTION_NAME: &str = ".signature";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.12s
[INFO] running `Command { std: "docker" "inspect" "360fb0f6332ab55d2e5a51b007211b6cd1c2a5e0209a941d9ca7b0042269d0c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "360fb0f6332ab55d2e5a51b007211b6cd1c2a5e0209a941d9ca7b0042269d0c7", kill_on_drop: false }`
[INFO] [stdout] 360fb0f6332ab55d2e5a51b007211b6cd1c2a5e0209a941d9ca7b0042269d0c7
