[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#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftqma113%2Fsha1" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tqma113/sha1 on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "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-6/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" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "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] b594639ad700c47c57f41c61cdc9a8df53bfcbf8b0d0ed7b31bfcc753d2651e1 [INFO] running `Command { std: "docker" "start" "-a" "b594639ad700c47c57f41c61cdc9a8df53bfcbf8b0d0ed7b31bfcc753d2651e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b594639ad700c47c57f41c61cdc9a8df53bfcbf8b0d0ed7b31bfcc753d2651e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b594639ad700c47c57f41c61cdc9a8df53bfcbf8b0d0ed7b31bfcc753d2651e1", kill_on_drop: false }` [INFO] [stdout] b594639ad700c47c57f41c61cdc9a8df53bfcbf8b0d0ed7b31bfcc753d2651e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30fd4450ad958a64249681b6e5fe6706c06a6691a012f2d6e258ae7c91cb0768 [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" "30fd4450ad958a64249681b6e5fe6706c06a6691a012f2d6e258ae7c91cb0768", 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 `std::string::String`, found `&[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&std::string::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 `std::string::String`, found `&[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&std::string::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 `std::string::String`, found `&[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&std::string::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 `std::string::String`, found `&[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&std::string::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 `std::string::String`, found `&[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&std::string::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" "30fd4450ad958a64249681b6e5fe6706c06a6691a012f2d6e258ae7c91cb0768", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30fd4450ad958a64249681b6e5fe6706c06a6691a012f2d6e258ae7c91cb0768", kill_on_drop: false }` [INFO] [stdout] 30fd4450ad958a64249681b6e5fe6706c06a6691a012f2d6e258ae7c91cb0768