[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] testing tqma113/sha1 against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftqma113%2Fsha1" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tqma113/sha1 on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "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-3/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" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", 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] d9d20e41a4568587f8cd6a2097452aaccfdf9b74b9beba0f6ed482e05dbb436c [INFO] running `Command { std: "docker" "start" "-a" "d9d20e41a4568587f8cd6a2097452aaccfdf9b74b9beba0f6ed482e05dbb436c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9d20e41a4568587f8cd6a2097452aaccfdf9b74b9beba0f6ed482e05dbb436c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9d20e41a4568587f8cd6a2097452aaccfdf9b74b9beba0f6ed482e05dbb436c", kill_on_drop: false }` [INFO] [stdout] d9d20e41a4568587f8cd6a2097452aaccfdf9b74b9beba0f6ed482e05dbb436c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 692a9c1f820573aba1ea77f4cda071510e2791c6778e0d87ae0a5eefc2e5d1ed [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" "692a9c1f820573aba1ea77f4cda071510e2791c6778e0d87ae0a5eefc2e5d1ed", kill_on_drop: false }` [INFO] [stderr] Compiling sha1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.10s [INFO] running `Command { std: "docker" "inspect" "692a9c1f820573aba1ea77f4cda071510e2791c6778e0d87ae0a5eefc2e5d1ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "692a9c1f820573aba1ea77f4cda071510e2791c6778e0d87ae0a5eefc2e5d1ed", kill_on_drop: false }` [INFO] [stdout] 692a9c1f820573aba1ea77f4cda071510e2791c6778e0d87ae0a5eefc2e5d1ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--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] 4c4223e8819aff3314a2832847b16e8810566e750cae775837367abb1740e6d3 [INFO] running `Command { std: "docker" "start" "-a" "4c4223e8819aff3314a2832847b16e8810566e750cae775837367abb1740e6d3", kill_on_drop: false }` [INFO] [stderr] Compiling 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" "4c4223e8819aff3314a2832847b16e8810566e750cae775837367abb1740e6d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c4223e8819aff3314a2832847b16e8810566e750cae775837367abb1740e6d3", kill_on_drop: false }` [INFO] [stdout] 4c4223e8819aff3314a2832847b16e8810566e750cae775837367abb1740e6d3