[INFO] cloning repository https://github.com/shanlihou/rust_play [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shanlihou/rust_play" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshanlihou%2Frust_play", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshanlihou%2Frust_play'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1bfb70a5bbead0cbe7c4b7420ecd33e8c07d64e [INFO] checking shanlihou/rust_play against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshanlihou%2Frust_play" "/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/shanlihou/rust_play 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/shanlihou/rust_play [INFO] finished tweaking git repo https://github.com/shanlihou/rust_play [INFO] tweaked toml for git repo https://github.com/shanlihou/rust_play written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/shanlihou/rust_play 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-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] 46ff818b4544ca029573195d8249075c442a03a6f551894a30f12b4390229539 [INFO] running `Command { std: "docker" "start" "-a" "46ff818b4544ca029573195d8249075c442a03a6f551894a30f12b4390229539", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46ff818b4544ca029573195d8249075c442a03a6f551894a30f12b4390229539", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46ff818b4544ca029573195d8249075c442a03a6f551894a30f12b4390229539", kill_on_drop: false }` [INFO] [stdout] 46ff818b4544ca029573195d8249075c442a03a6f551894a30f12b4390229539 [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] 11b03888601676261e6c06761cf223466f7a043c8d4d6f113e32901e1693bf48 [INFO] running `Command { std: "docker" "start" "-a" "11b03888601676261e6c06761cf223466f7a043c8d4d6f113e32901e1693bf48", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking just_test v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: unused import: `std::marker::Copy` [INFO] [stdout] --> src/question_30.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::marker::Copy; [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] --> src/question_30.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | if let Some(_cur) = cur_root { [INFO] [stdout] | ^^^^^^^^^^ -------- this expression has type `&Box` [INFO] [stdout] | | [INFO] [stdout] | expected struct `Box`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box` [INFO] [stdout] found enum `Option<_>` [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 `just_test` due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `std::marker::Copy` [INFO] [stdout] --> src/question_30.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::marker::Copy; [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] --> src/question_30.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | if let Some(_cur) = cur_root { [INFO] [stdout] | ^^^^^^^^^^ -------- this expression has type `&Box` [INFO] [stdout] | | [INFO] [stdout] | expected struct `Box`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box` [INFO] [stdout] found enum `Option<_>` [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: 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" "11b03888601676261e6c06761cf223466f7a043c8d4d6f113e32901e1693bf48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11b03888601676261e6c06761cf223466f7a043c8d4d6f113e32901e1693bf48", kill_on_drop: false }` [INFO] [stdout] 11b03888601676261e6c06761cf223466f7a043c8d4d6f113e32901e1693bf48