[INFO] fetching crate rust-monster 0.1.0... [INFO] checking rust-monster-0.1.0 against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] extracting crate rust-monster 0.1.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate rust-monster 0.1.0 on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", 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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 192d2588797a4149d085d0cda90735c63d5d54ac9d168a9073e9c1240ba44157 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "192d2588797a4149d085d0cda90735c63d5d54ac9d168a9073e9c1240ba44157", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "192d2588797a4149d085d0cda90735c63d5d54ac9d168a9073e9c1240ba44157", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "192d2588797a4149d085d0cda90735c63d5d54ac9d168a9073e9c1240ba44157", kill_on_drop: false }` [INFO] [stdout] 192d2588797a4149d085d0cda90735c63d5d54ac9d168a9073e9c1240ba44157 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4353f8c1a13e52681ee4af4924d16087e03607001cd63ae19d3a3da655c539e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d4353f8c1a13e52681ee4af4924d16087e03607001cd63ae19d3a3da655c539e", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v0.5.0 [INFO] [stderr] Checking rust-monster v0.1.0 (/opt/rustwide/workdir) [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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/ga/ga_core.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | /// [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] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/ga/ga_core.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | /// [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn GAConfig` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn GAFactory` [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] | ^^^^^^^^ help: use `dyn`: `dyn GAConfig` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn GAScoreTypeBasedSelection` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn GAScoreTypeBasedSelection` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn GAScoreTypeBasedSelection` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn GAScoreTypeBasedSelection` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn GAScoreTypeBasedSelection` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn GAScoreTypeBasedSelection` [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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/ga/ga_core.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | /// [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] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/ga/ga_core.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | /// [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] [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] | ^^^^^^^^ help: use `dyn`: `dyn GAConfig` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn GAFactory` [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] | ^^^^^^^^ help: use `dyn`: `dyn GAConfig` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn GAScoreTypeBasedSelection` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn GAScoreTypeBasedSelection` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn GAScoreTypeBasedSelection` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn GAScoreTypeBasedSelection` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn GAScoreTypeBasedSelection` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn GAScoreTypeBasedSelection` [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: 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: 16 warnings emitted [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: 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] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn GAFactory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "d4353f8c1a13e52681ee4af4924d16087e03607001cd63ae19d3a3da655c539e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4353f8c1a13e52681ee4af4924d16087e03607001cd63ae19d3a3da655c539e", kill_on_drop: false }` [INFO] [stdout] d4353f8c1a13e52681ee4af4924d16087e03607001cd63ae19d3a3da655c539e