[INFO] cloning repository https://github.com/tunapro1234/elevator_optimization [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tunapro1234/elevator_optimization" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftunapro1234%2Felevator_optimization", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftunapro1234%2Felevator_optimization'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee201ebc177b56bcf6cf8b3ea71953c3af70ece7 [INFO] checking tunapro1234/elevator_optimization against master#b2728d5426bab1d8c39709768c7e22b7f66dde5d for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftunapro1234%2Felevator_optimization" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tunapro1234/elevator_optimization on toolchain b2728d5426bab1d8c39709768c7e22b7f66dde5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tunapro1234/elevator_optimization [INFO] finished tweaking git repo https://github.com/tunapro1234/elevator_optimization [INFO] tweaked toml for git repo https://github.com/tunapro1234/elevator_optimization written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tunapro1234/elevator_optimization 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" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad08aee1b7c03f47855d8414d67b549f8da35c736e516fd1dfc2e692e5304a3b [INFO] running `Command { std: "docker" "start" "-a" "ad08aee1b7c03f47855d8414d67b549f8da35c736e516fd1dfc2e692e5304a3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad08aee1b7c03f47855d8414d67b549f8da35c736e516fd1dfc2e692e5304a3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad08aee1b7c03f47855d8414d67b549f8da35c736e516fd1dfc2e692e5304a3b", kill_on_drop: false }` [INFO] [stdout] ad08aee1b7c03f47855d8414d67b549f8da35c736e516fd1dfc2e692e5304a3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62d978871a094f81df2e94fdafc89c4a2d3370925256333cacf2438a40e7f0a9 [INFO] running `Command { std: "docker" "start" "-a" "62d978871a094f81df2e94fdafc89c4a2d3370925256333cacf2438a40e7f0a9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling pyo3-build-config v0.15.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling pathfinder_simd v0.5.4 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking fdeflate v0.3.5 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking png v0.17.14 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling font-kit v0.14.2 [INFO] [stderr] Checking bytemuck v1.19.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking anstyle v1.0.9 [INFO] [stderr] Compiling unindent v0.1.11 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking anstream v0.6.17 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Compiling pyo3 v0.15.2 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking float-ord v0.3.2 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking clap_builder v4.5.20 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.15.2 [INFO] [stderr] Checking plotters-bitmap v0.3.7 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking clap v4.5.20 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling pyo3-macros v0.15.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking elevator_lib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::population::Transportable` [INFO] [stdout] --> src/algorithms/controller.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::population::Transportable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Queue` [INFO] [stdout] --> src/algorithms/deep_reinforcement/state_space.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::machine::{ Direction, Elevator, Queue }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/algorithms/deep_reinforcement/neural.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Write, Read}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyo3::ffi::printfunc` [INFO] [stdout] --> src/algorithms/deep_reinforcement/neural_wrapper.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyo3::ffi::printfunc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::population::Transportable` [INFO] [stdout] --> src/algorithms/deep_reinforcement/neural_wrapper.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::population::Transportable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ElevatorState` [INFO] [stdout] --> src/algorithms/deep_reinforcement/neural_wrapper.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | use super::state_space::{ SystemState, ElevatorState }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyo3::exceptions::socket::timeout` [INFO] [stdout] --> src/algorithms/deep_reinforcement/train_network.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyo3::exceptions::socket::timeout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::index::IndexVec` [INFO] [stdout] --> src/algorithms/deep_reinforcement/train_network.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::seq::index::IndexVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/machine/elevator_system/elevator_system_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::population::Transportable` [INFO] [stdout] --> src/algorithms/controller.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::population::Transportable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Queue` [INFO] [stdout] --> src/algorithms/deep_reinforcement/state_space.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::machine::{ Direction, Elevator, Queue }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/algorithms/deep_reinforcement/neural.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Write, Read}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyo3::ffi::printfunc` [INFO] [stdout] --> src/algorithms/deep_reinforcement/neural_wrapper.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyo3::ffi::printfunc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::population::Transportable` [INFO] [stdout] --> src/algorithms/deep_reinforcement/neural_wrapper.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::population::Transportable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ElevatorState` [INFO] [stdout] --> src/algorithms/deep_reinforcement/neural_wrapper.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | use super::state_space::{ SystemState, ElevatorState }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyo3::exceptions::socket::timeout` [INFO] [stdout] --> src/algorithms/deep_reinforcement/train_network.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyo3::exceptions::socket::timeout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::index::IndexVec` [INFO] [stdout] --> src/algorithms/deep_reinforcement/train_network.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::seq::index::IndexVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::population::Transportable` [INFO] [stdout] --> src/algorithms/simple_algorithm.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::population::Transportable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/python_ffi.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | fn elevator_lib(py: Python, m: &PyModule) -> PyResult<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::population::Transportable` [INFO] [stdout] --> src/algorithms/simple_algorithm.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::population::Transportable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/python_ffi.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | fn elevator_lib(py: Python, m: &PyModule) -> PyResult<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elevator_count` [INFO] [stdout] --> src/algorithms/nearest_car_algorithm.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | elevator_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elevator_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elevator` [INFO] [stdout] --> src/population/human.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | fn calculate_boarding_time(&self, elevator: &Elevator) -> f32 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elevator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elevator_count` [INFO] [stdout] --> src/algorithms/nearest_car_algorithm.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | elevator_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elevator_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elevator` [INFO] [stdout] --> src/population/human.rs:115:39 [INFO] [stdout] | [INFO] [stdout] 115 | fn calculate_boarding_time(&self, elevator: &Elevator) -> f32 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elevator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `disable_output_limits`, `disable_target_limits`, `disable_change_limit`, `set_parameters`, `set_integral_limit`, and `disable_integral_limit` are never used [INFO] [stdout] --> src/machine/pid_controller.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl PIDController { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn disable_output_limits(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn disable_target_limits(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn disable_change_limit(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn set_parameters(&mut self, kp: f32, ki: f32, kd: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn set_integral_limit(&mut self, integral_limit: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn disable_integral_limit(&mut self, integral_limit: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_file`, `get_target_speed`, and `has_reached_target` are never used [INFO] [stdout] --> src/machine/motor/motor.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ElevatorMotor { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 24 | pub fn from_file( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get_target_speed(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn has_reached_target(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gravity` is never read [INFO] [stdout] --> src/machine/elevator/elevator.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Elevator { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | gravity: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Elevator` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_motor_force` is never used [INFO] [stdout] --> src/machine/elevator/elevator.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 166 | impl Elevator { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 274 | fn calculate_motor_force(&self, target_accel: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `floor_heights` is never read [INFO] [stdout] --> src/machine/elevator_system/elevator_system.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct ElevatorSystem { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 99 | floor_heights: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/algorithms/nearest_car_algorithm.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl NearestCarDispatchController { [INFO] [stdout] | --------------------------------- associated function in this implementation [INFO] [stdout] 13 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `age`, `gender`, and `transport_wait` are never read [INFO] [stdout] --> src/population/human.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Human { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 16 | weight: f32, [INFO] [stdout] 17 | age: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | area: f32, [INFO] [stdout] 19 | gender: Gender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | transport_wait: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Human` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elevator` [INFO] [stdout] --> src/population/human.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | fn calculate_boarding_time(&self, elevator: &Elevator) -> f32 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elevator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elevator` [INFO] [stdout] --> src/population/human.rs:115:39 [INFO] [stdout] | [INFO] [stdout] 115 | fn calculate_boarding_time(&self, elevator: &Elevator) -> f32 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elevator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `disable_output_limits`, `disable_target_limits`, `disable_change_limit`, `set_parameters`, `set_integral_limit`, and `disable_integral_limit` are never used [INFO] [stdout] --> src/machine/pid_controller.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl PIDController { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn disable_output_limits(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn disable_target_limits(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn disable_change_limit(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn set_parameters(&mut self, kp: f32, ki: f32, kd: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn set_integral_limit(&mut self, integral_limit: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn disable_integral_limit(&mut self, integral_limit: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_target_speed` is never used [INFO] [stdout] --> src/machine/motor/motor.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ElevatorMotor { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get_target_speed(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gravity` is never read [INFO] [stdout] --> src/machine/elevator/elevator.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Elevator { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | gravity: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Elevator` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_motor_force` is never used [INFO] [stdout] --> src/machine/elevator/elevator.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 166 | impl Elevator { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 274 | fn calculate_motor_force(&self, target_accel: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `floor_heights` is never read [INFO] [stdout] --> src/machine/elevator_system/elevator_system.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct ElevatorSystem { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 99 | floor_heights: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/algorithms/nearest_car_algorithm.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl NearestCarDispatchController { [INFO] [stdout] | --------------------------------- associated function in this implementation [INFO] [stdout] 13 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `age`, `gender`, and `transport_wait` are never read [INFO] [stdout] --> src/population/human.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Human { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 16 | weight: f32, [INFO] [stdout] 17 | age: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | area: f32, [INFO] [stdout] 19 | gender: Gender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | transport_wait: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Human` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "62d978871a094f81df2e94fdafc89c4a2d3370925256333cacf2438a40e7f0a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62d978871a094f81df2e94fdafc89c4a2d3370925256333cacf2438a40e7f0a9", kill_on_drop: false }` [INFO] [stdout] 62d978871a094f81df2e94fdafc89c4a2d3370925256333cacf2438a40e7f0a9