[INFO] fetching crate evco 0.2.1... [INFO] testing evco-0.2.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate evco 0.2.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate evco 0.2.1 [INFO] finished tweaking crates.io crate evco 0.2.1 [INFO] tweaked toml for crates.io crate evco 0.2.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate evco 0.2.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 26 packages to latest compatible versions [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 903c37401dc5544bf24411986777ed4e7182be1050f86dc4a6758de9ee25f47b [INFO] running `Command { std: "docker" "start" "-a" "903c37401dc5544bf24411986777ed4e7182be1050f86dc4a6758de9ee25f47b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "903c37401dc5544bf24411986777ed4e7182be1050f86dc4a6758de9ee25f47b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "903c37401dc5544bf24411986777ed4e7182be1050f86dc4a6758de9ee25f47b", kill_on_drop: false }` [INFO] [stdout] 903c37401dc5544bf24411986777ed4e7182be1050f86dc4a6758de9ee25f47b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afbddb7bc55388c3b974de989e1d47386eeff5ea0a60db8d3c4f0152b6e5b37d [INFO] running `Command { std: "docker" "start" "-a" "afbddb7bc55388c3b974de989e1d47386eeff5ea0a60db8d3c4f0152b6e5b37d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling evco v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gp/tree/gen.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn perfect(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen { [INFO] [stdout] | ^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn perfect(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gp/tree/gen.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn full(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen { [INFO] [stdout] | ^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn full(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gp/tree/gen.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn full_ranged(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen { [INFO] [stdout] | ^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn full_ranged(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gp/tree/gen.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn half_and_half(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen { [INFO] [stdout] | ^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | pub fn half_and_half(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "afbddb7bc55388c3b974de989e1d47386eeff5ea0a60db8d3c4f0152b6e5b37d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afbddb7bc55388c3b974de989e1d47386eeff5ea0a60db8d3c4f0152b6e5b37d", kill_on_drop: false }` [INFO] [stdout] afbddb7bc55388c3b974de989e1d47386eeff5ea0a60db8d3c4f0152b6e5b37d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cc70fb38f43086a15541a51c1b9bdcedcc2053126a3bd76efb842d716a6900c [INFO] running `Command { std: "docker" "start" "-a" "5cc70fb38f43086a15541a51c1b9bdcedcc2053126a3bd76efb842d716a6900c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling evco v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gp/tree/gen.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn perfect(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen { [INFO] [stdout] | ^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn perfect(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gp/tree/gen.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn full(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen { [INFO] [stdout] | ^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn full(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gp/tree/gen.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn full_ranged(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen { [INFO] [stdout] | ^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn full_ranged(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gp/tree/gen.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn half_and_half(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen { [INFO] [stdout] | ^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | pub fn half_and_half(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> examples/snake.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | (cell_in_direction.x < 0 || cell_in_direction.y < 0 || [INFO] [stdout] | ^ [INFO] [stdout] 132 | cell_in_direction.x >= self.size.x || cell_in_direction.y >= self.size.y || [INFO] [stdout] 133 | self.snake.contains(&cell_in_direction)) [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] 131 ~ cell_in_direction.x < 0 || cell_in_direction.y < 0 || [INFO] [stdout] 132 | cell_in_direction.x >= self.size.x || cell_in_direction.y >= self.size.y || [INFO] [stdout] 133 ~ self.snake.contains(&cell_in_direction) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gp/tree/gen.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn perfect(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen { [INFO] [stdout] | ^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn perfect(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gp/tree/gen.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn full(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen { [INFO] [stdout] | ^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn full(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gp/tree/gen.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn full_ranged(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen { [INFO] [stdout] | ^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn full_ranged(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gp/tree/gen.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn half_and_half(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen { [INFO] [stdout] | ^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | pub fn half_and_half(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "5cc70fb38f43086a15541a51c1b9bdcedcc2053126a3bd76efb842d716a6900c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cc70fb38f43086a15541a51c1b9bdcedcc2053126a3bd76efb842d716a6900c", kill_on_drop: false }` [INFO] [stdout] 5cc70fb38f43086a15541a51c1b9bdcedcc2053126a3bd76efb842d716a6900c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 211011a8ee82c1f513caf08f0b9f68836872b719a885a7f9548c99a36f8a33d9 [INFO] running `Command { std: "docker" "start" "-a" "211011a8ee82c1f513caf08f0b9f68836872b719a885a7f9548c99a36f8a33d9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/gp/tree/gen.rs:36:25 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn perfect(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen { [INFO] [stderr] | ^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden 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: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 36 | pub fn perfect(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen<'_, R> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/gp/tree/gen.rs:50:22 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn full(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen { [INFO] [stderr] | ^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 50 | pub fn full(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen<'_, R> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/gp/tree/gen.rs:63:29 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn full_ranged(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen { [INFO] [stderr] | ^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 63 | pub fn full_ranged(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen<'_, R> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/gp/tree/gen.rs:77:31 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn half_and_half(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen { [INFO] [stderr] | ^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 77 | pub fn half_and_half(rng: &mut R, min_depth: usize, max_depth: usize) -> TreeGen<'_, R> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `evco` (lib) generated 4 warnings (run `cargo fix --lib -p evco` to apply 4 suggestions) [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> examples/snake.rs:131:9 [INFO] [stderr] | [INFO] [stderr] 131 | (cell_in_direction.x < 0 || cell_in_direction.y < 0 || [INFO] [stderr] | ^ [INFO] [stderr] 132 | cell_in_direction.x >= self.size.x || cell_in_direction.y >= self.size.y || [INFO] [stderr] 133 | self.snake.contains(&cell_in_direction)) [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] 131 ~ cell_in_direction.x < 0 || cell_in_direction.y < 0 || [INFO] [stderr] 132 | cell_in_direction.x >= self.size.x || cell_in_direction.y >= self.size.y || [INFO] [stderr] 133 ~ self.snake.contains(&cell_in_direction) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `evco` (example "snake") generated 1 warning (run `cargo fix --example "snake"` to apply 1 suggestion) [INFO] [stderr] warning: `evco` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/evco-64cb21d42cfa912e) [INFO] [stderr] Doc-tests evco [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "211011a8ee82c1f513caf08f0b9f68836872b719a885a7f9548c99a36f8a33d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "211011a8ee82c1f513caf08f0b9f68836872b719a885a7f9548c99a36f8a33d9", kill_on_drop: false }` [INFO] [stdout] 211011a8ee82c1f513caf08f0b9f68836872b719a885a7f9548c99a36f8a33d9