[INFO] fetching crate rosomaxa 0.9.0... [INFO] checking rosomaxa-0.9.0 against try#4907eac94165faff6c5e5e015670b1c584275f7b for pr-154149 [INFO] extracting crate rosomaxa 0.9.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate rosomaxa 0.9.0 [INFO] finished tweaking crates.io crate rosomaxa 0.9.0 [INFO] tweaked toml for crates.io crate rosomaxa 0.9.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rosomaxa 0.9.0 on toolchain 4907eac94165faff6c5e5e015670b1c584275f7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "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" "+4907eac94165faff6c5e5e015670b1c584275f7b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 35 packages to latest compatible versions [INFO] [stderr] Adding getrandom v0.2.17 (available: v0.4.2) [INFO] [stderr] Adding rand v0.8.5 (available: v0.10.0) [INFO] [stderr] Adding rand_distr v0.4.3 (available: v0.6.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16809a5fafe6e3e0ae244ada1b59eff310f3cd9a31c93b755fe0d285a1de1b48 [INFO] running `Command { std: "docker" "start" "-a" "16809a5fafe6e3e0ae244ada1b59eff310f3cd9a31c93b755fe0d285a1de1b48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16809a5fafe6e3e0ae244ada1b59eff310f3cd9a31c93b755fe0d285a1de1b48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16809a5fafe6e3e0ae244ada1b59eff310f3cd9a31c93b755fe0d285a1de1b48", kill_on_drop: false }` [INFO] [stdout] 16809a5fafe6e3e0ae244ada1b59eff310f3cd9a31c93b755fe0d285a1de1b48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d3c065002808201bc2befc9731a2bb809073c456ba16876cf69b2234f5329b8 [INFO] running `Command { std: "docker" "start" "-a" "7d3c065002808201bc2befc9731a2bb809073c456ba16876cf69b2234f5329b8", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking rosomaxa v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/algorithms/gsom/network.rs:386:52 [INFO] [stdout] | [INFO] [stdout] 386 | pub(super) fn remap(&mut self, node_modifier: &(dyn Fn(Coordinate, Node) -> Node)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 386 - pub(super) fn remap(&mut self, node_modifier: &(dyn Fn(Coordinate, Node) -> Node)) { [INFO] [stdout] 386 + pub(super) fn remap(&mut self, node_modifier: &dyn Fn(Coordinate, Node) -> Node) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub or pub(in crate::evolution) [INFO] [stdout] --> src/prelude.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | pub use crate::evolution::EvolutionConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `EvolutionConfig` could refer to the struct imported here [INFO] [stdout] --> src/evolution/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::config::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `EvolutionConfig` to disambiguate [INFO] [stdout] note: `EvolutionConfig` could also refer to the struct imported here [INFO] [stdout] --> src/evolution/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `EvolutionConfig` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] = note: `#[deny(ambiguous_import_visibilities)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub or pub(in crate::evolution) [INFO] [stdout] --> src/prelude.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | pub use crate::evolution::EvolutionConfigBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `EvolutionConfigBuilder` could refer to the struct imported here [INFO] [stdout] --> src/evolution/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::config::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `EvolutionConfigBuilder` to disambiguate [INFO] [stdout] note: `EvolutionConfigBuilder` could also refer to the struct imported here [INFO] [stdout] --> src/evolution/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `EvolutionConfigBuilder` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub or pub(in crate::evolution) [INFO] [stdout] --> src/prelude.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | pub use crate::evolution::InitialOperators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `InitialOperators` could refer to the type alias imported here [INFO] [stdout] --> src/evolution/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::config::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `InitialOperators` to disambiguate [INFO] [stdout] note: `InitialOperators` could also refer to the type alias imported here [INFO] [stdout] --> src/evolution/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `InitialOperators` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub or pub(in crate::evolution) [INFO] [stdout] --> src/prelude.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | pub use crate::evolution::TelemetryMode; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `TelemetryMode` could refer to the enum imported here [INFO] [stdout] --> src/evolution/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::telemetry::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `TelemetryMode` to disambiguate [INFO] [stdout] note: `TelemetryMode` could also refer to the enum imported here [INFO] [stdout] --> src/evolution/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `TelemetryMode` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub(crate) or pub(in crate::evolution) [INFO] [stdout] --> src/lib.rs:61:53 [INFO] [stdout] | [INFO] [stdout] 61 | use crate::evolution::{Telemetry, TelemetryMetrics, TelemetryMode}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `TelemetryMode` could refer to the enum imported here [INFO] [stdout] --> src/evolution/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::telemetry::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `TelemetryMode` to disambiguate [INFO] [stdout] note: `TelemetryMode` could also refer to the enum imported here [INFO] [stdout] --> src/evolution/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `TelemetryMode` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/example.rs:141:32 [INFO] [stdout] | [INFO] [stdout] 141 | fn get_shuffled(&self, _: &(dyn Random)) -> Self { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 141 - fn get_shuffled(&self, _: &(dyn Random)) -> Self { [INFO] [stdout] 141 + fn get_shuffled(&self, _: &dyn Random) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/population/elitism.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_shuffled(&self, random: &(dyn Random)) -> Self; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - fn get_shuffled(&self, random: &(dyn Random)) -> Self; [INFO] [stdout] 42 + fn get_shuffled(&self, random: &dyn Random) -> Self; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/population/rosomaxa.rs:304:104 [INFO] [stdout] | [INFO] [stdout] 304 | fn fill_populations(network: &IndividualNetwork, coordinates: &mut Vec, random: &(dyn Random)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 304 - fn fill_populations(network: &IndividualNetwork, coordinates: &mut Vec, random: &(dyn Random)) { [INFO] [stdout] 304 + fn fill_populations(network: &IndividualNetwork, coordinates: &mut Vec, random: &dyn Random) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/utils/iterators.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 96 | random: &(dyn Random), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - random: &(dyn Random), [INFO] [stdout] 96 + random: &dyn Random, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/utils/noise.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn random(&self) -> &(dyn Random) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - pub fn random(&self) -> &(dyn Random) { [INFO] [stdout] 52 + pub fn random(&self) -> &dyn Random { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/algorithms/gsom/network.rs:386:52 [INFO] [stdout] | [INFO] [stdout] 386 | pub(super) fn remap(&mut self, node_modifier: &(dyn Fn(Coordinate, Node) -> Node)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 386 - pub(super) fn remap(&mut self, node_modifier: &(dyn Fn(Coordinate, Node) -> Node)) { [INFO] [stdout] 386 + pub(super) fn remap(&mut self, node_modifier: &dyn Fn(Coordinate, Node) -> Node) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub or pub(in crate::evolution) [INFO] [stdout] --> src/prelude.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | pub use crate::evolution::EvolutionConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `EvolutionConfig` could refer to the struct imported here [INFO] [stdout] --> src/evolution/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::config::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `EvolutionConfig` to disambiguate [INFO] [stdout] note: `EvolutionConfig` could also refer to the struct imported here [INFO] [stdout] --> src/evolution/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `EvolutionConfig` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] = note: `#[deny(ambiguous_import_visibilities)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub or pub(in crate::evolution) [INFO] [stdout] --> src/prelude.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | pub use crate::evolution::EvolutionConfigBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `EvolutionConfigBuilder` could refer to the struct imported here [INFO] [stdout] --> src/evolution/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::config::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `EvolutionConfigBuilder` to disambiguate [INFO] [stdout] note: `EvolutionConfigBuilder` could also refer to the struct imported here [INFO] [stdout] --> src/evolution/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `EvolutionConfigBuilder` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub or pub(in crate::evolution) [INFO] [stdout] --> src/prelude.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | pub use crate::evolution::InitialOperators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `InitialOperators` could refer to the type alias imported here [INFO] [stdout] --> src/evolution/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::config::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `InitialOperators` to disambiguate [INFO] [stdout] note: `InitialOperators` could also refer to the type alias imported here [INFO] [stdout] --> src/evolution/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `InitialOperators` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub or pub(in crate::evolution) [INFO] [stdout] --> src/prelude.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | pub use crate::evolution::TelemetryMode; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `TelemetryMode` could refer to the enum imported here [INFO] [stdout] --> src/evolution/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::telemetry::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `TelemetryMode` to disambiguate [INFO] [stdout] note: `TelemetryMode` could also refer to the enum imported here [INFO] [stdout] --> src/evolution/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `TelemetryMode` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub(crate) or pub(in crate::evolution) [INFO] [stdout] --> src/lib.rs:61:53 [INFO] [stdout] | [INFO] [stdout] 61 | use crate::evolution::{Telemetry, TelemetryMetrics, TelemetryMode}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `TelemetryMode` could refer to the enum imported here [INFO] [stdout] --> src/evolution/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::telemetry::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `TelemetryMode` to disambiguate [INFO] [stdout] note: `TelemetryMode` could also refer to the enum imported here [INFO] [stdout] --> src/evolution/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `TelemetryMode` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/example.rs:141:32 [INFO] [stdout] | [INFO] [stdout] 141 | fn get_shuffled(&self, _: &(dyn Random)) -> Self { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 141 - fn get_shuffled(&self, _: &(dyn Random)) -> Self { [INFO] [stdout] 141 + fn get_shuffled(&self, _: &dyn Random) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/population/elitism.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_shuffled(&self, random: &(dyn Random)) -> Self; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - fn get_shuffled(&self, random: &(dyn Random)) -> Self; [INFO] [stdout] 42 + fn get_shuffled(&self, random: &dyn Random) -> Self; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/population/rosomaxa.rs:304:104 [INFO] [stdout] | [INFO] [stdout] 304 | fn fill_populations(network: &IndividualNetwork, coordinates: &mut Vec, random: &(dyn Random)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 304 - fn fill_populations(network: &IndividualNetwork, coordinates: &mut Vec, random: &(dyn Random)) { [INFO] [stdout] 304 + fn fill_populations(network: &IndividualNetwork, coordinates: &mut Vec, random: &dyn Random) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/utils/iterators.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 96 | random: &(dyn Random), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - random: &(dyn Random), [INFO] [stdout] 96 + random: &dyn Random, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/utils/noise.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn random(&self) -> &(dyn Random) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - pub fn random(&self) -> &(dyn Random) { [INFO] [stdout] 52 + pub fn random(&self) -> &dyn Random { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:92:58 [INFO] [stdout] | [INFO] [stdout] 92 | fn selected<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 92 | fn selected<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:95:56 [INFO] [stdout] | [INFO] [stdout] 95 | fn ranked<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 95 | fn ranked<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:197:58 [INFO] [stdout] | [INFO] [stdout] 197 | fn selected<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 197 | fn selected<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:201:56 [INFO] [stdout] | [INFO] [stdout] 201 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 201 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/algorithms/gsom/mod.rs:34:54 [INFO] [stdout] | [INFO] [stdout] 34 | fn iter<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 34 | fn iter<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/example.rs:76:58 [INFO] [stdout] | [INFO] [stdout] 76 | fn selected<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 76 | fn selected<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/example.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 80 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/mod.rs:50:56 [INFO] [stdout] | [INFO] [stdout] 50 | fn select<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 50 | fn select<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/mod.rs:53:56 [INFO] [stdout] | [INFO] [stdout] 53 | fn ranked<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 53 | fn ranked<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/mod.rs:56:53 [INFO] [stdout] | [INFO] [stdout] 56 | fn all<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 56 | fn all<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/elitism.rs:73:56 [INFO] [stdout] | [INFO] [stdout] 73 | fn select<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 73 | fn select<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/elitism.rs:93:56 [INFO] [stdout] | [INFO] [stdout] 93 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 93 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/elitism.rs:97:53 [INFO] [stdout] | [INFO] [stdout] 97 | fn all<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 97 | fn all<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/greedy.rs:54:56 [INFO] [stdout] | [INFO] [stdout] 54 | fn select<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 54 | fn select<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/greedy.rs:62:56 [INFO] [stdout] | [INFO] [stdout] 62 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 62 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/greedy.rs:66:53 [INFO] [stdout] | [INFO] [stdout] 66 | fn all<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 66 | fn all<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/rosomaxa.rs:127:56 [INFO] [stdout] | [INFO] [stdout] 127 | fn select<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 127 | fn select<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/rosomaxa.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 166 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/rosomaxa.rs:170:53 [INFO] [stdout] | [INFO] [stdout] 170 | fn all<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 170 | fn all<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/rosomaxa.rs:443:54 [INFO] [stdout] | [INFO] [stdout] 443 | fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 443 | fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rosomaxa` (lib) due to 5 previous errors; 26 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub mod helpers; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:92:58 [INFO] [stdout] | [INFO] [stdout] 92 | fn selected<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 92 | fn selected<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:95:56 [INFO] [stdout] | [INFO] [stdout] 95 | fn ranked<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 95 | fn ranked<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:197:58 [INFO] [stdout] | [INFO] [stdout] 197 | fn selected<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 197 | fn selected<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:201:56 [INFO] [stdout] | [INFO] [stdout] 201 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 201 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/../tests/helpers/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod algorithms; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/../tests/helpers/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod example; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/../tests/helpers/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod utils; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/../tests/helpers/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod macros; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/../tests/helpers/algorithms/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod gsom; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/../tests/helpers/algorithms/gsom/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Data { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/../tests/helpers/algorithms/gsom/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub values: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/../tests/helpers/algorithms/gsom/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(x: Float, y: Float, z: Float) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/../tests/helpers/algorithms/gsom/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct DataStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/../tests/helpers/algorithms/gsom/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub data: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/../tests/helpers/algorithms/gsom/mod.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 38 | fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 38 | fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/../tests/helpers/algorithms/gsom/mod.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct DataStorageFactory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/../tests/helpers/algorithms/gsom/mod.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn create_test_network(has_initial_error: bool) -> Network { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/../tests/helpers/utils/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn create_test_random() -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/algorithms/gsom/mod.rs:34:54 [INFO] [stdout] | [INFO] [stdout] 34 | fn iter<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 34 | fn iter<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/example.rs:76:58 [INFO] [stdout] | [INFO] [stdout] 76 | fn selected<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 76 | fn selected<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/example.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 80 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/mod.rs:50:56 [INFO] [stdout] | [INFO] [stdout] 50 | fn select<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 50 | fn select<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/mod.rs:53:56 [INFO] [stdout] | [INFO] [stdout] 53 | fn ranked<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 53 | fn ranked<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/mod.rs:56:53 [INFO] [stdout] | [INFO] [stdout] 56 | fn all<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 56 | fn all<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/elitism.rs:73:56 [INFO] [stdout] | [INFO] [stdout] 73 | fn select<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 73 | fn select<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/elitism.rs:93:56 [INFO] [stdout] | [INFO] [stdout] 93 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 93 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/elitism.rs:97:53 [INFO] [stdout] | [INFO] [stdout] 97 | fn all<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 97 | fn all<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/greedy.rs:54:56 [INFO] [stdout] | [INFO] [stdout] 54 | fn select<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 54 | fn select<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/greedy.rs:62:56 [INFO] [stdout] | [INFO] [stdout] 62 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 62 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/greedy.rs:66:53 [INFO] [stdout] | [INFO] [stdout] 66 | fn all<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 66 | fn all<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/rosomaxa.rs:127:56 [INFO] [stdout] | [INFO] [stdout] 127 | fn select<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 127 | fn select<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/rosomaxa.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 166 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/rosomaxa.rs:170:53 [INFO] [stdout] | [INFO] [stdout] 170 | fn all<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 170 | fn all<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/population/rosomaxa.rs:443:54 [INFO] [stdout] | [INFO] [stdout] 443 | fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 443 | fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rosomaxa` (lib test) due to 5 previous errors; 41 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7d3c065002808201bc2befc9731a2bb809073c456ba16876cf69b2234f5329b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d3c065002808201bc2befc9731a2bb809073c456ba16876cf69b2234f5329b8", kill_on_drop: false }` [INFO] [stdout] 7d3c065002808201bc2befc9731a2bb809073c456ba16876cf69b2234f5329b8