[INFO] cloning repository https://github.com/iamwwc/rustquiz [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iamwwc/rustquiz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamwwc%2Frustquiz", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamwwc%2Frustquiz'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7231596c6a1240f407e427d34bfd1daf1ae8f6db [INFO] checking iamwwc/rustquiz against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamwwc%2Frustquiz" "/workspace/builds/worker-110/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-110/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iamwwc/rustquiz 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/iamwwc/rustquiz [INFO] finished tweaking git repo https://github.com/iamwwc/rustquiz [INFO] tweaked toml for git repo https://github.com/iamwwc/rustquiz written to /workspace/builds/worker-110/source/Cargo.toml [INFO] crate git repo https://github.com/iamwwc/rustquiz 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mio v0.7.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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] d1c660a71ff362a220ef22998d3b84d2f964409a0a8059ad1c3519c4d42e443e [INFO] running `Command { std: "docker" "start" "-a" "d1c660a71ff362a220ef22998d3b84d2f964409a0a8059ad1c3519c4d42e443e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1c660a71ff362a220ef22998d3b84d2f964409a0a8059ad1c3519c4d42e443e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1c660a71ff362a220ef22998d3b84d2f964409a0a8059ad1c3519c4d42e443e", kill_on_drop: false }` [INFO] [stdout] d1c660a71ff362a220ef22998d3b84d2f964409a0a8059ad1c3519c4d42e443e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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] dd0b75c14038bc5090a4e2a6408b0054d69478d6df7ee87a73cf40173ace3782 [INFO] running `Command { std: "docker" "start" "-a" "dd0b75c14038bc5090a4e2a6408b0054d69478d6df7ee87a73cf40173ace3782", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking mio v0.7.5 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking rustquiz v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/bin/print.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/struct.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/rustlang/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/eventloop/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/10_1.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/exam3.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/file.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/bin/struct.rs (2 fixes) [INFO] [stderr] Fixed src/bin/rustlang/main.rs (1 fix) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/eventloop/main.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | fn register() -> io::Result<()> { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::io::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/eventloop/main.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | fn unregister() -> io::Result<()> { [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::io::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/eventloop/main.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | fn select() -> io::Result<()> { [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::io::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 `rustquiz` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/eventloop/main.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | fn register() -> io::Result<()> { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::io::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/eventloop/main.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | fn unregister() -> io::Result<()> { [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::io::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/eventloop/main.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | fn select() -> io::Result<()> { [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::io::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] Fixed src/bin/file.rs (4 fixes) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/file.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | fs::write(path,"hahaha"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/file.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | fs::write(path,"hahaha"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [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" "dd0b75c14038bc5090a4e2a6408b0054d69478d6df7ee87a73cf40173ace3782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd0b75c14038bc5090a4e2a6408b0054d69478d6df7ee87a73cf40173ace3782", kill_on_drop: false }` [INFO] [stdout] dd0b75c14038bc5090a4e2a6408b0054d69478d6df7ee87a73cf40173ace3782