[INFO] cloning repository https://github.com/Ryan1729/canadian-fish [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ryan1729/canadian-fish" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan1729%2Fcanadian-fish", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan1729%2Fcanadian-fish'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2a854e6c5fb9cfe922f5bab131dbfcd6d64c8eb [INFO] checking Ryan1729/canadian-fish/d2a854e6c5fb9cfe922f5bab131dbfcd6d64c8eb against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan1729%2Fcanadian-fish" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ryan1729/canadian-fish on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ryan1729/canadian-fish [INFO] finished tweaking git repo https://github.com/Ryan1729/canadian-fish [INFO] tweaked toml for git repo https://github.com/Ryan1729/canadian-fish written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Ryan1729/canadian-fish already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/state_manipulation/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/common/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e6283fd38ffd2545736ab43627f7e35f6c4b48eb558e53e8d9d0720e712cfd2 [INFO] running `Command { std: "docker" "start" "-a" "8e6283fd38ffd2545736ab43627f7e35f6c4b48eb558e53e8d9d0720e712cfd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e6283fd38ffd2545736ab43627f7e35f6c4b48eb558e53e8d9d0720e712cfd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e6283fd38ffd2545736ab43627f7e35f6c4b48eb558e53e8d9d0720e712cfd2", kill_on_drop: false }` [INFO] [stdout] 8e6283fd38ffd2545736ab43627f7e35f6c4b48eb558e53e8d9d0720e712cfd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79f24537cbe8161e83dff451c370fd617ff5f4705a565661f50b64aa980f2c47 [INFO] running `Command { std: "docker" "start" "-a" "79f24537cbe8161e83dff451c370fd617ff5f4705a565661f50b64aa980f2c47", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/common/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/state_manipulation/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling serde v0.9.11 [INFO] [stderr] Compiling itoa v0.3.1 [INFO] [stderr] Compiling dtoa v0.4.1 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Checking lazy_static v0.2.4 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking bear-lib-terminal-sys v1.2.2 [INFO] [stderr] Checking bear-lib-terminal v1.3.3 [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stdout] warning: unused imports: `Greater` and `Less` [INFO] [stdout] --> common/src/lib.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cmp::Ordering::{Less, Equal, Greater}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Greater` and `Less` [INFO] [stdout] --> common/src/lib.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cmp::Ordering::{Less, Equal, Greater}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> common/src/lib.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | pub get_foreground: fn() -> (Color), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - pub get_foreground: fn() -> (Color), [INFO] [stdout] 21 + pub get_foreground: fn() -> Color, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> common/src/lib.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | pub get_foreground: fn() -> (Color), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - pub get_foreground: fn() -> (Color), [INFO] [stdout] 21 + pub get_foreground: fn() -> Color, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> common/src/lib.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | pub get_background: fn() -> (Color), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - pub get_background: fn() -> (Color), [INFO] [stdout] 23 + pub get_background: fn() -> Color, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> common/src/lib.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | pub get_background: fn() -> (Color), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - pub get_background: fn() -> (Color), [INFO] [stdout] 23 + pub get_background: fn() -> Color, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Checking state_manipulation v0.1.0 (/opt/rustwide/workdir/state_manipulation) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> state_manipulation/src/lib.rs:1098:31 [INFO] [stdout] | [INFO] [stdout] 1098 | action: &Fn(&mut State, SubSuit), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1098 | action: &dyn Fn(&mut State, SubSuit), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> state_manipulation/src/lib.rs:1098:31 [INFO] [stdout] | [INFO] [stdout] 1098 | action: &Fn(&mut State, SubSuit), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1098 | action: &dyn Fn(&mut State, SubSuit), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling target_build_utils v0.3.0 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> state_manipulation/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut rng: StdRng = SeedableRng::from_seed(seed); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> state_manipulation/src/lib.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | fn make_state(size: Size, title_screen: bool, mut rng: StdRng) -> State { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> state_manipulation/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut rng: StdRng = SeedableRng::from_seed(seed); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> state_manipulation/src/lib.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | fn make_state(size: Size, title_screen: bool, mut rng: StdRng) -> State { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> state_manipulation/src/lib.rs:696:17 [INFO] [stdout] | [INFO] [stdout] 691 | KnownNotToHave(suit, value) => { [INFO] [stdout] | --------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 696 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> state_manipulation/src/lib.rs:696:17 [INFO] [stdout] | [INFO] [stdout] 691 | KnownNotToHave(suit, value) => { [INFO] [stdout] | --------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 696 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> state_manipulation/src/lib.rs:1390:33 [INFO] [stdout] | [INFO] [stdout] 1390 | ... let mut eliminated_players = eliminated_players_by_card [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> state_manipulation/src/lib.rs:1408:21 [INFO] [stdout] | [INFO] [stdout] 1408 | let mut model_hand = &mut knowledge.model_hand; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> state_manipulation/src/lib.rs:1390:33 [INFO] [stdout] | [INFO] [stdout] 1390 | ... let mut eliminated_players = eliminated_players_by_card [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> state_manipulation/src/lib.rs:1408:21 [INFO] [stdout] | [INFO] [stdout] 1408 | let mut model_hand = &mut knowledge.model_hand; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_vertically_centered_line` is never used [INFO] [stdout] --> state_manipulation/src/lib.rs:2179:4 [INFO] [stdout] | [INFO] [stdout] 2179 | fn print_vertically_centered_line>(platform: &Platform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_vertically_centered_line` is never used [INFO] [stdout] --> state_manipulation/src/lib.rs:2179:4 [INFO] [stdout] | [INFO] [stdout] 2179 | fn print_vertically_centered_line>(platform: &Platform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_json v0.9.9 [INFO] [stderr] error: could not compile `target_build_utils` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/f609b7e0586f81fefb3523e3e17adf779ac416be/bin/rustc --crate-name target_build_utils --edition=2015 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/target_build_utils-0.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="serde_json"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "serde_json"))' -C metadata=0b8d68266944e11e -C extra-filename=-0b8d68266944e11e --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern phf=/opt/rustwide/target/debug/deps/libphf-4a42bd69d611b0e7.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-db6b0370a8427cfb.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "79f24537cbe8161e83dff451c370fd617ff5f4705a565661f50b64aa980f2c47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79f24537cbe8161e83dff451c370fd617ff5f4705a565661f50b64aa980f2c47", kill_on_drop: false }` [INFO] [stdout] 79f24537cbe8161e83dff451c370fd617ff5f4705a565661f50b64aa980f2c47