[INFO] cloning repository https://github.com/Sanidutta6/leptos-tailwind [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sanidutta6/leptos-tailwind" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSanidutta6%2Fleptos-tailwind", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSanidutta6%2Fleptos-tailwind'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c05bdbc5332bb3ecbe00ac23696bb2efc2fdfe92 [INFO] testing Sanidutta6/leptos-tailwind against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSanidutta6%2Fleptos-tailwind" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Sanidutta6/leptos-tailwind [INFO] finished tweaking git repo https://github.com/Sanidutta6/leptos-tailwind [INFO] tweaked toml for git repo https://github.com/Sanidutta6/leptos-tailwind written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Sanidutta6/leptos-tailwind on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Sanidutta6/leptos-tailwind 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e71e2bbb096dbcb18580196f19cfeed6922d61ab837dd3046babb91795efa395 [INFO] running `Command { std: "docker" "start" "-a" "e71e2bbb096dbcb18580196f19cfeed6922d61ab837dd3046babb91795efa395", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e71e2bbb096dbcb18580196f19cfeed6922d61ab837dd3046babb91795efa395", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e71e2bbb096dbcb18580196f19cfeed6922d61ab837dd3046babb91795efa395", kill_on_drop: false }` [INFO] [stdout] e71e2bbb096dbcb18580196f19cfeed6922d61ab837dd3046babb91795efa395 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 619c96997b1a5298543bf1b6c5bf776d6ee642f219ca3b3720155c26faaf7311 [INFO] running `Command { std: "docker" "start" "-a" "619c96997b1a5298543bf1b6c5bf776d6ee642f219ca3b3720155c26faaf7311", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.106 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling bumpalo v3.19.1 [INFO] [stderr] Compiling itoa v1.0.16 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling ryu v1.0.21 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling throw_error v0.3.1 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling slotmap v1.1.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling send_wrapper v0.6.0 [INFO] [stderr] Compiling server_fn_macro v0.8.8 [INFO] [stderr] Compiling reactive_graph v0.2.12 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling or_poisoned v0.1.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling guardian v1.3.0 [INFO] [stderr] Compiling camino v1.2.2 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling utf8-width v0.1.8 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling tachys v0.2.11 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.106 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling server_fn v0.8.9 [INFO] [stderr] Compiling either_of v0.1.6 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling erased v0.1.2 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling manyhow-macros v0.11.4 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling collection_literals v1.0.3 [INFO] [stderr] Compiling drain_filter_polyfill v0.1.3 [INFO] [stderr] Compiling const_str_slice_concat v0.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling next_tuple v0.1.0 [INFO] [stderr] Compiling linear-map v1.2.0 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling leptos_macro v0.8.14 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling const-str v0.7.1 [INFO] [stderr] Compiling base16 v0.2.1 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling leptos v0.8.15 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling async-once-cell v0.5.4 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling leptos_router v0.8.11 [INFO] [stderr] Compiling leptos-use v0.17.0 [INFO] [stderr] Compiling iri-string v0.7.9 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling toml v0.9.10+spec-1.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.106 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling manyhow v0.11.4 [INFO] [stderr] Compiling config v0.15.19 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling tailwind_fuse v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Compiling syn_derive v0.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling reactive_stores_macro v0.2.6 [INFO] [stderr] Compiling quote-use-macros v0.8.4 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling quote-use v0.8.4 [INFO] [stderr] Compiling attribute-derive-macro v0.10.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling typed-builder-macro v0.21.2 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling server_fn_macro_default v0.8.5 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling typed-builder-macro v0.23.2 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling wasm_split_macros v0.2.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling leptos_router_macro v0.8.6 [INFO] [stderr] Compiling rstml v0.12.1 [INFO] [stderr] Compiling wasm_split_helpers v0.2.0 [INFO] [stderr] Compiling attribute-derive v0.10.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.106 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling typed-builder v0.21.2 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling unic-langid-impl v0.9.6 [INFO] [stderr] Compiling typed-builder v0.23.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling default-struct-builder v0.5.1 [INFO] [stderr] Compiling unic-langid v0.9.6 [INFO] [stderr] Compiling js-sys v0.3.83 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling leptos_hot_reload v0.8.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hydration_context v0.3.0 [INFO] [stderr] Compiling oco_ref v0.2.1 [INFO] [stderr] Compiling serde_qs v0.15.0 [INFO] [stderr] Compiling codee v0.3.5 [INFO] [stderr] Compiling leptos_config v0.8.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.56 [INFO] [stderr] Compiling web-sys v0.3.83 [INFO] [stderr] Compiling gloo-timers v0.3.0 [INFO] [stderr] Compiling any_spawner v0.3.0 [INFO] [stderr] Compiling reactive_stores v0.3.1 [INFO] [stderr] Compiling gloo-utils v0.2.0 [INFO] [stderr] Compiling gloo-net v0.6.0 [INFO] [stderr] Compiling wasm-streams v0.4.2 [INFO] [stderr] Compiling leptos_server v0.8.6 [INFO] [stderr] Compiling leptos_dom v0.8.7 [INFO] [stderr] Compiling leptos-tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Destructive`, `Secondary`, and `Link` are never constructed [INFO] [stdout] --> src/components/base/button.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ButtonVariant { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | Destructive, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | Outline, [INFO] [stdout] 10 | Secondary, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | Ghost, [INFO] [stdout] 12 | Link, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ButtonVariant` has derived impls for the traits `Debug` and `Clone`, 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: variants `Sm` and `Lg` are never constructed [INFO] [stdout] --> src/components/base/button.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum ButtonSize { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Sm, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | Lg, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ButtonSize` 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: field `set_open` is never read [INFO] [stdout] --> src/components/base/sidebar.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SidebarContext { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub set_open: Callback, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SidebarContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Right` is never constructed [INFO] [stdout] --> src/components/base/sidebar.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum SidebarSide { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SidebarSide` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/components/base/sidebar.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum SidebarCollapsible { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 43 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SidebarCollapsible` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class` and `children` are never read [INFO] [stdout] --> src/components/base/sidebar.rs:276:39 [INFO] [stdout] | [INFO] [stdout] 275 | #[component] [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 276 | pub fn SidebarGroup(#[prop(optional)] class: String, children: Children) -> impl IntoView { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class` and `children` are never read [INFO] [stdout] --> src/components/base/sidebar.rs:289:38 [INFO] [stdout] | [INFO] [stdout] 288 | #[component] [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 289 | pub fn SidebarMenu(#[prop(optional)] class: String, children: Children) -> impl IntoView { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class` and `children` are never read [INFO] [stdout] --> src/components/base/sidebar.rs:302:42 [INFO] [stdout] | [INFO] [stdout] 301 | #[component] [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 302 | pub fn SidebarMenuItem(#[prop(optional)] class: String, children: Children) -> impl IntoView { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class`, `attributes`, and `children` are never read [INFO] [stdout] --> src/components/base/sidebar.rs:317:29 [INFO] [stdout] | [INFO] [stdout] 315 | #[component] [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 316 | pub fn SidebarGroupLabel( [INFO] [stdout] 317 | #[prop(optional, into)] class: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 318 | #[prop(attrs)] attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 319 | children: Children, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Outline`, `Ghost`, and `Subtle` are never constructed [INFO] [stdout] --> src/components/base/sidebar.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 338 | pub enum SidebarMenuButtonVariant { [INFO] [stdout] | ------------------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 341 | Outline, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 342 | Ghost, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 343 | Subtle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SidebarMenuButtonVariant` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Sm`, `Lg`, and `Icon` are never constructed [INFO] [stdout] --> src/components/base/sidebar.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 347 | pub enum SidebarMenuButtonSize { [INFO] [stdout] | --------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 350 | Sm, [INFO] [stdout] | ^^ [INFO] [stdout] 351 | Lg, [INFO] [stdout] | ^^ [INFO] [stdout] 352 | Icon, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SidebarMenuButtonSize` 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: struct `SidebarMenuButtonClass` is never constructed [INFO] [stdout] --> src/components/base/sidebar.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 357 | pub struct SidebarMenuButtonClass { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/components/base/sidebar.rs:363:59 [INFO] [stdout] | [INFO] [stdout] 361 | #[component] [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 362 | pub fn SidebarMenuButton( [INFO] [stdout] 363 | #[prop(optional, default = Signal::derive(|| false))] is_active: Signal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 364 | #[prop(optional, default = SidebarMenuButtonVariant::Default)] [INFO] [stdout] 365 | variant: SidebarMenuButtonVariant, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 366 | #[prop(optional, default = SidebarMenuButtonSize::Default)] size: SidebarMenuButtonSize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 367 | #[prop(optional, into)] title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 368 | #[prop(optional, into)] class: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 369 | #[prop(optional)] as_child: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 370 | #[prop(attrs)] attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 371 | children: Children, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class` and `children` are never read [INFO] [stdout] --> src/components/base/sidebar.rs:442:41 [INFO] [stdout] | [INFO] [stdout] 441 | #[component] [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 442 | pub fn SidebarMenuSub(#[prop(optional)] class: String, children: Children) -> impl IntoView { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_active`, `size`, `class`, `as_child`, `attributes`, and `children` are never read [INFO] [stdout] --> src/components/base/sidebar.rs:456:40 [INFO] [stdout] | [INFO] [stdout] 454 | #[component] [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 455 | pub fn SidebarMenuSubButton( [INFO] [stdout] 456 | #[prop(optional, default = false)] is_active: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 457 | #[prop(optional, default = "md")] size: &'static str, // "sm" or "md" [INFO] [stdout] | ^^^^ [INFO] [stdout] 458 | #[prop(optional, into)] class: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 459 | #[prop(optional)] as_child: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 460 | #[prop(attrs)] attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 461 | children: Children, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class` and `children` are never read [INFO] [stdout] --> src/components/base/sidebar.rs:512:45 [INFO] [stdout] | [INFO] [stdout] 511 | #[component] [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 512 | pub fn SidebarMenuSubItem(#[prop(optional)] class: String, children: Children) -> impl IntoView { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated constants are never used [INFO] [stdout] --> src/components/base/icons.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 8 | impl Icon { [INFO] [stdout] | --------- associated constants in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub const SQUARE_LIBRARY: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub const BINOCULARS: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub const USER_CIRCLE: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub const USER_SQUARE: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub const PACKAGE: Icon = Icon { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub const BOX: Icon = Icon { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub const SHOPPING_BAG: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub const SHOPPING_CART: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub const CART: Icon = Icon { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub const CART_PLUS: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub const CART_MINUS: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub const CART_CHECK: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub const TAG: Icon = Icon { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub const PRICE_TAG: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub const INVENTORY: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub const STORE: Icon = Icon { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub const GRID: Icon = Icon { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub const LIST: Icon = Icon { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub const BAR_CHART: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub const PIE_CHART: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub const DOLLAR_SIGN: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub const CREDIT_CARD: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub const RECEIPT: Icon = Icon { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub const TRUCK: Icon = Icon { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub const PACKAGE_CHECK: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub const PACKAGE_X: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub const PACKAGE_PLUS: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub const PACKAGE_MINUS: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cart` is never constructed [INFO] [stdout] --> src/api/cart_api.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Cart { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `base_url` is never used [INFO] [stdout] --> src/api/cart_api.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn base_url() -> &'static str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_carts` is never used [INFO] [stdout] --> src/api/cart_api.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub async fn get_all_carts() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_a_cart` is never used [INFO] [stdout] --> src/api/cart_api.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn get_a_cart(cart_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_a_cart` is never used [INFO] [stdout] --> src/api/cart_api.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn add_a_cart(new_cart: Cart) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_a_cart` is never used [INFO] [stdout] --> src/api/cart_api.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn update_a_cart(updated_cart: Cart) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_a_cart` is never used [INFO] [stdout] --> src/api/cart_api.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | pub async fn delete_a_cart(cart_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Product` is never constructed [INFO] [stdout] --> src/api/product_api.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Product { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `base_url` is never used [INFO] [stdout] --> src/api/product_api.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn base_url() -> &'static str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_products` is never used [INFO] [stdout] --> src/api/product_api.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn get_all_products() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_a_product` is never used [INFO] [stdout] --> src/api/product_api.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn get_a_product(product_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_a_product` is never used [INFO] [stdout] --> src/api/product_api.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn add_a_product(new_product: Product) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_a_product` is never used [INFO] [stdout] --> src/api/product_api.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn update_a_product(updated_product: Product) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_a_product` is never used [INFO] [stdout] --> src/api/product_api.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn delete_a_product(product_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/api/users_api.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `base_url` is never used [INFO] [stdout] --> src/api/users_api.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn base_url() -> &'static str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_users` is never used [INFO] [stdout] --> src/api/users_api.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn get_all_users() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_a_user` is never used [INFO] [stdout] --> src/api/users_api.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn get_a_user(user_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_a_user` is never used [INFO] [stdout] --> src/api/users_api.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn add_a_user(new_user: User) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_a_user` is never used [INFO] [stdout] --> src/api/users_api.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn update_a_user(updated_user: User) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_a_user` is never used [INFO] [stdout] --> src/api/users_api.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn delete_a_user(user_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 08s [INFO] running `Command { std: "docker" "inspect" "619c96997b1a5298543bf1b6c5bf776d6ee642f219ca3b3720155c26faaf7311", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "619c96997b1a5298543bf1b6c5bf776d6ee642f219ca3b3720155c26faaf7311", kill_on_drop: false }` [INFO] [stdout] 619c96997b1a5298543bf1b6c5bf776d6ee642f219ca3b3720155c26faaf7311 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 26db39ebc59e4a6b5b3227113d3478bd0e7fe7095ecb9b033d998cb6325dcd93 [INFO] running `Command { std: "docker" "start" "-a" "26db39ebc59e4a6b5b3227113d3478bd0e7fe7095ecb9b033d998cb6325dcd93", kill_on_drop: false }` [INFO] [stderr] Compiling leptos-tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Destructive`, `Secondary`, and `Link` are never constructed [INFO] [stdout] --> src/components/base/button.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ButtonVariant { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | Destructive, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | Outline, [INFO] [stdout] 10 | Secondary, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | Ghost, [INFO] [stdout] 12 | Link, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ButtonVariant` has derived impls for the traits `Debug` and `Clone`, 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: variants `Sm` and `Lg` are never constructed [INFO] [stdout] --> src/components/base/button.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum ButtonSize { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Sm, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | Lg, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ButtonSize` 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: field `set_open` is never read [INFO] [stdout] --> src/components/base/sidebar.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SidebarContext { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub set_open: Callback, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SidebarContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Right` is never constructed [INFO] [stdout] --> src/components/base/sidebar.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum SidebarSide { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SidebarSide` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/components/base/sidebar.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum SidebarCollapsible { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 43 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SidebarCollapsible` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class` and `children` are never read [INFO] [stdout] --> src/components/base/sidebar.rs:276:39 [INFO] [stdout] | [INFO] [stdout] 275 | #[component] [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 276 | pub fn SidebarGroup(#[prop(optional)] class: String, children: Children) -> impl IntoView { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class` and `children` are never read [INFO] [stdout] --> src/components/base/sidebar.rs:289:38 [INFO] [stdout] | [INFO] [stdout] 288 | #[component] [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 289 | pub fn SidebarMenu(#[prop(optional)] class: String, children: Children) -> impl IntoView { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class` and `children` are never read [INFO] [stdout] --> src/components/base/sidebar.rs:302:42 [INFO] [stdout] | [INFO] [stdout] 301 | #[component] [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 302 | pub fn SidebarMenuItem(#[prop(optional)] class: String, children: Children) -> impl IntoView { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class`, `attributes`, and `children` are never read [INFO] [stdout] --> src/components/base/sidebar.rs:317:29 [INFO] [stdout] | [INFO] [stdout] 315 | #[component] [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 316 | pub fn SidebarGroupLabel( [INFO] [stdout] 317 | #[prop(optional, into)] class: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 318 | #[prop(attrs)] attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 319 | children: Children, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Outline`, `Ghost`, and `Subtle` are never constructed [INFO] [stdout] --> src/components/base/sidebar.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 338 | pub enum SidebarMenuButtonVariant { [INFO] [stdout] | ------------------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 341 | Outline, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 342 | Ghost, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 343 | Subtle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SidebarMenuButtonVariant` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Sm`, `Lg`, and `Icon` are never constructed [INFO] [stdout] --> src/components/base/sidebar.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 347 | pub enum SidebarMenuButtonSize { [INFO] [stdout] | --------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 350 | Sm, [INFO] [stdout] | ^^ [INFO] [stdout] 351 | Lg, [INFO] [stdout] | ^^ [INFO] [stdout] 352 | Icon, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SidebarMenuButtonSize` 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: struct `SidebarMenuButtonClass` is never constructed [INFO] [stdout] --> src/components/base/sidebar.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 357 | pub struct SidebarMenuButtonClass { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/components/base/sidebar.rs:363:59 [INFO] [stdout] | [INFO] [stdout] 361 | #[component] [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 362 | pub fn SidebarMenuButton( [INFO] [stdout] 363 | #[prop(optional, default = Signal::derive(|| false))] is_active: Signal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 364 | #[prop(optional, default = SidebarMenuButtonVariant::Default)] [INFO] [stdout] 365 | variant: SidebarMenuButtonVariant, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 366 | #[prop(optional, default = SidebarMenuButtonSize::Default)] size: SidebarMenuButtonSize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 367 | #[prop(optional, into)] title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 368 | #[prop(optional, into)] class: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 369 | #[prop(optional)] as_child: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 370 | #[prop(attrs)] attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 371 | children: Children, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class` and `children` are never read [INFO] [stdout] --> src/components/base/sidebar.rs:442:41 [INFO] [stdout] | [INFO] [stdout] 441 | #[component] [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 442 | pub fn SidebarMenuSub(#[prop(optional)] class: String, children: Children) -> impl IntoView { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_active`, `size`, `class`, `as_child`, `attributes`, and `children` are never read [INFO] [stdout] --> src/components/base/sidebar.rs:456:40 [INFO] [stdout] | [INFO] [stdout] 454 | #[component] [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 455 | pub fn SidebarMenuSubButton( [INFO] [stdout] 456 | #[prop(optional, default = false)] is_active: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 457 | #[prop(optional, default = "md")] size: &'static str, // "sm" or "md" [INFO] [stdout] | ^^^^ [INFO] [stdout] 458 | #[prop(optional, into)] class: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 459 | #[prop(optional)] as_child: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 460 | #[prop(attrs)] attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 461 | children: Children, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class` and `children` are never read [INFO] [stdout] --> src/components/base/sidebar.rs:512:45 [INFO] [stdout] | [INFO] [stdout] 511 | #[component] [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 512 | pub fn SidebarMenuSubItem(#[prop(optional)] class: String, children: Children) -> impl IntoView { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated constants are never used [INFO] [stdout] --> src/components/base/icons.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 8 | impl Icon { [INFO] [stdout] | --------- associated constants in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub const SQUARE_LIBRARY: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub const BINOCULARS: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub const USER_CIRCLE: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub const USER_SQUARE: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub const PACKAGE: Icon = Icon { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub const BOX: Icon = Icon { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub const SHOPPING_BAG: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub const SHOPPING_CART: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub const CART: Icon = Icon { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub const CART_PLUS: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub const CART_MINUS: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub const CART_CHECK: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub const TAG: Icon = Icon { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub const PRICE_TAG: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub const INVENTORY: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub const STORE: Icon = Icon { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub const GRID: Icon = Icon { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub const LIST: Icon = Icon { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub const BAR_CHART: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub const PIE_CHART: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub const DOLLAR_SIGN: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub const CREDIT_CARD: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub const RECEIPT: Icon = Icon { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub const TRUCK: Icon = Icon { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub const PACKAGE_CHECK: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub const PACKAGE_X: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub const PACKAGE_PLUS: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub const PACKAGE_MINUS: Icon = Icon { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cart` is never constructed [INFO] [stdout] --> src/api/cart_api.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Cart { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `base_url` is never used [INFO] [stdout] --> src/api/cart_api.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn base_url() -> &'static str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_carts` is never used [INFO] [stdout] --> src/api/cart_api.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub async fn get_all_carts() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_a_cart` is never used [INFO] [stdout] --> src/api/cart_api.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn get_a_cart(cart_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_a_cart` is never used [INFO] [stdout] --> src/api/cart_api.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn add_a_cart(new_cart: Cart) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_a_cart` is never used [INFO] [stdout] --> src/api/cart_api.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn update_a_cart(updated_cart: Cart) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_a_cart` is never used [INFO] [stdout] --> src/api/cart_api.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | pub async fn delete_a_cart(cart_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Product` is never constructed [INFO] [stdout] --> src/api/product_api.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Product { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `base_url` is never used [INFO] [stdout] --> src/api/product_api.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn base_url() -> &'static str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_products` is never used [INFO] [stdout] --> src/api/product_api.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn get_all_products() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_a_product` is never used [INFO] [stdout] --> src/api/product_api.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn get_a_product(product_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_a_product` is never used [INFO] [stdout] --> src/api/product_api.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn add_a_product(new_product: Product) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_a_product` is never used [INFO] [stdout] --> src/api/product_api.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn update_a_product(updated_product: Product) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_a_product` is never used [INFO] [stdout] --> src/api/product_api.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn delete_a_product(product_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/api/users_api.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `base_url` is never used [INFO] [stdout] --> src/api/users_api.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn base_url() -> &'static str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_users` is never used [INFO] [stdout] --> src/api/users_api.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn get_all_users() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_a_user` is never used [INFO] [stdout] --> src/api/users_api.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn get_a_user(user_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_a_user` is never used [INFO] [stdout] --> src/api/users_api.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn add_a_user(new_user: User) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_a_user` is never used [INFO] [stdout] --> src/api/users_api.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn update_a_user(updated_user: User) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_a_user` is never used [INFO] [stdout] --> src/api/users_api.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn delete_a_user(user_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.63s [INFO] running `Command { std: "docker" "inspect" "26db39ebc59e4a6b5b3227113d3478bd0e7fe7095ecb9b033d998cb6325dcd93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26db39ebc59e4a6b5b3227113d3478bd0e7fe7095ecb9b033d998cb6325dcd93", kill_on_drop: false }` [INFO] [stdout] 26db39ebc59e4a6b5b3227113d3478bd0e7fe7095ecb9b033d998cb6325dcd93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] cdcc2d091d39e21439dcf0abfefc37ce5ecdf3e03b47dba2f9dfd53b03812b51 [INFO] running `Command { std: "docker" "start" "-a" "cdcc2d091d39e21439dcf0abfefc37ce5ecdf3e03b47dba2f9dfd53b03812b51", kill_on_drop: false }` [INFO] [stderr] warning: variants `Destructive`, `Secondary`, and `Link` are never constructed [INFO] [stderr] --> src/components/base/button.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum ButtonVariant { [INFO] [stderr] | ------------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 8 | Destructive, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 9 | Outline, [INFO] [stderr] 10 | Secondary, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 11 | Ghost, [INFO] [stderr] 12 | Link, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ButtonVariant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variants `Sm` and `Lg` are never constructed [INFO] [stderr] --> src/components/base/button.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub enum ButtonSize { [INFO] [stderr] | ---------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 19 | Sm, [INFO] [stderr] | ^^ [INFO] [stderr] 20 | Lg, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `ButtonSize` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `set_open` is never read [INFO] [stderr] --> src/components/base/sidebar.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct SidebarContext { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 18 | pub set_open: Callback, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SidebarContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `Right` is never constructed [INFO] [stderr] --> src/components/base/sidebar.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 24 | pub enum SidebarSide { [INFO] [stderr] | ----------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 27 | Right, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SidebarSide` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `None` is never constructed [INFO] [stderr] --> src/components/base/sidebar.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 39 | pub enum SidebarCollapsible { [INFO] [stderr] | ------------------ variant in this enum [INFO] [stderr] ... [INFO] [stderr] 43 | None, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SidebarCollapsible` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `class` and `children` are never read [INFO] [stderr] --> src/components/base/sidebar.rs:276:39 [INFO] [stderr] | [INFO] [stderr] 275 | #[component] [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 276 | pub fn SidebarGroup(#[prop(optional)] class: String, children: Children) -> impl IntoView { [INFO] [stderr] | ^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `class` and `children` are never read [INFO] [stderr] --> src/components/base/sidebar.rs:289:38 [INFO] [stderr] | [INFO] [stderr] 288 | #[component] [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 289 | pub fn SidebarMenu(#[prop(optional)] class: String, children: Children) -> impl IntoView { [INFO] [stderr] | ^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `class` and `children` are never read [INFO] [stderr] --> src/components/base/sidebar.rs:302:42 [INFO] [stderr] | [INFO] [stderr] 301 | #[component] [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 302 | pub fn SidebarMenuItem(#[prop(optional)] class: String, children: Children) -> impl IntoView { [INFO] [stderr] | ^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `class`, `attributes`, and `children` are never read [INFO] [stderr] --> src/components/base/sidebar.rs:317:29 [INFO] [stderr] | [INFO] [stderr] 315 | #[component] [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 316 | pub fn SidebarGroupLabel( [INFO] [stderr] 317 | #[prop(optional, into)] class: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 318 | #[prop(attrs)] attributes: Vec, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 319 | children: Children, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Outline`, `Ghost`, and `Subtle` are never constructed [INFO] [stderr] --> src/components/base/sidebar.rs:341:5 [INFO] [stderr] | [INFO] [stderr] 338 | pub enum SidebarMenuButtonVariant { [INFO] [stderr] | ------------------------ variants in this enum [INFO] [stderr] ... [INFO] [stderr] 341 | Outline, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 342 | Ghost, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 343 | Subtle, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SidebarMenuButtonVariant` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `Sm`, `Lg`, and `Icon` are never constructed [INFO] [stderr] --> src/components/base/sidebar.rs:350:5 [INFO] [stderr] | [INFO] [stderr] 347 | pub enum SidebarMenuButtonSize { [INFO] [stderr] | --------------------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 350 | Sm, [INFO] [stderr] | ^^ [INFO] [stderr] 351 | Lg, [INFO] [stderr] | ^^ [INFO] [stderr] 352 | Icon, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SidebarMenuButtonSize` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `SidebarMenuButtonClass` is never constructed [INFO] [stderr] --> src/components/base/sidebar.rs:357:12 [INFO] [stderr] | [INFO] [stderr] 357 | pub struct SidebarMenuButtonClass { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/components/base/sidebar.rs:363:59 [INFO] [stderr] | [INFO] [stderr] 361 | #[component] [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 362 | pub fn SidebarMenuButton( [INFO] [stderr] 363 | #[prop(optional, default = Signal::derive(|| false))] is_active: Signal, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 364 | #[prop(optional, default = SidebarMenuButtonVariant::Default)] [INFO] [stderr] 365 | variant: SidebarMenuButtonVariant, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 366 | #[prop(optional, default = SidebarMenuButtonSize::Default)] size: SidebarMenuButtonSize, [INFO] [stderr] | ^^^^ [INFO] [stderr] 367 | #[prop(optional, into)] title: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 368 | #[prop(optional, into)] class: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 369 | #[prop(optional)] as_child: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 370 | #[prop(attrs)] attributes: Vec, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 371 | children: Children, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `class` and `children` are never read [INFO] [stderr] --> src/components/base/sidebar.rs:442:41 [INFO] [stderr] | [INFO] [stderr] 441 | #[component] [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 442 | pub fn SidebarMenuSub(#[prop(optional)] class: String, children: Children) -> impl IntoView { [INFO] [stderr] | ^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `is_active`, `size`, `class`, `as_child`, `attributes`, and `children` are never read [INFO] [stderr] --> src/components/base/sidebar.rs:456:40 [INFO] [stderr] | [INFO] [stderr] 454 | #[component] [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 455 | pub fn SidebarMenuSubButton( [INFO] [stderr] 456 | #[prop(optional, default = false)] is_active: bool, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 457 | #[prop(optional, default = "md")] size: &'static str, // "sm" or "md" [INFO] [stderr] | ^^^^ [INFO] [stderr] 458 | #[prop(optional, into)] class: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 459 | #[prop(optional)] as_child: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 460 | #[prop(attrs)] attributes: Vec, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 461 | children: Children, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `class` and `children` are never read [INFO] [stderr] --> src/components/base/sidebar.rs:512:45 [INFO] [stderr] | [INFO] [stderr] 511 | #[component] [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 512 | pub fn SidebarMenuSubItem(#[prop(optional)] class: String, children: Children) -> impl IntoView { [INFO] [stderr] | ^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated constants are never used [INFO] [stderr] --> src/components/base/icons.rs:12:15 [INFO] [stderr] | [INFO] [stderr] 8 | impl Icon { [INFO] [stderr] | --------- associated constants in this implementation [INFO] [stderr] ... [INFO] [stderr] 12 | pub const SQUARE_LIBRARY: Icon = Icon { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 15 | pub const BINOCULARS: Icon = Icon { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 31 | pub const USER_CIRCLE: Icon = Icon { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | pub const USER_SQUARE: Icon = Icon { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | pub const PACKAGE: Icon = Icon { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | pub const BOX: Icon = Icon { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | pub const SHOPPING_BAG: Icon = Icon { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | pub const SHOPPING_CART: Icon = Icon { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 59 | pub const CART: Icon = Icon { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 63 | pub const CART_PLUS: Icon = Icon { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 67 | pub const CART_MINUS: Icon = Icon { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 71 | pub const CART_CHECK: Icon = Icon { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 75 | pub const TAG: Icon = Icon { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 79 | pub const PRICE_TAG: Icon = Icon { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 83 | pub const INVENTORY: Icon = Icon { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 87 | pub const STORE: Icon = Icon { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 91 | pub const GRID: Icon = Icon { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 95 | pub const LIST: Icon = Icon { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 99 | pub const BAR_CHART: Icon = Icon { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 103 | pub const PIE_CHART: Icon = Icon { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 107 | pub const DOLLAR_SIGN: Icon = Icon { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 111 | pub const CREDIT_CARD: Icon = Icon { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 115 | pub const RECEIPT: Icon = Icon { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 119 | pub const TRUCK: Icon = Icon { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | pub const PACKAGE_CHECK: Icon = Icon { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 127 | pub const PACKAGE_X: Icon = Icon { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 131 | pub const PACKAGE_PLUS: Icon = Icon { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 135 | pub const PACKAGE_MINUS: Icon = Icon { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Cart` is never constructed [INFO] [stderr] --> src/api/cart_api.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Cart { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `base_url` is never used [INFO] [stderr] --> src/api/cart_api.rs:28:4 [INFO] [stderr] | [INFO] [stderr] 28 | fn base_url() -> &'static str { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_all_carts` is never used [INFO] [stderr] --> src/api/cart_api.rs:32:14 [INFO] [stderr] | [INFO] [stderr] 32 | pub async fn get_all_carts() -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_a_cart` is never used [INFO] [stderr] --> src/api/cart_api.rs:40:14 [INFO] [stderr] | [INFO] [stderr] 40 | pub async fn get_a_cart(cart_id: u32) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `add_a_cart` is never used [INFO] [stderr] --> src/api/cart_api.rs:48:14 [INFO] [stderr] | [INFO] [stderr] 48 | pub async fn add_a_cart(new_cart: Cart) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_a_cart` is never used [INFO] [stderr] --> src/api/cart_api.rs:56:14 [INFO] [stderr] | [INFO] [stderr] 56 | pub async fn update_a_cart(updated_cart: Cart) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `delete_a_cart` is never used [INFO] [stderr] --> src/api/cart_api.rs:64:14 [INFO] [stderr] | [INFO] [stderr] 64 | pub async fn delete_a_cart(cart_id: u32) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Product` is never constructed [INFO] [stderr] --> src/api/product_api.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Product { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `base_url` is never used [INFO] [stderr] --> src/api/product_api.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn base_url() -> &'static str { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_all_products` is never used [INFO] [stderr] --> src/api/product_api.rs:33:14 [INFO] [stderr] | [INFO] [stderr] 33 | pub async fn get_all_products() -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_a_product` is never used [INFO] [stderr] --> src/api/product_api.rs:41:14 [INFO] [stderr] | [INFO] [stderr] 41 | pub async fn get_a_product(product_id: u32) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `add_a_product` is never used [INFO] [stderr] --> src/api/product_api.rs:49:14 [INFO] [stderr] | [INFO] [stderr] 49 | pub async fn add_a_product(new_product: Product) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_a_product` is never used [INFO] [stderr] --> src/api/product_api.rs:57:14 [INFO] [stderr] | [INFO] [stderr] 57 | pub async fn update_a_product(updated_product: Product) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `delete_a_product` is never used [INFO] [stderr] --> src/api/product_api.rs:65:14 [INFO] [stderr] | [INFO] [stderr] 65 | pub async fn delete_a_product(product_id: u32) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `User` is never constructed [INFO] [stderr] --> src/api/users_api.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct User { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `base_url` is never used [INFO] [stderr] --> src/api/users_api.rs:26:4 [INFO] [stderr] | [INFO] [stderr] 26 | fn base_url() -> &'static str { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_all_users` is never used [INFO] [stderr] --> src/api/users_api.rs:31:14 [INFO] [stderr] | [INFO] [stderr] 31 | pub async fn get_all_users() -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_a_user` is never used [INFO] [stderr] --> src/api/users_api.rs:39:14 [INFO] [stderr] | [INFO] [stderr] 39 | pub async fn get_a_user(user_id: u32) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `add_a_user` is never used [INFO] [stderr] --> src/api/users_api.rs:47:14 [INFO] [stderr] | [INFO] [stderr] 47 | pub async fn add_a_user(new_user: User) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_a_user` is never used [INFO] [stderr] --> src/api/users_api.rs:55:14 [INFO] [stderr] | [INFO] [stderr] 55 | pub async fn update_a_user(updated_user: User) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `delete_a_user` is never used [INFO] [stderr] --> src/api/users_api.rs:63:14 [INFO] [stderr] | [INFO] [stderr] 63 | pub async fn delete_a_user(user_id: u32) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `leptos-tutorial` (bin "leptos-tutorial" test) generated 38 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/leptos-tutorial/dab8f05d150aa4c5/deps/leptos_tutorial-dab8f05d150aa4c5) [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" "cdcc2d091d39e21439dcf0abfefc37ce5ecdf3e03b47dba2f9dfd53b03812b51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdcc2d091d39e21439dcf0abfefc37ce5ecdf3e03b47dba2f9dfd53b03812b51", kill_on_drop: false }` [INFO] [stdout] cdcc2d091d39e21439dcf0abfefc37ce5ecdf3e03b47dba2f9dfd53b03812b51