[INFO] cloning repository https://github.com/jadedhound/wayfarer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jadedhound/wayfarer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjadedhound%2Fwayfarer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjadedhound%2Fwayfarer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 594cff7f1516fde1d7ec804e0143b6ec3061ad33 [INFO] testing jadedhound/wayfarer against 1.83.0 for beta-1.84.0-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjadedhound%2Fwayfarer" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jadedhound/wayfarer on toolchain 1.83.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jadedhound/wayfarer [INFO] finished tweaking git repo https://github.com/jadedhound/wayfarer [INFO] tweaked toml for git repo https://github.com/jadedhound/wayfarer written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jadedhound/wayfarer 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" "+1.83.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/Absolucy/nanorand-rs.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded leptos_router v0.5.2 [INFO] [stderr] Downloaded server_fn v0.5.2 [INFO] [stderr] Downloaded server_fn_macro v0.5.2 [INFO] [stderr] Downloaded leptos_server v0.5.2 [INFO] [stderr] Downloaded leptos v0.5.2 [INFO] [stderr] Downloaded server_fn_macro_default v0.5.2 [INFO] [stderr] Downloaded rstml v0.11.0 [INFO] [stderr] Downloaded leptos_reactive v0.5.2 [INFO] [stderr] Downloaded gloo-history v0.2.0 [INFO] [stderr] Downloaded inventory v0.3.8 [INFO] [stderr] Downloaded leptos_meta v0.5.2 [INFO] [stderr] Downloaded leptos_config v0.5.2 [INFO] [stderr] Downloaded derive-where v1.2.1 [INFO] [stderr] Downloaded leptos_hot_reload v0.5.2 [INFO] [stderr] Downloaded leptos_macro v0.5.2 [INFO] [stderr] Downloaded serde_test v1.0.171 [INFO] [stderr] Downloaded idb-sys v0.2.1 [INFO] [stderr] Downloaded idb v0.4.1 [INFO] [stderr] Downloaded leptos_dom v0.5.2 [INFO] [stderr] Downloaded leptos-use v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 791eaac1cb1a09c9f4a7b7a0c51414ebdbaa3d08ebf37412b107f9d4ab769db9 [INFO] running `Command { std: "docker" "start" "-a" "791eaac1cb1a09c9f4a7b7a0c51414ebdbaa3d08ebf37412b107f9d4ab769db9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "791eaac1cb1a09c9f4a7b7a0c51414ebdbaa3d08ebf37412b107f9d4ab769db9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "791eaac1cb1a09c9f4a7b7a0c51414ebdbaa3d08ebf37412b107f9d4ab769db9", kill_on_drop: false }` [INFO] [stdout] 791eaac1cb1a09c9f4a7b7a0c51414ebdbaa3d08ebf37412b107f9d4ab769db9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b5d33e2a0f1bab6712e5bd98d2bf0aec24fe60e6f05f54dc018e195f83fa60f [INFO] running `Command { std: "docker" "start" "-a" "2b5d33e2a0f1bab6712e5bd98d2bf0aec24fe60e6f05f54dc018e195f83fa60f", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Compiling bumpalo v3.12.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling xxhash-rust v0.8.6 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.70 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling camino v1.1.4 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling syn v2.0.25 [INFO] [stderr] Compiling proc-macro-utils v0.8.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling ciborium-io v0.2.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.31 [INFO] [stderr] Compiling ciborium-ll v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling prettyplease v0.2.10 [INFO] [stderr] Compiling utf8-width v0.1.6 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Compiling ipnet v2.7.2 [INFO] [stderr] Compiling collection_literals v1.0.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling manyhow-macros v0.8.1 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling self_cell v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling uuid v1.3.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling const_format v0.2.31 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling inventory v0.3.8 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling winnow v0.5.16 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling pad-adapter v0.1.1 [INFO] [stderr] Compiling drain_filter_polyfill v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling serde_test v1.0.171 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling common_macros v0.1.1 [INFO] [stderr] Compiling nanorand v0.8.0 (https://github.com/Absolucy/nanorand-rs.git#e48f4e3c) [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling regex v1.7.3 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Compiling manyhow v0.8.1 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling serde_derive v1.0.171 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling derive-where v1.2.1 [INFO] [stderr] Compiling syn_derive v0.1.6 [INFO] [stderr] Compiling typed-builder-macro v0.16.0 [INFO] [stderr] Compiling async-recursion v1.0.4 [INFO] [stderr] Compiling strum_macros v0.25.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Compiling rstml v0.11.0 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling typed-builder v0.16.0 [INFO] [stderr] Compiling quote-use v0.7.1 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling default-struct-builder v0.5.0 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling attribute-derive-macro v0.8.1 [INFO] [stderr] Compiling js-sys v0.3.64 [INFO] [stderr] Compiling attribute-derive v0.8.1 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling pinned v0.1.0 [INFO] [stderr] Compiling tokio-util v0.7.7 [INFO] [stderr] Compiling h2 v0.3.17 [INFO] [stderr] Compiling server_fn_macro v0.5.2 [INFO] [stderr] Compiling leptos_hot_reload v0.5.2 [INFO] [stderr] Compiling web-sys v0.3.64 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.34 [INFO] [stderr] Compiling gloo-timers v0.3.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde-wasm-bindgen v0.5.0 [INFO] [stderr] Compiling serde_qs v0.12.0 [INFO] [stderr] Compiling ciborium v0.2.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_arrays v0.1.0 [INFO] [stderr] Compiling server_fn_macro_default v0.5.2 [INFO] [stderr] Compiling leptos_macro v0.5.2 [INFO] [stderr] Compiling linear-map v1.2.0 [INFO] [stderr] Compiling config v0.13.3 [INFO] [stderr] Compiling leptos_config v0.5.2 [INFO] [stderr] Compiling hyper v0.14.26 [INFO] [stderr] Compiling reqwest v0.11.16 [INFO] [stderr] Compiling server_fn v0.5.2 [INFO] [stderr] Compiling gloo-utils v0.2.0 [INFO] [stderr] Compiling leptos_reactive v0.5.2 [INFO] [stderr] Compiling gloo-events v0.2.0 [INFO] [stderr] Compiling gloo-utils v0.1.6 [INFO] [stderr] Compiling idb-sys v0.2.1 [INFO] [stderr] Compiling gloo-dialogs v0.2.0 [INFO] [stderr] Compiling gloo-render v0.2.0 [INFO] [stderr] Compiling gloo-file v0.3.0 [INFO] [stderr] Compiling gloo-net v0.2.6 [INFO] [stderr] Compiling gloo-worker v0.4.1 [INFO] [stderr] Compiling gloo-net v0.4.0 [INFO] [stderr] Compiling gloo-history v0.2.0 [INFO] [stderr] Compiling gloo-storage v0.3.0 [INFO] [stderr] Compiling gloo-console v0.3.0 [INFO] [stderr] Compiling idb v0.4.1 [INFO] [stderr] Compiling gloo v0.10.0 [INFO] [stderr] Compiling leptos_server v0.5.2 [INFO] [stderr] Compiling leptos_dom v0.5.2 [INFO] [stderr] Compiling leptos v0.5.2 [INFO] [stderr] Compiling leptos_router v0.5.2 [INFO] [stderr] Compiling leptos-use v0.8.0 [INFO] [stderr] Compiling leptos_meta v0.5.2 [INFO] [stderr] Compiling wayfarer v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::pc::Ability` [INFO] [stdout] --> src/items/armoursmith.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::pc::Ability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::PC` [INFO] [stdout] --> src/pc/realm.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::PC; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Turns` [INFO] [stdout] --> src/pc/realm/rest.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::utils::turns::{Turns, TURNS_IN_DAY}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Item` [INFO] [stdout] --> src/pc/update/inventory.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::items::{Item, ItemProp}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ability` [INFO] [stdout] --> src/pc/update/inventory.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::pc::{AbiScores, Ability, PC}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::index_map::IndexMap` [INFO] [stdout] --> src/pc/update/inventory.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::utils::index_map::IndexMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/utils/search.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | P: Fn(&'static T) -> &str, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] help: consider specifying it explicitly [INFO] [stdout] | [INFO] [stdout] 8 | P: Fn(&'static T) -> &'static str, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sesh` [INFO] [stdout] --> src/pc/realm/shop/cart_view.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | let (pc, sesh, state) = (PC::expect(), Session::expect(), State::expect()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sesh` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sesh` [INFO] [stdout] --> src/pc/update/inventory.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | let (pc, sesh) = (PC::expect(), Session::expect()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sesh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pc` [INFO] [stdout] --> src/pc/update/inventory.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let pc = PC::expect(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_encumbered` [INFO] [stdout] --> src/pc/update/inventory.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let is_encumbered = PC::slice(|pc| pc.backpack.vacancy().is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_encumbered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOLT` is never used [INFO] [stdout] --> src/icons.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | pub const BOLT: &str = r#" [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STAR` is never used [INFO] [stdout] --> src/icons.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | pub const STAR: &str = r#" [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLOCK` is never used [INFO] [stdout] --> src/icons.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | pub const CLOCK: &str = r#" [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `change` are never used [INFO] [stdout] --> src/pc/class/level.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ClassExp { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 11 | pub fn get(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn change(&mut self, by: isize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `min_exp` and `max_exp` are never used [INFO] [stdout] --> src/pc/class/level.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl ClassLevel { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn min_exp(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn max_exp(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `change_turn` is never used [INFO] [stdout] --> src/pc/main/turn_tracker.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn change_turn(pc: &mut PC, f: impl Fn(u64) -> u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `use_button` is never used [INFO] [stdout] --> src/pc/main/use_button.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn use_button(count: C, onclick: F, use_on_zero: bool) -> impl IntoView [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cast_divine` and `cast_arcane` are never read [INFO] [stdout] --> src/pc/session.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub cast_divine: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | pub cast_arcane: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `array_len` is never used [INFO] [stdout] --> src/utils.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub const fn array_len(arr: &[&[T]]) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flatten_array` is never used [INFO] [stdout] --> src/utils.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | pub const fn flatten_array<'a, T: Copy, const COUNT: usize>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_subarray_to_acc` is never used [INFO] [stdout] --> src/utils.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | const fn copy_subarray_to_acc( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_full` and `resize` are never used [INFO] [stdout] --> src/utils/fixed_vec.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl FixedVec { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn resize(&mut self, size: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `values_mut`, `expect`, and `position` are never used [INFO] [stdout] --> src/utils/index_map.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl IndexMap { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn values_mut(&mut self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn expect(&self, id: usize) -> T [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn position

