[INFO] cloning repository https://github.com/maxnelso/joustus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxnelso/joustus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxnelso%2Fjoustus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxnelso%2Fjoustus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f4a6655628afc8560ac82b26e3dd2b09048626b8 [INFO] checking maxnelso/joustus against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxnelso%2Fjoustus" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxnelso/joustus 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/maxnelso/joustus [INFO] finished tweaking git repo https://github.com/maxnelso/joustus [INFO] tweaked toml for git repo https://github.com/maxnelso/joustus written to /workspace/builds/worker-25/source/Cargo.toml [INFO] crate git repo https://github.com/maxnelso/joustus 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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] 261e5069348c82480f9ac99004d71fecb7bde6027791150b5f9ff0ee3a3a5ef8 [INFO] running `Command { std: "docker" "start" "-a" "261e5069348c82480f9ac99004d71fecb7bde6027791150b5f9ff0ee3a3a5ef8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "261e5069348c82480f9ac99004d71fecb7bde6027791150b5f9ff0ee3a3a5ef8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "261e5069348c82480f9ac99004d71fecb7bde6027791150b5f9ff0ee3a3a5ef8", kill_on_drop: false }` [INFO] [stdout] 261e5069348c82480f9ac99004d71fecb7bde6027791150b5f9ff0ee3a3a5ef8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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] f41a48c4fc33418a3f21a04ac5ea8c057af82f03413b1d1f3a5e3af6414a03f7 [INFO] running `Command { std: "docker" "start" "-a" "f41a48c4fc33418a3f21a04ac5ea8c057af82f03413b1d1f3a5e3af6414a03f7", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking joustus v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0412]: cannot find type `Card` in this scope [INFO] [stdout] --> src/grid.rs:170:26 [INFO] [stdout] | [INFO] [stdout] 170 | let placed_card: Card = Default::default(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 153 | use crate::Card; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Card` in this scope [INFO] [stdout] --> src/grid.rs:172:23 [INFO] [stdout] | [INFO] [stdout] 172 | let mut card: Card = Default::default(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 153 | use crate::Card; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Card` in this scope [INFO] [stdout] --> src/grid.rs:185:26 [INFO] [stdout] | [INFO] [stdout] 185 | let placed_card: Card = Default::default(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 153 | use crate::Card; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Card` in this scope [INFO] [stdout] --> src/grid.rs:187:23 [INFO] [stdout] | [INFO] [stdout] 187 | let mut card: Card = Default::default(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 153 | use crate::Card; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/grid.rs (1 fix) [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `joustus` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variant is never constructed: `North` [INFO] [stdout] --> src/action.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | North = 0, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `East` [INFO] [stdout] --> src/action.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | East = 1, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `South` [INFO] [stdout] --> src/action.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | South = 2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `West` [INFO] [stdout] --> src/action.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | West = 3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Place` [INFO] [stdout] --> src/action.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Place = -1, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `opposite` [INFO] [stdout] --> src/action.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn opposite(&self) -> ActionType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Action` [INFO] [stdout] --> src/action.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Action { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid_move` [INFO] [stdout] --> src/grid.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn is_valid_move(&self, action: Action) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings 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" "f41a48c4fc33418a3f21a04ac5ea8c057af82f03413b1d1f3a5e3af6414a03f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f41a48c4fc33418a3f21a04ac5ea8c057af82f03413b1d1f3a5e3af6414a03f7", kill_on_drop: false }` [INFO] [stdout] f41a48c4fc33418a3f21a04ac5ea8c057af82f03413b1d1f3a5e3af6414a03f7