[INFO] cloning repository https://github.com/mhthies/gpn21-gpn-tron [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mhthies/gpn21-gpn-tron" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhthies%2Fgpn21-gpn-tron", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhthies%2Fgpn21-gpn-tron'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4365c42259cf3e094ca7348b8b2e4ff6945e5fa [INFO] testing mhthies/gpn21-gpn-tron against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhthies%2Fgpn21-gpn-tron" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mhthies/gpn21-gpn-tron [INFO] finished tweaking git repo https://github.com/mhthies/gpn21-gpn-tron [INFO] tweaked toml for git repo https://github.com/mhthies/gpn21-gpn-tron written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mhthies/gpn21-gpn-tron on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mhthies/gpn21-gpn-tron 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded env_logger v0.9.3 [INFO] [stderr] Downloaded serde v1.0.164 [INFO] [stderr] Downloaded num-complex v0.4.3 [INFO] [stderr] Downloaded matrixmultiply v0.3.7 [INFO] [stderr] Downloaded serde_derive v1.0.164 [INFO] [stderr] Downloaded ordered-float v3.7.0 [INFO] [stderr] Downloaded ndarray v0.15.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3adbaeb5e6050b6380692fb461a4f33ee879e6f53fa40cd50eb289457f3c17ab [INFO] running `Command { std: "docker" "start" "-a" "3adbaeb5e6050b6380692fb461a4f33ee879e6f53fa40cd50eb289457f3c17ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3adbaeb5e6050b6380692fb461a4f33ee879e6f53fa40cd50eb289457f3c17ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3adbaeb5e6050b6380692fb461a4f33ee879e6f53fa40cd50eb289457f3c17ab", kill_on_drop: false }` [INFO] [stdout] 3adbaeb5e6050b6380692fb461a4f33ee879e6f53fa40cd50eb289457f3c17ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9338eea19c8d12bded5f8fcefd9c8d7f281746f29f7953ef6fd9cca732e9bfa5 [INFO] running `Command { std: "docker" "start" "-a" "9338eea19c8d12bded5f8fcefd9c8d7f281746f29f7953ef6fd9cca732e9bfa5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling ordered-float v3.7.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling gpn21-tron v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread::scope` [INFO] [stdout] --> src/algorithm/algorithm4.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::scope; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distance_to_next_opponent_head` [INFO] [stdout] --> src/algorithm/algorithm4.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | distance_to_next_opponent_head, has_neighbour_head, has_wall, iter_directions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mass_center` is never used [INFO] [stdout] --> src/algorithm/algorithm1.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl EmptySpaceState { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 54 | fn mass_center(&self) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Chat` is never constructed [INFO] [stdout] --> src/client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Command<'a> { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | Chat(&'a str), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/client.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | Win(u32, u32), [INFO] [stdout] | --- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 21 - Win(u32, u32), [INFO] [stdout] 21 + Win((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/client.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | Lose(u32, u32), [INFO] [stdout] | ---- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 22 - Lose(u32, u32), [INFO] [stdout] 22 + Lose((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/client.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | Message(PlayerId, String), [INFO] [stdout] | ------- ^^^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 26 - Message(PlayerId, String), [INFO] [stdout] 26 + Message((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/client.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | Player(PlayerId, String), [INFO] [stdout] | ------ ^^^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 27 - Player(PlayerId, String), [INFO] [stdout] 27 + Player((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.57s [INFO] running `Command { std: "docker" "inspect" "9338eea19c8d12bded5f8fcefd9c8d7f281746f29f7953ef6fd9cca732e9bfa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9338eea19c8d12bded5f8fcefd9c8d7f281746f29f7953ef6fd9cca732e9bfa5", kill_on_drop: false }` [INFO] [stdout] 9338eea19c8d12bded5f8fcefd9c8d7f281746f29f7953ef6fd9cca732e9bfa5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b002d45d89dfc29303706419ff792ff3ac903ec428a9aaa7272c3ab30b9207ac [INFO] running `Command { std: "docker" "start" "-a" "b002d45d89dfc29303706419ff792ff3ac903ec428a9aaa7272c3ab30b9207ac", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::thread::scope` [INFO] [stdout] --> src/algorithm/algorithm4.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::scope; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distance_to_next_opponent_head` [INFO] [stdout] --> src/algorithm/algorithm4.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | distance_to_next_opponent_head, has_neighbour_head, has_wall, iter_directions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mass_center` is never used [INFO] [stdout] --> src/algorithm/algorithm1.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl EmptySpaceState { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 54 | fn mass_center(&self) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Chat` is never constructed [INFO] [stdout] --> src/client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Command<'a> { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | Chat(&'a str), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/client.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | Win(u32, u32), [INFO] [stdout] | --- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 21 - Win(u32, u32), [INFO] [stdout] 21 + Win((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/client.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | Lose(u32, u32), [INFO] [stdout] | ---- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 22 - Lose(u32, u32), [INFO] [stdout] 22 + Lose((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/client.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | Message(PlayerId, String), [INFO] [stdout] | ------- ^^^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 26 - Message(PlayerId, String), [INFO] [stdout] 26 + Message((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/client.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | Player(PlayerId, String), [INFO] [stdout] | ------ ^^^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 27 - Player(PlayerId, String), [INFO] [stdout] 27 + Player((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gpn21-tron v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread::scope` [INFO] [stdout] --> src/algorithm/algorithm4.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::scope; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distance_to_next_opponent_head` [INFO] [stdout] --> src/algorithm/algorithm4.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | distance_to_next_opponent_head, has_neighbour_head, has_wall, iter_directions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mass_center` is never used [INFO] [stdout] --> src/algorithm/algorithm1.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl EmptySpaceState { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 54 | fn mass_center(&self) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Chat` is never constructed [INFO] [stdout] --> src/client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Command<'a> { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | Chat(&'a str), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/client.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | Win(u32, u32), [INFO] [stdout] | --- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 21 - Win(u32, u32), [INFO] [stdout] 21 + Win((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/client.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | Lose(u32, u32), [INFO] [stdout] | ---- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 22 - Lose(u32, u32), [INFO] [stdout] 22 + Lose((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/client.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | Message(PlayerId, String), [INFO] [stdout] | ------- ^^^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 26 - Message(PlayerId, String), [INFO] [stdout] 26 + Message((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/client.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | Player(PlayerId, String), [INFO] [stdout] | ------ ^^^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 27 - Player(PlayerId, String), [INFO] [stdout] 27 + Player((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "b002d45d89dfc29303706419ff792ff3ac903ec428a9aaa7272c3ab30b9207ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b002d45d89dfc29303706419ff792ff3ac903ec428a9aaa7272c3ab30b9207ac", kill_on_drop: false }` [INFO] [stdout] b002d45d89dfc29303706419ff792ff3ac903ec428a9aaa7272c3ab30b9207ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] da7395ce217649bee55add07c0f1876d55e3612c8c6cddb0e08aa905442b5827 [INFO] running `Command { std: "docker" "start" "-a" "da7395ce217649bee55add07c0f1876d55e3612c8c6cddb0e08aa905442b5827", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::thread::scope` [INFO] [stderr] --> src/algorithm/algorithm4.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::thread::scope; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `distance_to_next_opponent_head` [INFO] [stderr] --> src/algorithm/algorithm4.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | distance_to_next_opponent_head, has_neighbour_head, has_wall, iter_directions, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `mass_center` is never used [INFO] [stderr] --> src/algorithm/algorithm1.rs:54:8 [INFO] [stderr] | [INFO] [stderr] 53 | impl EmptySpaceState { [INFO] [stderr] | -------------------- method in this implementation [INFO] [stderr] 54 | fn mass_center(&self) -> (f32, f32) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Chat` is never constructed [INFO] [stderr] --> src/client.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 11 | pub enum Command<'a> { [INFO] [stderr] | ------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 14 | Chat(&'a str), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/client.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | Win(u32, u32), [INFO] [stderr] | --- ^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 21 - Win(u32, u32), [INFO] [stderr] 21 + Win((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/client.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | Lose(u32, u32), [INFO] [stderr] | ---- ^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 22 - Lose(u32, u32), [INFO] [stderr] 22 + Lose((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/client.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | Message(PlayerId, String), [INFO] [stderr] | ------- ^^^^^^^^ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 26 - Message(PlayerId, String), [INFO] [stderr] 26 + Message((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/client.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | Player(PlayerId, String), [INFO] [stderr] | ------ ^^^^^^^^ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 27 - Player(PlayerId, String), [INFO] [stderr] 27 + Player((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `gpn21-tron` (lib) generated 8 warnings (run `cargo fix --lib -p gpn21-tron` to apply 2 suggestions) [INFO] [stderr] warning: `gpn21-tron` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/gpn21_tron-74e3ce5fc8b44a51) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/gpn21_tron-8f782c32d94f6c16) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "da7395ce217649bee55add07c0f1876d55e3612c8c6cddb0e08aa905442b5827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da7395ce217649bee55add07c0f1876d55e3612c8c6cddb0e08aa905442b5827", kill_on_drop: false }` [INFO] [stdout] da7395ce217649bee55add07c0f1876d55e3612c8c6cddb0e08aa905442b5827