[INFO] cloning repository https://github.com/rewin123/DnDCharacterGen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rewin123/DnDCharacterGen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frewin123%2FDnDCharacterGen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frewin123%2FDnDCharacterGen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 661bf6ce74ebaea42c35315f3dab442b1e99e058 [INFO] building rewin123/DnDCharacterGen against master#d59f06fc64844ec2073e5e888f7470989ef25ff9 for pr-119440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frewin123%2FDnDCharacterGen" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rewin123/DnDCharacterGen on toolchain d59f06fc64844ec2073e5e888f7470989ef25ff9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rewin123/DnDCharacterGen [INFO] finished tweaking git repo https://github.com/rewin123/DnDCharacterGen [INFO] tweaked toml for git repo https://github.com/rewin123/DnDCharacterGen written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rewin123/DnDCharacterGen 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" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] building rewin123/DnDCharacterGen against try#fe8f664b41f030f307cfeb6cb8c3a1419292aeed for pr-119440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frewin123%2FDnDCharacterGen" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rewin123/DnDCharacterGen on toolchain fe8f664b41f030f307cfeb6cb8c3a1419292aeed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rewin123/DnDCharacterGen [INFO] finished tweaking git repo https://github.com/rewin123/DnDCharacterGen [INFO] tweaked toml for git repo https://github.com/rewin123/DnDCharacterGen written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rewin123/DnDCharacterGen 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" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "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 egui-winit v0.15.0 [INFO] [stderr] Downloaded eframe v0.15.0 [INFO] [stderr] Downloaded egui_glium v0.15.0 [INFO] [stderr] Downloaded egui_web v0.15.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab69c1b8522ad4620eb20ea2b8e9e9e13e721166fac0b84e504ef4c71e4193ab [INFO] running `Command { std: "docker" "start" "-a" "ab69c1b8522ad4620eb20ea2b8e9e9e13e721166fac0b84e504ef4c71e4193ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab69c1b8522ad4620eb20ea2b8e9e9e13e721166fac0b84e504ef4c71e4193ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab69c1b8522ad4620eb20ea2b8e9e9e13e721166fac0b84e504ef4c71e4193ab", kill_on_drop: false }` [INFO] [stdout] ab69c1b8522ad4620eb20ea2b8e9e9e13e721166fac0b84e504ef4c71e4193ab [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e9b67f59496ee7121e19e5524f7c493895082bb9440d57a417837a13849e2eb [INFO] running `Command { std: "docker" "start" "-a" "9e9b67f59496ee7121e19e5524f7c493895082bb9440d57a417837a13849e2eb", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling libloading v0.7.2 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling ttf-parser v0.13.4 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling wayland-sys v0.29.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling wayland-scanner v0.29.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.2 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling atomic_refcell v0.1.8 [INFO] [stderr] Compiling emath v0.15.0 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling nix v0.22.0 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling xdg v2.4.0 [INFO] [stderr] Compiling xcb v0.10.1 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling owned_ttf_parser v0.13.2 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling wayland-client v0.29.1 [INFO] [stderr] Compiling wayland-protocols v0.29.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling mio-misc v1.2.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling ab_glyph v0.2.12 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling epaint v0.15.0 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling glium v0.30.2 [INFO] [stderr] Compiling webbrowser v0.5.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling egui v0.15.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling wayland-commons v0.29.1 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling wayland-cursor v0.29.1 [INFO] [stderr] Compiling epi v0.15.0 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling x11-clipboard v0.5.3 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling smithay-clipboard v0.6.5 [INFO] [stderr] Compiling copypasta v0.7.1 [INFO] [stderr] Compiling glutin v0.27.0 [INFO] [stderr] Compiling egui-winit v0.15.0 [INFO] [stderr] Compiling egui_glium v0.15.0 [INFO] [stderr] Compiling eframe v0.15.0 [INFO] [stderr] Compiling DnDCharacterGen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `epi` [INFO] [stdout] --> src/main_screen.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use eframe::{egui, epi}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FontFamily` [INFO] [stdout] --> src/character_gen.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use eframe::egui::{CtxRef, FontFamily, TextStyle}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/character.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | let mut res = String::from(""); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/main_screen.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | fn update(&mut self, ctx: &CtxRef, frame: &mut Frame<'_>) -> ScreenResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/character_gen.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | fn update(&mut self, ctx: &CtxRef, frame: &mut Frame<'_>) -> ScreenResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/character_gen.rs:236:40 [INFO] [stdout] | [INFO] [stdout] 236 | fn update(&mut self, ctx: &CtxRef, frame: &mut Frame<'_>) -> ScreenResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/character_gen.rs:303:40 [INFO] [stdout] | [INFO] [stdout] 303 | fn update(&mut self, ctx: &CtxRef, frame: &mut Frame<'_>) -> ScreenResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/race_select.rs:94:40 [INFO] [stdout] | [INFO] [stdout] 94 | fn update(&mut self, ctx: &CtxRef, frame: &mut Frame<'_>) -> ScreenResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anim_step` [INFO] [stdout] --> src/abilities_set_screen.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let anim_step = 5000_f32; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anim_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/abilities_set_screen.rs:40:46 [INFO] [stdout] | [INFO] [stdout] 40 | fn update(&mut self, ctx: &egui::CtxRef, frame: &mut epi::Frame<'_>) -> ScreenResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/abilities_set_screen.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | ... let mut ability_order = crate::race_select::SelectRaceDesc::get_ability_order(&self.charadcter.class); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/abilities_set_screen.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut res = ScreenResult::Ok; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Paladin` is never constructed [INFO] [stdout] --> src/character.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum CharacterClass { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | Paladin, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CharacterClass` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/character.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum Race { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 46 | Dwarf, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | Elf, [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | Halfling, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | Human, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | Dragonborn, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | Gnome, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 52 | HalfElf, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 53 | HalfOrc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 54 | Tiefling, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Race` 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: variant `ClearScreenStack` is never constructed [INFO] [stdout] --> src/screen.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ScreenResult { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | ClearScreenStack(Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/race_select.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl RaceCost { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Fill` is never constructed [INFO] [stdout] --> src/abilities_set_screen.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum AbState { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | Fill [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `DnDCharacterGen` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `dn_dcharacter_gen` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `frames_count` should have an upper case name [INFO] [stdout] --> src/start_window.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub static mut frames_count : u64 = 0_u64; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `FRAMES_COUNT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `DnDCharacterGen` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `dn_dcharacter_gen` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.82s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.22.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "9e9b67f59496ee7121e19e5524f7c493895082bb9440d57a417837a13849e2eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e9b67f59496ee7121e19e5524f7c493895082bb9440d57a417837a13849e2eb", kill_on_drop: false }` [INFO] [stdout] 9e9b67f59496ee7121e19e5524f7c493895082bb9440d57a417837a13849e2eb [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad452d5c1c8cb0157f11715b0d2320f7bfcd9b4f986410d1f1d5448a7f75a896 [INFO] running `Command { std: "docker" "start" "-a" "ad452d5c1c8cb0157f11715b0d2320f7bfcd9b4f986410d1f1d5448a7f75a896", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `epi` [INFO] [stdout] --> src/main_screen.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use eframe::{egui, epi}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FontFamily` [INFO] [stdout] --> src/character_gen.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use eframe::egui::{CtxRef, FontFamily, TextStyle}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/character.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | let mut res = String::from(""); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/main_screen.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | fn update(&mut self, ctx: &CtxRef, frame: &mut Frame<'_>) -> ScreenResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/character_gen.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | fn update(&mut self, ctx: &CtxRef, frame: &mut Frame<'_>) -> ScreenResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/character_gen.rs:236:40 [INFO] [stdout] | [INFO] [stdout] 236 | fn update(&mut self, ctx: &CtxRef, frame: &mut Frame<'_>) -> ScreenResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/character_gen.rs:303:40 [INFO] [stdout] | [INFO] [stdout] 303 | fn update(&mut self, ctx: &CtxRef, frame: &mut Frame<'_>) -> ScreenResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/race_select.rs:94:40 [INFO] [stdout] | [INFO] [stdout] 94 | fn update(&mut self, ctx: &CtxRef, frame: &mut Frame<'_>) -> ScreenResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anim_step` [INFO] [stdout] --> src/abilities_set_screen.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let anim_step = 5000_f32; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anim_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/abilities_set_screen.rs:40:46 [INFO] [stdout] | [INFO] [stdout] 40 | fn update(&mut self, ctx: &egui::CtxRef, frame: &mut epi::Frame<'_>) -> ScreenResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/abilities_set_screen.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | ... let mut ability_order = crate::race_select::SelectRaceDesc::get_ability_order(&self.charadcter.class); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/abilities_set_screen.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut res = ScreenResult::Ok; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Paladin` is never constructed [INFO] [stdout] --> src/character.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum CharacterClass { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | Paladin, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CharacterClass` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/character.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum Race { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 46 | Dwarf, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | Elf, [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | Halfling, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | Human, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | Dragonborn, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | Gnome, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 52 | HalfElf, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 53 | HalfOrc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 54 | Tiefling, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Race` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling DnDCharacterGen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `ClearScreenStack` is never constructed [INFO] [stdout] --> src/screen.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ScreenResult { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | ClearScreenStack(Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/race_select.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl RaceCost { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Fill` is never constructed [INFO] [stdout] --> src/abilities_set_screen.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum AbState { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | Fill [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `DnDCharacterGen` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `dn_dcharacter_gen` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `frames_count` should have an upper case name [INFO] [stdout] --> src/start_window.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub static mut frames_count : u64 = 0_u64; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `FRAMES_COUNT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `epi` [INFO] [stdout] --> src/main_screen.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use eframe::{egui, epi}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FontFamily` [INFO] [stdout] --> src/character_gen.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use eframe::egui::{CtxRef, FontFamily, TextStyle}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `DnDCharacterGen` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `dn_dcharacter_gen` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/character.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | let mut res = String::from(""); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/main_screen.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | fn update(&mut self, ctx: &CtxRef, frame: &mut Frame<'_>) -> ScreenResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/character_gen.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | fn update(&mut self, ctx: &CtxRef, frame: &mut Frame<'_>) -> ScreenResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/character_gen.rs:236:40 [INFO] [stdout] | [INFO] [stdout] 236 | fn update(&mut self, ctx: &CtxRef, frame: &mut Frame<'_>) -> ScreenResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/character_gen.rs:303:40 [INFO] [stdout] | [INFO] [stdout] 303 | fn update(&mut self, ctx: &CtxRef, frame: &mut Frame<'_>) -> ScreenResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/race_select.rs:94:40 [INFO] [stdout] | [INFO] [stdout] 94 | fn update(&mut self, ctx: &CtxRef, frame: &mut Frame<'_>) -> ScreenResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anim_step` [INFO] [stdout] --> src/abilities_set_screen.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let anim_step = 5000_f32; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anim_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/abilities_set_screen.rs:40:46 [INFO] [stdout] | [INFO] [stdout] 40 | fn update(&mut self, ctx: &egui::CtxRef, frame: &mut epi::Frame<'_>) -> ScreenResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/abilities_set_screen.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | ... let mut ability_order = crate::race_select::SelectRaceDesc::get_ability_order(&self.charadcter.class); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/abilities_set_screen.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut res = ScreenResult::Ok; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Paladin` is never constructed [INFO] [stdout] --> src/character.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum CharacterClass { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | Paladin, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CharacterClass` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/character.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum Race { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 46 | Dwarf, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | Elf, [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | Halfling, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | Human, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | Dragonborn, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | Gnome, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 52 | HalfElf, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 53 | HalfOrc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 54 | Tiefling, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Race` 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: variant `ClearScreenStack` is never constructed [INFO] [stdout] --> src/screen.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ScreenResult { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | ClearScreenStack(Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/race_select.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl RaceCost { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Fill` is never constructed [INFO] [stdout] --> src/abilities_set_screen.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum AbState { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | Fill [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `DnDCharacterGen` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `dn_dcharacter_gen` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `frames_count` should have an upper case name [INFO] [stdout] --> src/start_window.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub static mut frames_count : u64 = 0_u64; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `FRAMES_COUNT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.47s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.22.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ad452d5c1c8cb0157f11715b0d2320f7bfcd9b4f986410d1f1d5448a7f75a896", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad452d5c1c8cb0157f11715b0d2320f7bfcd9b4f986410d1f1d5448a7f75a896", kill_on_drop: false }` [INFO] [stdout] ad452d5c1c8cb0157f11715b0d2320f7bfcd9b4f986410d1f1d5448a7f75a896