[INFO] fetching crate genetic-algorithm-fn 0.1.0... [INFO] checking genetic-algorithm-fn-0.1.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate genetic-algorithm-fn 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate genetic-algorithm-fn 0.1.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate genetic-algorithm-fn 0.1.0 [INFO] finished tweaking crates.io crate genetic-algorithm-fn 0.1.0 [INFO] tweaked toml for crates.io crate genetic-algorithm-fn 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate genetic-algorithm-fn 0.1.0 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded genetic-algorithm-traits v0.1.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.7 [INFO] [stderr] Downloaded getrandom v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecdb05b50c80710442cedee0bb7bb1825dd4a6c54d7a012a629cbdc82580345d [INFO] running `Command { std: "docker" "start" "-a" "ecdb05b50c80710442cedee0bb7bb1825dd4a6c54d7a012a629cbdc82580345d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecdb05b50c80710442cedee0bb7bb1825dd4a6c54d7a012a629cbdc82580345d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecdb05b50c80710442cedee0bb7bb1825dd4a6c54d7a012a629cbdc82580345d", kill_on_drop: false }` [INFO] [stdout] ecdb05b50c80710442cedee0bb7bb1825dd4a6c54d7a012a629cbdc82580345d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e57e4add6bdad1a822efca0f94dc71045c3e591fd97aca19d96b4494da25a52 [INFO] running `Command { std: "docker" "start" "-a" "4e57e4add6bdad1a822efca0f94dc71045c3e591fd97aca19d96b4494da25a52", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking genetic-algorithm-traits v0.1.0 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking genetic-algorithm-fn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/solutions.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/test_functions.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/test_functions.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/test_functions.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/test_functions.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | mod test_full_function { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/test_functions.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/test_functions.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | mod test_inner_function { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Hash` is imported redundantly [INFO] [stdout] --> src/solution.rs:410:29 [INFO] [stdout] | [INFO] [stdout] 408 | use super::*; [INFO] [stdout] | -------- the item `Hash` is already imported here [INFO] [stdout] 409 | use std::collections::hash_map::DefaultHasher; [INFO] [stdout] 410 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Hasher` is imported redundantly [INFO] [stdout] --> src/solution.rs:410:35 [INFO] [stdout] | [INFO] [stdout] 408 | use super::*; [INFO] [stdout] | -------- the item `Hasher` is already imported here [INFO] [stdout] 409 | use std::collections::hash_map::DefaultHasher; [INFO] [stdout] 410 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: duplicated attribute [INFO] [stdout] --> src/solution.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(duplicate_macro_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: duplicated attribute [INFO] [stdout] --> src/solution.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: duplicated attribute [INFO] [stdout] --> src/solution.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: duplicated attribute [INFO] [stdout] --> src/solution.rs:459:13 [INFO] [stdout] | [INFO] [stdout] 459 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: duplicated attribute [INFO] [stdout] --> src/solution.rs:460:13 [INFO] [stdout] | [INFO] [stdout] 460 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/solutions.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `triple_multiplication` is never used [INFO] [stdout] --> src/test_objects.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn triple_multiplication() -> fn(Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 1.37s [INFO] running `Command { std: "docker" "inspect" "4e57e4add6bdad1a822efca0f94dc71045c3e591fd97aca19d96b4494da25a52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e57e4add6bdad1a822efca0f94dc71045c3e591fd97aca19d96b4494da25a52", kill_on_drop: false }` [INFO] [stdout] 4e57e4add6bdad1a822efca0f94dc71045c3e591fd97aca19d96b4494da25a52 [INFO] checking genetic-algorithm-fn-0.1.0 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate genetic-algorithm-fn 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate genetic-algorithm-fn 0.1.0 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate genetic-algorithm-fn 0.1.0 [INFO] finished tweaking crates.io crate genetic-algorithm-fn 0.1.0 [INFO] tweaked toml for crates.io crate genetic-algorithm-fn 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate genetic-algorithm-fn 0.1.0 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e37618b2550225b2595133f42e17500e478056c057d7385ca99f1f859cef5fab [INFO] running `Command { std: "docker" "start" "-a" "e37618b2550225b2595133f42e17500e478056c057d7385ca99f1f859cef5fab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e37618b2550225b2595133f42e17500e478056c057d7385ca99f1f859cef5fab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e37618b2550225b2595133f42e17500e478056c057d7385ca99f1f859cef5fab", kill_on_drop: false }` [INFO] [stdout] e37618b2550225b2595133f42e17500e478056c057d7385ca99f1f859cef5fab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8543e4c0b6edec1c3e604304fab4861ba46afcb5f3f3edfcb2547e2307302b99 [INFO] running `Command { std: "docker" "start" "-a" "8543e4c0b6edec1c3e604304fab4861ba46afcb5f3f3edfcb2547e2307302b99", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking genetic-algorithm-traits v0.1.0 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking genetic-algorithm-fn v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/test_functions.rs (3 fixes) [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/solutions.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `triple_multiplication` is never used [INFO] [stdout] --> src/test_objects.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn triple_multiplication() -> fn(Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/test_genetic.rs from 2021 edition to 2024 [INFO] [stdout] error[E0425]: cannot find function `hartman_3_dimensional` in this scope [INFO] [stdout] --> src/test_functions.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | assert_eq!(hartman_3_dimensional(0.0, 0.0, 0.0), -0.06797411659013469) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 29 + use crate::test_functions::hartman_3_dimensional; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hartman_3_dimensional` in this scope [INFO] [stdout] --> src/test_functions.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | hartman_3_dimensional(0.114614, 0.555649, 0.852547), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 29 + use crate::test_functions::hartman_3_dimensional; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hartman_inner_function` in this scope [INFO] [stdout] --> src/test_functions.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | hartman_inner_function(0, 0.114614, 0.555649, 0.852547), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 43 + use crate::test_functions::hartman_inner_function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hartman_inner_function` in this scope [INFO] [stdout] --> src/test_functions.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | hartman_inner_function(1, 0.114614, 0.555649, 0.852547), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 43 + use crate::test_functions::hartman_inner_function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hartman_inner_function` in this scope [INFO] [stdout] --> src/test_functions.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | hartman_inner_function(2, 0.114614, 0.555649, 0.852547), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 43 + use crate::test_functions::hartman_inner_function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hartman_inner_function` in this scope [INFO] [stdout] --> src/test_functions.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | hartman_inner_function(3, 0.114614, 0.555649, 0.852547), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 43 + use crate::test_functions::hartman_inner_function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Hash` is imported redundantly [INFO] [stdout] --> src/solution.rs:410:29 [INFO] [stdout] | [INFO] [stdout] 408 | use super::*; [INFO] [stdout] | -------- the item `Hash` is already imported here [INFO] [stdout] 409 | use std::collections::hash_map::DefaultHasher; [INFO] [stdout] 410 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Hasher` is imported redundantly [INFO] [stdout] --> src/solution.rs:410:35 [INFO] [stdout] | [INFO] [stdout] 408 | use super::*; [INFO] [stdout] | -------- the item `Hasher` is already imported here [INFO] [stdout] 409 | use std::collections::hash_map::DefaultHasher; [INFO] [stdout] 410 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: duplicated attribute [INFO] [stdout] --> src/solution.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(duplicate_macro_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: duplicated attribute [INFO] [stdout] --> src/solution.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: duplicated attribute [INFO] [stdout] --> src/solution.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: duplicated attribute [INFO] [stdout] --> src/solution.rs:459:13 [INFO] [stdout] | [INFO] [stdout] 459 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: duplicated attribute [INFO] [stdout] --> src/solution.rs:460:13 [INFO] [stdout] | [INFO] [stdout] 460 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/solutions.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 8 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 `genetic-algorithm-fn` (lib test) due to 7 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "8543e4c0b6edec1c3e604304fab4861ba46afcb5f3f3edfcb2547e2307302b99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8543e4c0b6edec1c3e604304fab4861ba46afcb5f3f3edfcb2547e2307302b99", kill_on_drop: false }` [INFO] [stdout] 8543e4c0b6edec1c3e604304fab4861ba46afcb5f3f3edfcb2547e2307302b99