[INFO] cloning repository https://github.com/KevinKalt0/Projet_Rust_Robots [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KevinKalt0/Projet_Rust_Robots" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinKalt0%2FProjet_Rust_Robots", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinKalt0%2FProjet_Rust_Robots'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 481c23c3537a9038581e85ed6ab1320df92e48fd [INFO] testing KevinKalt0/Projet_Rust_Robots against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinKalt0%2FProjet_Rust_Robots" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KevinKalt0/Projet_Rust_Robots on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KevinKalt0/Projet_Rust_Robots [INFO] finished tweaking git repo https://github.com/KevinKalt0/Projet_Rust_Robots [INFO] tweaked toml for git repo https://github.com/KevinKalt0/Projet_Rust_Robots written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KevinKalt0/Projet_Rust_Robots 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73cdb7841d57dfae44fa96c5fd436e81afd418f4a1b404d997ac24a13d0e581f [INFO] running `Command { std: "docker" "start" "-a" "73cdb7841d57dfae44fa96c5fd436e81afd418f4a1b404d997ac24a13d0e581f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73cdb7841d57dfae44fa96c5fd436e81afd418f4a1b404d997ac24a13d0e581f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73cdb7841d57dfae44fa96c5fd436e81afd418f4a1b404d997ac24a13d0e581f", kill_on_drop: false }` [INFO] [stdout] 73cdb7841d57dfae44fa96c5fd436e81afd418f4a1b404d997ac24a13d0e581f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f6318fdd49c668af1f36a4976db3bd4e8907259010d6f43fa0a52445a08181c [INFO] running `Command { std: "docker" "start" "-a" "9f6318fdd49c668af1f36a4976db3bd4e8907259010d6f43fa0a52445a08181c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling nonmax v0.5.5 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling bevy_ptr v0.12.1 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling uuid v1.13.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling bevy_tasks v0.12.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling pp-rs v0.2.1 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling cc v1.2.13 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling accesskit v0.12.3 [INFO] [stderr] Compiling miniz_oxide v0.8.3 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling toml_edit v0.20.7 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling blake3 v1.5.5 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling thiserror-core v1.0.50 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling async-broadcast v0.5.1 [INFO] [stderr] Compiling const_soft_float v0.1.4 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling constgebra v0.1.4 [INFO] [stderr] Compiling const_panic v0.2.12 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling ktx2 v0.3.0 [INFO] [stderr] Compiling radsort v0.1.1 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling euclid v0.22.11 [INFO] [stderr] Compiling svg_fmt v0.4.4 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling bevy_macro_utils v0.12.1 [INFO] [stderr] Compiling encase_derive_impl v0.6.1 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling rectangle-pack v0.4.2 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling inotify v0.10.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling gilrs v0.10.10 [INFO] [stderr] Compiling guillotiere v0.6.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling glyph_brush_layout v0.2.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling grid v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling sysinfo v0.29.11 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling taffy v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.12.1 [INFO] [stderr] Compiling bevy_reflect_derive v0.12.1 [INFO] [stderr] Compiling bevy_ecs_macros v0.12.1 [INFO] [stderr] Compiling bevy_derive v0.12.1 [INFO] [stderr] Compiling bevy_asset_macros v0.12.1 [INFO] [stderr] Compiling thiserror-core-impl v1.0.50 [INFO] [stderr] Compiling encase_derive v0.6.1 [INFO] [stderr] Compiling bevy_encase_derive v0.12.1 [INFO] [stderr] Compiling bevy_render_macros v0.12.1 [INFO] [stderr] Compiling gltf-derive v1.4.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling bytemuck v1.21.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ruzstd v0.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling noise v0.8.2 [INFO] [stderr] Compiling accesskit_winit v0.15.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling glam v0.24.2 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling naga v0.13.0 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling wgpu-types v0.17.0 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling gilrs-core v0.5.15 [INFO] [stderr] Compiling bevy_utils v0.12.1 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling gltf-json v1.4.1 [INFO] [stderr] Compiling rodio v0.17.3 [INFO] [stderr] Compiling bevy_math v0.12.1 [INFO] [stderr] Compiling bevy_mikktspace v0.12.1 [INFO] [stderr] Compiling encase v0.6.1 [INFO] [stderr] Compiling hexasphere v9.1.0 [INFO] [stderr] Compiling bevy_reflect v0.12.1 [INFO] [stderr] Compiling gltf v1.4.1 [INFO] [stderr] Compiling wgpu-hal v0.17.2 [INFO] [stderr] Compiling naga_oil v0.10.1 [INFO] [stderr] Compiling bevy_ecs v0.12.1 [INFO] [stderr] Compiling wgpu-core v0.17.1 [INFO] [stderr] Compiling bevy_app v0.12.1 [INFO] [stderr] Compiling bevy_log v0.12.1 [INFO] [stderr] Compiling bevy_core v0.12.1 [INFO] [stderr] Compiling bevy_input v0.12.1 [INFO] [stderr] Compiling bevy_a11y v0.12.1 [INFO] [stderr] Compiling bevy_time v0.12.1 [INFO] [stderr] Compiling bevy_hierarchy v0.12.1 [INFO] [stderr] Compiling bevy_asset v0.12.1 [INFO] [stderr] Compiling bevy_diagnostic v0.12.1 [INFO] [stderr] Compiling wgpu v0.17.2 [INFO] [stderr] Compiling bevy_transform v0.12.1 [INFO] [stderr] Compiling bevy_window v0.12.1 [INFO] [stderr] Compiling bevy_gilrs v0.12.1 [INFO] [stderr] Compiling bevy_winit v0.12.1 [INFO] [stderr] Compiling bevy_render v0.12.1 [INFO] [stderr] Compiling bevy_audio v0.12.1 [INFO] [stderr] Compiling bevy_core_pipeline v0.12.1 [INFO] [stderr] Compiling bevy_scene v0.12.1 [INFO] [stderr] Compiling bevy_animation v0.12.1 [INFO] [stderr] Compiling bevy_sprite v0.12.1 [INFO] [stderr] Compiling bevy_pbr v0.12.1 [INFO] [stderr] Compiling bevy_text v0.12.1 [INFO] [stderr] Compiling bevy_ui v0.12.1 [INFO] [stderr] Compiling bevy_gizmos v0.12.1 [INFO] [stderr] Compiling bevy_gltf v0.12.1 [INFO] [stderr] Compiling bevy_internal v0.12.1 [INFO] [stderr] Compiling bevy v0.12.1 [INFO] [stderr] Compiling simulation_robots v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Crystal` is never constructed [INFO] [stdout] --> src/robots.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Crystal; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seed` is never read [INFO] [stdout] --> src/robots.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct GameMap { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | seed: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `grid` and `cell_size` are never read [INFO] [stdout] --> src/robots.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | struct ExploredZones { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 67 | grid: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | cell_size: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_nearest_unexplored` is never used [INFO] [stdout] --> src/robots.rs:237:4 [INFO] [stdout] | [INFO] [stdout] 237 | fn find_nearest_unexplored(pos: &Vec3, explored_zones: &ExploredZones, game_map: &GameMap) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_explored_map` is never used [INFO] [stdout] --> src/robots.rs:271:4 [INFO] [stdout] | [INFO] [stdout] 271 | fn update_explored_map( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_resources` is never used [INFO] [stdout] --> src/robots.rs:513:4 [INFO] [stdout] | [INFO] [stdout] 513 | fn generate_resources(map: &GameMap) -> MapResources { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_valid_position` is never used [INFO] [stdout] --> src/robots.rs:541:4 [INFO] [stdout] | [INFO] [stdout] 541 | fn get_valid_position(map: &GameMap, rng: &mut impl Rng) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Map` is never constructed [INFO] [stdout] --> src/robots.rs:583:8 [INFO] [stdout] | [INFO] [stdout] 583 | struct Map { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `clear_fog` are never used [INFO] [stdout] --> src/robots.rs:590:8 [INFO] [stdout] | [INFO] [stdout] 589 | impl Map { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 590 | fn new(width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 598 | fn clear_fog(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/robots.rs:605:4 [INFO] [stdout] | [INFO] [stdout] 605 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 26s [INFO] running `Command { std: "docker" "inspect" "9f6318fdd49c668af1f36a4976db3bd4e8907259010d6f43fa0a52445a08181c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f6318fdd49c668af1f36a4976db3bd4e8907259010d6f43fa0a52445a08181c", kill_on_drop: false }` [INFO] [stdout] 9f6318fdd49c668af1f36a4976db3bd4e8907259010d6f43fa0a52445a08181c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1599d2372455b6601c5c00b0dfaa51909a43dbcbb7fe0fa03498a2e77298a286 [INFO] running `Command { std: "docker" "start" "-a" "1599d2372455b6601c5c00b0dfaa51909a43dbcbb7fe0fa03498a2e77298a286", kill_on_drop: false }` [INFO] [stderr] Compiling simulation_robots v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Crystal` is never constructed [INFO] [stdout] --> src/robots.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Crystal; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seed` is never read [INFO] [stdout] --> src/robots.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct GameMap { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | seed: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `grid` and `cell_size` are never read [INFO] [stdout] --> src/robots.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | struct ExploredZones { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 67 | grid: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | cell_size: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_nearest_unexplored` is never used [INFO] [stdout] --> src/robots.rs:237:4 [INFO] [stdout] | [INFO] [stdout] 237 | fn find_nearest_unexplored(pos: &Vec3, explored_zones: &ExploredZones, game_map: &GameMap) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_explored_map` is never used [INFO] [stdout] --> src/robots.rs:271:4 [INFO] [stdout] | [INFO] [stdout] 271 | fn update_explored_map( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_resources` is never used [INFO] [stdout] --> src/robots.rs:513:4 [INFO] [stdout] | [INFO] [stdout] 513 | fn generate_resources(map: &GameMap) -> MapResources { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_valid_position` is never used [INFO] [stdout] --> src/robots.rs:541:4 [INFO] [stdout] | [INFO] [stdout] 541 | fn get_valid_position(map: &GameMap, rng: &mut impl Rng) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Map` is never constructed [INFO] [stdout] --> src/robots.rs:583:8 [INFO] [stdout] | [INFO] [stdout] 583 | struct Map { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `clear_fog` are never used [INFO] [stdout] --> src/robots.rs:590:8 [INFO] [stdout] | [INFO] [stdout] 589 | impl Map { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 590 | fn new(width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 598 | fn clear_fog(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/robots.rs:605:4 [INFO] [stdout] | [INFO] [stdout] 605 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 40.50s [INFO] running `Command { std: "docker" "inspect" "1599d2372455b6601c5c00b0dfaa51909a43dbcbb7fe0fa03498a2e77298a286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1599d2372455b6601c5c00b0dfaa51909a43dbcbb7fe0fa03498a2e77298a286", kill_on_drop: false }` [INFO] [stdout] 1599d2372455b6601c5c00b0dfaa51909a43dbcbb7fe0fa03498a2e77298a286 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f4c777975fa9778009d96e6f7edf908439b47379d9dd965221e51afab7b83fba [INFO] running `Command { std: "docker" "start" "-a" "f4c777975fa9778009d96e6f7edf908439b47379d9dd965221e51afab7b83fba", kill_on_drop: false }` [INFO] [stderr] warning: struct `Crystal` is never constructed [INFO] [stderr] --> src/robots.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | struct Crystal; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `seed` is never read [INFO] [stderr] --> src/robots.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 29 | struct GameMap { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 33 | seed: u32, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `grid` and `cell_size` are never read [INFO] [stderr] --> src/robots.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 66 | struct ExploredZones { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 67 | grid: Vec>, [INFO] [stderr] | ^^^^ [INFO] [stderr] 68 | cell_size: f32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `find_nearest_unexplored` is never used [INFO] [stderr] --> src/robots.rs:237:4 [INFO] [stderr] | [INFO] [stderr] 237 | fn find_nearest_unexplored(pos: &Vec3, explored_zones: &ExploredZones, game_map: &GameMap) -> Vec2 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_explored_map` is never used [INFO] [stderr] --> src/robots.rs:271:4 [INFO] [stderr] | [INFO] [stderr] 271 | fn update_explored_map( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `generate_resources` is never used [INFO] [stderr] --> src/robots.rs:513:4 [INFO] [stderr] | [INFO] [stderr] 513 | fn generate_resources(map: &GameMap) -> MapResources { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_valid_position` is never used [INFO] [stderr] --> src/robots.rs:541:4 [INFO] [stderr] | [INFO] [stderr] 541 | fn get_valid_position(map: &GameMap, rng: &mut impl Rng) -> Vec2 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Map` is never constructed [INFO] [stderr] --> src/robots.rs:583:8 [INFO] [stderr] | [INFO] [stderr] 583 | struct Map { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `clear_fog` are never used [INFO] [stderr] --> src/robots.rs:590:8 [INFO] [stderr] | [INFO] [stderr] 589 | impl Map { [INFO] [stderr] | -------- associated items in this implementation [INFO] [stderr] 590 | fn new(width: u32, height: u32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 598 | fn clear_fog(&mut self) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/robots.rs:605:4 [INFO] [stderr] | [INFO] [stderr] 605 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `simulation_robots` (bin "simulation_robots" test) generated 10 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/simulation_robots-990ddb31f4e39fd7) [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" "f4c777975fa9778009d96e6f7edf908439b47379d9dd965221e51afab7b83fba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4c777975fa9778009d96e6f7edf908439b47379d9dd965221e51afab7b83fba", kill_on_drop: false }` [INFO] [stdout] f4c777975fa9778009d96e6f7edf908439b47379d9dd965221e51afab7b83fba