[INFO] cloning repository https://github.com/carcigenicate/rust_math_pet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/carcigenicate/rust_math_pet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarcigenicate%2Frust_math_pet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarcigenicate%2Frust_math_pet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fc612a30e317d9b539e415be00e6844c002daceb [INFO] testing carcigenicate/rust_math_pet against master#d933cf483edf1605142ac6899ff32536c0ad8b22 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarcigenicate%2Frust_math_pet" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/carcigenicate/rust_math_pet [INFO] finished tweaking git repo https://github.com/carcigenicate/rust_math_pet [INFO] tweaked toml for git repo https://github.com/carcigenicate/rust_math_pet written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/carcigenicate/rust_math_pet on toolchain d933cf483edf1605142ac6899ff32536c0ad8b22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/carcigenicate/rust_math_pet 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" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ecolor v0.23.0 [INFO] [stderr] Downloaded emath v0.23.0 [INFO] [stderr] Downloaded egui-winit v0.31.1 [INFO] [stderr] Downloaded egui-wgpu v0.31.1 [INFO] [stderr] Downloaded egui_glow v0.31.1 [INFO] [stderr] Downloaded eframe v0.31.1 [INFO] [stderr] Downloaded egui v0.23.0 [INFO] [stderr] Downloaded epaint v0.23.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] feb06870216701aaf2b5b82a1f6531ee81ebd8095a0ca2ce4f19b7ea0486753e [INFO] running `Command { std: "docker" "start" "-a" "feb06870216701aaf2b5b82a1f6531ee81ebd8095a0ca2ce4f19b7ea0486753e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "feb06870216701aaf2b5b82a1f6531ee81ebd8095a0ca2ce4f19b7ea0486753e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feb06870216701aaf2b5b82a1f6531ee81ebd8095a0ca2ce4f19b7ea0486753e", kill_on_drop: false }` [INFO] [stdout] feb06870216701aaf2b5b82a1f6531ee81ebd8095a0ca2ce4f19b7ea0486753e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0fd350a9f2b6036acd2949407155093dd882a62c32385215b80051892a3fd77 [INFO] running `Command { std: "docker" "start" "-a" "a0fd350a9f2b6036acd2949407155093dd882a62c32385215b80051892a3fd77", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling wayland-client v0.31.10 [INFO] [stderr] Compiling endi v1.1.0 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling wayland-backend v0.3.10 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling async-fs v2.1.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling cursor-icon v1.2.0 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling accesskit v0.17.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling polling v3.8.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.11 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-io v2.4.1 [INFO] [stderr] Compiling wayland-protocols v0.32.8 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling wayland-cursor v0.31.10 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling emath v0.31.1 [INFO] [stderr] Compiling immutable-chunkmap v2.0.6 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling winit v0.30.11 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling accesskit_consumer v0.26.0 [INFO] [stderr] Compiling ecolor v0.31.1 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling dpi v0.1.2 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling epaint_default_fonts v0.31.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling epaint v0.31.1 [INFO] [stderr] Compiling enumflags2 v0.7.11 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling zvariant v4.2.0 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling egui v0.31.1 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.8 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.8 [INFO] [stderr] Compiling webbrowser v1.0.4 [INFO] [stderr] Compiling zbus_names v3.0.0 [INFO] [stderr] Compiling arboard v3.5.0 [INFO] [stderr] Compiling zbus_xml v4.0.0 [INFO] [stderr] Compiling zbus v4.4.0 [INFO] [stderr] Compiling zbus-lockstep v0.4.4 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling smithay-clipboard v0.7.2 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [INFO] [stderr] Compiling ecolor v0.23.0 [INFO] [stderr] Compiling glow v0.16.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling emath v0.23.0 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling epaint v0.23.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling egui_glow v0.31.1 [INFO] [stderr] Compiling egui v0.23.0 [INFO] [stderr] Compiling atspi-common v0.6.0 [INFO] [stderr] Compiling atspi-proxies v0.6.0 [INFO] [stderr] Compiling accesskit_atspi_common v0.10.1 [INFO] [stderr] Compiling atspi-connection v0.6.0 [INFO] [stderr] Compiling atspi v0.22.0 [INFO] [stderr] Compiling accesskit_unix v0.13.1 [INFO] [stderr] Compiling accesskit_winit v0.23.1 [INFO] [stderr] Compiling egui-winit v0.31.1 [INFO] [stderr] Compiling eframe v0.31.1 [INFO] [stderr] Compiling math_pet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `GameStats` and `GameTweaks` [INFO] [stdout] --> src/main.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::game_state::{GameStats, GameTweaks, LiveGameState}; [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: `crate::pet::Pet` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::pet::Pet; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/game_state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max` and `min` [INFO] [stdout] --> src/pet.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/question_generator/math_question_generator.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameTweaks` [INFO] [stdout] --> src/ui/text/text_ui.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::game_state::{GameTweaks, LiveGameState}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/ui/egui/egui_ui.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CreationContext` [INFO] [stdout] --> src/ui/egui/egui_ui.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use eframe::{egui, CreationContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event` and `InputState` [INFO] [stdout] --> src/ui/egui/egui_ui.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use eframe::egui::{Align, Event, FontFamily, InputState}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/ui/egui/egui_ui.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::{thread_rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/text_util.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/ui/egui/egui_ui.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `QuestionGenerator` is never used [INFO] [stdout] --> src/question_generator/question_generator.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | trait QuestionGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_operands` is never used [INFO] [stdout] --> src/question_generator/math_question_generator.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn generate_operands(random_gen: &mut ThreadRng, min_n: i32, max_n: i32) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 56s [INFO] running `Command { std: "docker" "inspect" "a0fd350a9f2b6036acd2949407155093dd882a62c32385215b80051892a3fd77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0fd350a9f2b6036acd2949407155093dd882a62c32385215b80051892a3fd77", kill_on_drop: false }` [INFO] [stdout] a0fd350a9f2b6036acd2949407155093dd882a62c32385215b80051892a3fd77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abec036c5998a64f1fc0bc8d12ed9598c7431875eda11d92383f7211883d7591 [INFO] running `Command { std: "docker" "start" "-a" "abec036c5998a64f1fc0bc8d12ed9598c7431875eda11d92383f7211883d7591", kill_on_drop: false }` [INFO] [stderr] Compiling math_pet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `GameStats` and `GameTweaks` [INFO] [stdout] --> src/main.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::game_state::{GameStats, GameTweaks, LiveGameState}; [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: `crate::pet::Pet` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::pet::Pet; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/game_state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max` and `min` [INFO] [stdout] --> src/pet.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/question_generator/math_question_generator.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameTweaks` [INFO] [stdout] --> src/ui/text/text_ui.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::game_state::{GameTweaks, LiveGameState}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/ui/egui/egui_ui.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CreationContext` [INFO] [stdout] --> src/ui/egui/egui_ui.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use eframe::{egui, CreationContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event` and `InputState` [INFO] [stdout] --> src/ui/egui/egui_ui.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use eframe::egui::{Align, Event, FontFamily, InputState}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/ui/egui/egui_ui.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::{thread_rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/text_util.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/ui/egui/egui_ui.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `QuestionGenerator` is never used [INFO] [stdout] --> src/question_generator/question_generator.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | trait QuestionGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_operands` is never used [INFO] [stdout] --> src/question_generator/math_question_generator.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn generate_operands(random_gen: &mut ThreadRng, min_n: i32, max_n: i32) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.59s [INFO] running `Command { std: "docker" "inspect" "abec036c5998a64f1fc0bc8d12ed9598c7431875eda11d92383f7211883d7591", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abec036c5998a64f1fc0bc8d12ed9598c7431875eda11d92383f7211883d7591", kill_on_drop: false }` [INFO] [stdout] abec036c5998a64f1fc0bc8d12ed9598c7431875eda11d92383f7211883d7591 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fd4fc996f0325ccf19b5d0ab340421a12e0a574a82786dd2de72a8adad8b856f [INFO] running `Command { std: "docker" "start" "-a" "fd4fc996f0325ccf19b5d0ab340421a12e0a574a82786dd2de72a8adad8b856f", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `GameStats` and `GameTweaks` [INFO] [stderr] --> src/main.rs:2:25 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::game_state::{GameStats, GameTweaks, LiveGameState}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::pet::Pet` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::pet::Pet; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cmp::min` [INFO] [stderr] --> src/game_state.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::cmp::min; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `max` and `min` [INFO] [stderr] --> src/pet.rs:1:16 [INFO] [stderr] | [INFO] [stderr] 1 | use std::cmp::{max, min}; [INFO] [stderr] | ^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/question_generator/math_question_generator.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `GameTweaks` [INFO] [stderr] --> src/ui/text/text_ui.rs:2:25 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::game_state::{GameTweaks, LiveGameState}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Instant` [INFO] [stderr] --> src/ui/egui/egui_ui.rs:1:27 [INFO] [stderr] | [INFO] [stderr] 1 | use std::time::{Duration, Instant}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `CreationContext` [INFO] [stderr] --> src/ui/egui/egui_ui.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | use eframe::{egui, CreationContext}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Event` and `InputState` [INFO] [stderr] --> src/ui/egui/egui_ui.rs:4:27 [INFO] [stderr] | [INFO] [stderr] 4 | use eframe::egui::{Align, Event, FontFamily, InputState}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `thread_rng` [INFO] [stderr] --> src/ui/egui/egui_ui.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | use rand::{thread_rng}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cmp::min` [INFO] [stderr] --> src/text_util.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::cmp::min; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/ui/egui/egui_ui.rs:112:17 [INFO] [stderr] | [INFO] [stderr] 112 | Err(err) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: trait `QuestionGenerator` is never used [INFO] [stderr] --> src/question_generator/question_generator.rs:2:7 [INFO] [stderr] | [INFO] [stderr] 2 | trait QuestionGenerator { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `generate_operands` is never used [INFO] [stderr] --> src/question_generator/math_question_generator.rs:27:4 [INFO] [stderr] | [INFO] [stderr] 27 | fn generate_operands(random_gen: &mut ThreadRng, min_n: i32, max_n: i32) -> (i32, i32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `math_pet` (bin "math_pet" test) generated 14 warnings (run `cargo fix --bin "math_pet" -p math_pet --tests` to apply 12 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/math_pet-cc5248b011a5510c) [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" "fd4fc996f0325ccf19b5d0ab340421a12e0a574a82786dd2de72a8adad8b856f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd4fc996f0325ccf19b5d0ab340421a12e0a574a82786dd2de72a8adad8b856f", kill_on_drop: false }` [INFO] [stdout] fd4fc996f0325ccf19b5d0ab340421a12e0a574a82786dd2de72a8adad8b856f