[INFO] cloning repository https://github.com/GhostlyAbyss/GameOfLife_Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GhostlyAbyss/GameOfLife_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGhostlyAbyss%2FGameOfLife_Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGhostlyAbyss%2FGameOfLife_Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04ebaaf00d8c41bdb7e9b77e1f5e373ea8935fd0 [INFO] testing GhostlyAbyss/GameOfLife_Rust against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGhostlyAbyss%2FGameOfLife_Rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/GhostlyAbyss/GameOfLife_Rust [INFO] finished tweaking git repo https://github.com/GhostlyAbyss/GameOfLife_Rust [INFO] tweaked toml for git repo https://github.com/GhostlyAbyss/GameOfLife_Rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/GhostlyAbyss/GameOfLife_Rust on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/GhostlyAbyss/GameOfLife_Rust 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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95087e5f1151bc9d581402a361933f382f033ce6920b9e0fa3cfff8509880d8c [INFO] running `Command { std: "docker" "start" "-a" "95087e5f1151bc9d581402a361933f382f033ce6920b9e0fa3cfff8509880d8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95087e5f1151bc9d581402a361933f382f033ce6920b9e0fa3cfff8509880d8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95087e5f1151bc9d581402a361933f382f033ce6920b9e0fa3cfff8509880d8c", kill_on_drop: false }` [INFO] [stdout] 95087e5f1151bc9d581402a361933f382f033ce6920b9e0fa3cfff8509880d8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6577b513560817b0e6d384594a12a471b2fa0ef72fe563dbb49b9a031278314d [INFO] running `Command { std: "docker" "start" "-a" "6577b513560817b0e6d384594a12a471b2fa0ef72fe563dbb49b9a031278314d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Compiling wayland-sys v0.31.8 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling wayland-backend v0.3.12 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling endi v1.1.1 [INFO] [stderr] Compiling wayland-client v0.31.12 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling syn v2.0.116 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling async-lock v3.4.2 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling uuid v1.21.0 [INFO] [stderr] Compiling async-executor v1.14.0 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling accesskit v0.21.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling pxfm v0.1.27 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling accesskit_consumer v0.31.0 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling async-signal v0.2.13 [INFO] [stderr] Compiling async-process v2.5.0 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling gethostname v1.1.0 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling smithay-client-toolkit v0.20.0 [INFO] [stderr] Compiling epaint_default_fonts v0.33.3 [INFO] [stderr] Compiling moxcms v0.7.11 [INFO] [stderr] Compiling png v0.18.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling emath v0.33.3 [INFO] [stderr] Compiling calloop v0.14.4 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling ecolor v0.33.3 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling epaint v0.33.3 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling quick-xml v0.38.4 [INFO] [stderr] Compiling zvariant_utils v3.3.0 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling zvariant_derive v5.9.2 [INFO] [stderr] Compiling egui v0.33.3 [INFO] [stderr] Compiling zvariant v5.9.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling wayland-scanner v0.31.8 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling image v0.25.9 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling webbrowser v1.1.0 [INFO] [stderr] Compiling zbus_names v4.3.1 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling zbus_xml v5.1.0 [INFO] [stderr] Compiling rand v0.10.0 [INFO] [stderr] Compiling zbus_macros v5.13.2 [INFO] [stderr] Compiling wayland-protocols v0.32.10 [INFO] [stderr] Compiling zbus-lockstep v0.5.2 [INFO] [stderr] Compiling zbus-lockstep-macros v0.5.2 [INFO] [stderr] Compiling wayland-cursor v0.31.12 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling calloop-wayland-source v0.4.1 [INFO] [stderr] Compiling arboard v3.6.1 [INFO] [stderr] Compiling egui_glow v0.33.3 [INFO] [stderr] Compiling zbus v5.13.2 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.10 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.10 [INFO] [stderr] Compiling wayland-protocols-misc v0.3.10 [INFO] [stderr] Compiling wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling smithay-clipboard v0.7.3 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling atspi-common v0.9.0 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling atspi-proxies v0.9.0 [INFO] [stderr] Compiling accesskit_atspi_common v0.14.2 [INFO] [stderr] Compiling atspi-connection v0.9.0 [INFO] [stderr] Compiling atspi v0.25.0 [INFO] [stderr] Compiling accesskit_unix v0.17.2 [INFO] [stderr] Compiling accesskit_winit v0.29.2 [INFO] [stderr] Compiling egui-winit v0.33.3 [INFO] [stderr] Compiling eframe v0.33.3 [INFO] [stderr] Compiling RandomStuff v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rng` [INFO] [stdout] --> src/game_of_life/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{rng, RngExt}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CreationContext` [INFO] [stdout] --> src/screen_wrapper.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use eframe::{CreationContext, Frame}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `eframe::egui::Context` [INFO] [stdout] --> src/screen_wrapper.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use eframe::egui::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::linux::raw::stat` [INFO] [stdout] --> src/pathfinder/grid.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::linux::raw::stat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/pathfinder/algorithms/AStar.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | if (start == [-1,-1] || end == [-1,-1]){ [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] 24 - if (start == [-1,-1] || end == [-1,-1]){ [INFO] [stdout] 24 + if start == [-1,-1] || end == [-1,-1] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `std::os::linux::raw::stat`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stdout] --> src/pathfinder/grid.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::linux::raw::stat; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `directions` is assigned to, but never used [INFO] [stdout] --> src/pathfinder/algorithms/AStar.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let directions: &[(isize, isize)]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_directions` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `directions` is never read [INFO] [stdout] --> src/pathfinder/algorithms/AStar.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | directions = &[(-1, 0), (0, -1), (0, 1), (1, 0)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `directions` is never read [INFO] [stdout] --> src/pathfinder/algorithms/AStar.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | / directions = &[ [INFO] [stdout] 31 | | (-1, -1), (-1, 0), (-1, 1), [INFO] [stdout] 32 | | (0, -1), (0, 1), [INFO] [stdout] 33 | | (1, -1), (1, 0), (1, 1) [INFO] [stdout] 34 | | ] [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BaseAlgorithm` is never used [INFO] [stdout] --> src/pathfinder/algorithms/BaseAlgorithm.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait BaseAlgorithm{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AStar` is never constructed [INFO] [stdout] --> src/pathfinder/algorithms/AStar.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct AStar{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `heuristic` is never used [INFO] [stdout] --> src/pathfinder/algorithms/AStar.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl AStar{ [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 10 | fn heuristic(cell: [i64; 2], end_node: [i64;2]) -> i64{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `BaseAlgorithm` should have a snake case name [INFO] [stdout] --> src/pathfinder/algorithms/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod BaseAlgorithm; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `base_algorithm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `AStar` should have a snake case name [INFO] [stdout] --> src/pathfinder/algorithms/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod AStar; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `astar` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 48s [INFO] running `Command { std: "docker" "inspect" "6577b513560817b0e6d384594a12a471b2fa0ef72fe563dbb49b9a031278314d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6577b513560817b0e6d384594a12a471b2fa0ef72fe563dbb49b9a031278314d", kill_on_drop: false }` [INFO] [stdout] 6577b513560817b0e6d384594a12a471b2fa0ef72fe563dbb49b9a031278314d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75608698ecb734f8ed6c7ce07046d52347fef7bfe2a1f410abffca44c8159733 [INFO] running `Command { std: "docker" "start" "-a" "75608698ecb734f8ed6c7ce07046d52347fef7bfe2a1f410abffca44c8159733", kill_on_drop: false }` [INFO] [stderr] Compiling RandomStuff v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rng` [INFO] [stdout] --> src/game_of_life/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{rng, RngExt}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CreationContext` [INFO] [stdout] --> src/screen_wrapper.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use eframe::{CreationContext, Frame}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `eframe::egui::Context` [INFO] [stdout] --> src/screen_wrapper.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use eframe::egui::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::linux::raw::stat` [INFO] [stdout] --> src/pathfinder/grid.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::linux::raw::stat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/pathfinder/algorithms/AStar.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | if (start == [-1,-1] || end == [-1,-1]){ [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] 24 - if (start == [-1,-1] || end == [-1,-1]){ [INFO] [stdout] 24 + if start == [-1,-1] || end == [-1,-1] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `std::os::linux::raw::stat`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stdout] --> src/pathfinder/grid.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::linux::raw::stat; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `directions` is assigned to, but never used [INFO] [stdout] --> src/pathfinder/algorithms/AStar.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let directions: &[(isize, isize)]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_directions` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `directions` is never read [INFO] [stdout] --> src/pathfinder/algorithms/AStar.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | directions = &[(-1, 0), (0, -1), (0, 1), (1, 0)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `directions` is never read [INFO] [stdout] --> src/pathfinder/algorithms/AStar.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | / directions = &[ [INFO] [stdout] 31 | | (-1, -1), (-1, 0), (-1, 1), [INFO] [stdout] 32 | | (0, -1), (0, 1), [INFO] [stdout] 33 | | (1, -1), (1, 0), (1, 1) [INFO] [stdout] 34 | | ] [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BaseAlgorithm` is never used [INFO] [stdout] --> src/pathfinder/algorithms/BaseAlgorithm.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait BaseAlgorithm{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AStar` is never constructed [INFO] [stdout] --> src/pathfinder/algorithms/AStar.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct AStar{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `heuristic` is never used [INFO] [stdout] --> src/pathfinder/algorithms/AStar.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl AStar{ [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 10 | fn heuristic(cell: [i64; 2], end_node: [i64;2]) -> i64{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `BaseAlgorithm` should have a snake case name [INFO] [stdout] --> src/pathfinder/algorithms/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod BaseAlgorithm; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `base_algorithm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `AStar` should have a snake case name [INFO] [stdout] --> src/pathfinder/algorithms/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod AStar; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `astar` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.33s [INFO] running `Command { std: "docker" "inspect" "75608698ecb734f8ed6c7ce07046d52347fef7bfe2a1f410abffca44c8159733", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75608698ecb734f8ed6c7ce07046d52347fef7bfe2a1f410abffca44c8159733", kill_on_drop: false }` [INFO] [stdout] 75608698ecb734f8ed6c7ce07046d52347fef7bfe2a1f410abffca44c8159733 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3be1090496bc557ad9c13744a7079aa76e3184364384cb9ae61fa608961356a8 [INFO] running `Command { std: "docker" "start" "-a" "3be1090496bc557ad9c13744a7079aa76e3184364384cb9ae61fa608961356a8", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `rng` [INFO] [stderr] --> src/game_of_life/main.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | use rand::{rng, RngExt}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `CreationContext` [INFO] [stderr] --> src/screen_wrapper.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use eframe::{CreationContext, Frame}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `eframe::egui::Context` [INFO] [stderr] --> src/screen_wrapper.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use eframe::egui::Context; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::linux::raw::stat` [INFO] [stderr] --> src/pathfinder/grid.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::linux::raw::stat; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/pathfinder/algorithms/AStar.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | if (start == [-1,-1] || end == [-1,-1]){ [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] 24 - if (start == [-1,-1] || end == [-1,-1]){ [INFO] [stderr] 24 + if start == [-1,-1] || end == [-1,-1] { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `std::os::linux::raw::stat`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stderr] --> src/pathfinder/grid.rs:1:26 [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::linux::raw::stat; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `directions` is assigned to, but never used [INFO] [stderr] --> src/pathfinder/algorithms/AStar.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | let directions: &[(isize, isize)]; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_directions` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `directions` is never read [INFO] [stderr] --> src/pathfinder/algorithms/AStar.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | directions = &[(-1, 0), (0, -1), (0, 1), (1, 0)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `directions` is never read [INFO] [stderr] --> src/pathfinder/algorithms/AStar.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | / directions = &[ [INFO] [stderr] 31 | | (-1, -1), (-1, 0), (-1, 1), [INFO] [stderr] 32 | | (0, -1), (0, 1), [INFO] [stderr] 33 | | (1, -1), (1, 0), (1, 1) [INFO] [stderr] 34 | | ] [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: trait `BaseAlgorithm` is never used [INFO] [stderr] --> src/pathfinder/algorithms/BaseAlgorithm.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | pub trait BaseAlgorithm{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `AStar` is never constructed [INFO] [stderr] --> src/pathfinder/algorithms/AStar.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | struct AStar{ [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `heuristic` is never used [INFO] [stderr] --> src/pathfinder/algorithms/AStar.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 9 | impl AStar{ [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] 10 | fn heuristic(cell: [i64; 2], end_node: [i64;2]) -> i64{ [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: module `BaseAlgorithm` should have a snake case name [INFO] [stderr] --> src/pathfinder/algorithms/mod.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | mod BaseAlgorithm; [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `base_algorithm` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: module `AStar` should have a snake case name [INFO] [stderr] --> src/pathfinder/algorithms/mod.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | pub mod AStar; [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `astar` [INFO] [stderr] [INFO] [stderr] warning: `RandomStuff` (bin "RandomStuff" test) generated 14 warnings (run `cargo fix --bin "RandomStuff" -p RandomStuff --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/RandomStuff-66741e01fbf67427) [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" "3be1090496bc557ad9c13744a7079aa76e3184364384cb9ae61fa608961356a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3be1090496bc557ad9c13744a7079aa76e3184364384cb9ae61fa608961356a8", kill_on_drop: false }` [INFO] [stdout] 3be1090496bc557ad9c13744a7079aa76e3184364384cb9ae61fa608961356a8