[INFO] fetching crate rosomaxa 0.9.0... [INFO] testing rosomaxa-0.9.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rosomaxa 0.9.0 into /workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rosomaxa 0.9.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.3) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_distr v0.4.3 (available: v0.5.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e109d2b0d11c2975f0aef089789c685cca2f9614084daa6461c0c80e521d0ef [INFO] running `Command { std: "docker" "start" "-a" "1e109d2b0d11c2975f0aef089789c685cca2f9614084daa6461c0c80e521d0ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e109d2b0d11c2975f0aef089789c685cca2f9614084daa6461c0c80e521d0ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e109d2b0d11c2975f0aef089789c685cca2f9614084daa6461c0c80e521d0ef", kill_on_drop: false }` [INFO] [stdout] 1e109d2b0d11c2975f0aef089789c685cca2f9614084daa6461c0c80e521d0ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f27e49c86eb5e98ea1d821a0d49e0c64c3dbf223e5b222bfbbc05762450c143 [INFO] running `Command { std: "docker" "start" "-a" "5f27e49c86eb5e98ea1d821a0d49e0c64c3dbf223e5b222bfbbc05762450c143", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling 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] 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.02s [INFO] running `Command { std: "docker" "inspect" "5f27e49c86eb5e98ea1d821a0d49e0c64c3dbf223e5b222bfbbc05762450c143", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f27e49c86eb5e98ea1d821a0d49e0c64c3dbf223e5b222bfbbc05762450c143", kill_on_drop: false }` [INFO] [stdout] 5f27e49c86eb5e98ea1d821a0d49e0c64c3dbf223e5b222bfbbc05762450c143 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3479d525d44601ff22b3cfa2f9db9daff448e2ac2abb79c1717bb0d2238c8d7f [INFO] running `Command { std: "docker" "start" "-a" "3479d525d44601ff22b3cfa2f9db9daff448e2ac2abb79c1717bb0d2238c8d7f", kill_on_drop: false }` [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] 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] Compiling 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] 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: 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.64s [INFO] running `Command { std: "docker" "inspect" "3479d525d44601ff22b3cfa2f9db9daff448e2ac2abb79c1717bb0d2238c8d7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3479d525d44601ff22b3cfa2f9db9daff448e2ac2abb79c1717bb0d2238c8d7f", kill_on_drop: false }` [INFO] [stdout] 3479d525d44601ff22b3cfa2f9db9daff448e2ac2abb79c1717bb0d2238c8d7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f5e73a00bf41ac28e6c7b03d8381dbcb3d964d1130b7e2f83af0d3d905b4bc8c [INFO] running `Command { std: "docker" "start" "-a" "f5e73a00bf41ac28e6c7b03d8381dbcb3d964d1130b7e2f83af0d3d905b4bc8c", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/algorithms/gsom/network.rs:386:52 [INFO] [stderr] | [INFO] [stderr] 386 | pub(super) fn remap(&mut self, node_modifier: &(dyn Fn(Coordinate, Node) -> Node)) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 386 - pub(super) fn remap(&mut self, node_modifier: &(dyn Fn(Coordinate, Node) -> Node)) { [INFO] [stderr] 386 + pub(super) fn remap(&mut self, node_modifier: &dyn Fn(Coordinate, Node) -> Node) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/example.rs:141:32 [INFO] [stderr] | [INFO] [stderr] 141 | fn get_shuffled(&self, _: &(dyn Random)) -> Self { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 141 - fn get_shuffled(&self, _: &(dyn Random)) -> Self { [INFO] [stderr] 141 + fn get_shuffled(&self, _: &dyn Random) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/population/elitism.rs:42:37 [INFO] [stderr] | [INFO] [stderr] 42 | fn get_shuffled(&self, random: &(dyn Random)) -> Self; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 42 - fn get_shuffled(&self, random: &(dyn Random)) -> Self; [INFO] [stderr] 42 + fn get_shuffled(&self, random: &dyn Random) -> Self; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/population/rosomaxa.rs:304:104 [INFO] [stderr] | [INFO] [stderr] 304 | fn fill_populations(network: &IndividualNetwork, coordinates: &mut Vec, random: &(dyn Random)) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 304 - fn fill_populations(network: &IndividualNetwork, coordinates: &mut Vec, random: &(dyn Random)) { [INFO] [stderr] 304 + fn fill_populations(network: &IndividualNetwork, coordinates: &mut Vec, random: &dyn Random) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/utils/iterators.rs:96:14 [INFO] [stderr] | [INFO] [stderr] 96 | random: &(dyn Random), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 96 - random: &(dyn Random), [INFO] [stderr] 96 + random: &dyn Random, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/utils/noise.rs:52:30 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn random(&self) -> &(dyn Random) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 52 - pub fn random(&self) -> &(dyn Random) { [INFO] [stderr] 52 + pub fn random(&self) -> &dyn Random { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:92:58 [INFO] [stderr] | [INFO] [stderr] 92 | fn selected<'a>(&'a self) -> Box + 'a>; [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 92 | fn selected<'a>(&'a self) -> Box + 'a>; [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:95:56 [INFO] [stderr] | [INFO] [stderr] 95 | fn ranked<'a>(&'a self) -> Box + 'a>; [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 95 | fn ranked<'a>(&'a self) -> Box + 'a>; [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:197:58 [INFO] [stderr] | [INFO] [stderr] 197 | fn selected<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 197 | fn selected<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:201:56 [INFO] [stderr] | [INFO] [stderr] 201 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 201 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/algorithms/gsom/mod.rs:34:54 [INFO] [stderr] | [INFO] [stderr] 34 | fn iter<'a>(&'a self) -> Box + 'a>; [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 34 | fn iter<'a>(&'a self) -> Box + 'a>; [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/example.rs:76:58 [INFO] [stderr] | [INFO] [stderr] 76 | fn selected<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 76 | fn selected<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/example.rs:80:56 [INFO] [stderr] | [INFO] [stderr] 80 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 80 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/population/mod.rs:50:56 [INFO] [stderr] | [INFO] [stderr] 50 | fn select<'a>(&'a self) -> Box + 'a>; [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 50 | fn select<'a>(&'a self) -> Box + 'a>; [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/population/mod.rs:53:56 [INFO] [stderr] | [INFO] [stderr] 53 | fn ranked<'a>(&'a self) -> Box + 'a>; [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 53 | fn ranked<'a>(&'a self) -> Box + 'a>; [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/population/mod.rs:56:53 [INFO] [stderr] | [INFO] [stderr] 56 | fn all<'a>(&'a self) -> Box + 'a>; [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 56 | fn all<'a>(&'a self) -> Box + 'a>; [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/population/elitism.rs:73:56 [INFO] [stderr] | [INFO] [stderr] 73 | fn select<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 73 | fn select<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/population/elitism.rs:93:56 [INFO] [stderr] | [INFO] [stderr] 93 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 93 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/population/elitism.rs:97:53 [INFO] [stderr] | [INFO] [stderr] 97 | fn all<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 97 | fn all<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/population/greedy.rs:54:56 [INFO] [stderr] | [INFO] [stderr] 54 | fn select<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 54 | fn select<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/population/greedy.rs:62:56 [INFO] [stderr] | [INFO] [stderr] 62 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 62 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/population/greedy.rs:66:53 [INFO] [stderr] | [INFO] [stderr] 66 | fn all<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 66 | fn all<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/population/rosomaxa.rs:127:56 [INFO] [stderr] | [INFO] [stderr] 127 | fn select<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 127 | fn select<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/population/rosomaxa.rs:166:56 [INFO] [stderr] | [INFO] [stderr] 166 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 166 | fn ranked<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/population/rosomaxa.rs:170:53 [INFO] [stderr] | [INFO] [stderr] 170 | fn all<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 170 | fn all<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/population/rosomaxa.rs:443:54 [INFO] [stderr] | [INFO] [stderr] 443 | fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 443 | fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a module [INFO] [stderr] --> src/lib.rs:49:1 [INFO] [stderr] | [INFO] [stderr] 49 | pub mod helpers; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | #![warn(missing_docs)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a module [INFO] [stderr] --> src/../tests/helpers/mod.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | pub mod algorithms; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a module [INFO] [stderr] --> src/../tests/helpers/mod.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | pub mod example; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a module [INFO] [stderr] --> src/../tests/helpers/mod.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | pub mod utils; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a module [INFO] [stderr] --> src/../tests/helpers/mod.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | pub mod macros; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a module [INFO] [stderr] --> src/../tests/helpers/algorithms/mod.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | pub mod gsom; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a struct [INFO] [stderr] --> src/../tests/helpers/algorithms/gsom/mod.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Data { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a struct field [INFO] [stderr] --> src/../tests/helpers/algorithms/gsom/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub values: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for an associated function [INFO] [stderr] --> src/../tests/helpers/algorithms/gsom/mod.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn new(x: Float, y: Float, z: Float) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a struct [INFO] [stderr] --> src/../tests/helpers/algorithms/gsom/mod.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct DataStorage { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a struct field [INFO] [stderr] --> src/../tests/helpers/algorithms/gsom/mod.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | pub data: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/../tests/helpers/algorithms/gsom/mod.rs:38:54 [INFO] [stderr] | [INFO] [stderr] 38 | fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 38 | fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a struct [INFO] [stderr] --> src/../tests/helpers/algorithms/gsom/mod.rs:64:1 [INFO] [stderr] | [INFO] [stderr] 64 | pub struct DataStorageFactory; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/../tests/helpers/algorithms/gsom/mod.rs:72:1 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn create_test_network(has_initial_error: bool) -> Network { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/../tests/helpers/utils/mod.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn create_test_random() -> Arc { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rosomaxa` (lib) generated 26 warnings (run `cargo fix --lib -p rosomaxa` to apply 26 suggestions) [INFO] [stderr] warning: `rosomaxa` (lib test) generated 41 warnings (26 duplicates) (run `cargo fix --lib -p rosomaxa --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rosomaxa-5cac91077494c13b) [INFO] [stdout] [INFO] [stdout] running 93 tests [INFO] [stdout] test algorithms::gsom::contraction::contraction_test::can_get_offset ... ok [INFO] [stdout] test algorithms::gsom::network::network_test::common::can_insert_initial_node_neighborhood ... ok [INFO] [stdout] test algorithms::gsom::network::network_test::common::can_create_and_update_extended_neighbourhood ... ok [INFO] [stdout] test algorithms::gsom::network::network_test::common::can_use_initial_error_parameter::case01 ... ok [INFO] [stdout] test algorithms::gsom::network::network_test::common::can_use_initial_error_parameter::case02 ... ok [INFO] [stdout] test algorithms::gsom::network::network_test::node_growing::can_grow_initial_nodes_properly::case01 ... ok [INFO] [stdout] test algorithms::gsom::network::network_test::node_growing::can_grow_initial_nodes_properly::case04 ... ok [INFO] [stdout] test algorithms::gsom::network::network_test::node_growing::can_grow_initial_nodes_properly::case02 ... ok [INFO] [stdout] test algorithms::gsom::network::network_test::node_growing::can_grow_nodes_with_proper_weights::case01_a_case_left_down ... ok [INFO] [stdout] test algorithms::gsom::network::network_test::node_growing::can_grow_nodes_with_proper_weights::case02_a_case_right_top ... ok [INFO] [stdout] test algorithms::gsom::network::network_test::node_growing::can_grow_nodes_with_proper_weights::case04_ba_cases_left ... ok [INFO] [stdout] test algorithms::gsom::network::network_test::node_growing::can_grow_nodes_with_proper_weights::case03_ac_cases ... ok [INFO] [stdout] test algorithms::math::distance::distance_test::can_handle_different_scale ... ok [INFO] [stdout] test algorithms::gsom::network::network_test::node_growing::can_grow_nodes_with_proper_weights::case05_bd_cases ... ok [INFO] [stdout] test algorithms::gsom::node::node_test::can_track_last_hits ... ok [INFO] [stdout] test algorithms::gsom::state::state_test::can_get_state ... ok [INFO] [stdout] test algorithms::math::remedian::remedian_test::can_estimate_median_with_multiple_buffers ... ok [INFO] [stdout] test algorithms::gsom::network::network_test::node_growing::can_grow_initial_nodes_properly::case03 ... ok [INFO] [stdout] test algorithms::math::remedian::remedian_test::can_estimate_median ... ok [INFO] [stdout] test algorithms::gsom::network::network_test::node_growing::can_grow_new_nodes_properly ... ok [INFO] [stdout] test algorithms::math::remedian::remedian_test::can_handle_estimate_median_with_base_plus_one_amount_of_values ... ok [INFO] [stdout] test hyper::dynamic_selective::dynamic_selective_test::can_estimate_reward_multiplier::case_01_moderate ... ok [INFO] [stdout] test example::example_test::can_create_and_use_rosenbrock_function_2d ... ok [INFO] [stdout] test hyper::dynamic_selective::dynamic_selective_test::can_display_heuristic_info ... ok [INFO] [stdout] test algorithms::math::remedian::remedian_test::can_handle_estimate_median_with_base_amount_of_values ... ok [INFO] [stdout] test algorithms::math::remedian::remedian_test::can_handle_estimate_median_with_low_estimations ... ok [INFO] [stdout] test hyper::dynamic_selective::dynamic_selective_test::can_estimate_reward_multiplier::case_02_allegro ... ok [INFO] [stdout] test hyper::dynamic_selective::dynamic_selective_test::can_estimate_reward_multiplier::case_03_allegretto ... ok [INFO] [stdout] test hyper::dynamic_selective::dynamic_selective_test::can_estimate_reward_multiplier::case_04_andante ... ok [INFO] [stdout] test hyper::dynamic_selective::dynamic_selective_test::can_estimate_reward_multiplier::case_05_moderato_improvement ... ok [INFO] [stdout] test hyper::dynamic_selective::dynamic_selective_test::can_handle_when_objective_lies ... ok [INFO] [stdout] test algorithms::gsom::contraction::contraction_test::can_contract_small_network::case02_one_row_three_cols ... ok [INFO] [stdout] test algorithms::gsom::contraction::contraction_test::can_contract_fat_network ... ok [INFO] [stdout] test population::elitism::elitism_test::can_check_improvement ... ok [INFO] [stdout] test algorithms::gsom::contraction::contraction_test::can_contract_small_network::case01_one_row_one_col ... ok [INFO] [stdout] test population::elitism::elitism_test::can_detect_improvement::case_02_add_one_worse ... ok [INFO] [stdout] test population::elitism::elitism_test::can_detect_improvement::case_03_add_one_worse ... ok [INFO] [stdout] test population::elitism::elitism_test::can_detect_improvement::case_04_add_one_better ... ok [INFO] [stdout] test population::elitism::elitism_test::can_detect_improvement::case_05_add_one_better ... ok [INFO] [stdout] test population::elitism::elitism_test::can_detect_improvement::case_01_add_one_same ... ok [INFO] [stdout] test population::elitism::elitism_test::can_detect_improvement::case_07_add_more_same ... ok [INFO] [stdout] test population::elitism::elitism_test::can_detect_improvement::case_08_add_more_mixed ... ok [INFO] [stdout] test population::elitism::elitism_test::can_handle_empty ... ok [INFO] [stdout] test population::elitism::elitism_test::can_select_individuals ... ok [INFO] [stdout] test population::elitism::elitism_test::can_maintain_best_order ... ok [INFO] [stdout] test population::greedy::greedy_test::can_compare_individuals ... ok [INFO] [stdout] test population::elitism::elitism_test::can_maintain_diversity_with_one_objective ... ok [INFO] [stdout] test population::greedy::greedy_test::can_format_empty_population ... ok [INFO] [stdout] test population::greedy::greedy_test::can_format_filled_population ... ok [INFO] [stdout] test population::greedy::greedy_test::can_keep_best_solution ... ok [INFO] [stdout] test population::greedy::greedy_test::can_select_when_empty ... ok [INFO] [stdout] test population::rosomaxa::rosomaxa_test::can_handle_empty_population ... ok [INFO] [stdout] test termination::max_generation::max_generation_test::can_detect_termination::case_01 ... ok [INFO] [stdout] test termination::max_generation::max_generation_test::can_detect_termination::case_02 ... ok [INFO] [stdout] test termination::max_generation::max_generation_test::can_detect_termination::case_03 ... ok [INFO] [stdout] test termination::min_variation::min_variation_test::can_detect_termination_with_sample::case_01 ... ok [INFO] [stdout] test termination::min_variation::min_variation_test::can_detect_termination_with_sample::case_02 ... ok [INFO] [stdout] test termination::min_variation::min_variation_test::can_detect_termination_with_sample::case_03 ... ok [INFO] [stdout] test termination::min_variation::min_variation_test::can_maintain_period_buffer_size::case_01 ... ok [INFO] [stdout] test termination::min_variation::min_variation_test::can_maintain_period_buffer_size::case_02 ... ok [INFO] [stdout] test termination::min_variation::min_variation_test::can_maintain_period_buffer_size::case_03 ... ok [INFO] [stdout] test termination::target_proximity::target_proximity_test::can_use_target_proximity::case01 ... ok [INFO] [stdout] test termination::target_proximity::target_proximity_test::can_use_target_proximity::case03 ... ok [INFO] [stdout] test termination::target_proximity::target_proximity_test::can_use_target_proximity::case02 ... ok [INFO] [stdout] test utils::iterators::iterators_test::range_sampling::can_sample_from_large_range ... ok [INFO] [stdout] test utils::iterators::iterators_test::range_sampling::can_sample_from_smaller_range ... ok [INFO] [stdout] test utils::iterators::iterators_test::range_sampling::can_sample_from_same_range ... ok [INFO] [stdout] test utils::iterators::iterators_test::sampling_search::can_reproduce_issue_with_weak_sampling::case01_few_updates ... ok [INFO] [stdout] test utils::iterators::iterators_test::sampling_search::can_reproduce_issue_with_weak_sampling::case02_at_end ... ok [INFO] [stdout] test termination::min_variation::min_variation_test::can_maintain_period_buffer_size::case_04 ... ok [INFO] [stdout] test utils::iterators::iterators_test::sampling_search::can_reproduce_issue_with_weak_sampling::case03_wave ... ok [INFO] [stdout] test utils::iterators::iterators_test::selection_sampling::can_sample_from_large_range ... ok [INFO] [stdout] test population::elitism::elitism_test::can_detect_improvement::case_06_add_more_worse ... ok [INFO] [stdout] test utils::iterators::iterators_test::selection_sampling::can_sample_from_same_range ... ok [INFO] [stdout] test utils::iterators::iterators_test::selection_sampling::can_sample_from_smaller_range ... ok [INFO] [stdout] test utils::types::types_test::bit_array::can_set_unset_bits ... ok [INFO] [stdout] test utils::types::types_test::bit_array::can_use_fixed_bit_array ... ok [INFO] [stdout] test utils::types::types_test::bit_array::can_use_replace ... ok [INFO] [stdout] test utils::parallel::parallel_test::can_use_map_reduce_for_map ... ok [INFO] [stdout] test utils::parallel::parallel_test::can_use_map_reduce_for_slice ... ok [INFO] [stdout] test population::rosomaxa::rosomaxa_test::can_switch_phases ... ok [INFO] [stdout] test population::rosomaxa::rosomaxa_test::can_select_individuals_in_different_phases ... ok [INFO] [stdout] test population::rosomaxa::rosomaxa_test::can_optimize_network ... ok [INFO] [stdout] test utils::iterators::iterators_test::sampling_search::can_keep_evaluations_amount_low ... ok [INFO] [stdout] test algorithms::gsom::network::network_test::node_growing::can_calculate_mse ... ok [INFO] [stdout] test hyper::dynamic_selective::dynamic_selective_test::can_estimate_median ... ok [INFO] [stdout] test utils::parallel::parallel_test::can_use_map_reduce_for_vec ... ok [INFO] [stdout] test utils::random::random_test::can_return_weights ... ok [INFO] [stdout] test evolution::telemetry::telemetry_test::can_update_statistic ... ok [INFO] [stdout] test algorithms::gsom::network::network_test::common::can_train_network ... ok [INFO] [stdout] test algorithms::rl::slot_machine::slot_machine_test::can_find_proper_estimations ... ok [INFO] [stdout] test example::example_test::can_solve_rosenbrock ... ok [INFO] [stdout] test termination::min_variation::min_variation_test::can_detect_termination_with_period ... ok [INFO] [stderr] Doc-tests rosomaxa [INFO] [stdout] [INFO] [stdout] test result: ok. 93 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.04s [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/algorithms/gsom/network.rs:386:52 [INFO] [stderr] | [INFO] [stderr] 386 | pub(super) fn remap(&mut self, node_modifier: &(dyn Fn(Coordinate, Node) -> Node)) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 386 - pub(super) fn remap(&mut self, node_modifier: &(dyn Fn(Coordinate, Node) -> Node)) { [INFO] [stderr] 386 + pub(super) fn remap(&mut self, node_modifier: &dyn Fn(Coordinate, Node) -> Node) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/example.rs:141:32 [INFO] [stderr] | [INFO] [stderr] 141 | fn get_shuffled(&self, _: &(dyn Random)) -> Self { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 141 - fn get_shuffled(&self, _: &(dyn Random)) -> Self { [INFO] [stderr] 141 + fn get_shuffled(&self, _: &dyn Random) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/population/elitism.rs:42:37 [INFO] [stderr] | [INFO] [stderr] 42 | fn get_shuffled(&self, random: &(dyn Random)) -> Self; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 42 - fn get_shuffled(&self, random: &(dyn Random)) -> Self; [INFO] [stderr] 42 + fn get_shuffled(&self, random: &dyn Random) -> Self; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/population/rosomaxa.rs:304:104 [INFO] [stderr] | [INFO] [stderr] 304 | fn fill_populations(network: &IndividualNetwork, coordinates: &mut Vec, random: &(dyn Random)) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 304 - fn fill_populations(network: &IndividualNetwork, coordinates: &mut Vec, random: &(dyn Random)) { [INFO] [stderr] 304 + fn fill_populations(network: &IndividualNetwork, coordinates: &mut Vec, random: &dyn Random) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/utils/iterators.rs:96:14 [INFO] [stderr] | [INFO] [stderr] 96 | random: &(dyn Random), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 96 - random: &(dyn Random), [INFO] [stderr] 96 + random: &dyn Random, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/utils/noise.rs:52:30 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn random(&self) -> &(dyn Random) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 52 - pub fn random(&self) -> &(dyn Random) { [INFO] [stderr] 52 + pub fn random(&self) -> &dyn Random { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 11) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f5e73a00bf41ac28e6c7b03d8381dbcb3d964d1130b7e2f83af0d3d905b4bc8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5e73a00bf41ac28e6c7b03d8381dbcb3d964d1130b7e2f83af0d3d905b4bc8c", kill_on_drop: false }` [INFO] [stdout] f5e73a00bf41ac28e6c7b03d8381dbcb3d964d1130b7e2f83af0d3d905b4bc8c