[INFO] cloning repository https://github.com/lucas-gold/bridge-bidding-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lucas-gold/bridge-bidding-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucas-gold%2Fbridge-bidding-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucas-gold%2Fbridge-bidding-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b59e8384340cfad23144d7705609fc79d2825d8 [INFO] checking lucas-gold/bridge-bidding-rust against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucas-gold%2Fbridge-bidding-rust" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lucas-gold/bridge-bidding-rust 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/lucas-gold/bridge-bidding-rust [INFO] finished tweaking git repo https://github.com/lucas-gold/bridge-bidding-rust [INFO] tweaked toml for git repo https://github.com/lucas-gold/bridge-bidding-rust written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/lucas-gold/bridge-bidding-rust 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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 20a8f48d92cea375fba2bc8f49206dafedabe41b74f44a033e00cac8bfe3709d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "20a8f48d92cea375fba2bc8f49206dafedabe41b74f44a033e00cac8bfe3709d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20a8f48d92cea375fba2bc8f49206dafedabe41b74f44a033e00cac8bfe3709d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20a8f48d92cea375fba2bc8f49206dafedabe41b74f44a033e00cac8bfe3709d", kill_on_drop: false }` [INFO] [stdout] 20a8f48d92cea375fba2bc8f49206dafedabe41b74f44a033e00cac8bfe3709d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] c794c9022b23b774a55bb13ff002eda747b1168a3214da7310f7fe08d8303aab [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c794c9022b23b774a55bb13ff002eda747b1168a3214da7310f7fe08d8303aab", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking assign4 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/testing.rs (1 fix) [INFO] [stderr] Fixed src/bidding.rs (3 fixes) [INFO] [stderr] Fixed src/main.rs (5 fixes) [INFO] [stdout] error[E0425]: cannot find function `format_game` in this scope [INFO] [stdout] --> src/testing.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | format_game(with_permutation(from_north_east_south_west( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use crate::format_game; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `format_game` in this scope [INFO] [stdout] --> src/testing.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | format_game(with_permutation(from_north_east_south_west( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use crate::format_game; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `format_game` in this scope [INFO] [stdout] --> src/testing.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | format_game(with_permutation(from_north_east_south_west( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use crate::format_game; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `format_game` in this scope [INFO] [stdout] --> src/testing.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | format_game(with_permutation(from_north_east_south_west( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use crate::format_game; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `format_game` in this scope [INFO] [stdout] --> src/testing.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | format_game(with_permutation(from_north_east_south_west( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use crate::format_game; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `format_game` in this scope [INFO] [stdout] --> src/testing.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | format_game(with_permutation(from_north_east_south_west( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use crate::format_game; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `format_game` in this scope [INFO] [stdout] --> src/testing.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | format_game(with_permutation(from_north_east_south_west( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use crate::format_game; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `format_game` in this scope [INFO] [stdout] --> src/testing.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | format_game(with_permutation(from_north_east_south_west( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use crate::format_game; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `eas` is never read [INFO] [stdout] --> src/main.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let mut eas = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `team_points` is never read [INFO] [stdout] --> src/bidding.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | let mut team_points = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `teammate` is never read [INFO] [stdout] --> src/bidding.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | let mut teammate = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `mate_points` is never read [INFO] [stdout] --> src/bidding.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | let mut mate_points = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `max_ind` is assigned to, but never used [INFO] [stdout] --> src/bidding.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | let mut max_ind = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_max_ind` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `min_bid` is never read [INFO] [stdout] --> src/bidding.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | let mut min_bid = (0,'P'); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `val` is never read [INFO] [stdout] --> src/bidding.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | let mut val: usize = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hand_count` is never read [INFO] [stdout] --> src/bidding.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | let mut hand_count: [usize;4] = [0,0,0,0]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `return_suit` is never read [INFO] [stdout] --> src/bidding.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 155 | let mut return_suit: char = 'P'; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `assign4` due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function is never used: `to_indices` [INFO] [stdout] --> src/testing.rs:266:4 [INFO] [stdout] | [INFO] [stdout] 266 | fn to_indices(cards: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `from_north_east_south_west` [INFO] [stdout] --> src/testing.rs:273:4 [INFO] [stdout] | [INFO] [stdout] 273 | fn from_north_east_south_west(north:&str,east:&str,south:&str,west:&str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 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" "c794c9022b23b774a55bb13ff002eda747b1168a3214da7310f7fe08d8303aab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c794c9022b23b774a55bb13ff002eda747b1168a3214da7310f7fe08d8303aab", kill_on_drop: false }` [INFO] [stdout] c794c9022b23b774a55bb13ff002eda747b1168a3214da7310f7fe08d8303aab