[INFO] cloning repository https://github.com/cherro0125/witcher-2d-vibe-coded [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cherro0125/witcher-2d-vibe-coded" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcherro0125%2Fwitcher-2d-vibe-coded", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcherro0125%2Fwitcher-2d-vibe-coded'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94ff4e3d991a3ab8abd60e760ca58b234c6181db [INFO] checking cherro0125/witcher-2d-vibe-coded against db8f076d2619ce2585b0380dda06e8da25a40da4 for pr-163699 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcherro0125%2Fwitcher-2d-vibe-coded" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cherro0125/witcher-2d-vibe-coded [INFO] finished tweaking git repo https://github.com/cherro0125/witcher-2d-vibe-coded [INFO] tweaked toml for git repo https://github.com/cherro0125/witcher-2d-vibe-coded written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cherro0125/witcher-2d-vibe-coded on toolchain db8f076d2619ce2585b0380dda06e8da25a40da4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db8f076d2619ce2585b0380dda06e8da25a40da4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cherro0125/witcher-2d-vibe-coded 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" "+db8f076d2619ce2585b0380dda06e8da25a40da4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num_enum_derive v0.5.11 [INFO] [stderr] Downloaded num_enum v0.5.11 [INFO] [stderr] Downloaded sctk-adwaita v0.5.4 [INFO] [stderr] Downloaded tiny-skia-path v0.8.4 [INFO] [stderr] Downloaded ndk v0.7.0 [INFO] [stderr] Downloaded calloop v0.10.6 [INFO] [stderr] Downloaded nix v0.25.1 [INFO] [stderr] Downloaded tiny-skia v0.8.4 [INFO] [stderr] Downloaded android-activity v0.4.3 [INFO] [stderr] Downloaded ggez v0.9.3 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.45 [INFO] [stderr] Downloaded smart-default v0.7.1 [INFO] [stderr] Downloaded ndk-sys v0.4.1+23.1.7779620 [INFO] [stderr] Downloaded winit v0.28.7 [INFO] [stderr] Downloaded web-sys v0.3.72 [INFO] [stderr] Downloaded skeptic v0.13.7 [INFO] [stderr] Downloaded orbclient v0.3.51 [INFO] [stderr] Downloaded cargo_metadata v0.14.2 [INFO] [stderr] Downloaded cargo-platform v0.1.9 [INFO] [stderr] Downloaded error-chain v0.12.4 [INFO] [stderr] Downloaded pulldown-cmark v0.9.6 [INFO] [stderr] Downloaded toml_parser v1.0.10+spec-1.1.0 [INFO] [stderr] Downloaded toml_edit v0.25.5+spec-1.1.0 [INFO] [stderr] Downloaded winnow v1.0.0 [INFO] [stderr] Downloaded toml_datetime v1.0.1+spec-1.1.0 [INFO] [stderr] Downloaded memoffset v0.8.0 [INFO] [stderr] Downloaded ordered-float v3.9.2 [INFO] [stderr] Downloaded mint v0.5.9 [INFO] [stderr] Downloaded lyon_tessellation v1.0.19 [INFO] [stderr] Downloaded lyon_algorithms v1.0.19 [INFO] [stderr] Downloaded glyph_brush v0.7.12 [INFO] [stderr] Downloaded glyph_brush_layout v0.2.4 [INFO] [stderr] Downloaded xi-unicode v0.3.0 [INFO] [stderr] Downloaded glyph_brush_draw_cache v0.1.6 [INFO] [stderr] Downloaded gilrs v0.10.10 [INFO] [stderr] Downloaded gilrs-core v0.5.15 [INFO] [stderr] Downloaded io-kit-sys v0.4.1 [INFO] [stderr] Downloaded crevice v0.13.0 [INFO] [stderr] Downloaded crevice-derive v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] f50e5bac6923f493322bacdc82da5b7c7b3d8d784a9db7ce65a0110843748c0a [INFO] running `Command { std: "docker" "start" "f50e5bac6923f493322bacdc82da5b7c7b3d8d784a9db7ce65a0110843748c0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f50e5bac6923f493322bacdc82da5b7c7b3d8d784a9db7ce65a0110843748c0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f50e5bac6923f493322bacdc82da5b7c7b3d8d784a9db7ce65a0110843748c0a" "/opt/rustwide/cargo-home/bin/cargo" "+db8f076d2619ce2585b0380dda06e8da25a40da4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f50e5bac6923f493322bacdc82da5b7c7b3d8d784a9db7ce65a0110843748c0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f50e5bac6923f493322bacdc82da5b7c7b3d8d784a9db7ce65a0110843748c0a" "/opt/rustwide/cargo-home/bin/cargo" "+db8f076d2619ce2585b0380dda06e8da25a40da4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling zerocopy v0.8.47 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling slotmap v1.1.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking dlib v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling camino v1.2.2 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking euclid v0.22.14 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Checking gpu-alloc v0.5.4 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking wgpu-types v0.16.1 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking glow v0.12.3 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Checking weezl v0.1.12 [INFO] [stderr] Compiling cc v1.2.57 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Checking lyon_geom v1.0.19 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking inotify v0.10.2 [INFO] [stderr] Checking lyon_path v1.0.19 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking naga v0.12.3 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Checking uuid v1.22.0 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Checking float_next_after v1.0.0 [INFO] [stderr] Checking symphonia-core v0.5.5 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Compiling gilrs v0.10.10 [INFO] [stderr] Checking mint v0.5.9 [INFO] [stderr] Checking cpal v0.15.3 [INFO] [stderr] Checking glyph_brush_layout v0.2.4 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking lyon_tessellation v1.0.19 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Checking gilrs-core v0.5.15 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking lyon_algorithms v1.0.19 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking ordered-float v5.1.0 [INFO] [stderr] Compiling crevice-derive v0.10.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking symphonia-metadata v0.5.5 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking lyon v1.0.19 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking symphonia-bundle-mp3 v0.5.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking crevice v0.13.0 [INFO] [stderr] Checking glam v0.24.2 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Checking ordered-float v3.9.2 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking glyph_brush_draw_cache v0.1.6 [INFO] [stderr] Checking twox-hash v2.1.2 [INFO] [stderr] Checking glyph_brush v0.7.12 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking symphonia v0.5.5 [INFO] [stderr] Checking rodio v0.17.3 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Compiling ggez v0.9.3 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking wgpu-hal v0.16.2 [INFO] [stderr] Checking wgpu-core v0.16.1 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking wgpu v0.16.3 [INFO] [stderr] Checking witcher_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `quests_completed` is never read [INFO] [stdout] --> src/player.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub quests_completed: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/signs.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Sign { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sign` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Oil` and `Junk` are never constructed [INFO] [stdout] --> src/inventory.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ItemType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | Oil, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | Junk, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WeaponMaterial` is never used [INFO] [stdout] --> src/inventory.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum WeaponMaterial { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ArmorWeight` is never used [INFO] [stdout] --> src/inventory.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum ArmorWeight { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/inventory.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Item { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `oil` is never used [INFO] [stdout] --> src/inventory.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Item { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn oil(name: &str, attack: i32, value: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Dezercja` is never constructed [INFO] [stdout] --> src/monsters.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum MonsterType { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Dezercja, // człowiek [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MonsterType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `level`, `weakness_oil`, and `description` are never read [INFO] [stdout] --> src/monsters.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Monster { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 58 | pub level: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub weakness_oil: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 67 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Monster` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sand` is never constructed [INFO] [stdout] --> src/world.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum TileType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | Sand, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TileType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlchemyRecipe` is never constructed [INFO] [stdout] --> src/alchemy.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AlchemyRecipe { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `all_recipes` is never used [INFO] [stdout] --> src/alchemy.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl AlchemyRecipe { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 13 | pub fn all_recipes() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_can_craft` is never used [INFO] [stdout] --> src/alchemy.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn check_can_craft(recipe: &AlchemyRecipe, ingredients: &[(String, i32)]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Failed` is never constructed [INFO] [stdout] --> src/quests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum QuestStatus { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | Failed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuestStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CollectItem` and `GoToLocation` are never constructed [INFO] [stdout] --> src/quests.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum QuestObjective { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | CollectItem(String, i32), // nazwa przedmiotu, ilość [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | GoToLocation(String), // nazwa lokacji [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuestObjective` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/quests.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Quest { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Quest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/dialogue.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | Axii(String), // next_node jeśli Axii się uda [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DialogueAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 - Axii(String), // next_node jeśli Axii się uda [INFO] [stdout] 20 + Axii(()), // next_node jeśli Axii się uda [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GiveGold` is never constructed [INFO] [stdout] --> src/dialogue.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum DialogueAction { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | GiveGold(i32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DialogueAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UI_PANEL_HEIGHT` is never used [INFO] [stdout] --> src/rendering.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const UI_PANEL_HEIGHT: f32 = SCREEN_HEIGHT; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOG_HEIGHT` is never used [INFO] [stdout] --> src/rendering.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const LOG_HEIGHT: f32 = SCREEN_HEIGHT - MAP_VIEW_HEIGHT; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GameOver` is never constructed [INFO] [stdout] --> src/game_state.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum GameScreen { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | GameOver, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameScreen` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `quests_completed` is never read [INFO] [stdout] --> src/player.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub quests_completed: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/signs.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Sign { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sign` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Oil` and `Junk` are never constructed [INFO] [stdout] --> src/inventory.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ItemType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | Oil, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | Junk, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WeaponMaterial` is never used [INFO] [stdout] --> src/inventory.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum WeaponMaterial { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ArmorWeight` is never used [INFO] [stdout] --> src/inventory.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum ArmorWeight { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/inventory.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Item { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `oil` is never used [INFO] [stdout] --> src/inventory.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Item { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn oil(name: &str, attack: i32, value: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Dezercja` is never constructed [INFO] [stdout] --> src/monsters.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum MonsterType { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Dezercja, // człowiek [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MonsterType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `level`, `weakness_oil`, and `description` are never read [INFO] [stdout] --> src/monsters.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Monster { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 58 | pub level: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub weakness_oil: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 67 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Monster` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sand` is never constructed [INFO] [stdout] --> src/world.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum TileType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | Sand, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TileType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlchemyRecipe` is never constructed [INFO] [stdout] --> src/alchemy.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AlchemyRecipe { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `all_recipes` is never used [INFO] [stdout] --> src/alchemy.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl AlchemyRecipe { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 13 | pub fn all_recipes() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_can_craft` is never used [INFO] [stdout] --> src/alchemy.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn check_can_craft(recipe: &AlchemyRecipe, ingredients: &[(String, i32)]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Failed` is never constructed [INFO] [stdout] --> src/quests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum QuestStatus { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | Failed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuestStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CollectItem` and `GoToLocation` are never constructed [INFO] [stdout] --> src/quests.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum QuestObjective { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | CollectItem(String, i32), // nazwa przedmiotu, ilość [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | GoToLocation(String), // nazwa lokacji [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuestObjective` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/quests.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Quest { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Quest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/dialogue.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | Axii(String), // next_node jeśli Axii się uda [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DialogueAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 - Axii(String), // next_node jeśli Axii się uda [INFO] [stdout] 20 + Axii(()), // next_node jeśli Axii się uda [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GiveGold` is never constructed [INFO] [stdout] --> src/dialogue.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum DialogueAction { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | GiveGold(i32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DialogueAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UI_PANEL_HEIGHT` is never used [INFO] [stdout] --> src/rendering.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const UI_PANEL_HEIGHT: f32 = SCREEN_HEIGHT; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOG_HEIGHT` is never used [INFO] [stdout] --> src/rendering.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const LOG_HEIGHT: f32 = SCREEN_HEIGHT - MAP_VIEW_HEIGHT; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GameOver` is never constructed [INFO] [stdout] --> src/game_state.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum GameScreen { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | GameOver, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameScreen` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `rand` [INFO] [stderr] --> Cargo.toml:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | rand = "0.8" [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `rand` [INFO] [stderr] warning: `witcher_game` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 27s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nix v0.29.0, winit v0.28.7 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] running `Command { std: "docker" "inspect" "f50e5bac6923f493322bacdc82da5b7c7b3d8d784a9db7ce65a0110843748c0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f50e5bac6923f493322bacdc82da5b7c7b3d8d784a9db7ce65a0110843748c0a", kill_on_drop: false }` [INFO] [stdout] f50e5bac6923f493322bacdc82da5b7c7b3d8d784a9db7ce65a0110843748c0a