[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] checking gillo04/hbot against try#149edce6c6ee840adb602803b96d083101ef3592 for pr-133502-16 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgillo04%2Fhbot" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gillo04/hbot on toolchain 149edce6c6ee840adb602803b96d083101ef3592 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+149edce6c6ee840adb602803b96d083101ef3592" "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" "+149edce6c6ee840adb602803b96d083101ef3592" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+149edce6c6ee840adb602803b96d083101ef3592" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a41669847ba2d3060443f831b0dd0db766b881ae19893b4723dc40c3e6180a1 [INFO] running `Command { std: "docker" "start" "-a" "8a41669847ba2d3060443f831b0dd0db766b881ae19893b4723dc40c3e6180a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a41669847ba2d3060443f831b0dd0db766b881ae19893b4723dc40c3e6180a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a41669847ba2d3060443f831b0dd0db766b881ae19893b4723dc40c3e6180a1", kill_on_drop: false }` [INFO] [stdout] 8a41669847ba2d3060443f831b0dd0db766b881ae19893b4723dc40c3e6180a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+149edce6c6ee840adb602803b96d083101ef3592" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a27d78b5e7fbff437324a8902e1c84de6ce5705d5991b8bec8c7966c178b0ea0 [INFO] running `Command { std: "docker" "start" "-a" "a27d78b5e7fbff437324a8902e1c84de6ce5705d5991b8bec8c7966c178b0ea0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking async-task v4.7.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking endi v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking event-listener v5.3.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking event-listener-strategy v0.5.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling cc v1.0.92 [INFO] [stderr] Checking async-channel v2.2.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking async-broadcast v0.7.0 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking async-executor v1.11.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling rfd v0.14.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking xdg-home v1.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.6 [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 regex v1.10.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.6 [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 serde_repr v0.1.19 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling zvariant_utils v1.1.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling zvariant_derive v4.0.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling zbus_macros v4.1.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking polling v3.6.0 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking async-io v2.3.2 [INFO] [stderr] Checking async-fs v2.1.1 [INFO] [stderr] Checking async-net v2.0.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking enumflags2 v0.7.9 [INFO] [stderr] Checking zvariant v4.0.2 [INFO] [stderr] Checking zbus_names v3.0.0 [INFO] [stderr] Checking zbus v4.1.2 [INFO] [stderr] Checking raylib v3.7.0 [INFO] [stderr] Checking ashpd v0.8.1 [INFO] [stderr] Checking 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 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: 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: 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, 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, 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, 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] [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, 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, 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, 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 51.79s [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 1` [INFO] running `Command { std: "docker" "inspect" "a27d78b5e7fbff437324a8902e1c84de6ce5705d5991b8bec8c7966c178b0ea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a27d78b5e7fbff437324a8902e1c84de6ce5705d5991b8bec8c7966c178b0ea0", kill_on_drop: false }` [INFO] [stdout] a27d78b5e7fbff437324a8902e1c84de6ce5705d5991b8bec8c7966c178b0ea0