[INFO] cloning repository https://github.com/kees-jan/pylos-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kees-jan/pylos-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkees-jan%2Fpylos-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkees-jan%2Fpylos-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1f7d4441ef8b4cfcd8766d0eceb24ea401018197
[INFO] testing kees-jan/pylos-rs against 1.98.0-beta.1 for beta-1.98-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkees-jan%2Fpylos-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kees-jan/pylos-rs
[INFO] finished tweaking git repo https://github.com/kees-jan/pylos-rs
[INFO] tweaked toml for git repo https://github.com/kees-jan/pylos-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kees-jan/pylos-rs on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kees-jan/pylos-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f5e456fc54e294a48dd7020981e4b2206d6306cd3b7f1a7d4a41a3b81954dac5
[INFO] running `Command { std: "docker" "start" "f5e456fc54e294a48dd7020981e4b2206d6306cd3b7f1a7d4a41a3b81954dac5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f5e456fc54e294a48dd7020981e4b2206d6306cd3b7f1a7d4a41a3b81954dac5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f5e456fc54e294a48dd7020981e4b2206d6306cd3b7f1a7d4a41a3b81954dac5" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f5e456fc54e294a48dd7020981e4b2206d6306cd3b7f1a7d4a41a3b81954dac5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f5e456fc54e294a48dd7020981e4b2206d6306cd3b7f1a7d4a41a3b81954dac5" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling pylos v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `gc`
[INFO] [stdout]   --> src/lib.rs:93:26
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn get_position_supports(gc: &GameConstants) -> HashMap<Position, PositionSet> {
[INFO] [stdout]    |                          ^^ help: if this is intentional, prefix it with an underscore: `_gc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Position` is never constructed
[INFO] [stdout]   --> src/lib.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Position<'a> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `build` and `coordinates` are never used
[INFO] [stdout]   --> src/lib.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Position<'_> {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 18 |     fn build(gc: &GameConstants, layer: u32, x: u32, y: u32) -> PylosResult<Position> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     fn coordinates(&self) -> (u32, u32, u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PositionSet` is never constructed
[INFO] [stdout]   --> src/lib.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | struct PositionSet {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/lib.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 60 | impl PositionSet {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 61 |     fn new() -> PositionSet {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     fn contains(&self, p: &Position) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     fn insert(&mut self, p: &Position) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     fn remove(&mut self, p: &Position) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     fn union(&self, other: &PositionSet) -> PositionSet {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     fn intersection(&self, other: &PositionSet) -> PositionSet {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     fn difference(&self, other: &PositionSet) -> PositionSet {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_position_supports` is never used
[INFO] [stdout]   --> src/lib.rs:93:4
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn get_position_supports(gc: &GameConstants) -> HashMap<Position, PositionSet> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Board` is never constructed
[INFO] [stdout]   --> src/lib.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 97 | struct Board {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `total_positions_for_layer_count` is never used
[INFO] [stdout]  --> src/coordinate_conversions.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn total_positions_for_layer_count(layers: u32) -> u32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `size_for_layer_0_based` is never used
[INFO] [stdout]  --> src/coordinate_conversions.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn size_for_layer_0_based(layer: u32) -> u32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bit_offset_for_layer_0_based` is never used
[INFO] [stdout]   --> src/coordinate_conversions.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn bit_offset_for_layer_0_based(layer: u32) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `all_positions_for_layer_0_based` is never used
[INFO] [stdout]   --> src/coordinate_conversions.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn all_positions_for_layer_0_based(layer: u32) -> u64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `offset_from_0_based_coordinates` is never used
[INFO] [stdout]   --> src/coordinate_conversions.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn offset_from_0_based_coordinates(layer: u32, x: u32, y: u32) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `coordinates_0_based_from_offset` is never used
[INFO] [stdout]   --> src/coordinate_conversions.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn coordinates_0_based_from_offset(offset: u32) -> (u32, u32, u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GameConstants` is never constructed
[INFO] [stdout]   --> src/coordinate_conversions.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct GameConstants {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `build` is never used
[INFO] [stdout]   --> src/coordinate_conversions.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl GameConstants {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 51 |     pub fn build(layers: u32) -> PylosResult<GameConstants> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn build(gc: &GameConstants, layer: u32, x: u32, y: u32) -> PylosResult<Position> {
[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] 18 |     fn build(gc: &GameConstants, layer: u32, x: u32, y: u32) -> PylosResult<Position<'_>> {
[INFO] [stdout]    |                                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:93:30
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn get_position_supports(gc: &GameConstants) -> HashMap<Position, PositionSet> {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^             ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              the 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: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn get_position_supports(gc: &GameConstants) -> HashMap<Position<'_>, PositionSet> {
[INFO] [stdout]    |                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s
[INFO] running `Command { std: "docker" "inspect" "f5e456fc54e294a48dd7020981e4b2206d6306cd3b7f1a7d4a41a3b81954dac5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f5e456fc54e294a48dd7020981e4b2206d6306cd3b7f1a7d4a41a3b81954dac5" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling pylos v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `gc`
[INFO] [stdout]   --> src/lib.rs:93:26
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn get_position_supports(gc: &GameConstants) -> HashMap<Position, PositionSet> {
[INFO] [stdout]    |                          ^^ help: if this is intentional, prefix it with an underscore: `_gc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Position` is never constructed
[INFO] [stdout]   --> src/lib.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Position<'a> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `build` and `coordinates` are never used
[INFO] [stdout]   --> src/lib.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Position<'_> {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 18 |     fn build(gc: &GameConstants, layer: u32, x: u32, y: u32) -> PylosResult<Position> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     fn coordinates(&self) -> (u32, u32, u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PositionSet` is never constructed
[INFO] [stdout]   --> src/lib.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | struct PositionSet {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/lib.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 60 | impl PositionSet {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 61 |     fn new() -> PositionSet {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     fn contains(&self, p: &Position) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     fn insert(&mut self, p: &Position) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     fn remove(&mut self, p: &Position) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     fn union(&self, other: &PositionSet) -> PositionSet {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     fn intersection(&self, other: &PositionSet) -> PositionSet {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     fn difference(&self, other: &PositionSet) -> PositionSet {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_position_supports` is never used
[INFO] [stdout]   --> src/lib.rs:93:4
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn get_position_supports(gc: &GameConstants) -> HashMap<Position, PositionSet> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Board` is never constructed
[INFO] [stdout]   --> src/lib.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 97 | struct Board {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `total_positions_for_layer_count` is never used
[INFO] [stdout]  --> src/coordinate_conversions.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn total_positions_for_layer_count(layers: u32) -> u32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `size_for_layer_0_based` is never used
[INFO] [stdout]  --> src/coordinate_conversions.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn size_for_layer_0_based(layer: u32) -> u32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bit_offset_for_layer_0_based` is never used
[INFO] [stdout]   --> src/coordinate_conversions.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn bit_offset_for_layer_0_based(layer: u32) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `all_positions_for_layer_0_based` is never used
[INFO] [stdout]   --> src/coordinate_conversions.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn all_positions_for_layer_0_based(layer: u32) -> u64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `offset_from_0_based_coordinates` is never used
[INFO] [stdout]   --> src/coordinate_conversions.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn offset_from_0_based_coordinates(layer: u32, x: u32, y: u32) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `coordinates_0_based_from_offset` is never used
[INFO] [stdout]   --> src/coordinate_conversions.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn coordinates_0_based_from_offset(offset: u32) -> (u32, u32, u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GameConstants` is never constructed
[INFO] [stdout]   --> src/coordinate_conversions.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct GameConstants {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `build` is never used
[INFO] [stdout]   --> src/coordinate_conversions.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl GameConstants {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 51 |     pub fn build(layers: u32) -> PylosResult<GameConstants> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn build(gc: &GameConstants, layer: u32, x: u32, y: u32) -> PylosResult<Position> {
[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] 18 |     fn build(gc: &GameConstants, layer: u32, x: u32, y: u32) -> PylosResult<Position<'_>> {
[INFO] [stdout]    |                                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:93:30
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn get_position_supports(gc: &GameConstants) -> HashMap<Position, PositionSet> {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^             ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              the 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: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn get_position_supports(gc: &GameConstants) -> HashMap<Position<'_>, PositionSet> {
[INFO] [stdout]    |                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gc`
[INFO] [stdout]   --> src/lib.rs:93:26
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn get_position_supports(gc: &GameConstants) -> HashMap<Position, PositionSet> {
[INFO] [stdout]    |                          ^^ help: if this is intentional, prefix it with an underscore: `_gc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `supports`
[INFO] [stdout]    --> src/lib.rs:236:13
[INFO] [stdout]     |
[INFO] [stdout] 236 |         let supports = get_position_supports(&gc);
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_supports`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Board` is never constructed
[INFO] [stdout]   --> src/lib.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 97 | struct Board {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `all_positions_for_layer_0_based` is never used
[INFO] [stdout]   --> src/coordinate_conversions.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn all_positions_for_layer_0_based(layer: u32) -> u64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn build(gc: &GameConstants, layer: u32, x: u32, y: u32) -> PylosResult<Position> {
[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] 18 |     fn build(gc: &GameConstants, layer: u32, x: u32, y: u32) -> PylosResult<Position<'_>> {
[INFO] [stdout]    |                                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:93:30
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn get_position_supports(gc: &GameConstants) -> HashMap<Position, PositionSet> {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^             ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              the 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: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn get_position_supports(gc: &GameConstants) -> HashMap<Position<'_>, PositionSet> {
[INFO] [stdout]    |                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.62s
[INFO] running `Command { std: "docker" "inspect" "f5e456fc54e294a48dd7020981e4b2206d6306cd3b7f1a7d4a41a3b81954dac5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f5e456fc54e294a48dd7020981e4b2206d6306cd3b7f1a7d4a41a3b81954dac5" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `gc`
[INFO] [stderr]   --> src/lib.rs:93:26
[INFO] [stderr]    |
[INFO] [stderr] 93 | fn get_position_supports(gc: &GameConstants) -> HashMap<Position, PositionSet> {
[INFO] [stderr]    |                          ^^ help: if this is intentional, prefix it with an underscore: `_gc`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Position` is never constructed
[INFO] [stderr]   --> src/lib.rs:12:8
[INFO] [stderr]    |
[INFO] [stderr] 12 | struct Position<'a> {
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `build` and `coordinates` are never used
[INFO] [stderr]   --> src/lib.rs:18:8
[INFO] [stderr]    |
[INFO] [stderr] 17 | impl Position<'_> {
[INFO] [stderr]    | ----------------- associated items in this implementation
[INFO] [stderr] 18 |     fn build(gc: &GameConstants, layer: u32, x: u32, y: u32) -> PylosResult<Position> {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 49 |     fn coordinates(&self) -> (u32, u32, u32) {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PositionSet` is never constructed
[INFO] [stderr]   --> src/lib.rs:56:8
[INFO] [stderr]    |
[INFO] [stderr] 56 | struct PositionSet {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]   --> src/lib.rs:61:8
[INFO] [stderr]    |
[INFO] [stderr] 60 | impl PositionSet {
[INFO] [stderr]    | ---------------- associated items in this implementation
[INFO] [stderr] 61 |     fn new() -> PositionSet {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 64 |     fn contains(&self, p: &Position) -> bool {
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 67 |     fn insert(&mut self, p: &Position) {
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 70 |     fn remove(&mut self, p: &Position) {
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 74 |     fn union(&self, other: &PositionSet) -> PositionSet {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 80 |     fn intersection(&self, other: &PositionSet) -> PositionSet {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 86 |     fn difference(&self, other: &PositionSet) -> PositionSet {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_position_supports` is never used
[INFO] [stderr]   --> src/lib.rs:93:4
[INFO] [stderr]    |
[INFO] [stderr] 93 | fn get_position_supports(gc: &GameConstants) -> HashMap<Position, PositionSet> {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Board` is never constructed
[INFO] [stderr]   --> src/lib.rs:97:8
[INFO] [stderr]    |
[INFO] [stderr] 97 | struct Board {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `total_positions_for_layer_count` is never used
[INFO] [stderr]  --> src/coordinate_conversions.rs:3:8
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub fn total_positions_for_layer_count(layers: u32) -> u32 {
[INFO] [stderr]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `size_for_layer_0_based` is never used
[INFO] [stderr]  --> src/coordinate_conversions.rs:7:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub fn size_for_layer_0_based(layer: u32) -> u32 {
[INFO] [stderr]   |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `bit_offset_for_layer_0_based` is never used
[INFO] [stderr]   --> src/coordinate_conversions.rs:11:4
[INFO] [stderr]    |
[INFO] [stderr] 11 | fn bit_offset_for_layer_0_based(layer: u32) -> u32 {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `all_positions_for_layer_0_based` is never used
[INFO] [stderr]   --> src/coordinate_conversions.rs:15:4
[INFO] [stderr]    |
[INFO] [stderr] 15 | fn all_positions_for_layer_0_based(layer: u32) -> u64 {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `offset_from_0_based_coordinates` is never used
[INFO] [stderr]   --> src/coordinate_conversions.rs:22:8
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub fn offset_from_0_based_coordinates(layer: u32, x: u32, y: u32) -> u32 {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `coordinates_0_based_from_offset` is never used
[INFO] [stderr]   --> src/coordinate_conversions.rs:28:8
[INFO] [stderr]    |
[INFO] [stderr] 28 | pub fn coordinates_0_based_from_offset(offset: u32) -> (u32, u32, u32) {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `GameConstants` is never constructed
[INFO] [stderr]   --> src/coordinate_conversions.rs:46:12
[INFO] [stderr]    |
[INFO] [stderr] 46 | pub struct GameConstants {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `build` is never used
[INFO] [stderr]   --> src/coordinate_conversions.rs:51:12
[INFO] [stderr]    |
[INFO] [stderr] 50 | impl GameConstants {
[INFO] [stderr]    | ------------------ associated function in this implementation
[INFO] [stderr] 51 |     pub fn build(layers: u32) -> PylosResult<GameConstants> {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/lib.rs:18:18
[INFO] [stderr]    |
[INFO] [stderr] 18 |     fn build(gc: &GameConstants, layer: u32, x: u32, y: u32) -> PylosResult<Position> {
[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] 18 |     fn build(gc: &GameConstants, layer: u32, x: u32, y: u32) -> PylosResult<Position<'_>> {
[INFO] [stderr]    |                                                                                     ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/lib.rs:93:30
[INFO] [stderr]    |
[INFO] [stderr] 93 | fn get_position_supports(gc: &GameConstants) -> HashMap<Position, PositionSet> {
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^             ^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                              |
[INFO] [stderr]    |                              the 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: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 93 | fn get_position_supports(gc: &GameConstants) -> HashMap<Position<'_>, PositionSet> {
[INFO] [stderr]    |                                                                 ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `pylos` (lib) generated 17 warnings (run `cargo fix --lib -p pylos` to apply 3 suggestions)
[INFO] [stderr] warning: unused variable: `supports`
[INFO] [stderr]    --> src/lib.rs:236:13
[INFO] [stderr]     |
[INFO] [stderr] 236 |         let supports = get_position_supports(&gc);
[INFO] [stderr]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_supports`
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Board` is never constructed
[INFO] [stderr]   --> src/lib.rs:97:8
[INFO] [stderr]    |
[INFO] [stderr] 97 | struct Board {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `pylos` (lib test) generated 6 warnings (4 duplicates) (run `cargo fix --lib -p pylos --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/pylos-6f7e912b3b69dd2e)
[INFO] [stdout] 
[INFO] [stdout] running 14 tests
[INFO] [stdout] test coordinate_conversions::tests::bit_offset_for_layer ... ok
[INFO] [stdout] test coordinate_conversions::tests::zero_based_positions ... ok
[INFO] [stdout] test coordinate_conversions::tests::can_create_a_four_layer_game ... ok
[INFO] [stdout] test tests::all_positions_in_layer ... ok
[INFO] [stdout] test tests::can_add_position_to_set ... ok
[INFO] [stdout] test tests::can_remove_position_from_set ... ok
[INFO] [stdout] test coordinate_conversions::tests::cant_create_a_ten_layer_game ... ok
[INFO] [stdout] test tests::position_construction_and_getters ... ok
[INFO] [stdout] test tests::set_difference ... ok
[INFO] [stdout] test tests::set_intersection ... ok
[INFO] [stdout] test tests::invalid_positions ... ok
[INFO] [stdout] test tests::set_union ... ok
[INFO] [stdout] test tests::supported_positions ... ok
[INFO] [stdout] test tests::valid_positions ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pylos-10aa57751328221d)
[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] [stderr]    Doc-tests pylos
[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" "f5e456fc54e294a48dd7020981e4b2206d6306cd3b7f1a7d4a41a3b81954dac5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5e456fc54e294a48dd7020981e4b2206d6306cd3b7f1a7d4a41a3b81954dac5", kill_on_drop: false }`
[INFO] [stdout] f5e456fc54e294a48dd7020981e4b2206d6306cd3b7f1a7d4a41a3b81954dac5
