[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] building saju56/wae-rust against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [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] validating manifest of git repo https://github.com/saju56/wae-rust on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb9626c1b23e8dd290d0d8433244d8577e0a75f6de73ce26db81ed100ceaa9b6 [INFO] running `Command { std: "docker" "start" "-a" "eb9626c1b23e8dd290d0d8433244d8577e0a75f6de73ce26db81ed100ceaa9b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb9626c1b23e8dd290d0d8433244d8577e0a75f6de73ce26db81ed100ceaa9b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb9626c1b23e8dd290d0d8433244d8577e0a75f6de73ce26db81ed100ceaa9b6", kill_on_drop: false }` [INFO] [stdout] eb9626c1b23e8dd290d0d8433244d8577e0a75f6de73ce26db81ed100ceaa9b6 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9b1d189aa80300a2f28560adfe02d53a854b569f3ed52a28cdc55fff26d36a3 [INFO] running `Command { std: "docker" "start" "-a" "f9b1d189aa80300a2f28560adfe02d53a854b569f3ed52a28cdc55fff26d36a3", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling zerocopy v0.8.0-alpha.6 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v5.0.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling pyo3-build-config v0.21.2 [INFO] [stderr] Compiling pathfinder_simd v0.5.3 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling cstr v0.2.12 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling font-kit v0.13.2 [INFO] [stderr] Compiling rand_core v0.9.0-alpha.1 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling pyo3-ffi v0.21.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling plotters-backend v0.3.6 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling pathfinder_geometry v0.5.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling rand_chacha v0.9.0-alpha.1 [INFO] [stderr] Compiling pyo3 v0.21.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling rand v0.9.0-alpha.1 [INFO] [stderr] Compiling plotters-svg v0.3.6 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling unindent v0.2.3 [INFO] [stderr] Compiling rand_distr v0.5.0-alpha.1 [INFO] [stderr] Compiling plotters-bitmap v0.3.6 [INFO] [stderr] Compiling pyo3-macros-backend v0.21.2 [INFO] [stderr] Compiling plotters v0.3.6 [INFO] [stderr] Compiling pyo3-macros v0.21.2 [INFO] [stderr] Compiling 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: `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 53.23s [INFO] running `Command { std: "docker" "inspect" "f9b1d189aa80300a2f28560adfe02d53a854b569f3ed52a28cdc55fff26d36a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9b1d189aa80300a2f28560adfe02d53a854b569f3ed52a28cdc55fff26d36a3", kill_on_drop: false }` [INFO] [stdout] f9b1d189aa80300a2f28560adfe02d53a854b569f3ed52a28cdc55fff26d36a3 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a199ca7fd22f0f3cbb519ae3eea69d1810d2cff841aa8a95a461b19d9c1b4373 [INFO] running `Command { std: "docker" "start" "-a" "a199ca7fd22f0f3cbb519ae3eea69d1810d2cff841aa8a95a461b19d9c1b4373", kill_on_drop: false }` [INFO] [stderr] Compiling 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: `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 `test` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "a199ca7fd22f0f3cbb519ae3eea69d1810d2cff841aa8a95a461b19d9c1b4373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a199ca7fd22f0f3cbb519ae3eea69d1810d2cff841aa8a95a461b19d9c1b4373", kill_on_drop: false }` [INFO] [stdout] a199ca7fd22f0f3cbb519ae3eea69d1810d2cff841aa8a95a461b19d9c1b4373