[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftqma113%2Fsha1" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tqma113/sha1 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-1/source/Cargo.toml [INFO] crate git repo https://github.com/tqma113/sha1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e70bbf40b3fa3c4af18b677a4b1b76f88a53773b320843f8318278b9f64eeb0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7e70bbf40b3fa3c4af18b677a4b1b76f88a53773b320843f8318278b9f64eeb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e70bbf40b3fa3c4af18b677a4b1b76f88a53773b320843f8318278b9f64eeb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e70bbf40b3fa3c4af18b677a4b1b76f88a53773b320843f8318278b9f64eeb0", kill_on_drop: false }` [INFO] [stdout] 7e70bbf40b3fa3c4af18b677a4b1b76f88a53773b320843f8318278b9f64eeb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 830433278ab90caffddcc57f442131458ce254265bd05653e24b747982f36d30 [INFO] running `Command { std: "docker" "start" "-a" "830433278ab90caffddcc57f442131458ce254265bd05653e24b747982f36d30", kill_on_drop: false }` [INFO] [stderr] Checking sha1 v0.1.0 (/opt/rustwide/workdir) [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 struct `String`, found `&[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&String` [INFO] [stdout] found reference `&&[u8]` [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 struct `String`, found `&[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&String` [INFO] [stdout] found reference `&&[u8]` [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 struct `String`, found `&[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&String` [INFO] [stdout] found reference `&&[u8]` [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 struct `String`, found `&[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&String` [INFO] [stdout] found reference `&&[u8]` [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 struct `String`, found `&[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&String` [INFO] [stdout] found reference `&&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "830433278ab90caffddcc57f442131458ce254265bd05653e24b747982f36d30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "830433278ab90caffddcc57f442131458ce254265bd05653e24b747982f36d30", kill_on_drop: false }` [INFO] [stdout] 830433278ab90caffddcc57f442131458ce254265bd05653e24b747982f36d30