[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#6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd for pr-153721
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivline11%2Fhw4" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  42% (391/911)
Updating files:  43% (392/911)
Updating files:  44% (401/911)
Updating files:  45% (410/911)
Updating files:  46% (420/911)
Updating files:  47% (429/911)
Updating files:  48% (438/911)
Updating files:  49% (447/911)
Updating files:  50% (456/911)
Updating files:  51% (465/911)
Updating files:  52% (474/911)
Updating files:  53% (483/911)
Updating files:  54% (492/911)
Updating files:  55% (502/911)
Updating files:  56% (511/911)
Updating files:  57% (520/911)
Updating files:  58% (529/911)
Updating files:  59% (538/911)
Updating files:  60% (547/911)
Updating files:  61% (556/911)
Updating files:  62% (565/911)
Updating files:  63% (574/911)
Updating files:  64% (584/911)
Updating files:  65% (593/911)
Updating files:  66% (602/911)
Updating files:  67% (611/911)
Updating files:  68% (620/911)
Updating files:  69% (629/911)
Updating files:  70% (638/911)
Updating files:  71% (647/911)
Updating files:  72% (656/911)
Updating files:  73% (666/911)
Updating files:  74% (675/911)
Updating files:  75% (684/911)
Updating files:  76% (693/911)
Updating files:  77% (702/911)
Updating files:  78% (711/911)
Updating files:  79% (720/911)
Updating files:  80% (729/911)
Updating files:  81% (738/911)
Updating files:  82% (748/911)
Updating files:  83% (757/911)
Updating files:  84% (766/911)
Updating files:  85% (775/911)
Updating files:  86% (784/911)
Updating files:  87% (793/911)
Updating files:  88% (802/911)
Updating files:  89% (811/911)
Updating files:  90% (820/911)
Updating files:  91% (830/911)
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-0-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-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ivline11/hw4 on toolchain 6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "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" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hex-literal v0.4.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1d8ad0c6a78d1315197f73f4688816159828f4e3143c25d360644f454cd0eba9
[INFO] running `Command { std: "docker" "start" "1d8ad0c6a78d1315197f73f4688816159828f4e3143c25d360644f454cd0eba9", 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" "1d8ad0c6a78d1315197f73f4688816159828f4e3143c25d360644f454cd0eba9" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1d8ad0c6a78d1315197f73f4688816159828f4e3143c25d360644f454cd0eba9", 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" "1d8ad0c6a78d1315197f73f4688816159828f4e3143c25d360644f454cd0eba9" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking hex-literal v0.4.1
[INFO] [stderr]    Compiling cc v1.2.22
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]    Compiling hw4 v1.0.0 (/opt/rustwide/workdir)
[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 2.53s
[INFO] running `Command { std: "docker" "inspect" "1d8ad0c6a78d1315197f73f4688816159828f4e3143c25d360644f454cd0eba9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d8ad0c6a78d1315197f73f4688816159828f4e3143c25d360644f454cd0eba9", kill_on_drop: false }`
[INFO] [stdout] 1d8ad0c6a78d1315197f73f4688816159828f4e3143c25d360644f454cd0eba9
