[INFO] cloning repository https://github.com/tqma113/sha1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tqma113/sha1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftqma113%2Fsha1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftqma113%2Fsha1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 389be5fdf7d160d1c5009152b4b03196f877648d [INFO] checking tqma113/sha1 against try#0f31acebf540c89e4a4d5d114959fe91973419cb for pr-147017 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftqma113%2Fsha1" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tqma113/sha1 [INFO] finished tweaking git repo https://github.com/tqma113/sha1 [INFO] tweaked toml for git repo https://github.com/tqma113/sha1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tqma113/sha1 on toolchain 0f31acebf540c89e4a4d5d114959fe91973419cb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tqma113/sha1 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" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "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 tqma113/sha1 against try#0f31acebf540c89e4a4d5d114959fe91973419cb for pr-147017 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftqma113%2Fsha1" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tqma113/sha1 [INFO] finished tweaking git repo https://github.com/tqma113/sha1 [INFO] tweaked toml for git repo https://github.com/tqma113/sha1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tqma113/sha1 on toolchain 0f31acebf540c89e4a4d5d114959fe91973419cb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tqma113/sha1 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" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d76e33d4c579b917f51dcb769ad186cfb51e93910fc0b81bdbfe902c9df892fc [INFO] running `Command { std: "docker" "start" "-a" "d76e33d4c579b917f51dcb769ad186cfb51e93910fc0b81bdbfe902c9df892fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d76e33d4c579b917f51dcb769ad186cfb51e93910fc0b81bdbfe902c9df892fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d76e33d4c579b917f51dcb769ad186cfb51e93910fc0b81bdbfe902c9df892fc", kill_on_drop: false }` [INFO] [stdout] d76e33d4c579b917f51dcb769ad186cfb51e93910fc0b81bdbfe902c9df892fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 080c58391041e19be6c1488a8c465a46b86b897abcc6c72ee06e36f62fc88348 [INFO] running `Command { std: "docker" "start" "-a" "080c58391041e19be6c1488a8c465a46b86b897abcc6c72ee06e36f62fc88348", kill_on_drop: false }` [INFO] [stderr] Checking sha1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | panic!(e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 11 | panic!("{}", e); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/sha1.rs:249:38 [INFO] [stdout] | [INFO] [stdout] 249 | let result = super::sha1(&input.as_bytes()); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^ expected `&String`, found `&&[u8]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&String` [INFO] [stdout] found reference `&&[u8]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/sha1.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn sha1(input: &String) -> Result { [INFO] [stdout] | ^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/sha1.rs:261:38 [INFO] [stdout] | [INFO] [stdout] 261 | let result = super::sha1(&input.as_bytes()); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^ expected `&String`, found `&&[u8]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&String` [INFO] [stdout] found reference `&&[u8]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/sha1.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn sha1(input: &String) -> Result { [INFO] [stdout] | ^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/sha1.rs:273:38 [INFO] [stdout] | [INFO] [stdout] 273 | let result = super::sha1(&input.as_bytes()); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^ expected `&String`, found `&&[u8]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&String` [INFO] [stdout] found reference `&&[u8]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/sha1.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn sha1(input: &String) -> Result { [INFO] [stdout] | ^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/sha1.rs:285:38 [INFO] [stdout] | [INFO] [stdout] 285 | let result = super::sha1(&input.as_bytes()); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^ expected `&String`, found `&&[u8]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&String` [INFO] [stdout] found reference `&&[u8]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/sha1.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn sha1(input: &String) -> Result { [INFO] [stdout] | ^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/sha1.rs:297:38 [INFO] [stdout] | [INFO] [stdout] 297 | let result = super::sha1(&input.as_bytes()); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^ expected `&String`, found `&&[u8]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&String` [INFO] [stdout] found reference `&&[u8]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/sha1.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn sha1(input: &String) -> Result { [INFO] [stdout] | ^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sha1` (bin "sha1" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "080c58391041e19be6c1488a8c465a46b86b897abcc6c72ee06e36f62fc88348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "080c58391041e19be6c1488a8c465a46b86b897abcc6c72ee06e36f62fc88348", kill_on_drop: false }` [INFO] [stdout] 080c58391041e19be6c1488a8c465a46b86b897abcc6c72ee06e36f62fc88348