[INFO] fetching crate rust-monster 0.1.0... [INFO] testing rust-monster-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rust-monster 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate rust-monster 0.1.0 [INFO] finished tweaking crates.io crate rust-monster 0.1.0 [INFO] tweaked toml for crates.io crate rust-monster 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-monster 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 24 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.5.0 (available: v2.9.1) [INFO] [stderr] Adding env_logger v0.3.5 (available: v0.11.8) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.27) [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v0.5.0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3518b9e47c82324aad9747801b609a3a2defc63ecfa97683e65cffab13ed44d3 [INFO] running `Command { std: "docker" "start" "-a" "3518b9e47c82324aad9747801b609a3a2defc63ecfa97683e65cffab13ed44d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3518b9e47c82324aad9747801b609a3a2defc63ecfa97683e65cffab13ed44d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3518b9e47c82324aad9747801b609a3a2defc63ecfa97683e65cffab13ed44d3", kill_on_drop: false }` [INFO] [stdout] 3518b9e47c82324aad9747801b609a3a2defc63ecfa97683e65cffab13ed44d3 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 181e83b10b75316a3050037060cdc3a17a6920ca748eeb1ef3aa64d6c39d9d3d [INFO] running `Command { std: "docker" "start" "-a" "181e83b10b75316a3050037060cdc3a17a6920ca748eeb1ef3aa64d6c39d9d3d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rust-monster v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/ga/ga_core.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / /// Bit Flags for Genetic Algorithm Configuration [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `assignment_operators` [INFO] [stdout] --> src/ga/ga_core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! [INFO] [stdout] 9 | | { [INFO] [stdout] 10 | | pub flags GAFlags: u32 [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `bitflags` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `bitflags` may come from an old version of the `bitflags` crate, try updating your dependency with `cargo update -p bitflags` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `assignment_operators` [INFO] [stdout] --> src/ga/ga_core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! [INFO] [stdout] 9 | | { [INFO] [stdout] 10 | | pub flags GAFlags: u32 [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `bitflags` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `bitflags` may come from an old version of the `bitflags` crate, try updating your dependency with `cargo update -p bitflags` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `assignment_operators` [INFO] [stdout] --> src/ga/ga_core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! [INFO] [stdout] 9 | | { [INFO] [stdout] 10 | | pub flags GAFlags: u32 [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `bitflags` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `bitflags` may come from an old version of the `bitflags` crate, try updating your dependency with `cargo update -p bitflags` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `assignment_operators` [INFO] [stdout] --> src/ga/ga_core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! [INFO] [stdout] 9 | | { [INFO] [stdout] 10 | | pub flags GAFlags: u32 [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `bitflags` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `bitflags` may come from an old version of the `bitflags` crate, try updating your dependency with `cargo update -p bitflags` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ga/ga_core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! [INFO] [stdout] 9 | | { [INFO] [stdout] 10 | | pub flags GAFlags: u32 [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ga/ga_core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! [INFO] [stdout] 9 | | { [INFO] [stdout] 10 | | pub flags GAFlags: u32 [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_selectors.rs:130:26 [INFO] [stdout] | [INFO] [stdout] 130 | score_selection: &'a GAScoreTypeBasedSelection [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 130 | score_selection: &'a dyn GAScoreTypeBasedSelection [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_selectors.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | score_selection: &'a GAScoreTypeBasedSelection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 215 | score_selection: &'a dyn GAScoreTypeBasedSelection, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_selectors.rs:361:26 [INFO] [stdout] | [INFO] [stdout] 361 | score_selection: &'a GAScoreTypeBasedSelection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 361 | score_selection: &'a dyn GAScoreTypeBasedSelection, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_core.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | fn config(&mut self) -> &GAConfig; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | fn config(&mut self) -> &dyn GAConfig; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_simple.rs:83:37 [INFO] [stdout] | [INFO] [stdout] 83 | factory: Option<&mut GAFactory>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 | factory: Option<&mut dyn GAFactory>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_simple.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | fn config(&mut self) -> &GAConfig [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 | fn config(&mut self) -> &dyn GAConfig [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_selectors.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn new(s: &'a GAScoreTypeBasedSelection) -> GARankSelector<'a, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 | pub fn new(s: &'a dyn GAScoreTypeBasedSelection) -> GARankSelector<'a, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_selectors.rs:222:23 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn new(s: &'a GAScoreTypeBasedSelection, p_size: usize) -> GARouletteWheelSelector<'a, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 222 | pub fn new(s: &'a dyn GAScoreTypeBasedSelection, p_size: usize) -> GARouletteWheelSelector<'a, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_selectors.rs:367:23 [INFO] [stdout] | [INFO] [stdout] 367 | pub fn new(s: &'a GAScoreTypeBasedSelection, p_size: usize) -> GATournamentSelector<'a, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 367 | pub fn new(s: &'a dyn GAScoreTypeBasedSelection, p_size: usize) -> GATournamentSelector<'a, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `population` [INFO] [stdout] --> src/ga/ga_selectors.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | fn update(&mut self, population: &mut GAPopulation) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_population` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pMutation` should have a snake case name [INFO] [stdout] --> src/ga/ga_core.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | fn mutate(&mut self, pMutation : f32); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `p_mutation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.5.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "181e83b10b75316a3050037060cdc3a17a6920ca748eeb1ef3aa64d6c39d9d3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "181e83b10b75316a3050037060cdc3a17a6920ca748eeb1ef3aa64d6c39d9d3d", kill_on_drop: false }` [INFO] [stdout] 181e83b10b75316a3050037060cdc3a17a6920ca748eeb1ef3aa64d6c39d9d3d [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 15910c7d14fcd1be1549c8c57d5eb8566124d5ea02f7283476eaac1d1117af07 [INFO] running `Command { std: "docker" "start" "-a" "15910c7d14fcd1be1549c8c57d5eb8566124d5ea02f7283476eaac1d1117af07", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/ga/ga_core.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / /// Bit Flags for Genetic Algorithm Configuration [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `assignment_operators` [INFO] [stdout] --> src/ga/ga_core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! [INFO] [stdout] 9 | | { [INFO] [stdout] 10 | | pub flags GAFlags: u32 [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `bitflags` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `bitflags` may come from an old version of the `bitflags` crate, try updating your dependency with `cargo update -p bitflags` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `assignment_operators` [INFO] [stdout] --> src/ga/ga_core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! [INFO] [stdout] 9 | | { [INFO] [stdout] 10 | | pub flags GAFlags: u32 [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `bitflags` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `bitflags` may come from an old version of the `bitflags` crate, try updating your dependency with `cargo update -p bitflags` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `assignment_operators` [INFO] [stdout] --> src/ga/ga_core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! [INFO] [stdout] 9 | | { [INFO] [stdout] 10 | | pub flags GAFlags: u32 [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `bitflags` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `bitflags` may come from an old version of the `bitflags` crate, try updating your dependency with `cargo update -p bitflags` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `assignment_operators` [INFO] [stdout] --> src/ga/ga_core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! [INFO] [stdout] 9 | | { [INFO] [stdout] 10 | | pub flags GAFlags: u32 [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `bitflags` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `bitflags` may come from an old version of the `bitflags` crate, try updating your dependency with `cargo update -p bitflags` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ga/ga_core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! [INFO] [stdout] 9 | | { [INFO] [stdout] 10 | | pub flags GAFlags: u32 [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ga/ga_core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! [INFO] [stdout] 9 | | { [INFO] [stdout] 10 | | pub flags GAFlags: u32 [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_selectors.rs:130:26 [INFO] [stdout] | [INFO] [stdout] 130 | score_selection: &'a GAScoreTypeBasedSelection [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 130 | score_selection: &'a dyn GAScoreTypeBasedSelection [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_selectors.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | score_selection: &'a GAScoreTypeBasedSelection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 215 | score_selection: &'a dyn GAScoreTypeBasedSelection, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_selectors.rs:361:26 [INFO] [stdout] | [INFO] [stdout] 361 | score_selection: &'a GAScoreTypeBasedSelection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 361 | score_selection: &'a dyn GAScoreTypeBasedSelection, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_core.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | fn config(&mut self) -> &GAConfig; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | fn config(&mut self) -> &dyn GAConfig; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_simple.rs:83:37 [INFO] [stdout] | [INFO] [stdout] 83 | factory: Option<&mut GAFactory>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 | factory: Option<&mut dyn GAFactory>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_simple.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | fn config(&mut self) -> &GAConfig [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 | fn config(&mut self) -> &dyn GAConfig [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_selectors.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn new(s: &'a GAScoreTypeBasedSelection) -> GARankSelector<'a, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 | pub fn new(s: &'a dyn GAScoreTypeBasedSelection) -> GARankSelector<'a, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_selectors.rs:222:23 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn new(s: &'a GAScoreTypeBasedSelection, p_size: usize) -> GARouletteWheelSelector<'a, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 222 | pub fn new(s: &'a dyn GAScoreTypeBasedSelection, p_size: usize) -> GARouletteWheelSelector<'a, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_selectors.rs:367:23 [INFO] [stdout] | [INFO] [stdout] 367 | pub fn new(s: &'a GAScoreTypeBasedSelection, p_size: usize) -> GATournamentSelector<'a, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 367 | pub fn new(s: &'a dyn GAScoreTypeBasedSelection, p_size: usize) -> GATournamentSelector<'a, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `population` [INFO] [stdout] --> src/ga/ga_selectors.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | fn update(&mut self, population: &mut GAPopulation) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_population` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pMutation` should have a snake case name [INFO] [stdout] --> src/ga/ga_core.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | fn mutate(&mut self, pMutation : f32); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `p_mutation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling rust-monster v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> tests/lib.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | fn fitness(&self) -> f32 { (1.0 / self.fitness) } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - fn fitness(&self) -> f32 { (1.0 / self.fitness) } [INFO] [stdout] 38 + fn fitness(&self) -> f32 { 1.0 / self.fitness } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/ga/ga_core.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / /// Bit Flags for Genetic Algorithm Configuration [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `assignment_operators` [INFO] [stdout] --> src/ga/ga_core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! [INFO] [stdout] 9 | | { [INFO] [stdout] 10 | | pub flags GAFlags: u32 [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `bitflags` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `bitflags` may come from an old version of the `bitflags` crate, try updating your dependency with `cargo update -p bitflags` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `assignment_operators` [INFO] [stdout] --> src/ga/ga_core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! [INFO] [stdout] 9 | | { [INFO] [stdout] 10 | | pub flags GAFlags: u32 [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `bitflags` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `bitflags` may come from an old version of the `bitflags` crate, try updating your dependency with `cargo update -p bitflags` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `assignment_operators` [INFO] [stdout] --> src/ga/ga_core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! [INFO] [stdout] 9 | | { [INFO] [stdout] 10 | | pub flags GAFlags: u32 [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `bitflags` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `bitflags` may come from an old version of the `bitflags` crate, try updating your dependency with `cargo update -p bitflags` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `assignment_operators` [INFO] [stdout] --> src/ga/ga_core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! [INFO] [stdout] 9 | | { [INFO] [stdout] 10 | | pub flags GAFlags: u32 [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `bitflags` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `bitflags` may come from an old version of the `bitflags` crate, try updating your dependency with `cargo update -p bitflags` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ga/ga_core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! [INFO] [stdout] 9 | | { [INFO] [stdout] 10 | | pub flags GAFlags: u32 [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ga/ga_core.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / bitflags! [INFO] [stdout] 9 | | { [INFO] [stdout] 10 | | pub flags GAFlags: u32 [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_selectors.rs:130:26 [INFO] [stdout] | [INFO] [stdout] 130 | score_selection: &'a GAScoreTypeBasedSelection [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 130 | score_selection: &'a dyn GAScoreTypeBasedSelection [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_selectors.rs:215:26 [INFO] [stdout] | [INFO] [stdout] 215 | score_selection: &'a GAScoreTypeBasedSelection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 215 | score_selection: &'a dyn GAScoreTypeBasedSelection, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_selectors.rs:361:26 [INFO] [stdout] | [INFO] [stdout] 361 | score_selection: &'a GAScoreTypeBasedSelection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 361 | score_selection: &'a dyn GAScoreTypeBasedSelection, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/lib.rs:106:76 [INFO] [stdout] | [INFO] [stdout] 106 | ... Some(&mut factory as &mut GAFactory), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 | Some(&mut factory as &mut dyn GAFactory), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_core.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | fn config(&mut self) -> &GAConfig; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | fn config(&mut self) -> &dyn GAConfig; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_simple.rs:83:37 [INFO] [stdout] | [INFO] [stdout] 83 | factory: Option<&mut GAFactory>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 | factory: Option<&mut dyn GAFactory>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_simple.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | fn config(&mut self) -> &GAConfig [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 | fn config(&mut self) -> &dyn GAConfig [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_selectors.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn new(s: &'a GAScoreTypeBasedSelection) -> GARankSelector<'a, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 | pub fn new(s: &'a dyn GAScoreTypeBasedSelection) -> GARankSelector<'a, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_selectors.rs:222:23 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn new(s: &'a GAScoreTypeBasedSelection, p_size: usize) -> GARouletteWheelSelector<'a, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 222 | pub fn new(s: &'a dyn GAScoreTypeBasedSelection, p_size: usize) -> GARouletteWheelSelector<'a, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ga/ga_selectors.rs:367:23 [INFO] [stdout] | [INFO] [stdout] 367 | pub fn new(s: &'a GAScoreTypeBasedSelection, p_size: usize) -> GATournamentSelector<'a, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 367 | pub fn new(s: &'a dyn GAScoreTypeBasedSelection, p_size: usize) -> GATournamentSelector<'a, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `population` [INFO] [stdout] --> src/ga/ga_selectors.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | fn update(&mut self, population: &mut GAPopulation) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_population` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pMutation` should have a snake case name [INFO] [stdout] --> src/ga/ga_core.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | fn mutate(&mut self, pMutation : f32); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `p_mutation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.5.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "15910c7d14fcd1be1549c8c57d5eb8566124d5ea02f7283476eaac1d1117af07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15910c7d14fcd1be1549c8c57d5eb8566124d5ea02f7283476eaac1d1117af07", kill_on_drop: false }` [INFO] [stdout] 15910c7d14fcd1be1549c8c57d5eb8566124d5ea02f7283476eaac1d1117af07 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 666ad51bafa5bcf97a124e0038f4c4e50e0ab935c7b0a414552cf144203de0be [INFO] running `Command { std: "docker" "start" "-a" "666ad51bafa5bcf97a124e0038f4c4e50e0ab935c7b0a414552cf144203de0be", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/ga/ga_core.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / /// Bit Flags for Genetic Algorithm Configuration [INFO] [stderr] 6 | | /// [INFO] [stderr] 7 | | /// [INFO] [stderr] | |_--^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `assignment_operators` [INFO] [stderr] --> src/ga/ga_core.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / bitflags! [INFO] [stderr] 9 | | { [INFO] [stderr] 10 | | pub flags GAFlags: u32 [INFO] [stderr] ... | [INFO] [stderr] 14 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `bitflags` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `bitflags` may come from an old version of the `bitflags` crate, try updating your dependency with `cargo update -p bitflags` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `assignment_operators` [INFO] [stderr] --> src/ga/ga_core.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / bitflags! [INFO] [stderr] 9 | | { [INFO] [stderr] 10 | | pub flags GAFlags: u32 [INFO] [stderr] ... | [INFO] [stderr] 14 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `bitflags` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `bitflags` may come from an old version of the `bitflags` crate, try updating your dependency with `cargo update -p bitflags` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ga/ga_core.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / bitflags! [INFO] [stderr] 9 | | { [INFO] [stderr] 10 | | pub flags GAFlags: u32 [INFO] [stderr] ... | [INFO] [stderr] 14 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ga/ga_core.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / bitflags! [INFO] [stderr] 9 | | { [INFO] [stderr] 10 | | pub flags GAFlags: u32 [INFO] [stderr] ... | [INFO] [stderr] 14 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ga/ga_selectors.rs:130:26 [INFO] [stderr] | [INFO] [stderr] 130 | score_selection: &'a GAScoreTypeBasedSelection [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 130 | score_selection: &'a dyn GAScoreTypeBasedSelection [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ga/ga_selectors.rs:215:26 [INFO] [stderr] | [INFO] [stderr] 215 | score_selection: &'a GAScoreTypeBasedSelection, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 215 | score_selection: &'a dyn GAScoreTypeBasedSelection, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ga/ga_selectors.rs:361:26 [INFO] [stderr] | [INFO] [stderr] 361 | score_selection: &'a GAScoreTypeBasedSelection, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 361 | score_selection: &'a dyn GAScoreTypeBasedSelection, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ga/ga_core.rs:82:30 [INFO] [stderr] | [INFO] [stderr] 82 | fn config(&mut self) -> &GAConfig; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 82 | fn config(&mut self) -> &dyn GAConfig; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ga/ga_simple.rs:83:37 [INFO] [stderr] | [INFO] [stderr] 83 | factory: Option<&mut GAFactory>, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 83 | factory: Option<&mut dyn GAFactory>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ga/ga_simple.rs:113:30 [INFO] [stderr] | [INFO] [stderr] 113 | fn config(&mut self) -> &GAConfig [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 113 | fn config(&mut self) -> &dyn GAConfig [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ga/ga_selectors.rs:135:23 [INFO] [stderr] | [INFO] [stderr] 135 | pub fn new(s: &'a GAScoreTypeBasedSelection) -> GARankSelector<'a, T> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 135 | pub fn new(s: &'a dyn GAScoreTypeBasedSelection) -> GARankSelector<'a, T> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ga/ga_selectors.rs:222:23 [INFO] [stderr] | [INFO] [stderr] 222 | pub fn new(s: &'a GAScoreTypeBasedSelection, p_size: usize) -> GARouletteWheelSelector<'a, T> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 222 | pub fn new(s: &'a dyn GAScoreTypeBasedSelection, p_size: usize) -> GARouletteWheelSelector<'a, T> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ga/ga_selectors.rs:367:23 [INFO] [stderr] | [INFO] [stderr] 367 | pub fn new(s: &'a GAScoreTypeBasedSelection, p_size: usize) -> GATournamentSelector<'a, T> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 367 | pub fn new(s: &'a dyn GAScoreTypeBasedSelection, p_size: usize) -> GATournamentSelector<'a, T> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `population` [INFO] [stderr] --> src/ga/ga_selectors.rs:42:26 [INFO] [stderr] | [INFO] [stderr] 42 | fn update(&mut self, population: &mut GAPopulation) {} [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_population` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `pMutation` should have a snake case name [INFO] [stderr] --> src/ga/ga_core.rs:40:26 [INFO] [stderr] | [INFO] [stderr] 40 | fn mutate(&mut self, pMutation : f32); [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `p_mutation` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rust-monster` (lib) generated 18 warnings (2 duplicates) (run `cargo fix --lib -p rust-monster` to apply 9 suggestions) [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> tests/lib.rs:38:36 [INFO] [stderr] | [INFO] [stderr] 38 | fn fitness(&self) -> f32 { (1.0 / self.fitness) } [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 38 - fn fitness(&self) -> f32 { (1.0 / self.fitness) } [INFO] [stderr] 38 + fn fitness(&self) -> f32 { 1.0 / self.fitness } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/lib.rs:106:76 [INFO] [stderr] | [INFO] [stderr] 106 | ... Some(&mut factory as &mut GAFactory), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 106 | Some(&mut factory as &mut dyn GAFactory), [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `rust-monster` (test "lib") generated 2 warnings (run `cargo fix --test "lib"` to apply 2 suggestions) [INFO] [stderr] warning: `rust-monster` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.5.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rust_monster-5cb1c9fd9c2fec2d) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test ga::ga_random::test::diff_seed ... ok [INFO] [stdout] test ga::ga_random::test::same_seed_different_types ... ok [INFO] [stdout] test ga::ga_random::test::same_seed ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/lib-91b811f777c0458f) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test tests::init_test_with_initial_population ... ok [INFO] [stdout] test tests::test_rank_selector ... ok [INFO] [stdout] test tests::test_roulette_wheel_selector ... ok [INFO] [stdout] test tests::init_test_with_factory ... ok [INFO] [stdout] test tests::test_sort_population ... ok [INFO] [stdout] test tests::test_uniform_selector ... ok [INFO] [stdout] test tests::test_tournament_selector ... ok [INFO] [stdout] test tests::init_test_empty_initial_pop - should panic ... ok [INFO] [stdout] test tests::init_test_missing_args - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "666ad51bafa5bcf97a124e0038f4c4e50e0ab935c7b0a414552cf144203de0be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "666ad51bafa5bcf97a124e0038f4c4e50e0ab935c7b0a414552cf144203de0be", kill_on_drop: false }` [INFO] [stdout] 666ad51bafa5bcf97a124e0038f4c4e50e0ab935c7b0a414552cf144203de0be