[INFO] cloning repository https://github.com/gillo04/hbot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gillo04/hbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgillo04%2Fhbot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgillo04%2Fhbot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2540b3702b85be237c6519d99b6f582983a06edb
[INFO] building gillo04/hbot against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgillo04%2Fhbot" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gillo04/hbot
[INFO] finished tweaking git repo https://github.com/gillo04/hbot
[INFO] tweaked toml for git repo https://github.com/gillo04/hbot written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gillo04/hbot on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gillo04/hbot 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rfd v0.14.1
[INFO] [stderr]   Downloaded zvariant_derive v4.0.2
[INFO] [stderr]   Downloaded objc-foundation v0.1.1
[INFO] [stderr]   Downloaded xdg-home v1.1.0
[INFO] [stderr]   Downloaded objc_id v0.1.1
[INFO] [stderr]   Downloaded enumflags2_derive v0.7.9
[INFO] [stderr]   Downloaded async-broadcast v0.7.0
[INFO] [stderr]   Downloaded async-signal v0.2.5
[INFO] [stderr]   Downloaded async-io v2.3.2
[INFO] [stderr]   Downloaded raylib v3.7.0
[INFO] [stderr]   Downloaded cc v1.0.92
[INFO] [stderr]   Downloaded zbus v4.1.2
[INFO] [stderr]   Downloaded zvariant v4.0.2
[INFO] [stderr]   Downloaded ashpd v0.8.1
[INFO] [stderr]   Downloaded polling v3.6.0
[INFO] [stderr]   Downloaded async-process v2.2.1
[INFO] [stderr]   Downloaded zbus_macros v4.1.2
[INFO] [stderr]   Downloaded async-recursion v1.1.0
[INFO] [stderr]   Downloaded serde_repr v0.1.19
[INFO] [stderr]   Downloaded enumflags2 v0.7.9
[INFO] [stderr]   Downloaded raw-window-handle v0.6.0
[INFO] [stderr]   Downloaded raylib-sys v3.7.0
[INFO] [stderr]   Downloaded zvariant_utils v1.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 77624613db7ed9c24d6bc5621d743479ff0350eb7be44f2128d4bc9253dfb4e0
[INFO] running `Command { std: "docker" "start" "-a" "77624613db7ed9c24d6bc5621d743479ff0350eb7be44f2128d4bc9253dfb4e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "77624613db7ed9c24d6bc5621d743479ff0350eb7be44f2128d4bc9253dfb4e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "77624613db7ed9c24d6bc5621d743479ff0350eb7be44f2128d4bc9253dfb4e0", kill_on_drop: false }`
[INFO] [stdout] 77624613db7ed9c24d6bc5621d743479ff0350eb7be44f2128d4bc9253dfb4e0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] af0650a828c245413a7884a0f21c859db9bf3de3ae37d7aa75180e24308c1f79
[INFO] running `Command { std: "docker" "start" "-a" "af0650a828c245413a7884a0f21c859db9bf3de3ae37d7aa75180e24308c1f79", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling parking v2.2.0
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling fastrand v2.0.2
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling toml_datetime v0.6.5
[INFO] [stderr]    Compiling serde v1.0.198
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling rustix v0.38.32
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling async-task v4.7.0
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling nix v0.28.0
[INFO] [stderr]    Compiling cc v1.0.92
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling futures-lite v2.3.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling memoffset v0.9.1
[INFO] [stderr]    Compiling concurrent-queue v2.4.0
[INFO] [stderr]    Compiling piper v0.2.1
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling event-listener v5.3.0
[INFO] [stderr]    Compiling event-listener v4.0.3
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling event-listener-strategy v0.4.0
[INFO] [stderr]    Compiling ordered-stream v0.2.0
[INFO] [stderr]    Compiling rfd v0.14.1
[INFO] [stderr]    Compiling event-listener-strategy v0.5.1
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling async-channel v2.2.1
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling async-lock v3.3.0
[INFO] [stderr]    Compiling async-broadcast v0.7.0
[INFO] [stderr]    Compiling raw-window-handle v0.6.0
[INFO] [stderr]    Compiling pollster v0.3.0
[INFO] [stderr]    Compiling async-executor v1.11.0
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling cmake v0.1.50
[INFO] [stderr]    Compiling raylib-sys v3.7.0
[INFO] [stderr]    Compiling toml_edit v0.21.1
[INFO] [stderr]    Compiling getrandom v0.2.14
[INFO] [stderr]    Compiling xdg-home v1.1.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling proc-macro-crate v3.1.0
[INFO] [stderr]    Compiling zvariant_utils v1.1.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling serde_derive v1.0.198
[INFO] [stderr]    Compiling enumflags2_derive v0.7.9
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling serde_repr v0.1.19
[INFO] [stderr]    Compiling zvariant_derive v4.0.2
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling zbus_macros v4.1.2
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling blocking v1.5.1
[INFO] [stderr]    Compiling polling v3.6.0
[INFO] [stderr]    Compiling async-fs v2.1.1
[INFO] [stderr]    Compiling async-io v2.3.2
[INFO] [stderr]    Compiling async-net v2.0.0
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling enumflags2 v0.7.9
[INFO] [stderr]    Compiling zvariant v4.0.2
[INFO] [stderr]    Compiling zbus_names v3.0.0
[INFO] [stderr]    Compiling zbus v4.1.2
[INFO] [stderr]    Compiling ashpd v0.8.1
[INFO] [stderr]    Compiling raylib v3.7.0
[INFO] [stderr]    Compiling hbot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `CString`
[INFO] [stdout]  --> src/main.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::ffi::{CStr, CString};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::raw::c_char`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::os::raw::c_char;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/robot.rs:105:24
[INFO] [stdout]     |
[INFO] [stdout] 105 |             Identifier(id) => 0, // TODO: this shouldn't happen in the future
[INFO] [stdout]     |                        ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `found_robot` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:210:33
[INFO] [stdout]     |
[INFO] [stdout] 210 |                         let mut found_robot = false;
[INFO] [stdout]     |                                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_found_robot` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `found_robot` is never read
[INFO] [stdout]    --> src/main.rs:214:33
[INFO] [stdout]     |
[INFO] [stdout] 214 | ...                   found_robot = true;
[INFO] [stdout]     |                       ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:292:22
[INFO] [stdout]     |
[INFO] [stdout] 292 |                 for (i, robot) in robots.iter().enumerate() {
[INFO] [stdout]     |                      ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Field` is more private than the item `draw::draw_plane`
[INFO] [stdout]   --> src/draw.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn draw_plane(d: &mut RaylibDrawHandle, field: &Field) {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `draw::draw_plane` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Field` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/main.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct Field {
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Field` is more private than the item `draw::draw_robot`
[INFO] [stdout]   --> src/draw.rs:65:1
[INFO] [stdout]    |
[INFO] [stdout] 65 | / pub fn draw_robot(
[INFO] [stdout] 66 | |     d: &mut RaylibDrawHandle,
[INFO] [stdout] 67 | |     robot: &Robot,
[INFO] [stdout] 68 | |     field: &Field,
[INFO] [stdout] ...  |
[INFO] [stdout] 71 | |     t: f32,
[INFO] [stdout] 72 | | ) {
[INFO] [stdout]    | |_^ function `draw::draw_robot` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Field` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/main.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct Field {
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Field` is more private than the item `step_robot`
[INFO] [stdout]    --> src/robot.rs:203:1
[INFO] [stdout]     |
[INFO] [stdout] 203 | pub fn step_robot(i: usize, robots: &mut Vec<Robot>, field: &Field) -> Action {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `step_robot` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `Field` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/main.rs:18:1
[INFO] [stdout]     |
[INFO] [stdout]  18 | struct Field {
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Action` is more private than the item `step_robot`
[INFO] [stdout]    --> src/robot.rs:203:1
[INFO] [stdout]     |
[INFO] [stdout] 203 | pub fn step_robot(i: usize, robots: &mut Vec<Robot>, field: &Field) -> Action {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `step_robot` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `Action` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/robot.rs:95:1
[INFO] [stdout]     |
[INFO] [stdout]  95 | enum Action {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Field` is more private than the item `robot::step_game`
[INFO] [stdout]    --> src/robot.rs:366:1
[INFO] [stdout]     |
[INFO] [stdout] 366 | pub fn step_game(robots: &mut Vec<Robot>, field: &Field) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `robot::step_game` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `Field` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/main.rs:18:1
[INFO] [stdout]     |
[INFO] [stdout]  18 | struct Field {
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ashpd v0.8.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "af0650a828c245413a7884a0f21c859db9bf3de3ae37d7aa75180e24308c1f79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af0650a828c245413a7884a0f21c859db9bf3de3ae37d7aa75180e24308c1f79", kill_on_drop: false }`
[INFO] [stdout] af0650a828c245413a7884a0f21c859db9bf3de3ae37d7aa75180e24308c1f79
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 92a34a5b4bc57141a0fe98ae31d8c7f2990a6f8afd28c30ac8002c94fff9707c
[INFO] running `Command { std: "docker" "start" "-a" "92a34a5b4bc57141a0fe98ae31d8c7f2990a6f8afd28c30ac8002c94fff9707c", kill_on_drop: false }`
[INFO] [stderr]    Compiling hbot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `CString`
[INFO] [stdout]  --> src/main.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::ffi::{CStr, CString};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::raw::c_char`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::os::raw::c_char;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/robot.rs:105:24
[INFO] [stdout]     |
[INFO] [stdout] 105 |             Identifier(id) => 0, // TODO: this shouldn't happen in the future
[INFO] [stdout]     |                        ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `found_robot` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:210:33
[INFO] [stdout]     |
[INFO] [stdout] 210 |                         let mut found_robot = false;
[INFO] [stdout]     |                                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_found_robot` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `found_robot` is never read
[INFO] [stdout]    --> src/main.rs:214:33
[INFO] [stdout]     |
[INFO] [stdout] 214 | ...                   found_robot = true;
[INFO] [stdout]     |                       ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:292:22
[INFO] [stdout]     |
[INFO] [stdout] 292 |                 for (i, robot) in robots.iter().enumerate() {
[INFO] [stdout]     |                      ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Field` is more private than the item `draw::draw_plane`
[INFO] [stdout]   --> src/draw.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn draw_plane(d: &mut RaylibDrawHandle, field: &Field) {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `draw::draw_plane` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Field` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/main.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct Field {
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Field` is more private than the item `draw::draw_robot`
[INFO] [stdout]   --> src/draw.rs:65:1
[INFO] [stdout]    |
[INFO] [stdout] 65 | / pub fn draw_robot(
[INFO] [stdout] 66 | |     d: &mut RaylibDrawHandle,
[INFO] [stdout] 67 | |     robot: &Robot,
[INFO] [stdout] 68 | |     field: &Field,
[INFO] [stdout] ...  |
[INFO] [stdout] 71 | |     t: f32,
[INFO] [stdout] 72 | | ) {
[INFO] [stdout]    | |_^ function `draw::draw_robot` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Field` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/main.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct Field {
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Field` is more private than the item `step_robot`
[INFO] [stdout]    --> src/robot.rs:203:1
[INFO] [stdout]     |
[INFO] [stdout] 203 | pub fn step_robot(i: usize, robots: &mut Vec<Robot>, field: &Field) -> Action {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `step_robot` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `Field` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/main.rs:18:1
[INFO] [stdout]     |
[INFO] [stdout]  18 | struct Field {
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Action` is more private than the item `step_robot`
[INFO] [stdout]    --> src/robot.rs:203:1
[INFO] [stdout]     |
[INFO] [stdout] 203 | pub fn step_robot(i: usize, robots: &mut Vec<Robot>, field: &Field) -> Action {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `step_robot` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `Action` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/robot.rs:95:1
[INFO] [stdout]     |
[INFO] [stdout]  95 | enum Action {
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Field` is more private than the item `robot::step_game`
[INFO] [stdout]    --> src/robot.rs:366:1
[INFO] [stdout]     |
[INFO] [stdout] 366 | pub fn step_game(robots: &mut Vec<Robot>, field: &Field) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `robot::step_game` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `Field` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/main.rs:18:1
[INFO] [stdout]     |
[INFO] [stdout]  18 | struct Field {
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.07s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ashpd v0.8.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "92a34a5b4bc57141a0fe98ae31d8c7f2990a6f8afd28c30ac8002c94fff9707c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92a34a5b4bc57141a0fe98ae31d8c7f2990a6f8afd28c30ac8002c94fff9707c", kill_on_drop: false }`
[INFO] [stdout] 92a34a5b4bc57141a0fe98ae31d8c7f2990a6f8afd28c30ac8002c94fff9707c
