[INFO] cloning repository https://github.com/ericrasmussen/rustexercises [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericrasmussen/rustexercises" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericrasmussen%2Frustexercises", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericrasmussen%2Frustexercises'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e533dbe992107a927feecdbee16fdfe299fc53f [INFO] checking ericrasmussen/rustexercises against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericrasmussen%2Frustexercises" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ericrasmussen/rustexercises 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] removed /workspace/builds/worker-7/source/rust-toolchain [INFO] started tweaking git repo https://github.com/ericrasmussen/rustexercises [INFO] finished tweaking git repo https://github.com/ericrasmussen/rustexercises [INFO] tweaked toml for git repo https://github.com/ericrasmussen/rustexercises written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/ericrasmussen/rustexercises 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple-error v0.2.0 [INFO] [stderr] Downloaded test_bin v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] d4934d978e3883ccb0cd94c7b76144e63c4a6e0ab653ce29270153b06b3d2d84 [INFO] running `Command { std: "docker" "start" "-a" "d4934d978e3883ccb0cd94c7b76144e63c4a6e0ab653ce29270153b06b3d2d84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4934d978e3883ccb0cd94c7b76144e63c4a6e0ab653ce29270153b06b3d2d84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4934d978e3883ccb0cd94c7b76144e63c4a6e0ab653ce29270153b06b3d2d84", kill_on_drop: false }` [INFO] [stdout] d4934d978e3883ccb0cd94c7b76144e63c4a6e0ab653ce29270153b06b3d2d84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] a6769ed10de59bca209ba93f58b13d49767973d827e5b46d3dc4f2cb0870f232 [INFO] running `Command { std: "docker" "start" "-a" "a6769ed10de59bca209ba93f58b13d49767973d827e5b46d3dc4f2cb0870f232", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling getrandom v0.1.10 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking simple-error v0.2.0 [INFO] [stderr] Checking test_bin v0.2.0 [INFO] [stderr] Checking problem5 v0.1.0 (/tmp/fixit/problems/problem5) [INFO] [stderr] Checking problem2 v0.1.0 (/tmp/fixit/problems/problem2) [INFO] [stderr] Checking problem1 v0.1.0 (/tmp/fixit/problems/problem1) [INFO] [stderr] Checking problem7 v0.1.0 (/tmp/fixit/problems/problem7) [INFO] [stderr] Checking problem4 v0.1.0 (/tmp/fixit/problems/problem4) [INFO] [stderr] Checking exercises v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating problems/problem1/src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating problems/problem4/src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating problems/problem5/src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating problems/problem2/src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating problems/problem7/src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Fixed problems/problem1/src/lib.rs (1 fix) [INFO] [stderr] Fixed problems/problem4/src/lib.rs (8 fixes) [INFO] [stderr] Fixed problems/problem2/src/lib.rs (1 fix) [INFO] [stderr] Migrating problems/problem2/src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> problems/problem5/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> problems/problem5/src/lib.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new () -> Self {} [INFO] [stdout] | --- ^^^^ expected struct `Mortgage`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `problem5` due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] Fixed problems/problem7/src/lib.rs (16 fixes) [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> problems/problem5/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> problems/problem5/src/lib.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new () -> Self {} [INFO] [stdout] | --- ^^^^ expected struct `Mortgage`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] Fixed problems/problem2/src/main.rs (3 fixes) [INFO] [stderr] error: build failed [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" "a6769ed10de59bca209ba93f58b13d49767973d827e5b46d3dc4f2cb0870f232", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6769ed10de59bca209ba93f58b13d49767973d827e5b46d3dc4f2cb0870f232", kill_on_drop: false }` [INFO] [stdout] a6769ed10de59bca209ba93f58b13d49767973d827e5b46d3dc4f2cb0870f232