[INFO] cloning repository https://github.com/dzaleskis/bachelor_lab_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dzaleskis/bachelor_lab_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdzaleskis%2Fbachelor_lab_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdzaleskis%2Fbachelor_lab_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c6a6bacd70173124361c523ea2e458530ac6fa7d [INFO] checking dzaleskis/bachelor_lab_rs/c6a6bacd70173124361c523ea2e458530ac6fa7d against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdzaleskis%2Fbachelor_lab_rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dzaleskis/bachelor_lab_rs on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/dzaleskis/bachelor_lab_rs [INFO] finished tweaking git repo https://github.com/dzaleskis/bachelor_lab_rs [INFO] tweaked toml for git repo https://github.com/dzaleskis/bachelor_lab_rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dzaleskis/bachelor_lab_rs 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce56e5f472c487af74d014029e1b480dd326024b50bf2c08c9c2e8b02a7b7e06 [INFO] running `Command { std: "docker" "start" "-a" "ce56e5f472c487af74d014029e1b480dd326024b50bf2c08c9c2e8b02a7b7e06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce56e5f472c487af74d014029e1b480dd326024b50bf2c08c9c2e8b02a7b7e06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce56e5f472c487af74d014029e1b480dd326024b50bf2c08c9c2e8b02a7b7e06", kill_on_drop: false }` [INFO] [stdout] ce56e5f472c487af74d014029e1b480dd326024b50bf2c08c9c2e8b02a7b7e06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18dd2ceaf27bbde02374ad4ca764bf258ff9c97818ec93eb621ed498e9bb0d51 [INFO] running `Command { std: "docker" "start" "-a" "18dd2ceaf27bbde02374ad4ca764bf258ff9c97818ec93eb621ed498e9bb0d51", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking historian v4.0.4 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking oxigen v2.2.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.1.0 [INFO] [stderr] Checking clap v3.1.0 [INFO] [stderr] Checking ga v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/utils/test_data.rs (1 fix) [INFO] [stderr] Fixed src/passes/tests.rs (2 fixes) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/utils/test_data.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | for i in 1..size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `solutions` [INFO] [stdout] --> src/main.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | let (solutions, generation, progress, _population) = GeneticExecution::::new() [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_solutions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_copy` and `copy_within` are never used [INFO] [stdout] --> src/model/element.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Element { [INFO] [stdout] | ------------------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_copy(slice: &[Element], i: usize, reporter: &mut Reporter) -> Element { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn copy_within(slice: &mut [Element], i: usize, j: usize, reporter: &mut Reporter) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_lesser` is never used [INFO] [stdout] --> src/passes/traced.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn is_lesser(a: &Element, b: &Element, rep: &mut Reporter) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_time` is never used [INFO] [stdout] --> src/utils/time.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn with_time(f: F) -> (u64, R) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/passes/tests.rs (2 fixes) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/utils/test_data.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | for i in 1..size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `solutions` [INFO] [stdout] --> src/main.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | let (solutions, generation, progress, _population) = GeneticExecution::::new() [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_solutions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_copy` and `copy_within` are never used [INFO] [stdout] --> src/model/element.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Element { [INFO] [stdout] | ------------------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_copy(slice: &[Element], i: usize, reporter: &mut Reporter) -> Element { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn copy_within(slice: &mut [Element], i: usize, j: usize, reporter: &mut Reporter) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_lesser` is never used [INFO] [stdout] --> src/passes/traced.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn is_lesser(a: &Element, b: &Element, rep: &mut Reporter) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_time` is never used [INFO] [stdout] --> src/utils/time.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn with_time(f: F) -> (u64, R) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.89s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking ga v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0425]: cannot find function `collect_elements` in this scope [INFO] [stdout] --> src/passes/tests.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | let mut elements = collect_elements(&data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::utils::test_data::collect_elements; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insertion_pass` in this scope [INFO] [stdout] --> src/passes/tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | insertion_pass(&mut elements, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::passes::traced::insertion_pass; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `collect_underlying` in this scope [INFO] [stdout] --> src/passes/tests.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(collect_underlying(&elements), [1,2,3,4,5]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::utils::test_data::collect_underlying; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_test_data` in this scope [INFO] [stdout] --> src/passes/tests.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let mut data = get_test_data(100); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::utils::test_data::get_test_data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `collect_elements` in this scope [INFO] [stdout] --> src/passes/tests.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | let mut elements = collect_elements(&data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::utils::test_data::collect_elements; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insertion_pass` in this scope [INFO] [stdout] --> src/passes/tests.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | insertion_pass(&mut elements, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::passes::traced::insertion_pass; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `collect_underlying` in this scope [INFO] [stdout] --> src/passes/tests.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!(collect_underlying(&elements), data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::utils::test_data::collect_underlying; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `collect_elements` in this scope [INFO] [stdout] --> src/passes/tests.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | let mut elements = collect_elements(&data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::utils::test_data::collect_elements; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insertion_pass` in this scope [INFO] [stdout] --> src/passes/tests.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | insertion_pass(&mut elements, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::passes::traced::insertion_pass; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `collect_underlying` in this scope [INFO] [stdout] --> src/passes/tests.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!(collect_underlying(&elements), [1,2,3,4,5]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::utils::test_data::collect_underlying; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_test_data` in this scope [INFO] [stdout] --> src/passes/tests.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | let mut data = get_test_data(100); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::utils::test_data::get_test_data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `collect_elements` in this scope [INFO] [stdout] --> src/passes/tests.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | let mut elements = collect_elements(&data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::utils::test_data::collect_elements; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insertion_improved_pass` in this scope [INFO] [stdout] --> src/passes/tests.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | insertion_improved_pass(&mut elements, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::passes::traced::insertion_improved_pass; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `collect_underlying` in this scope [INFO] [stdout] --> src/passes/tests.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | assert_eq!(collect_underlying(&elements), data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::utils::test_data::collect_underlying; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `collect_elements` in this scope [INFO] [stdout] --> src/passes/tests.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | let mut elements = collect_elements(&data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::utils::test_data::collect_elements; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bubble_pass` in this scope [INFO] [stdout] --> src/passes/tests.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | let report = bubble_pass(&mut elements, 1); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::passes::traced::bubble_pass; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `collect_elements` in this scope [INFO] [stdout] --> src/passes/tests.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | let mut elements = collect_elements(&data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::utils::test_data::collect_elements; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `shake_pass` in this scope [INFO] [stdout] --> src/passes/tests.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | let report = shake_pass(&mut elements, 1); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::passes::traced::shake_pass; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/utils/test_data.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | for i in 1..size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `solutions` [INFO] [stdout] --> src/main.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | let (solutions, generation, progress, _population) = GeneticExecution::::new() [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_solutions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_copy` and `copy_within` are never used [INFO] [stdout] --> src/model/element.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Element { [INFO] [stdout] | ------------------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_copy(slice: &[Element], i: usize, reporter: &mut Reporter) -> Element { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn copy_within(slice: &mut [Element], i: usize, j: usize, reporter: &mut Reporter) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_lesser` is never used [INFO] [stdout] --> src/passes/traced.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn is_lesser(a: &Element, b: &Element, rep: &mut Reporter) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_time` is never used [INFO] [stdout] --> src/utils/time.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn with_time(f: F) -> (u64, R) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/utils/test_data.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | for i in 1..size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `solutions` [INFO] [stdout] --> src/main.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | let (solutions, generation, progress, _population) = GeneticExecution::::new() [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_solutions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ga` (bin "ga" test) due to 19 previous errors; 2 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "18dd2ceaf27bbde02374ad4ca764bf258ff9c97818ec93eb621ed498e9bb0d51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18dd2ceaf27bbde02374ad4ca764bf258ff9c97818ec93eb621ed498e9bb0d51", kill_on_drop: false }` [INFO] [stdout] 18dd2ceaf27bbde02374ad4ca764bf258ff9c97818ec93eb621ed498e9bb0d51