[INFO] cloning repository https://github.com/henrydukepickle/gripguy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/henrydukepickle/gripguy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenrydukepickle%2Fgripguy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenrydukepickle%2Fgripguy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c8fbceff799dc81d595e28fc4d8940c8fb8f4bc [INFO] testing henrydukepickle/gripguy against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenrydukepickle%2Fgripguy" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/henrydukepickle/gripguy [INFO] finished tweaking git repo https://github.com/henrydukepickle/gripguy [INFO] tweaked toml for git repo https://github.com/henrydukepickle/gripguy written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/henrydukepickle/gripguy on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/henrydukepickle/gripguy 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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aeb40d3a66611c7a39b43e689a655c693fcc40367c2093e2e54c71a746a7e497 [INFO] running `Command { std: "docker" "start" "-a" "aeb40d3a66611c7a39b43e689a655c693fcc40367c2093e2e54c71a746a7e497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aeb40d3a66611c7a39b43e689a655c693fcc40367c2093e2e54c71a746a7e497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeb40d3a66611c7a39b43e689a655c693fcc40367c2093e2e54c71a746a7e497", kill_on_drop: false }` [INFO] [stdout] aeb40d3a66611c7a39b43e689a655c693fcc40367c2093e2e54c71a746a7e497 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ee22eaaf55f4b1734ec3101cc3daa77959490799ca5e31785efcba716cdfc67 [INFO] running `Command { std: "docker" "start" "-a" "8ee22eaaf55f4b1734ec3101cc3daa77959490799ca5e31785efcba716cdfc67", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling wayland-client v0.31.11 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling ab_glyph v0.2.32 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling accesskit v0.21.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling flate2 v1.1.4 [INFO] [stderr] Compiling accesskit_consumer v0.30.1 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling pxfm v0.1.25 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Compiling dpi v0.1.2 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling epaint_default_fonts v0.33.0 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling memmap2 v0.9.8 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling glow v0.16.0 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling winnow v0.6.24 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling bigint v4.4.3 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling moxcms v0.7.6 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling gethostname v1.0.2 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling async-signal v0.2.13 [INFO] [stderr] Compiling kdl v6.5.0 [INFO] [stderr] Compiling async-process v2.5.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [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 bytemuck_derive v1.10.2 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling wayland-protocols v0.32.9 [INFO] [stderr] Compiling wayland-cursor v0.31.11 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling emath v0.33.0 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling ecolor v0.33.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling image v0.25.8 [INFO] [stderr] Compiling epaint v0.33.0 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling zvariant_utils v3.2.1 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling zvariant_derive v5.7.0 [INFO] [stderr] Compiling egui v0.33.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling zvariant v5.7.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling arboard v3.6.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling zbus_names v4.2.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.9 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.9 [INFO] [stderr] Compiling webbrowser v1.0.5 [INFO] [stderr] Compiling zbus_xml v5.0.2 [INFO] [stderr] Compiling zbus_macros v5.11.0 [INFO] [stderr] Compiling zbus-lockstep v0.5.1 [INFO] [stderr] Compiling zbus-lockstep-macros v0.5.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling egui_glow v0.33.0 [INFO] [stderr] Compiling zbus v5.11.0 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling smithay-clipboard v0.7.2 [INFO] [stderr] Compiling atspi-common v0.9.0 [INFO] [stderr] Compiling atspi-proxies v0.9.0 [INFO] [stderr] Compiling accesskit_atspi_common v0.14.1 [INFO] [stderr] Compiling atspi-connection v0.9.0 [INFO] [stderr] Compiling atspi v0.25.0 [INFO] [stderr] Compiling accesskit_unix v0.17.1 [INFO] [stderr] Compiling accesskit_winit v0.29.1 [INFO] [stderr] Compiling egui-winit v0.33.0 [INFO] [stderr] Compiling eframe v0.33.0 [INFO] [stderr] Compiling gripguy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `eframe::NativeOptions` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use eframe::NativeOptions; [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 imports: `GripSignature`, `GripType`, `Piece`, `Position`, `fanoplane::fanoplane`, `gen_puzzle`, `hypercube::cube_rot_group_gens`, `new_piece`, `perm::Permutation`, `schreier_sims::generate_ss_table`, and `twist::Twist` [INFO] [stdout] --> src/main.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | constructor::{Position, gen_puzzle}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 5 | fanoplane::fanoplane, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | hypercube::cube_rot_group_gens, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | parse_kdl::get_puzzle, [INFO] [stdout] 8 | perm::Permutation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | piece::{GripSignature, GripType, Piece, new_piece}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] 10 | puzzle::Puzzle, [INFO] [stdout] 11 | schreier_sims::generate_ss_table, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | twist::Twist, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_piece` [INFO] [stdout] --> src/fanoplane.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | piece::{GripType, new_piece}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GripSignature`, `Piece`, `gen_puzzle`, `new_piece`, `puzzle::Puzzle`, and `self` [INFO] [stdout] --> src/hypercube.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | constructor::{Position, gen_puzzle}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | perm::{self, Permutation, identity_perm}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | piece::{GripSignature, GripType, Piece, new_piece}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] 5 | puzzle::Puzzle, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_piece` [INFO] [stdout] --> src/parse_kdl.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | piece::{GripType, new_piece}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::arch::x86_64` [INFO] [stdout] --> src/perm.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::arch::x86_64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::twist::*` [INFO] [stdout] --> src/piece.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::twist::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/piece.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `self` and `self` [INFO] [stdout] --> src/puzzle.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | perm::{self, Permutation, identity_perm}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | twist::{self, Twist}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rect` and `Ui` [INFO] [stdout] --> src/render.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use egui::{Context, Rect, ScrollArea, Ui}; [INFO] [stdout] | ^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fanoplane::fanoplane` [INFO] [stdout] --> src/render.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{fanoplane::fanoplane, parse_kdl::get_puzzle, puzzle::Puzzle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/schreier_sims.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/schreier_sims.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::perm::{self, Permutation, identity_perm}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/schreier_sims.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut next = self.get_elements_start(start + 1); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/main.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | fn new(cc: &eframe::CreationContext<'_>) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/main.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 45 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `App` is never constructed [INFO] [stdout] --> src/main.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct App { [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 function `new` is never used [INFO] [stdout] --> src/main.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl App { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 32 | fn new(cc: &eframe::CreationContext<'_>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fanoplane` is never used [INFO] [stdout] --> src/fanoplane.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn fanoplane() -> Puzzle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HypercubeType` is never used [INFO] [stdout] --> src/hypercube.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum HypercubeType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sig_from_number` is never used [INFO] [stdout] --> src/hypercube.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn sig_from_number(num: u128, deg: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_sig_valid` is never used [INFO] [stdout] --> src/hypercube.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn is_sig_valid(sig: &Position, dim: usize, kind: HypercubeType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_valid_pieces` is never used [INFO] [stdout] --> src/hypercube.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn get_valid_pieces(dim: usize, kind: HypercubeType) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cube_rot_group_gens` is never used [INFO] [stdout] --> src/hypercube.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn cube_rot_group_gens(dim: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_string` and `to_cycles` are never used [INFO] [stdout] --> src/perm.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Permutation { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn to_string(&self, cycles: bool, names: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn to_cycles(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Blocked` is never constructed [INFO] [stdout] --> src/piece.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum GripType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 7 | Active, [INFO] [stdout] 8 | Blocked, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GripType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `grip_type_to_string` is never used [INFO] [stdout] --> src/piece.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn grip_type_to_string(gr: GripType) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `grip_sig_to_string` is never used [INFO] [stdout] --> src/piece.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn grip_sig_to_string(sig: &GripSignature, names: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_solved` and `to_string` are never used [INFO] [stdout] --> src/piece.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Piece { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn is_solved(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn to_string(&self, names: &[String], cycles: bool) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stack` and `names` are never read [INFO] [stdout] --> src/puzzle.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Puzzle { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub stack: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub names: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `twist`, `undo`, `scramble`, and `is_solved` are never used [INFO] [stdout] --> src/puzzle.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Puzzle { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn twist(&mut self, twist: &Twist) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn undo(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn scramble(&mut self, depth: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn is_solved(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render` is never used [INFO] [stdout] --> src/render.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Puzzle { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 6 | pub fn render(&mut self, ctx: &Context, cycles: &mut bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_string` and `inverse` are never used [INFO] [stdout] --> src/twist.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Twist { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 10 | pub fn to_string(&self, cycles: bool, names: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn inverse(&self) -> Twist { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "8ee22eaaf55f4b1734ec3101cc3daa77959490799ca5e31785efcba716cdfc67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ee22eaaf55f4b1734ec3101cc3daa77959490799ca5e31785efcba716cdfc67", kill_on_drop: false }` [INFO] [stdout] 8ee22eaaf55f4b1734ec3101cc3daa77959490799ca5e31785efcba716cdfc67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27688661068d1a4553b1fd9b4b5330e172541b02576b3d3881f79a466fe0e4c0 [INFO] running `Command { std: "docker" "start" "-a" "27688661068d1a4553b1fd9b4b5330e172541b02576b3d3881f79a466fe0e4c0", kill_on_drop: false }` [INFO] [stderr] Compiling gripguy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `eframe::NativeOptions` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use eframe::NativeOptions; [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 imports: `GripSignature`, `GripType`, `Piece`, `Position`, `fanoplane::fanoplane`, `gen_puzzle`, `hypercube::cube_rot_group_gens`, `new_piece`, `perm::Permutation`, `schreier_sims::generate_ss_table`, and `twist::Twist` [INFO] [stdout] --> src/main.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | constructor::{Position, gen_puzzle}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 5 | fanoplane::fanoplane, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | hypercube::cube_rot_group_gens, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | parse_kdl::get_puzzle, [INFO] [stdout] 8 | perm::Permutation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | piece::{GripSignature, GripType, Piece, new_piece}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] 10 | puzzle::Puzzle, [INFO] [stdout] 11 | schreier_sims::generate_ss_table, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | twist::Twist, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_piece` [INFO] [stdout] --> src/fanoplane.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | piece::{GripType, new_piece}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GripSignature`, `Piece`, `gen_puzzle`, `new_piece`, `puzzle::Puzzle`, and `self` [INFO] [stdout] --> src/hypercube.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | constructor::{Position, gen_puzzle}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | perm::{self, Permutation, identity_perm}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | piece::{GripSignature, GripType, Piece, new_piece}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] 5 | puzzle::Puzzle, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_piece` [INFO] [stdout] --> src/parse_kdl.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | piece::{GripType, new_piece}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::arch::x86_64` [INFO] [stdout] --> src/perm.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::arch::x86_64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::twist::*` [INFO] [stdout] --> src/piece.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::twist::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/piece.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `self` and `self` [INFO] [stdout] --> src/puzzle.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | perm::{self, Permutation, identity_perm}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | twist::{self, Twist}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rect` and `Ui` [INFO] [stdout] --> src/render.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use egui::{Context, Rect, ScrollArea, Ui}; [INFO] [stdout] | ^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fanoplane::fanoplane` [INFO] [stdout] --> src/render.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{fanoplane::fanoplane, parse_kdl::get_puzzle, puzzle::Puzzle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/schreier_sims.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/schreier_sims.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::perm::{self, Permutation, identity_perm}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/schreier_sims.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut next = self.get_elements_start(start + 1); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/main.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | fn new(cc: &eframe::CreationContext<'_>) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/main.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 45 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `App` is never constructed [INFO] [stdout] --> src/main.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct App { [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 function `new` is never used [INFO] [stdout] --> src/main.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl App { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 32 | fn new(cc: &eframe::CreationContext<'_>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fanoplane` is never used [INFO] [stdout] --> src/fanoplane.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn fanoplane() -> Puzzle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HypercubeType` is never used [INFO] [stdout] --> src/hypercube.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum HypercubeType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sig_from_number` is never used [INFO] [stdout] --> src/hypercube.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn sig_from_number(num: u128, deg: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_sig_valid` is never used [INFO] [stdout] --> src/hypercube.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn is_sig_valid(sig: &Position, dim: usize, kind: HypercubeType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_valid_pieces` is never used [INFO] [stdout] --> src/hypercube.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn get_valid_pieces(dim: usize, kind: HypercubeType) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cube_rot_group_gens` is never used [INFO] [stdout] --> src/hypercube.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn cube_rot_group_gens(dim: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_string` and `to_cycles` are never used [INFO] [stdout] --> src/perm.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Permutation { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn to_string(&self, cycles: bool, names: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn to_cycles(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Blocked` is never constructed [INFO] [stdout] --> src/piece.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum GripType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 7 | Active, [INFO] [stdout] 8 | Blocked, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GripType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `grip_type_to_string` is never used [INFO] [stdout] --> src/piece.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn grip_type_to_string(gr: GripType) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `grip_sig_to_string` is never used [INFO] [stdout] --> src/piece.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn grip_sig_to_string(sig: &GripSignature, names: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_solved` and `to_string` are never used [INFO] [stdout] --> src/piece.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Piece { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn is_solved(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn to_string(&self, names: &[String], cycles: bool) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stack` and `names` are never read [INFO] [stdout] --> src/puzzle.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Puzzle { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub stack: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub names: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `twist`, `undo`, `scramble`, and `is_solved` are never used [INFO] [stdout] --> src/puzzle.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Puzzle { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn twist(&mut self, twist: &Twist) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn undo(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn scramble(&mut self, depth: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn is_solved(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render` is never used [INFO] [stdout] --> src/render.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Puzzle { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 6 | pub fn render(&mut self, ctx: &Context, cycles: &mut bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_string` and `inverse` are never used [INFO] [stdout] --> src/twist.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Twist { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 10 | pub fn to_string(&self, cycles: bool, names: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn inverse(&self) -> Twist { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.41s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "27688661068d1a4553b1fd9b4b5330e172541b02576b3d3881f79a466fe0e4c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27688661068d1a4553b1fd9b4b5330e172541b02576b3d3881f79a466fe0e4c0", kill_on_drop: false }` [INFO] [stdout] 27688661068d1a4553b1fd9b4b5330e172541b02576b3d3881f79a466fe0e4c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0334030fd77623153c5a59b416199c7a3b4891f8934caa3419024a1783d221cc [INFO] running `Command { std: "docker" "start" "-a" "0334030fd77623153c5a59b416199c7a3b4891f8934caa3419024a1783d221cc", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `eframe::NativeOptions` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use eframe::NativeOptions; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `GripSignature`, `GripType`, `Piece`, `Position`, `fanoplane::fanoplane`, `gen_puzzle`, `hypercube::cube_rot_group_gens`, `new_piece`, `perm::Permutation`, `schreier_sims::generate_ss_table`, and `twist::Twist` [INFO] [stderr] --> src/main.rs:4:19 [INFO] [stderr] | [INFO] [stderr] 4 | constructor::{Position, gen_puzzle}, [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] 5 | fanoplane::fanoplane, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 6 | hypercube::cube_rot_group_gens, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 7 | parse_kdl::get_puzzle, [INFO] [stderr] 8 | perm::Permutation, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 9 | piece::{GripSignature, GripType, Piece, new_piece}, [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stderr] 10 | puzzle::Puzzle, [INFO] [stderr] 11 | schreier_sims::generate_ss_table, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 12 | twist::Twist, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `new_piece` [INFO] [stderr] --> src/fanoplane.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | piece::{GripType, new_piece}, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `GripSignature`, `Piece`, `gen_puzzle`, `new_piece`, `puzzle::Puzzle`, and `self` [INFO] [stderr] --> src/hypercube.rs:2:29 [INFO] [stderr] | [INFO] [stderr] 2 | constructor::{Position, gen_puzzle}, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 3 | perm::{self, Permutation, identity_perm}, [INFO] [stderr] | ^^^^ [INFO] [stderr] 4 | piece::{GripSignature, GripType, Piece, new_piece}, [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stderr] 5 | puzzle::Puzzle, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `new_piece` [INFO] [stderr] --> src/parse_kdl.rs:6:23 [INFO] [stderr] | [INFO] [stderr] 6 | piece::{GripType, new_piece}, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::arch::x86_64` [INFO] [stderr] --> src/perm.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::arch::x86_64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::twist::*` [INFO] [stderr] --> src/piece.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::twist::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/piece.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `self` and `self` [INFO] [stderr] --> src/puzzle.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | perm::{self, Permutation, identity_perm}, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 7 | twist::{self, Twist}, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Rect` and `Ui` [INFO] [stderr] --> src/render.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | use egui::{Context, Rect, ScrollArea, Ui}; [INFO] [stderr] | ^^^^ ^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `fanoplane::fanoplane` [INFO] [stderr] --> src/render.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::{fanoplane::fanoplane, parse_kdl::get_puzzle, puzzle::Puzzle}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashSet` [INFO] [stderr] --> src/schreier_sims.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::HashSet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/schreier_sims.rs:5:19 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::perm::{self, Permutation, identity_perm}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/schreier_sims.rs:84:13 [INFO] [stderr] | [INFO] [stderr] 84 | let mut next = self.get_elements_start(start + 1); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cc` [INFO] [stderr] --> src/main.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | fn new(cc: &eframe::CreationContext<'_>) -> Self { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `frame` [INFO] [stderr] --> src/main.rs:45:47 [INFO] [stderr] | [INFO] [stderr] 45 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stderr] [INFO] [stderr] warning: struct `App` is never constructed [INFO] [stderr] --> src/main.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | struct App { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/main.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 31 | impl App { [INFO] [stderr] | -------- associated function in this implementation [INFO] [stderr] 32 | fn new(cc: &eframe::CreationContext<'_>) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `fanoplane` is never used [INFO] [stderr] --> src/fanoplane.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn fanoplane() -> Puzzle { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `HypercubeType` is never used [INFO] [stderr] --> src/hypercube.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | pub enum HypercubeType { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `sig_from_number` is never used [INFO] [stderr] --> src/hypercube.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn sig_from_number(num: u128, deg: u32) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_sig_valid` is never used [INFO] [stderr] --> src/hypercube.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn is_sig_valid(sig: &Position, dim: usize, kind: HypercubeType) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_valid_pieces` is never used [INFO] [stderr] --> src/hypercube.rs:50:8 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn get_valid_pieces(dim: usize, kind: HypercubeType) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `cube_rot_group_gens` is never used [INFO] [stderr] --> src/hypercube.rs:62:8 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn cube_rot_group_gens(dim: usize) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `to_string` and `to_cycles` are never used [INFO] [stderr] --> src/perm.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 16 | impl Permutation { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 50 | pub fn to_string(&self, cycles: bool, names: &[String]) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 79 | fn to_cycles(&self) -> Vec> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Blocked` is never constructed [INFO] [stderr] --> src/piece.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub enum GripType { [INFO] [stderr] | -------- variant in this enum [INFO] [stderr] 7 | Active, [INFO] [stderr] 8 | Blocked, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GripType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `grip_type_to_string` is never used [INFO] [stderr] --> src/piece.rs:12:4 [INFO] [stderr] | [INFO] [stderr] 12 | fn grip_type_to_string(gr: GripType) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `grip_sig_to_string` is never used [INFO] [stderr] --> src/piece.rs:21:4 [INFO] [stderr] | [INFO] [stderr] 21 | fn grip_sig_to_string(sig: &GripSignature, names: &[String]) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `is_solved` and `to_string` are never used [INFO] [stderr] --> src/piece.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 45 | impl Piece { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 65 | pub fn is_solved(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 68 | pub fn to_string(&self, names: &[String], cycles: bool) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `stack` and `names` are never read [INFO] [stderr] --> src/puzzle.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct Puzzle { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 13 | pub stack: Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 14 | pub names: Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `twist`, `undo`, `scramble`, and `is_solved` are never used [INFO] [stderr] --> src/puzzle.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl Puzzle { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 21 | pub fn twist(&mut self, twist: &Twist) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | pub fn undo(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | pub fn scramble(&mut self, depth: usize) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | pub fn is_solved(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `render` is never used [INFO] [stderr] --> src/render.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 5 | impl Puzzle { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] 6 | pub fn render(&mut self, ctx: &Context, cycles: &mut bool) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `to_string` and `inverse` are never used [INFO] [stderr] --> src/twist.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl Twist { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] 10 | pub fn to_string(&self, cycles: bool, names: &[String]) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 17 | pub fn inverse(&self) -> Twist { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `gripguy` (bin "gripguy" test) generated 33 warnings (run `cargo fix --bin "gripguy" -p gripguy --tests` to apply 16 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gripguy-74ec3277888e1f8f) [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" "0334030fd77623153c5a59b416199c7a3b4891f8934caa3419024a1783d221cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0334030fd77623153c5a59b416199c7a3b4891f8934caa3419024a1783d221cc", kill_on_drop: false }` [INFO] [stdout] 0334030fd77623153c5a59b416199c7a3b4891f8934caa3419024a1783d221cc