[INFO] cloning repository https://github.com/ostix360/life_game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ostix360/life_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fostix360%2Flife_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fostix360%2Flife_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9081f3e141299132de16709bff52aaa8092bb4e3 [INFO] checking ostix360/life_game against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fostix360%2Flife_game" "/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/ostix360/life_game [INFO] finished tweaking git repo https://github.com/ostix360/life_game [INFO] tweaked toml for git repo https://github.com/ostix360/life_game written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ostix360/life_game on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ostix360/life_game 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62316013497fb82d957283540a1674e86a2a666508b29228ae4b084ddd4bb44e [INFO] running `Command { std: "docker" "start" "-a" "62316013497fb82d957283540a1674e86a2a666508b29228ae4b084ddd4bb44e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62316013497fb82d957283540a1674e86a2a666508b29228ae4b084ddd4bb44e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62316013497fb82d957283540a1674e86a2a666508b29228ae4b084ddd4bb44e", kill_on_drop: false }` [INFO] [stdout] 62316013497fb82d957283540a1674e86a2a666508b29228ae4b084ddd4bb44e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa8848d83b86d6be0a9a80ac18e25a04b7e25458b2364cecf55e531598243e57 [INFO] running `Command { std: "docker" "start" "-a" "fa8848d83b86d6be0a9a80ac18e25a04b7e25458b2364cecf55e531598243e57", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking half v2.5.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking clap_builder v4.5.35 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling pyo3-build-config v0.24.1 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking clap v4.5.35 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling pyo3-macros-backend v0.24.1 [INFO] [stderr] Compiling pyo3-ffi v0.24.1 [INFO] [stderr] Compiling pyo3 v0.24.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking kd-tree v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling pyo3-macros v0.24.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking life_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `Individual` is more private than the item `cell::Cell::content` [INFO] [stdout] --> src/cell.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `cell::Cell::content` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Individual` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/individual/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) trait Individual{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/simulation.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | fn get_width(&self) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/simulation.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_height(&self) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/simulation.rs:120:67 [INFO] [stdout] | [INFO] [stdout] 120 | fn get_nearest_preys(&self, predator_pos: Vec<(i32, i32)>) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/simulation.rs:136:34 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn get_nb_prey(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/simulation.rs:139:39 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn get_nb_predators(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(Vec<[i32; 2]>, Vec<(i32, i32)>), Infallible> [INFO] [stdout] --> src/simulation.rs:143:54 [INFO] [stdout] | [INFO] [stdout] 143 | fn update_parallel(&mut self, i: i32, j: i32) -> (Vec<[i32; 2]>, Vec<(i32, i32)>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(Vec<[i32; 2]>, Vec<(i32, i32)>), Infallible> [INFO] [stdout] --> src/simulation.rs:188:35 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn simulate(&mut self) -> (Vec<[i32; 2]>, Vec<(i32, i32)>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `life_game` (lib) due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait `Individual` is more private than the item `cell::Cell::content` [INFO] [stdout] --> src/cell.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub content: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `cell::Cell::content` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Individual` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/individual/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) trait Individual{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/simulation.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | fn get_width(&self) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/simulation.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | fn get_height(&self) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/simulation.rs:120:67 [INFO] [stdout] | [INFO] [stdout] 120 | fn get_nearest_preys(&self, predator_pos: Vec<(i32, i32)>) -> Vec<(i32, i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/simulation.rs:136:34 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn get_nb_prey(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/simulation.rs:139:39 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn get_nb_predators(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(Vec<[i32; 2]>, Vec<(i32, i32)>), Infallible> [INFO] [stdout] --> src/simulation.rs:143:54 [INFO] [stdout] | [INFO] [stdout] 143 | fn update_parallel(&mut self, i: i32, j: i32) -> (Vec<[i32; 2]>, Vec<(i32, i32)>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(Vec<[i32; 2]>, Vec<(i32, i32)>), Infallible> [INFO] [stdout] --> src/simulation.rs:188:35 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn simulate(&mut self) -> (Vec<[i32; 2]>, Vec<(i32, i32)>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `life_game` (lib test) due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "fa8848d83b86d6be0a9a80ac18e25a04b7e25458b2364cecf55e531598243e57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa8848d83b86d6be0a9a80ac18e25a04b7e25458b2364cecf55e531598243e57", kill_on_drop: false }` [INFO] [stdout] fa8848d83b86d6be0a9a80ac18e25a04b7e25458b2364cecf55e531598243e57