[INFO] cloning repository https://github.com/nesuwu/rAIce [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nesuwu/rAIce" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnesuwu%2FrAIce", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnesuwu%2FrAIce'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9cb5d88650a5eca417ff3abc41e40230576b81bf [INFO] checking nesuwu/rAIce against try#0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9 for pr-147185 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnesuwu%2FrAIce" "/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/nesuwu/rAIce [INFO] finished tweaking git repo https://github.com/nesuwu/rAIce [INFO] tweaked toml for git repo https://github.com/nesuwu/rAIce written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nesuwu/rAIce on toolchain 0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nesuwu/rAIce 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" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "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" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc1a708b7a2a5869ebeef31667ff257aadb7d5b4f7d31d5fcf516efd007c1e9e [INFO] running `Command { std: "docker" "start" "-a" "bc1a708b7a2a5869ebeef31667ff257aadb7d5b4f7d31d5fcf516efd007c1e9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc1a708b7a2a5869ebeef31667ff257aadb7d5b4f7d31d5fcf516efd007c1e9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc1a708b7a2a5869ebeef31667ff257aadb7d5b4f7d31d5fcf516efd007c1e9e", kill_on_drop: false }` [INFO] [stdout] bc1a708b7a2a5869ebeef31667ff257aadb7d5b4f7d31d5fcf516efd007c1e9e [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" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37975b81264680181efa4e04dc915543be13eba0d9dc7635598344c574e9b3da [INFO] running `Command { std: "docker" "start" "-a" "37975b81264680181efa4e04dc915543be13eba0d9dc7635598344c574e9b3da", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.227 [INFO] [stderr] Compiling serde v1.0.227 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Compiling erased-serde v0.4.8 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking nonmax v0.5.5 [INFO] [stderr] Checking web-time v0.2.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking async-executor v1.13.3 [INFO] [stderr] Compiling uuid v1.12.1 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking bevy_ptr v0.13.2 [INFO] [stderr] Checking bevy_tasks v0.13.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Compiling wgpu-hal v0.19.5 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking regex-automata v0.4.11 [INFO] [stderr] Checking accesskit v0.12.3 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Compiling wgpu-core v0.19.4 [INFO] [stderr] Checking async-lock v3.4.1 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking async-fs v2.2.0 [INFO] [stderr] Compiling bevy_macro_utils v0.13.2 [INFO] [stderr] Compiling encase_derive_impl v0.7.0 [INFO] [stderr] Compiling wgpu v0.19.4 [INFO] [stderr] Checking typewit v1.14.2 [INFO] [stderr] Checking const_soft_float v0.1.4 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking const_panic v0.2.15 [INFO] [stderr] Checking constgebra v0.1.4 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking unicode-ident v1.0.19 [INFO] [stderr] Checking ktx2 v0.3.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking radsort v0.1.1 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling serde_derive v1.0.227 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.13.2 [INFO] [stderr] Compiling bevy_reflect_derive v0.13.2 [INFO] [stderr] Compiling bevy_ecs_macros v0.13.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling bevy_derive v0.13.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling bevy_asset_macros v0.13.2 [INFO] [stderr] Checking regex v1.11.3 [INFO] [stderr] Compiling encase_derive v0.7.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Compiling bevy_render_macros v0.13.2 [INFO] [stderr] Compiling bevy_encase_derive v0.13.2 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking guillotiere v0.6.2 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking rectangle-pack v0.4.2 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Compiling gltf-derive v1.4.1 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking ruzstd v0.5.0 [INFO] [stderr] Checking ab_glyph v0.2.31 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking glam v0.25.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking bevy_utils v0.13.2 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking naga v0.19.2 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking inotify v0.10.2 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking libudev-sys v0.1.4 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking cursor-icon v1.2.0 [INFO] [stderr] Compiling gilrs v0.10.10 [INFO] [stderr] Checking glyph_brush_layout v0.2.4 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking bevy_math v0.13.2 [INFO] [stderr] Checking hexasphere v10.0.0 [INFO] [stderr] Checking bevy_mikktspace v0.13.2 [INFO] [stderr] Checking encase v0.7.0 [INFO] [stderr] Checking bevy_reflect v0.13.2 [INFO] [stderr] Checking gilrs-core v0.5.15 [INFO] [stderr] Checking gethostname v1.0.2 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gltf-json v1.4.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking grid v0.10.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking taffy v0.3.19 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking rodio v0.17.3 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling bevy_gizmos_macros v0.13.2 [INFO] [stderr] Checking sysinfo v0.30.13 [INFO] [stderr] Checking robust v1.2.0 [INFO] [stderr] Checking const-fnv1a-hash v1.1.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking spade v2.15.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking gltf v1.4.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking naga_oil v0.13.0 [INFO] [stderr] Checking bevy_ecs v0.13.2 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking nalgebra v0.32.6 [INFO] [stderr] Checking accesskit_winit v0.17.0 [INFO] [stderr] Checking bevy_app v0.13.2 [INFO] [stderr] Checking bevy_log v0.13.2 [INFO] [stderr] Checking bevy_core v0.13.2 [INFO] [stderr] Checking bevy_input v0.13.2 [INFO] [stderr] Checking bevy_time v0.13.2 [INFO] [stderr] Checking bevy_a11y v0.13.2 [INFO] [stderr] Checking bevy_asset v0.13.2 [INFO] [stderr] Checking bevy_hierarchy v0.13.2 [INFO] [stderr] Checking bevy_diagnostic v0.13.2 [INFO] [stderr] Checking bevy_transform v0.13.2 [INFO] [stderr] Checking bevy_window v0.13.2 [INFO] [stderr] Checking bevy_gilrs v0.13.2 [INFO] [stderr] Checking parry2d v0.15.1 [INFO] [stderr] Checking bevy_audio v0.13.2 [INFO] [stderr] Checking bevy_winit v0.13.2 [INFO] [stderr] Checking rapier2d v0.19.0 [INFO] [stderr] Checking bevy_render v0.13.2 [INFO] [stderr] Checking bevy_core_pipeline v0.13.2 [INFO] [stderr] Checking bevy_scene v0.13.2 [INFO] [stderr] Checking bevy_animation v0.13.2 [INFO] [stderr] Checking bevy_sprite v0.13.2 [INFO] [stderr] Checking bevy_pbr v0.13.2 [INFO] [stderr] Checking bevy_text v0.13.2 [INFO] [stderr] Checking bevy_ui v0.13.2 [INFO] [stderr] Checking bevy_gizmos v0.13.2 [INFO] [stderr] Checking bevy_gltf v0.13.2 [INFO] [stderr] Checking bevy_internal v0.13.2 [INFO] [stderr] Checking bevy v0.13.2 [INFO] [stderr] Checking bevy_rapier2d v0.26.0 [INFO] [stderr] Checking raice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Genome` is never constructed [INFO] [stdout] --> src/brain.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Genome { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/brain.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Genome { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 13 | /// Tworzy nowy genom z podaną topologią ukrytych warstw. [INFO] [stdout] 14 | pub fn new(hidden_layers: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Brain` is never constructed [INFO] [stdout] --> src/brain.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Brain { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `evaluate` are never used [INFO] [stdout] --> src/brain.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Brain { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 27 | /// Konstruktor z prostymi warunkami wstępnymi. [INFO] [stdout] 28 | pub fn new(inputs: usize, outputs: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn evaluate(&self, inputs: &[f32]) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `steering`, `throttle`, and `brake` are never read [INFO] [stdout] --> src/control.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct VehicleControl { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 10 | pub steering: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | pub throttle: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub brake: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VehicleControl` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clamped` is never used [INFO] [stdout] --> src/control.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl VehicleControl { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn clamped(mut self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Population` is never constructed [INFO] [stdout] --> src/evolution.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Population { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/evolution.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Population { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 14 | /// Tworzy pustą populację (generacja 0, brak genomów). [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn push(&mut self, genome: Genome) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seed_population` is never used [INFO] [stdout] --> src/evolution.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn seed_population(size: usize, template: &Genome) -> Population { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FitnessScore` is never constructed [INFO] [stdout] --> src/fitness.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FitnessScore { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `value` are never used [INFO] [stdout] --> src/fitness.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl FitnessScore { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 12 | /// Konstruktor nowego wyniku fitness. [INFO] [stdout] 13 | pub fn new(distance: f32, time_alive: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn value(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SensorConfig` is never constructed [INFO] [stdout] --> src/sensors.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SensorConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SensorReadings` is never constructed [INFO] [stdout] --> src/sensors.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct SensorReadings { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `zeroed` and `ray_count` are never used [INFO] [stdout] --> src/sensors.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl SensorReadings { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 33 | /// Tworzy zestaw odczytów wyzerowany (np. na start epizodu). [INFO] [stdout] 34 | pub fn zeroed(ray_count: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn ray_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty` and `points` are never used [INFO] [stdout] --> src/track.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Track { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn points(&self) -> &[Vec2] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `end` and `dir` are never read [INFO] [stdout] --> src/track.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct TrackSegment { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 72 | pub start: Vec2, [INFO] [stdout] 73 | pub end: Vec2, [INFO] [stdout] | ^^^ [INFO] [stdout] 74 | pub mid: Vec2, // punkt środkowy [INFO] [stdout] 75 | pub dir: Vec2, // kierunek (znormalizowany) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackSegment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Genome` is never constructed [INFO] [stdout] --> src/brain.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Genome { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/brain.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Genome { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 13 | /// Tworzy nowy genom z podaną topologią ukrytych warstw. [INFO] [stdout] 14 | pub fn new(hidden_layers: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inputs` is never read [INFO] [stdout] --> src/brain.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Brain { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 22 | pub inputs: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Brain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `steering`, `throttle`, and `brake` are never read [INFO] [stdout] --> src/control.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct VehicleControl { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 10 | pub steering: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | pub throttle: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub brake: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VehicleControl` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clamped` is never used [INFO] [stdout] --> src/control.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl VehicleControl { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn clamped(mut self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Population` is never constructed [INFO] [stdout] --> src/evolution.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Population { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/evolution.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Population { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 14 | /// Tworzy pustą populację (generacja 0, brak genomów). [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn push(&mut self, genome: Genome) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seed_population` is never used [INFO] [stdout] --> src/evolution.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn seed_population(size: usize, template: &Genome) -> Population { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FitnessScore` is never constructed [INFO] [stdout] --> src/fitness.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FitnessScore { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `value` are never used [INFO] [stdout] --> src/fitness.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl FitnessScore { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 12 | /// Konstruktor nowego wyniku fitness. [INFO] [stdout] 13 | pub fn new(distance: f32, time_alive: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn value(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SensorConfig` is never constructed [INFO] [stdout] --> src/sensors.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SensorConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SensorReadings` is never constructed [INFO] [stdout] --> src/sensors.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct SensorReadings { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `zeroed` and `ray_count` are never used [INFO] [stdout] --> src/sensors.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl SensorReadings { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 33 | /// Tworzy zestaw odczytów wyzerowany (np. na start epizodu). [INFO] [stdout] 34 | pub fn zeroed(ray_count: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn ray_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty` and `points` are never used [INFO] [stdout] --> src/track.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Track { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn points(&self) -> &[Vec2] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `end` and `dir` are never read [INFO] [stdout] --> src/track.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct TrackSegment { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 72 | pub start: Vec2, [INFO] [stdout] 73 | pub end: Vec2, [INFO] [stdout] | ^^^ [INFO] [stdout] 74 | pub mid: Vec2, // punkt środkowy [INFO] [stdout] 75 | pub dir: Vec2, // kierunek (znormalizowany) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackSegment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 52s [INFO] running `Command { std: "docker" "inspect" "37975b81264680181efa4e04dc915543be13eba0d9dc7635598344c574e9b3da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37975b81264680181efa4e04dc915543be13eba0d9dc7635598344c574e9b3da", kill_on_drop: false }` [INFO] [stdout] 37975b81264680181efa4e04dc915543be13eba0d9dc7635598344c574e9b3da