[INFO] fetching crate rust-monster 0.1.0... [INFO] checking rust-monster-0.1.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate rust-monster 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate rust-monster 0.1.0 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 25 packages [INFO] [stderr] Adding aho-corasick v0.5.3 (latest: v1.1.3) [INFO] [stderr] Adding bitflags v0.5.0 (latest: v2.5.0) [INFO] [stderr] Adding env_logger v0.3.5 (latest: v0.11.3) [INFO] [stderr] Adding log v0.3.9 (latest: v0.4.21) [INFO] [stderr] Adding memchr v0.1.11 (latest: v2.7.2) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding regex v0.1.80 (latest: v1.10.4) [INFO] [stderr] Adding regex-syntax v0.3.9 (latest: v0.8.3) [INFO] [stderr] Adding thread-id v2.0.0 (latest: v4.2.1) [INFO] [stderr] Adding thread_local v0.2.7 (latest: v1.1.8) [INFO] [stderr] Adding utf8-ranges v0.1.3 (latest: v1.0.5) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v0.5.0 [INFO] [stderr] Downloaded env_logger v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67d5807649b202cd624245145a85a1aeb01a5a7bdd8ce71aaf60d846f203bd3d [INFO] running `Command { std: "docker" "start" "-a" "67d5807649b202cd624245145a85a1aeb01a5a7bdd8ce71aaf60d846f203bd3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67d5807649b202cd624245145a85a1aeb01a5a7bdd8ce71aaf60d846f203bd3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67d5807649b202cd624245145a85a1aeb01a5a7bdd8ce71aaf60d846f203bd3d", kill_on_drop: false }` [INFO] [stdout] 67d5807649b202cd624245145a85a1aeb01a5a7bdd8ce71aaf60d846f203bd3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d60e7b1c5a7f45dc87762c961db9fafb6844be598e5d58f84ba7603f0b474ae8 [INFO] running `Command { std: "docker" "start" "-a" "d60e7b1c5a7f45dc87762c961db9fafb6844be598e5d58f84ba7603f0b474ae8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking bitflags v0.5.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking 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: 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] 11 | | { [INFO] [stdout] 12 | | const DEBUG_FLAG = 0b00000001 [INFO] [stdout] 13 | | } [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] 11 | | { [INFO] [stdout] 12 | | const DEBUG_FLAG = 0b00000001 [INFO] [stdout] 13 | | } [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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stdout] warning: the item `env_logger` is imported redundantly [INFO] [stdout] --> tests/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate env_logger; [INFO] [stdout] | ------------------------ the item `env_logger` is already imported here [INFO] [stdout] ... [INFO] [stdout] 17 | use env_logger; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [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: 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 | Some(&mut factory as &mut dyn GAFactory), [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: 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] 11 | | { [INFO] [stdout] 12 | | const DEBUG_FLAG = 0b00000001 [INFO] [stdout] 13 | | } [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] 11 | | { [INFO] [stdout] 12 | | const DEBUG_FLAG = 0b00000001 [INFO] [stdout] 13 | | } [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 an object-safe 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 an object-safe 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 361 | score_selection: &'a dyn GAScoreTypeBasedSelection, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.41s [INFO] running `Command { std: "docker" "inspect" "d60e7b1c5a7f45dc87762c961db9fafb6844be598e5d58f84ba7603f0b474ae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d60e7b1c5a7f45dc87762c961db9fafb6844be598e5d58f84ba7603f0b474ae8", kill_on_drop: false }` [INFO] [stdout] d60e7b1c5a7f45dc87762c961db9fafb6844be598e5d58f84ba7603f0b474ae8 [INFO] checking rust-monster-0.1.0 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate rust-monster 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate rust-monster 0.1.0 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3b9dcdadc4f4c2bbe68e0310e14334c25a215778a85b31471a46e0bb8412a5e [INFO] running `Command { std: "docker" "start" "-a" "e3b9dcdadc4f4c2bbe68e0310e14334c25a215778a85b31471a46e0bb8412a5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3b9dcdadc4f4c2bbe68e0310e14334c25a215778a85b31471a46e0bb8412a5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3b9dcdadc4f4c2bbe68e0310e14334c25a215778a85b31471a46e0bb8412a5e", kill_on_drop: false }` [INFO] [stdout] e3b9dcdadc4f4c2bbe68e0310e14334c25a215778a85b31471a46e0bb8412a5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6910a4cc423d44f707f79a0d2591efc20c9e9c63b8c27938734ff756b6cd9e7a [INFO] running `Command { std: "docker" "start" "-a" "6910a4cc423d44f707f79a0d2591efc20c9e9c63b8c27938734ff756b6cd9e7a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking bitflags v0.5.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking 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: 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] 11 | | { [INFO] [stdout] 12 | | const DEBUG_FLAG = 0b00000001 [INFO] [stdout] 13 | | } [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] 11 | | { [INFO] [stdout] 12 | | const DEBUG_FLAG = 0b00000001 [INFO] [stdout] 13 | | } [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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stdout] warning: the item `env_logger` is imported redundantly [INFO] [stdout] --> tests/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate env_logger; [INFO] [stdout] | ------------------------ the item `env_logger` is already imported here [INFO] [stdout] ... [INFO] [stdout] 17 | use env_logger; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [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: 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 | Some(&mut factory as &mut dyn GAFactory), [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: 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] 11 | | { [INFO] [stdout] 12 | | const DEBUG_FLAG = 0b00000001 [INFO] [stdout] 13 | | } [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] 11 | | { [INFO] [stdout] 12 | | const DEBUG_FLAG = 0b00000001 [INFO] [stdout] 13 | | } [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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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: 3 warnings emitted [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] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.24s [INFO] running `Command { std: "docker" "inspect" "6910a4cc423d44f707f79a0d2591efc20c9e9c63b8c27938734ff756b6cd9e7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6910a4cc423d44f707f79a0d2591efc20c9e9c63b8c27938734ff756b6cd9e7a", kill_on_drop: false }` [INFO] [stdout] 6910a4cc423d44f707f79a0d2591efc20c9e9c63b8c27938734ff756b6cd9e7a