[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftqma113%2Fsha1" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tqma113/sha1 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-13/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 719bd5a7916c41b676009647eff93fd680eb55eb671e1197007fdadccdcb5016 [INFO] running `Command { std: "docker" "start" "-a" "719bd5a7916c41b676009647eff93fd680eb55eb671e1197007fdadccdcb5016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "719bd5a7916c41b676009647eff93fd680eb55eb671e1197007fdadccdcb5016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "719bd5a7916c41b676009647eff93fd680eb55eb671e1197007fdadccdcb5016", kill_on_drop: false }` [INFO] [stdout] 719bd5a7916c41b676009647eff93fd680eb55eb671e1197007fdadccdcb5016 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2bee9393c8b040b1238e5c9527bc5861c84c6538c233bbe7bd0ee8f9ea9ecf0 [INFO] running `Command { std: "docker" "start" "-a" "e2bee9393c8b040b1238e5c9527bc5861c84c6538c233bbe7bd0ee8f9ea9ecf0", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking sha1 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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] [stderr] Fixed src/main.rs (1 fix) [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` due to 6 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "e2bee9393c8b040b1238e5c9527bc5861c84c6538c233bbe7bd0ee8f9ea9ecf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2bee9393c8b040b1238e5c9527bc5861c84c6538c233bbe7bd0ee8f9ea9ecf0", kill_on_drop: false }` [INFO] [stdout] e2bee9393c8b040b1238e5c9527bc5861c84c6538c233bbe7bd0ee8f9ea9ecf0