(&self, p: P) -> Option [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ClassOptionalBuff` is never constructed [INFO] [stdout] --> src/views/modal.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ModalLocation { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 10 | CreatePC, [INFO] [stdout] 11 | ClassOptionalBuff, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModalLocation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 31s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.87 [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" "2b5d33e2a0f1bab6712e5bd98d2bf0aec24fe60e6f05f54dc018e195f83fa60f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b5d33e2a0f1bab6712e5bd98d2bf0aec24fe60e6f05f54dc018e195f83fa60f", kill_on_drop: false }` [INFO] [stdout] 2b5d33e2a0f1bab6712e5bd98d2bf0aec24fe60e6f05f54dc018e195f83fa60f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39233f27856ebc7098fbd7db95a9947f88a7f4e1811e841df70c536916203adb [INFO] running `Command { std: "docker" "start" "-a" "39233f27856ebc7098fbd7db95a9947f88a7f4e1811e841df70c536916203adb", kill_on_drop: false }` [INFO] [stderr] Compiling wayfarer v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::pc::Ability` [INFO] [stdout] --> src/items/armoursmith.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::pc::Ability; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::PC` [INFO] [stdout] --> src/pc/realm.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::PC; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Turns` [INFO] [stdout] --> src/pc/realm/rest.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::utils::turns::{Turns, TURNS_IN_DAY}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Item` [INFO] [stdout] --> src/pc/update/inventory.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::items::{Item, ItemProp}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ability` [INFO] [stdout] --> src/pc/update/inventory.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::pc::{AbiScores, Ability, PC}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::index_map::IndexMap` [INFO] [stdout] --> src/pc/update/inventory.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::utils::index_map::IndexMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/utils/search.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | P: Fn(&'static T) -> &str, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] help: consider specifying it explicitly [INFO] [stdout] | [INFO] [stdout] 8 | P: Fn(&'static T) -> &'static str, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sesh` [INFO] [stdout] --> src/pc/realm/shop/cart_view.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | let (pc, sesh, state) = (PC::expect(), Session::expect(), State::expect()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sesh` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sesh` [INFO] [stdout] --> src/pc/update/inventory.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | let (pc, sesh) = (PC::expect(), Session::expect()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sesh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pc` [INFO] [stdout] --> src/pc/update/inventory.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let pc = PC::expect(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_encumbered` [INFO] [stdout] --> src/pc/update/inventory.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let is_encumbered = PC::slice(|pc| pc.backpack.vacancy().is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_encumbered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOLT` is never used [INFO] [stdout] --> src/icons.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | pub const BOLT: &str = r#" [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STAR` is never used [INFO] [stdout] --> src/icons.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | pub const STAR: &str = r#" [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLOCK` is never used [INFO] [stdout] --> src/icons.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | pub const CLOCK: &str = r#" [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `change` are never used [INFO] [stdout] --> src/pc/class/level.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ClassExp { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 11 | pub fn get(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn change(&mut self, by: isize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `min_exp` and `max_exp` are never used [INFO] [stdout] --> src/pc/class/level.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl ClassLevel { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn min_exp(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn max_exp(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `change_turn` is never used [INFO] [stdout] --> src/pc/main/turn_tracker.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn change_turn(pc: &mut PC, f: impl Fn(u64) -> u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `use_button` is never used [INFO] [stdout] --> src/pc/main/use_button.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn use_button(count: C, onclick: F, use_on_zero: bool) -> impl IntoView [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cast_divine` and `cast_arcane` are never read [INFO] [stdout] --> src/pc/session.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub cast_divine: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | pub cast_arcane: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `array_len` is never used [INFO] [stdout] --> src/utils.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub const fn array_len(arr: &[&[T]]) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flatten_array` is never used [INFO] [stdout] --> src/utils.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | pub const fn flatten_array<'a, T: Copy, const COUNT: usize>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_subarray_to_acc` is never used [INFO] [stdout] --> src/utils.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | const fn copy_subarray_to_acc( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_full` and `resize` are never used [INFO] [stdout] --> src/utils/fixed_vec.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl FixedVec { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn resize(&mut self, size: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `values_mut`, `expect`, and `position` are never used [INFO] [stdout] --> src/utils/index_map.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl IndexMap { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn values_mut(&mut self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn expect(&self, id: usize) -> T [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn position

(&self, p: P) -> Option [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ClassOptionalBuff` is never constructed [INFO] [stdout] --> src/views/modal.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ModalLocation { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 10 | CreatePC, [INFO] [stdout] 11 | ClassOptionalBuff, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModalLocation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.77s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.87 [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" "39233f27856ebc7098fbd7db95a9947f88a7f4e1811e841df70c536916203adb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39233f27856ebc7098fbd7db95a9947f88a7f4e1811e841df70c536916203adb", kill_on_drop: false }` [INFO] [stdout] 39233f27856ebc7098fbd7db95a9947f88a7f4e1811e841df70c536916203adb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 114b164b849c2e776fc2b39dd4323dcd8ddb3051f904f003c52c896f38af7be6 [INFO] running `Command { std: "docker" "start" "-a" "114b164b849c2e776fc2b39dd4323dcd8ddb3051f904f003c52c896f38af7be6", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::pc::Ability` [INFO] [stderr] --> src/items/armoursmith.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::pc::Ability; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::PC` [INFO] [stderr] --> src/pc/realm.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use super::PC; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Turns` [INFO] [stderr] --> src/pc/realm/rest.rs:9:27 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::utils::turns::{Turns, TURNS_IN_DAY}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Item` [INFO] [stderr] --> src/pc/update/inventory.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::items::{Item, ItemProp}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Ability` [INFO] [stderr] --> src/pc/update/inventory.rs:7:28 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::pc::{AbiScores, Ability, PC}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::utils::index_map::IndexMap` [INFO] [stderr] --> src/pc/update/inventory.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::utils::index_map::IndexMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/utils/search.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | P: Fn(&'static T) -> &str, [INFO] [stderr] | ^ this elided lifetime gets resolved as `'static` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] help: consider specifying it explicitly [INFO] [stderr] | [INFO] [stderr] 8 | P: Fn(&'static T) -> &'static str, [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sesh` [INFO] [stderr] --> src/pc/realm/shop/cart_view.rs:70:14 [INFO] [stderr] | [INFO] [stderr] 70 | let (pc, sesh, state) = (PC::expect(), Session::expect(), State::expect()); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sesh` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sesh` [INFO] [stderr] --> src/pc/update/inventory.rs:12:14 [INFO] [stderr] | [INFO] [stderr] 12 | let (pc, sesh) = (PC::expect(), Session::expect()); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sesh` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pc` [INFO] [stderr] --> src/pc/update/inventory.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | let pc = PC::expect(); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_pc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `is_encumbered` [INFO] [stderr] --> src/pc/update/inventory.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | let is_encumbered = PC::slice(|pc| pc.backpack.vacancy().is_none()); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_encumbered` [INFO] [stderr] [INFO] [stderr] warning: constant `BOLT` is never used [INFO] [stderr] --> src/icons.rs:66:11 [INFO] [stderr] | [INFO] [stderr] 66 | pub const BOLT: &str = r#" [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `STAR` is never used [INFO] [stderr] --> src/icons.rs:91:11 [INFO] [stderr] | [INFO] [stderr] 91 | pub const STAR: &str = r#" [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `CLOCK` is never used [INFO] [stderr] --> src/icons.rs:101:11 [INFO] [stderr] | [INFO] [stderr] 101 | pub const CLOCK: &str = r#" [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get` and `change` are never used [INFO] [stderr] --> src/pc/class/level.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl ClassExp { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] 11 | pub fn get(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 14 | pub fn change(&mut self, by: isize) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `min_exp` and `max_exp` are never used [INFO] [stderr] --> src/pc/class/level.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 34 | impl ClassLevel { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 38 | pub fn min_exp(&self) -> usize { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | pub fn max_exp(&self) -> usize { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `change_turn` is never used [INFO] [stderr] --> src/pc/main/turn_tracker.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | fn change_turn(pc: &mut PC, f: impl Fn(u64) -> u64) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `use_button` is never used [INFO] [stderr] --> src/pc/main/use_button.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn use_button(count: C, onclick: F, use_on_zero: bool) -> impl IntoView [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `cast_divine` and `cast_arcane` are never read [INFO] [stderr] --> src/pc/session.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Session { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 19 | pub cast_divine: u8, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 20 | pub cast_arcane: u8, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `array_len` is never used [INFO] [stderr] --> src/utils.rs:65:14 [INFO] [stderr] | [INFO] [stderr] 65 | pub const fn array_len(arr: &[&[T]]) -> usize { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `flatten_array` is never used [INFO] [stderr] --> src/utils.rs:78:14 [INFO] [stderr] | [INFO] [stderr] 78 | pub const fn flatten_array<'a, T: Copy, const COUNT: usize>( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `copy_subarray_to_acc` is never used [INFO] [stderr] --> src/utils.rs:101:10 [INFO] [stderr] | [INFO] [stderr] 101 | const fn copy_subarray_to_acc( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `is_full` and `resize` are never used [INFO] [stderr] --> src/utils/fixed_vec.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl FixedVec { [INFO] [stderr] | ------------------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 36 | pub fn is_full(&self) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | pub fn resize(&mut self, size: usize) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `values_mut`, `expect`, and `position` are never used [INFO] [stderr] --> src/utils/index_map.rs:71:12 [INFO] [stderr] | [INFO] [stderr] 67 | impl IndexMap { [INFO] [stderr] | -------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 71 | pub fn values_mut(&mut self) -> impl Iterator + '_ { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 104 | pub fn expect(&self, id: usize) -> T [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 116 | pub fn position

(&self, p: P) -> Option [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `ClassOptionalBuff` is never constructed [INFO] [stderr] --> src/views/modal.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub enum ModalLocation { [INFO] [stderr] | ------------- variant in this enum [INFO] [stderr] 10 | CreatePC, [INFO] [stderr] 11 | ClassOptionalBuff, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ModalLocation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `wayfarer` (bin "wayfarer" test) generated 25 warnings (run `cargo fix --bin "wayfarer" --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.87 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wayfarer-9d62098174727f10) [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" "114b164b849c2e776fc2b39dd4323dcd8ddb3051f904f003c52c896f38af7be6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "114b164b849c2e776fc2b39dd4323dcd8ddb3051f904f003c52c896f38af7be6", kill_on_drop: false }` [INFO] [stdout] 114b164b849c2e776fc2b39dd4323dcd8ddb3051f904f003c52c896f38af7be6