[INFO] fetching crate fossdb-client 0.0.1... [INFO] testing fossdb-client-0.0.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate fossdb-client 0.0.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate fossdb-client 0.0.1 [INFO] finished tweaking crates.io crate fossdb-client 0.0.1 [INFO] tweaked toml for crates.io crate fossdb-client 0.0.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fossdb-client 0.0.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fossdb-client 0.0.1 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2d2364f075e10442976076f6e1fd5e99a434a62469c1cb3aa65a6fcac1eaadd [INFO] running `Command { std: "docker" "start" "-a" "c2d2364f075e10442976076f6e1fd5e99a434a62469c1cb3aa65a6fcac1eaadd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2d2364f075e10442976076f6e1fd5e99a434a62469c1cb3aa65a6fcac1eaadd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2d2364f075e10442976076f6e1fd5e99a434a62469c1cb3aa65a6fcac1eaadd", kill_on_drop: false }` [INFO] [stdout] c2d2364f075e10442976076f6e1fd5e99a434a62469c1cb3aa65a6fcac1eaadd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9587a89b043463391338ce01e4f95e44052d4c20c7256da3fe75468d8a119cbf [INFO] running `Command { std: "docker" "start" "-a" "9587a89b043463391338ce01e4f95e44052d4c20c7256da3fe75468d8a119cbf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.104 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.106 [INFO] [stderr] Compiling bumpalo v3.19.1 [INFO] [stderr] Compiling libc v0.2.179 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling wasm-bindgen v0.2.106 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling slotmap v1.1.1 [INFO] [stderr] Compiling dioxus-core-types v0.7.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling zmij v1.0.8 [INFO] [stderr] Compiling longest-increasing-subsequence v0.1.0 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lazy-js-bundle v0.7.2 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling dioxus-interpreter-js v0.7.2 [INFO] [stderr] Compiling dioxus-document v0.7.2 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling keyboard-types v0.7.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling euclid v0.22.11 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling syn v2.0.112 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling sledgehammer_utils v0.3.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling dioxus-web v0.7.2 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling base16 v0.2.1 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling send_wrapper v0.6.0 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling dioxus-config-macro v0.7.2 [INFO] [stderr] Compiling dioxus-config-macros v0.7.2 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling clap_builder v4.5.54 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.106 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Compiling dioxus-rsx v0.7.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling warnings-macro v0.2.0 [INFO] [stderr] Compiling const-serialize-macro v0.7.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling dioxus-html-internal-macro v0.7.2 [INFO] [stderr] Compiling sledgehammer_bindgen_macro v0.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling dioxus-core-macro v0.7.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling dioxus-router-macro v0.7.2 [INFO] [stderr] Compiling dioxus-stores-macro v0.7.2 [INFO] [stderr] Compiling tungstenite v0.27.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling generational-box v0.7.2 [INFO] [stderr] Compiling warnings v0.2.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.106 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling enumset_derive v0.14.0 [INFO] [stderr] Compiling clap v4.5.54 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling subsecond-types v0.7.2 [INFO] [stderr] Compiling const-serialize v0.7.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling subsecond v0.7.2 [INFO] [stderr] Compiling manganis-core v0.7.2 [INFO] [stderr] Compiling enumset v1.1.10 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling js-sys v0.3.83 [INFO] [stderr] Compiling dioxus-cli-config v0.7.2 [INFO] [stderr] Compiling sledgehammer_bindgen v0.6.0 [INFO] [stderr] Compiling dioxus-logger v0.7.2 [INFO] [stderr] Compiling dioxus-core v0.7.2 [INFO] [stderr] Compiling manganis-macro v0.7.2 [INFO] [stderr] Compiling fossdb v0.0.1 [INFO] [stderr] Compiling manganis v0.7.2 [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 dioxus-signals v0.7.2 [INFO] [stderr] Compiling dioxus-history v0.7.2 [INFO] [stderr] Compiling dioxus-devtools-types v0.7.2 [INFO] [stderr] Compiling dioxus-hooks v0.7.2 [INFO] [stderr] Compiling dioxus-devtools v0.7.2 [INFO] [stderr] Compiling dioxus-stores v0.7.2 [INFO] [stderr] Compiling dioxus-html v0.7.2 [INFO] [stderr] Compiling web-sys v0.3.83 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.56 [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.5 [INFO] [stderr] Compiling gloo-timers v0.3.0 [INFO] [stderr] Compiling dioxus-router v0.7.2 [INFO] [stderr] Compiling gloo-utils v0.2.0 [INFO] [stderr] Compiling dioxus-asset-resolver v0.7.2 [INFO] [stderr] Compiling gloo-console v0.3.0 [INFO] [stderr] Compiling gloo-storage v0.3.0 [INFO] [stderr] Compiling gloo-net v0.6.0 [INFO] [stderr] Compiling wasm-streams v0.4.2 [INFO] [stderr] Compiling dioxus v0.7.2 [INFO] [stderr] Compiling fossdb-client v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `gloo_console::log` [INFO] [stdout] --> src/api/client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use gloo_console::log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/api/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/api/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `buttons::Button` [INFO] [stdout] --> src/components/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use buttons::Button; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LoginModal` and `RegisterModal` [INFO] [stdout] --> src/components/mod.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub use modals::{LoginModal, RegisterModal}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AuthState` [INFO] [stdout] --> src/hooks/mod.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | pub use auth::{use_auth, AuthState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `use_comparison` [INFO] [stdout] --> src/pages/packages.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::components::{use_comparison, PackageCard}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/lib.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | use dioxus_logger::tracing::{info, Level}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::method`: Use `set_method()` instead. [INFO] [stdout] --> src/api/client.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | opts.method(method); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::mode`: Use `set_mode()` instead. [INFO] [stdout] --> src/api/client.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | opts.mode(RequestMode::Cors); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stdout] --> src/api/client.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | opts.body(Some(&JsValue::from_str(&body_str))); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pages/packages.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let mut clear_filters = move |_| { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Primary`, `Secondary`, `Danger`, and `Success` are never constructed [INFO] [stdout] --> src/components/buttons.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ButtonVariant { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 5 | Primary, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | Secondary, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | Danger, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | Success, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ButtonVariant` has a derived impl for the trait `Clone`, but this is 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: methods `add` and `count` are never used [INFO] [stdout] --> src/components/comparison.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ComparisonContext { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 24 | pub fn add(&mut self, package: Package) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `use_api_client` is never used [INFO] [stdout] --> src/hooks/auth.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn use_api_client() -> ApiClient { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Info` and `Warning` are never constructed [INFO] [stdout] --> src/hooks/notifications.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum NotificationType { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | Info, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NotificationType` 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: methods `info` and `warning` are never used [INFO] [stdout] --> src/hooks/notifications.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl NotificationContext { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn info(&mut self, message: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn warning(&mut self, message: String) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `clear` is never used [INFO] [stdout] --> src/hooks/storage.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl LocalStorage { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn clear() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.04s [INFO] running `Command { std: "docker" "inspect" "9587a89b043463391338ce01e4f95e44052d4c20c7256da3fe75468d8a119cbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9587a89b043463391338ce01e4f95e44052d4c20c7256da3fe75468d8a119cbf", kill_on_drop: false }` [INFO] [stdout] 9587a89b043463391338ce01e4f95e44052d4c20c7256da3fe75468d8a119cbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5787df2af534e550db5c1178c7963ce782d98f0c256febcf34626c5f97499cca [INFO] running `Command { std: "docker" "start" "-a" "5787df2af534e550db5c1178c7963ce782d98f0c256febcf34626c5f97499cca", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `gloo_console::log` [INFO] [stdout] --> src/api/client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use gloo_console::log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/api/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/api/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `buttons::Button` [INFO] [stdout] --> src/components/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use buttons::Button; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LoginModal` and `RegisterModal` [INFO] [stdout] --> src/components/mod.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub use modals::{LoginModal, RegisterModal}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AuthState` [INFO] [stdout] --> src/hooks/mod.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | pub use auth::{use_auth, AuthState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `use_comparison` [INFO] [stdout] --> src/pages/packages.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::components::{use_comparison, PackageCard}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/lib.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | use dioxus_logger::tracing::{info, Level}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::method`: Use `set_method()` instead. [INFO] [stdout] --> src/api/client.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | opts.method(method); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::mode`: Use `set_mode()` instead. [INFO] [stdout] --> src/api/client.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | opts.mode(RequestMode::Cors); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fossdb-client v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stdout] --> src/api/client.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | opts.body(Some(&JsValue::from_str(&body_str))); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pages/packages.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let mut clear_filters = move |_| { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Primary`, `Secondary`, `Danger`, and `Success` are never constructed [INFO] [stdout] --> src/components/buttons.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ButtonVariant { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 5 | Primary, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | Secondary, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | Danger, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | Success, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ButtonVariant` has a derived impl for the trait `Clone`, but this is 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: methods `add` and `count` are never used [INFO] [stdout] --> src/components/comparison.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ComparisonContext { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 24 | pub fn add(&mut self, package: Package) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `use_api_client` is never used [INFO] [stdout] --> src/hooks/auth.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn use_api_client() -> ApiClient { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Info` and `Warning` are never constructed [INFO] [stdout] --> src/hooks/notifications.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum NotificationType { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | Info, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NotificationType` 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: methods `info` and `warning` are never used [INFO] [stdout] --> src/hooks/notifications.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl NotificationContext { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn info(&mut self, message: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn warning(&mut self, message: String) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `clear` is never used [INFO] [stdout] --> src/hooks/storage.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl LocalStorage { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn clear() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo_console::log` [INFO] [stdout] --> src/api/client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use gloo_console::log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/api/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/api/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `buttons::Button` [INFO] [stdout] --> src/components/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use buttons::Button; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LoginModal` and `RegisterModal` [INFO] [stdout] --> src/components/mod.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub use modals::{LoginModal, RegisterModal}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AuthState` [INFO] [stdout] --> src/hooks/mod.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | pub use auth::{use_auth, AuthState}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `use_comparison` [INFO] [stdout] --> src/pages/packages.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::components::{use_comparison, PackageCard}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/lib.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | use dioxus_logger::tracing::{info, Level}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::method`: Use `set_method()` instead. [INFO] [stdout] --> src/api/client.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | opts.method(method); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::mode`: Use `set_mode()` instead. [INFO] [stdout] --> src/api/client.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | opts.mode(RequestMode::Cors); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stdout] --> src/api/client.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | opts.body(Some(&JsValue::from_str(&body_str))); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pages/packages.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let mut clear_filters = move |_| { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Primary`, `Secondary`, `Danger`, and `Success` are never constructed [INFO] [stdout] --> src/components/buttons.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ButtonVariant { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 5 | Primary, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | Secondary, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | Danger, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | Success, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ButtonVariant` has a derived impl for the trait `Clone`, but this is 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: methods `add` and `count` are never used [INFO] [stdout] --> src/components/comparison.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ComparisonContext { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 24 | pub fn add(&mut self, package: Package) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `use_api_client` is never used [INFO] [stdout] --> src/hooks/auth.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn use_api_client() -> ApiClient { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Info` and `Warning` are never constructed [INFO] [stdout] --> src/hooks/notifications.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum NotificationType { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | Info, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NotificationType` 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: methods `info` and `warning` are never used [INFO] [stdout] --> src/hooks/notifications.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl NotificationContext { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn info(&mut self, message: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn warning(&mut self, message: String) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `clear` is never used [INFO] [stdout] --> src/hooks/storage.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl LocalStorage { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn clear() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.75s [INFO] running `Command { std: "docker" "inspect" "5787df2af534e550db5c1178c7963ce782d98f0c256febcf34626c5f97499cca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5787df2af534e550db5c1178c7963ce782d98f0c256febcf34626c5f97499cca", kill_on_drop: false }` [INFO] [stdout] 5787df2af534e550db5c1178c7963ce782d98f0c256febcf34626c5f97499cca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 96a937ee623738d545abeabb8b709019b593118728fb5a1713e52b4bf918b26f [INFO] running `Command { std: "docker" "start" "-a" "96a937ee623738d545abeabb8b709019b593118728fb5a1713e52b4bf918b26f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `gloo_console::log` [INFO] [stderr] --> src/api/client.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use gloo_console::log; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde::Serialize` [INFO] [stderr] --> src/api/client.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use serde::Serialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `types::*` [INFO] [stderr] --> src/api/mod.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use types::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `buttons::Button` [INFO] [stderr] --> src/components/mod.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub use buttons::Button; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LoginModal` and `RegisterModal` [INFO] [stderr] --> src/components/mod.rs:11:18 [INFO] [stderr] | [INFO] [stderr] 11 | pub use modals::{LoginModal, RegisterModal}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `AuthState` [INFO] [stderr] --> src/hooks/mod.rs:9:26 [INFO] [stderr] | [INFO] [stderr] 9 | pub use auth::{use_auth, AuthState}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `use_comparison` [INFO] [stderr] --> src/pages/packages.rs:3:25 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::components::{use_comparison, PackageCard}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `info` [INFO] [stderr] --> src/lib.rs:7:30 [INFO] [stderr] | [INFO] [stderr] 7 | use dioxus_logger::tracing::{info, Level}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `web_sys::RequestInit::method`: Use `set_method()` instead. [INFO] [stderr] --> src/api/client.rs:50:14 [INFO] [stderr] | [INFO] [stderr] 50 | opts.method(method); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `web_sys::RequestInit::mode`: Use `set_mode()` instead. [INFO] [stderr] --> src/api/client.rs:51:14 [INFO] [stderr] | [INFO] [stderr] 51 | opts.mode(RequestMode::Cors); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stderr] --> src/api/client.rs:54:18 [INFO] [stderr] | [INFO] [stderr] 54 | opts.body(Some(&JsValue::from_str(&body_str))); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/pages/packages.rs:115:9 [INFO] [stderr] | [INFO] [stderr] 115 | let mut clear_filters = move |_| { [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variants `Primary`, `Secondary`, `Danger`, and `Success` are never constructed [INFO] [stderr] --> src/components/buttons.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum ButtonVariant { [INFO] [stderr] | ------------- variants in this enum [INFO] [stderr] 5 | Primary, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 6 | Secondary, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 7 | Danger, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 8 | Success, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ButtonVariant` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `add` and `count` are never used [INFO] [stderr] --> src/components/comparison.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl ComparisonContext { [INFO] [stderr] | ---------------------- methods in this implementation [INFO] [stderr] 24 | pub fn add(&mut self, package: Package) { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | pub fn count(&self) -> usize { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `use_api_client` is never used [INFO] [stderr] --> src/hooks/auth.rs:61:8 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn use_api_client() -> ApiClient { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Info` and `Warning` are never constructed [INFO] [stderr] --> src/hooks/notifications.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum NotificationType { [INFO] [stderr] | ---------------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 8 | Info, [INFO] [stderr] | ^^^^ [INFO] [stderr] 9 | Warning, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `NotificationType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `info` and `warning` are never used [INFO] [stderr] --> src/hooks/notifications.rs:73:12 [INFO] [stderr] | [INFO] [stderr] 39 | impl NotificationContext { [INFO] [stderr] | ------------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 73 | pub fn info(&mut self, message: String) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 77 | pub fn warning(&mut self, message: String) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `clear` is never used [INFO] [stderr] --> src/hooks/storage.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl LocalStorage { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 40 | pub fn clear() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `fossdb-client` (lib) generated 18 warnings (run `cargo fix --lib -p fossdb-client` to apply 9 suggestions) [INFO] [stderr] warning: `fossdb-client` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fossdb_client-d787c12b8686d5fc) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/fossdb_client-1818b233e663eea3) [INFO] [stdout] [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] [stderr] Doc-tests fossdb_client [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" "96a937ee623738d545abeabb8b709019b593118728fb5a1713e52b4bf918b26f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96a937ee623738d545abeabb8b709019b593118728fb5a1713e52b4bf918b26f", kill_on_drop: false }` [INFO] [stdout] 96a937ee623738d545abeabb8b709019b593118728fb5a1713e52b4bf918b26f