[INFO] cloning repository https://github.com/saju56/wae-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/saju56/wae-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaju56%2Fwae-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaju56%2Fwae-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 975392f1aabd9f88265d6031d424454e0f5a56ed [INFO] checking saju56/wae-rust against master#9748d87dc70a9a6725c5dbd76ce29d04752b4f90 for pr-144156 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaju56%2Fwae-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/saju56/wae-rust [INFO] finished tweaking git repo https://github.com/saju56/wae-rust [INFO] tweaked toml for git repo https://github.com/saju56/wae-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/saju56/wae-rust on toolchain 9748d87dc70a9a6725c5dbd76ce29d04752b4f90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/saju56/wae-rust 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" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_distr v0.5.0-alpha.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c618f904c6d65489188cfae6bbcaf066e524eff2776717d2f0079df783e6033 [INFO] running `Command { std: "docker" "start" "-a" "4c618f904c6d65489188cfae6bbcaf066e524eff2776717d2f0079df783e6033", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c618f904c6d65489188cfae6bbcaf066e524eff2776717d2f0079df783e6033", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c618f904c6d65489188cfae6bbcaf066e524eff2776717d2f0079df783e6033", kill_on_drop: false }` [INFO] [stdout] 4c618f904c6d65489188cfae6bbcaf066e524eff2776717d2f0079df783e6033 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ab68118917000c33436ae3c0d0e1fe13a5ddd36ea7868bd9b0d3b157eb33f02 [INFO] running `Command { std: "docker" "start" "-a" "3ab68118917000c33436ae3c0d0e1fe13a5ddd36ea7868bd9b0d3b157eb33f02", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling zerocopy v0.8.0-alpha.6 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v5.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Compiling font-kit v0.13.2 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Compiling pyo3-build-config v0.21.2 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling pathfinder_simd v0.5.3 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking float-ord v0.3.2 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling cstr v0.2.12 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking rand_core v0.9.0-alpha.1 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_chacha v0.9.0-alpha.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling pyo3-ffi v0.21.2 [INFO] [stderr] Compiling pyo3 v0.21.2 [INFO] [stderr] Checking rand v0.9.0-alpha.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking rand_distr v0.5.0-alpha.1 [INFO] [stderr] Checking plotters-bitmap v0.3.6 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Compiling pyo3-macros-backend v0.21.2 [INFO] [stderr] Compiling pyo3-macros v0.21.2 [INFO] [stderr] Checking hello_world v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `IntoPyDict` [INFO] [stdout] --> src/main.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use pyo3::types::{IntoPyDict, PyList, PyString}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoPyDict` [INFO] [stdout] --> src/main.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use pyo3::types::{IntoPyDict, PyList, PyString}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_distr::num_traits::real::Real` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand_distr::num_traits::real::Real; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_x` [INFO] [stdout] --> src/main.rs:344:13 [INFO] [stdout] | [INFO] [stdout] 344 | let last_x: &Vec = self.population_history.last().unwrap().first().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_x` [INFO] [stdout] --> src/main.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | let last_x: &Vec = self.population_history.last().unwrap().first().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PYTHON_VERSION` is never used [INFO] [stdout] --> src/main.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const PYTHON_VERSION: &str = "3.12"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_for_cec` is never used [INFO] [stdout] --> src/main.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn run_for_cec() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main2` is never used [INFO] [stdout] --> src/main.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn main2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_function_values` is never used [INFO] [stdout] --> src/main.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn get_function_values(x_vector : &Vec>, function_name : &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `off_timer` is never read [INFO] [stdout] --> src/main.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 201 | struct DES { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 209 | off_timer: Duration [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `evaluate`, `initialize_cec`, and `run_cec` are never used [INFO] [stdout] --> src/main.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 212 | impl DES { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 353 | fn evaluate(&mut self, function_name : &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | unsafe fn initialize_cec(&mut self, function_name : &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 390 | unsafe fn run_cec(&mut self, plot_file: &str, function_name : &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:44:50 [INFO] [stdout] | [INFO] [stdout] 44 | println!("LAMBDA (Population size): {}", LAMBDA); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | println!("MAX_GENERATIONS: {}", MAX_GENERATIONS); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:46:53 [INFO] [stdout] | [INFO] [stdout] 46 | println!("MU (No best solutions kept): {}", MU); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | println!("H (History size): {}", H); [INFO] [stdout] | ^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:48:55 [INFO] [stdout] | [INFO] [stdout] 48 | println!("CC (LR for covariance matrix): {}", CC); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:49:58 [INFO] [stdout] | [INFO] [stdout] 49 | println!("CD (LR for differential weights): {}", CD); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:50:37 [INFO] [stdout] | [INFO] [stdout] 50 | println!("CE (idk xD): {}", CE); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:117:50 [INFO] [stdout] | [INFO] [stdout] 117 | println!("LAMBDA (Population size): {}", LAMBDA); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:118:41 [INFO] [stdout] | [INFO] [stdout] 118 | println!("MAX_GENERATIONS: {}", MAX_GENERATIONS); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:119:53 [INFO] [stdout] | [INFO] [stdout] 119 | println!("MU (No best solutions kept): {}", MU); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:120:42 [INFO] [stdout] | [INFO] [stdout] 120 | println!("H (History size): {}", H); [INFO] [stdout] | ^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:121:55 [INFO] [stdout] | [INFO] [stdout] 121 | println!("CC (LR for covariance matrix): {}", CC); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:122:58 [INFO] [stdout] | [INFO] [stdout] 122 | println!("CD (LR for differential weights): {}", CD); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:123:37 [INFO] [stdout] | [INFO] [stdout] 123 | println!("CE (idk xD): {}", CE); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_distr::num_traits::real::Real` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand_distr::num_traits::real::Real; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_x` [INFO] [stdout] --> src/main.rs:344:13 [INFO] [stdout] | [INFO] [stdout] 344 | let last_x: &Vec = self.population_history.last().unwrap().first().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_x` [INFO] [stdout] --> src/main.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | let last_x: &Vec = self.population_history.last().unwrap().first().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PYTHON_VERSION` is never used [INFO] [stdout] --> src/main.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const PYTHON_VERSION: &str = "3.12"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_for_cec` is never used [INFO] [stdout] --> src/main.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn run_for_cec() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main2` is never used [INFO] [stdout] --> src/main.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn main2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_function_values` is never used [INFO] [stdout] --> src/main.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn get_function_values(x_vector : &Vec>, function_name : &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `off_timer` is never read [INFO] [stdout] --> src/main.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 201 | struct DES { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 209 | off_timer: Duration [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `evaluate`, `initialize_cec`, and `run_cec` are never used [INFO] [stdout] --> src/main.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 212 | impl DES { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 353 | fn evaluate(&mut self, function_name : &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | unsafe fn initialize_cec(&mut self, function_name : &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 390 | unsafe fn run_cec(&mut self, plot_file: &str, function_name : &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:44:50 [INFO] [stdout] | [INFO] [stdout] 44 | println!("LAMBDA (Population size): {}", LAMBDA); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | println!("MAX_GENERATIONS: {}", MAX_GENERATIONS); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:46:53 [INFO] [stdout] | [INFO] [stdout] 46 | println!("MU (No best solutions kept): {}", MU); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | println!("H (History size): {}", H); [INFO] [stdout] | ^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:48:55 [INFO] [stdout] | [INFO] [stdout] 48 | println!("CC (LR for covariance matrix): {}", CC); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:49:58 [INFO] [stdout] | [INFO] [stdout] 49 | println!("CD (LR for differential weights): {}", CD); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:50:37 [INFO] [stdout] | [INFO] [stdout] 50 | println!("CE (idk xD): {}", CE); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:117:50 [INFO] [stdout] | [INFO] [stdout] 117 | println!("LAMBDA (Population size): {}", LAMBDA); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:118:41 [INFO] [stdout] | [INFO] [stdout] 118 | println!("MAX_GENERATIONS: {}", MAX_GENERATIONS); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:119:53 [INFO] [stdout] | [INFO] [stdout] 119 | println!("MU (No best solutions kept): {}", MU); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:120:42 [INFO] [stdout] | [INFO] [stdout] 120 | println!("H (History size): {}", H); [INFO] [stdout] | ^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:121:55 [INFO] [stdout] | [INFO] [stdout] 121 | println!("CC (LR for covariance matrix): {}", CC); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:122:58 [INFO] [stdout] | [INFO] [stdout] 122 | println!("CD (LR for differential weights): {}", CD); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:123:37 [INFO] [stdout] | [INFO] [stdout] 123 | println!("CE (idk xD): {}", CE); [INFO] [stdout] | ^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.01s [INFO] running `Command { std: "docker" "inspect" "3ab68118917000c33436ae3c0d0e1fe13a5ddd36ea7868bd9b0d3b157eb33f02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ab68118917000c33436ae3c0d0e1fe13a5ddd36ea7868bd9b0d3b157eb33f02", kill_on_drop: false }` [INFO] [stdout] 3ab68118917000c33436ae3c0d0e1fe13a5ddd36ea7868bd9b0d3b157eb33f02