[INFO] cloning repository https://github.com/kodecraft-mark/jabra-admin-portal-csr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kodecraft-mark/jabra-admin-portal-csr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodecraft-mark%2Fjabra-admin-portal-csr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodecraft-mark%2Fjabra-admin-portal-csr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f484cb4b5d21f5c4fbec2907d1b3d904efda02b9 [INFO] testing kodecraft-mark/jabra-admin-portal-csr against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodecraft-mark%2Fjabra-admin-portal-csr" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kodecraft-mark/jabra-admin-portal-csr on toolchain 1871252fc8bb672d40787e67404e6eaae7059369 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/kodecraft-mark/jabra-admin-portal-csr [INFO] finished tweaking git repo https://github.com/kodecraft-mark/jabra-admin-portal-csr [INFO] tweaked toml for git repo https://github.com/kodecraft-mark/jabra-admin-portal-csr written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kodecraft-mark/jabra-admin-portal-csr 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" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-cookies v0.2.1 [INFO] [stderr] Downloaded h_modals v0.2.2 [INFO] [stderr] Downloaded currency_rs v1.3.0 [INFO] [stderr] Downloaded leptos_meta v0.6.9 [INFO] [stderr] Downloaded reqwasm v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66d1f7db847878c04ea1ca7eac27599ae30d1eebe9676abb8c128e87c3eb700d [INFO] running `Command { std: "docker" "start" "-a" "66d1f7db847878c04ea1ca7eac27599ae30d1eebe9676abb8c128e87c3eb700d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66d1f7db847878c04ea1ca7eac27599ae30d1eebe9676abb8c128e87c3eb700d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66d1f7db847878c04ea1ca7eac27599ae30d1eebe9676abb8c128e87c3eb700d", kill_on_drop: false }` [INFO] [stdout] 66d1f7db847878c04ea1ca7eac27599ae30d1eebe9676abb8c128e87c3eb700d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 071d1969926b1360d1d8bd061722e190d9641abeb6aaf8d3ad38f545b0a93631 [INFO] running `Command { std: "docker" "start" "-a" "071d1969926b1360d1d8bd061722e190d9641abeb6aaf8d3ad38f545b0a93631", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling xxhash-rust v0.8.10 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling half v2.4.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling proc-macro-utils v0.8.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling manyhow-macros v0.8.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling collection_literals v1.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling prettyplease v0.2.17 [INFO] [stderr] Compiling winnow v0.6.5 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling const_format v0.2.32 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling send_wrapper v0.6.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling self_cell v1.0.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling drain_filter_polyfill v0.1.3 [INFO] [stderr] Compiling pad-adapter v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling inventory v0.3.15 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Compiling debug-helper v0.3.13 [INFO] [stderr] Compiling des v0.7.0 [INFO] [stderr] Compiling tiger v0.1.0 [INFO] [stderr] Compiling crc-any v2.4.4 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling chrono v0.4.37 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling urlencoding v1.3.3 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling magic-crypt v3.1.13 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling server_fn_macro v0.6.9 [INFO] [stderr] Compiling manyhow v0.8.1 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling time v0.3.34 [INFO] [stderr] Compiling wasm-cookies v0.2.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling derive-where v1.2.7 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling server_fn_macro_default v0.6.9 [INFO] [stderr] Compiling typed-builder-macro v0.18.1 [INFO] [stderr] Compiling async-recursion v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling fancy-regex v0.11.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] error: could not compile `tokio` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1871252fc8bb672d40787e67404e6eaae7059369/bin/rustc --crate-name tokio --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="bytes"' --cfg 'feature="default"' --cfg 'feature="io-util"' --cfg 'feature="libc"' --cfg 'feature="mio"' --cfg 'feature="net"' --cfg 'feature="rt"' --cfg 'feature="socket2"' --cfg 'feature="sync"' --cfg 'feature="time"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("bytes", "default", "fs", "full", "io-std", "io-util", "libc", "macros", "mio", "net", "num_cpus", "parking_lot", "process", "rt", "rt-multi-thread", "signal", "signal-hook-registry", "socket2", "sync", "test-util", "time", "tokio-macros", "tracing", "windows-sys"))' -C metadata=6b09fd961f4602f4 -C extra-filename=-6b09fd961f4602f4 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bytes=/opt/rustwide/target/debug/deps/libbytes-30dacc79d7337c17.rmeta --extern libc=/opt/rustwide/target/debug/deps/liblibc-6d8946442dcf11ac.rmeta --extern mio=/opt/rustwide/target/debug/deps/libmio-47fd14dbb3dde1d4.rmeta --extern pin_project_lite=/opt/rustwide/target/debug/deps/libpin_project_lite-0917a66d1286620d.rmeta --extern socket2=/opt/rustwide/target/debug/deps/libsocket2-f7e07c045f1b362b.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "071d1969926b1360d1d8bd061722e190d9641abeb6aaf8d3ad38f545b0a93631", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "071d1969926b1360d1d8bd061722e190d9641abeb6aaf8d3ad38f545b0a93631", kill_on_drop: false }` [INFO] [stdout] 071d1969926b1360d1d8bd061722e190d9641abeb6aaf8d3ad38f545b0a93631 [INFO] testing kodecraft-mark/jabra-admin-portal-csr against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodecraft-mark%2Fjabra-admin-portal-csr" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kodecraft-mark/jabra-admin-portal-csr on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/kodecraft-mark/jabra-admin-portal-csr [INFO] finished tweaking git repo https://github.com/kodecraft-mark/jabra-admin-portal-csr [INFO] tweaked toml for git repo https://github.com/kodecraft-mark/jabra-admin-portal-csr written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kodecraft-mark/jabra-admin-portal-csr 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" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c904ca71e887c06466cbd9230dec3be75c6a9886c972a88aac79b10c654bff1e [INFO] running `Command { std: "docker" "start" "-a" "c904ca71e887c06466cbd9230dec3be75c6a9886c972a88aac79b10c654bff1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c904ca71e887c06466cbd9230dec3be75c6a9886c972a88aac79b10c654bff1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c904ca71e887c06466cbd9230dec3be75c6a9886c972a88aac79b10c654bff1e", kill_on_drop: false }` [INFO] [stdout] c904ca71e887c06466cbd9230dec3be75c6a9886c972a88aac79b10c654bff1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2782a033378f4f36104cbb5fe65f9d5bbba5da832815f5254dabdfa64de086f [INFO] running `Command { std: "docker" "start" "-a" "f2782a033378f4f36104cbb5fe65f9d5bbba5da832815f5254dabdfa64de086f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling xxhash-rust v0.8.10 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling half v2.4.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling proc-macro-utils v0.8.0 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling manyhow-macros v0.8.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling winnow v0.6.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling prettyplease v0.2.17 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling collection_literals v1.0.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling send_wrapper v0.6.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling const_format v0.2.32 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling self_cell v1.0.3 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling pad-adapter v0.1.1 [INFO] [stderr] Compiling inventory v0.3.15 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling drain_filter_polyfill v0.1.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling debug-helper v0.3.13 [INFO] [stderr] Compiling tiger v0.1.0 [INFO] [stderr] Compiling des v0.7.0 [INFO] [stderr] Compiling crc-any v2.4.4 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling chrono v0.4.37 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling urlencoding v1.3.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling magic-crypt v3.1.13 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling server_fn_macro v0.6.9 [INFO] [stderr] Compiling manyhow v0.8.1 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling time v0.3.34 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling wasm-cookies v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling derive-where v1.2.7 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling server_fn_macro_default v0.6.9 [INFO] [stderr] Compiling typed-builder-macro v0.18.1 [INFO] [stderr] Compiling async-recursion v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling fancy-regex v0.11.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling rstml v0.11.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling currency_rs v1.3.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling quote-use-macros v0.7.2 [INFO] [stderr] Compiling typed-builder v0.18.1 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling default-struct-builder v0.5.0 [INFO] [stderr] Compiling quote-use v0.7.2 [INFO] [stderr] Compiling attribute-derive-macro v0.8.1 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling h2 v0.3.25 [INFO] [stderr] Compiling attribute-derive v0.8.1 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling leptos_hot_reload v0.6.9 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling serde_qs v0.12.0 [INFO] [stderr] Compiling serde_test v1.0.176 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.22.9 [INFO] [stderr] Compiling linear-map v1.2.0 [INFO] [stderr] Compiling leptos_macro v0.6.9 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling js-sys v0.3.69 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling toml v0.8.12 [INFO] [stderr] Compiling config v0.14.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling leptos_config v0.6.9 [INFO] [stderr] Compiling web-sys v0.3.69 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.42 [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.5 [INFO] [stderr] Compiling gloo-timers v0.3.0 [INFO] [stderr] Compiling gloo-utils v0.2.0 [INFO] [stderr] Compiling leptos_reactive v0.6.9 [INFO] [stderr] Compiling gloo-utils v0.1.7 [INFO] [stderr] Compiling console_log v1.0.0 [INFO] [stderr] Compiling gloo-net v0.1.0 [INFO] [stderr] Compiling gloo-net v0.5.0 [INFO] [stderr] Compiling gloo-net v0.2.6 [INFO] [stderr] Compiling reqwasm v0.5.0 [INFO] [stderr] Compiling wasm-streams v0.4.0 [INFO] [stderr] Compiling server_fn v0.6.9 [INFO] [stderr] Compiling leptos_dom v0.6.9 [INFO] [stderr] Compiling leptos_server v0.6.9 [INFO] [stderr] Compiling leptos v0.6.9 [INFO] [stderr] Compiling leptos_router v0.6.9 [INFO] [stderr] Compiling h_modals v0.2.2 [INFO] [stderr] Compiling leptos_meta v0.6.9 [INFO] [stderr] Compiling leptos-use v0.10.5 [INFO] [stderr] Compiling jabra-admin-portal-csr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/commons/models/quote.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::*` [INFO] [stdout] --> src/commons/models/quote.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use leptos::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::ServerFnError` [INFO] [stdout] --> src/commons/models/trade.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use leptos::ServerFnError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JabraCookie`, `get_jabra_cookie`, `refresh_token`, `set_jabra_cookie` [INFO] [stdout] --> src/commons/models/trade.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::utilities::cookies::{get_jabra_cookie, refresh_token, set_jabra_cookie, JabraCookie}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpMethod`, `call` [INFO] [stdout] --> src/commons/models/trade.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::utilities::http_wrapper::{call, HttpMethod}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JabraCookie`, `set_jabra_cookie` [INFO] [stdout] --> src/components/sidebar.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | utilities::cookies::{set_jabra_cookie, JabraCookie}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::commons::models::trade::Trade` [INFO] [stdout] --> src/features/counterparties/trade_history.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::commons::models::trade::Trade; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::commons::models::wallet::WalletTransaction` [INFO] [stdout] --> src/features/counterparties/transfers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::commons::models::wallet::WalletTransaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DirectusLoginRequest`, `DirectusLoginResponse`, `HttpMethod`, `JabraCookie`, `call_and_parse`, `errors::JabraError`, `set_jabra_cookie` [INFO] [stdout] --> src/features/login/page.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | commons::models::login::{DirectusLoginRequest, DirectusLoginResponse}, features::login::services::directus_login, utilities::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | cookies::{set_jabra_cookie, JabraCookie}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 7 | errors::JabraError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | http_wrapper::{call_and_parse, HttpMethod}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/features/quotes/active/page.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::html::Q` [INFO] [stdout] --> src/features/quotes/active/page.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use leptos::html::Q; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::*` [INFO] [stdout] --> src/features/quotes/active/services.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use leptos::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NaiveDate`, `NaiveTime` [INFO] [stdout] --> src/utilities/date_util.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | DateTime, Duration, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Locale`, `ToFormattedString` [INFO] [stdout] --> src/utilities/date_util.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use num_format::{Locale, ToFormattedString}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mobile_view` [INFO] [stdout] --> src/components/data_table_local.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 418 | mobile_view: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mobile_view` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hide_active_table` [INFO] [stdout] --> src/features/quotes/active/page.rs:437:49 [INFO] [stdout] | [INFO] [stdout] 437 | ... let hide_active_table = move || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hide_active_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `counterparty` [INFO] [stdout] --> src/features/riskslide/page.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let counterparty = RwSignal::new(String::from("ALL")); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_counterparty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_data` [INFO] [stdout] --> src/features/riskslide/page.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | let has_data = move || data.get_untracked().data.len() > 0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `currency` [INFO] [stdout] --> src/features/riskslide/services.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | let currency = currency_pair.split('/').next().unwrap_or(""); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_show_test` [INFO] [stdout] --> src/features/trades/recents/page.rs:120:77 [INFO] [stdout] | [INFO] [stdout] 120 | ... let (show_test, set_show_test) = create_signal(false); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_show_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/commons/models/quote.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | Some(value) => self.extract(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reverse` [INFO] [stdout] --> src/commons/models/quote.rs:231:77 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn extract_csv_by_quote_status(&self, quote_status: Option, reverse: bool) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reverse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/commons/models/trade.rs:659:18 [INFO] [stdout] | [INFO] [stdout] 659 | Some(value) => self.extract(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reverse` [INFO] [stdout] --> src/commons/models/trade.rs:656:9 [INFO] [stdout] | [INFO] [stdout] 656 | reverse: bool, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reverse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/commons/models/loan.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | Some(value) => self.extract(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reverse` [INFO] [stdout] --> src/commons/models/loan.rs:94:75 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn extract_csv_by_loan_status(&self, loan_status: Option, reverse: bool) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reverse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_counterparty_by_name` is never used [INFO] [stdout] --> src/commons/models/counterparty.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl GetCounterPartiesResponse { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 31 | pub fn get_counterparty_by_name(&self, name: &str) -> Option<&CounterParty> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_filter`, and `build` are never used [INFO] [stdout] --> src/commons/models/defaults.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl QueryBuilder { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 65 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn add_filter(&mut self, field: &str, value: Value) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn build(&self) -> Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Active`, `Approved`, and `Rejected` are never constructed [INFO] [stdout] --> src/commons/models/quote.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum QuotesTab { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 15 | Active, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | Approved, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | Rejected, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuotesTab` 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: method `extract_positions_for_risk_greek_request` is never used [INFO] [stdout] --> src/commons/models/trade.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl TradeHistoryWithSpot { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn extract_positions_for_risk_greek_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `extract_group` and `extract_group_by_type` are never used [INFO] [stdout] --> src/commons/models/trade.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl TradeHistory { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn extract_group(&self) -> HashMap>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub fn extract_group_by_type( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `concatenate_venue_order_ids` is never used [INFO] [stdout] --> src/commons/models/trade.rs:980:12 [INFO] [stdout] | [INFO] [stdout] 979 | impl TradeVenueOrderIdResponse { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 980 | pub fn concatenate_venue_order_ids(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `deserialize` are never used [INFO] [stdout] --> src/commons/models/trade.rs:1055:12 [INFO] [stdout] | [INFO] [stdout] 1054 | impl ApproveTradeQuoteRequest { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 1055 | pub fn new(group_id: Vec, quote_status: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1066 | pub fn deserialize(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort` is never used [INFO] [stdout] --> src/commons/models/loan.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn sort( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort` is never used [INFO] [stdout] --> src/commons/models/wallet.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn sort( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_request` is never used [INFO] [stdout] --> src/commons/models/interestrates.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl InterestRate { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_request(&self) -> InterestRateRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_interest_rate` is never used [INFO] [stdout] --> src/commons/services/interestrates.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn update_interest_rate(interest_rate: InterestRateRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EXTRASMALL`, `MEDIUM`, `LARGE`, and `EXTRALARGE` are never constructed [INFO] [stdout] --> src/components/component_size.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum ComponentSize { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 2 | EXTRASMALL, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | SMALL, [INFO] [stdout] 4 | MEDIUM, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | LARGE, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | EXTRALARGE, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/components/component_type.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum ComponentType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 3 | PRIMARY, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | SECONDARY, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | ACCENT, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | NEUTRAL, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | INFO, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | SUCCESS, [INFO] [stdout] 9 | WARNING, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | ERROR, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | BASE, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/features/counterparties/models.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl PortfolioCurrency { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/features/trades/deals/models.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 149 | impl SettlementOption { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 150 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_string` is never used [INFO] [stdout] --> src/utilities/cookies.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl JabraCookie { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn from_string(cookie_string: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bearer_token` is never used [INFO] [stdout] --> src/utilities/cookies.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn get_bearer_token(cookie_name: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.98s [INFO] running `Command { std: "docker" "inspect" "f2782a033378f4f36104cbb5fe65f9d5bbba5da832815f5254dabdfa64de086f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2782a033378f4f36104cbb5fe65f9d5bbba5da832815f5254dabdfa64de086f", kill_on_drop: false }` [INFO] [stdout] f2782a033378f4f36104cbb5fe65f9d5bbba5da832815f5254dabdfa64de086f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de5b612ead3c834875eaa29b2cbf3ff494db79b8b87f9ebac278e74ded20ec22 [INFO] running `Command { std: "docker" "start" "-a" "de5b612ead3c834875eaa29b2cbf3ff494db79b8b87f9ebac278e74ded20ec22", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/commons/models/quote.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::*` [INFO] [stdout] --> src/commons/models/quote.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use leptos::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::ServerFnError` [INFO] [stdout] --> src/commons/models/trade.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use leptos::ServerFnError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JabraCookie`, `get_jabra_cookie`, `refresh_token`, `set_jabra_cookie` [INFO] [stdout] --> src/commons/models/trade.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::utilities::cookies::{get_jabra_cookie, refresh_token, set_jabra_cookie, JabraCookie}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpMethod`, `call` [INFO] [stdout] --> src/commons/models/trade.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::utilities::http_wrapper::{call, HttpMethod}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JabraCookie`, `set_jabra_cookie` [INFO] [stdout] --> src/components/sidebar.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | utilities::cookies::{set_jabra_cookie, JabraCookie}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::commons::models::trade::Trade` [INFO] [stdout] --> src/features/counterparties/trade_history.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::commons::models::trade::Trade; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::commons::models::wallet::WalletTransaction` [INFO] [stdout] --> src/features/counterparties/transfers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::commons::models::wallet::WalletTransaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DirectusLoginRequest`, `DirectusLoginResponse`, `HttpMethod`, `JabraCookie`, `call_and_parse`, `errors::JabraError`, `set_jabra_cookie` [INFO] [stdout] --> src/features/login/page.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | commons::models::login::{DirectusLoginRequest, DirectusLoginResponse}, features::login::services::directus_login, utilities::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | cookies::{set_jabra_cookie, JabraCookie}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 7 | errors::JabraError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | http_wrapper::{call_and_parse, HttpMethod}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/features/quotes/active/page.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::html::Q` [INFO] [stdout] --> src/features/quotes/active/page.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use leptos::html::Q; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::*` [INFO] [stdout] --> src/features/quotes/active/services.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use leptos::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NaiveDate`, `NaiveTime` [INFO] [stdout] --> src/utilities/date_util.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | DateTime, Duration, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Locale`, `ToFormattedString` [INFO] [stdout] --> src/utilities/date_util.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use num_format::{Locale, ToFormattedString}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mobile_view` [INFO] [stdout] --> src/components/data_table_local.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 418 | mobile_view: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mobile_view` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hide_active_table` [INFO] [stdout] --> src/features/quotes/active/page.rs:437:49 [INFO] [stdout] | [INFO] [stdout] 437 | ... let hide_active_table = move || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hide_active_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `counterparty` [INFO] [stdout] --> src/features/riskslide/page.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let counterparty = RwSignal::new(String::from("ALL")); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_counterparty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_data` [INFO] [stdout] --> src/features/riskslide/page.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | let has_data = move || data.get_untracked().data.len() > 0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `currency` [INFO] [stdout] --> src/features/riskslide/services.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | let currency = currency_pair.split('/').next().unwrap_or(""); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_show_test` [INFO] [stdout] --> src/features/trades/recents/page.rs:120:77 [INFO] [stdout] | [INFO] [stdout] 120 | ... let (show_test, set_show_test) = create_signal(false); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_show_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/commons/models/quote.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | Some(value) => self.extract(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reverse` [INFO] [stdout] --> src/commons/models/quote.rs:231:77 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn extract_csv_by_quote_status(&self, quote_status: Option, reverse: bool) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reverse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/commons/models/trade.rs:659:18 [INFO] [stdout] | [INFO] [stdout] 659 | Some(value) => self.extract(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reverse` [INFO] [stdout] --> src/commons/models/trade.rs:656:9 [INFO] [stdout] | [INFO] [stdout] 656 | reverse: bool, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reverse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/commons/models/loan.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | Some(value) => self.extract(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reverse` [INFO] [stdout] --> src/commons/models/loan.rs:94:75 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn extract_csv_by_loan_status(&self, loan_status: Option, reverse: bool) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reverse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_counterparty_by_name` is never used [INFO] [stdout] --> src/commons/models/counterparty.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl GetCounterPartiesResponse { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 31 | pub fn get_counterparty_by_name(&self, name: &str) -> Option<&CounterParty> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_filter`, and `build` are never used [INFO] [stdout] --> src/commons/models/defaults.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl QueryBuilder { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 65 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn add_filter(&mut self, field: &str, value: Value) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn build(&self) -> Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Active`, `Approved`, and `Rejected` are never constructed [INFO] [stdout] --> src/commons/models/quote.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum QuotesTab { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 15 | Active, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | Approved, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | Rejected, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuotesTab` 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: method `extract_positions_for_risk_greek_request` is never used [INFO] [stdout] --> src/commons/models/trade.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl TradeHistoryWithSpot { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn extract_positions_for_risk_greek_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `extract_group` and `extract_group_by_type` are never used [INFO] [stdout] --> src/commons/models/trade.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl TradeHistory { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn extract_group(&self) -> HashMap>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub fn extract_group_by_type( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `concatenate_venue_order_ids` is never used [INFO] [stdout] --> src/commons/models/trade.rs:980:12 [INFO] [stdout] | [INFO] [stdout] 979 | impl TradeVenueOrderIdResponse { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 980 | pub fn concatenate_venue_order_ids(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `deserialize` are never used [INFO] [stdout] --> src/commons/models/trade.rs:1055:12 [INFO] [stdout] | [INFO] [stdout] 1054 | impl ApproveTradeQuoteRequest { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 1055 | pub fn new(group_id: Vec, quote_status: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1066 | pub fn deserialize(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort` is never used [INFO] [stdout] --> src/commons/models/loan.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn sort( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort` is never used [INFO] [stdout] --> src/commons/models/wallet.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn sort( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_request` is never used [INFO] [stdout] --> src/commons/models/interestrates.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl InterestRate { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_request(&self) -> InterestRateRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_interest_rate` is never used [INFO] [stdout] --> src/commons/services/interestrates.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn update_interest_rate(interest_rate: InterestRateRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EXTRASMALL`, `MEDIUM`, `LARGE`, and `EXTRALARGE` are never constructed [INFO] [stdout] --> src/components/component_size.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum ComponentSize { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 2 | EXTRASMALL, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | SMALL, [INFO] [stdout] 4 | MEDIUM, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | LARGE, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | EXTRALARGE, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/components/component_type.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum ComponentType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 3 | PRIMARY, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | SECONDARY, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | ACCENT, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | NEUTRAL, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | INFO, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | SUCCESS, [INFO] [stdout] 9 | WARNING, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | ERROR, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | BASE, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/features/counterparties/models.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl PortfolioCurrency { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/features/trades/deals/models.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 149 | impl SettlementOption { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 150 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_string` is never used [INFO] [stdout] --> src/utilities/cookies.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl JabraCookie { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn from_string(cookie_string: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bearer_token` is never used [INFO] [stdout] --> src/utilities/cookies.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn get_bearer_token(cookie_name: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasm-bindgen-test v0.3.42 [INFO] [stderr] Compiling jabra-admin-portal-csr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/commons/models/quote.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::*` [INFO] [stdout] --> src/commons/models/quote.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use leptos::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::ServerFnError` [INFO] [stdout] --> src/commons/models/trade.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use leptos::ServerFnError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JabraCookie`, `get_jabra_cookie`, `refresh_token`, `set_jabra_cookie` [INFO] [stdout] --> src/commons/models/trade.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::utilities::cookies::{get_jabra_cookie, refresh_token, set_jabra_cookie, JabraCookie}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpMethod`, `call` [INFO] [stdout] --> src/commons/models/trade.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::utilities::http_wrapper::{call, HttpMethod}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JabraCookie`, `set_jabra_cookie` [INFO] [stdout] --> src/components/sidebar.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | utilities::cookies::{set_jabra_cookie, JabraCookie}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::commons::models::trade::Trade` [INFO] [stdout] --> src/features/counterparties/trade_history.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::commons::models::trade::Trade; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::commons::models::wallet::WalletTransaction` [INFO] [stdout] --> src/features/counterparties/transfers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::commons::models::wallet::WalletTransaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DirectusLoginRequest`, `DirectusLoginResponse`, `HttpMethod`, `JabraCookie`, `call_and_parse`, `errors::JabraError`, `set_jabra_cookie` [INFO] [stdout] --> src/features/login/page.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | commons::models::login::{DirectusLoginRequest, DirectusLoginResponse}, features::login::services::directus_login, utilities::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | cookies::{set_jabra_cookie, JabraCookie}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 7 | errors::JabraError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | http_wrapper::{call_and_parse, HttpMethod}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/features/quotes/active/page.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::html::Q` [INFO] [stdout] --> src/features/quotes/active/page.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use leptos::html::Q; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos::*` [INFO] [stdout] --> src/features/quotes/active/services.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use leptos::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NaiveDate`, `NaiveTime` [INFO] [stdout] --> src/utilities/date_util.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | DateTime, Duration, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Locale`, `ToFormattedString` [INFO] [stdout] --> src/utilities/date_util.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use num_format::{Locale, ToFormattedString}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mobile_view` [INFO] [stdout] --> src/components/data_table_local.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 418 | mobile_view: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mobile_view` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hide_active_table` [INFO] [stdout] --> src/features/quotes/active/page.rs:437:49 [INFO] [stdout] | [INFO] [stdout] 437 | ... let hide_active_table = move || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hide_active_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `counterparty` [INFO] [stdout] --> src/features/riskslide/page.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let counterparty = RwSignal::new(String::from("ALL")); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_counterparty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_data` [INFO] [stdout] --> src/features/riskslide/page.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | let has_data = move || data.get_untracked().data.len() > 0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `currency` [INFO] [stdout] --> src/features/riskslide/services.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | let currency = currency_pair.split('/').next().unwrap_or(""); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_currency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_show_test` [INFO] [stdout] --> src/features/trades/recents/page.rs:120:77 [INFO] [stdout] | [INFO] [stdout] 120 | ... let (show_test, set_show_test) = create_signal(false); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_show_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/commons/models/quote.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | Some(value) => self.extract(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reverse` [INFO] [stdout] --> src/commons/models/quote.rs:231:77 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn extract_csv_by_quote_status(&self, quote_status: Option, reverse: bool) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reverse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/commons/models/trade.rs:659:18 [INFO] [stdout] | [INFO] [stdout] 659 | Some(value) => self.extract(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reverse` [INFO] [stdout] --> src/commons/models/trade.rs:656:9 [INFO] [stdout] | [INFO] [stdout] 656 | reverse: bool, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reverse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/commons/models/loan.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | Some(value) => self.extract(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reverse` [INFO] [stdout] --> src/commons/models/loan.rs:94:75 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn extract_csv_by_loan_status(&self, loan_status: Option, reverse: bool) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reverse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_counterparty_by_name` is never used [INFO] [stdout] --> src/commons/models/counterparty.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl GetCounterPartiesResponse { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 31 | pub fn get_counterparty_by_name(&self, name: &str) -> Option<&CounterParty> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_filter`, and `build` are never used [INFO] [stdout] --> src/commons/models/defaults.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl QueryBuilder { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 65 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn add_filter(&mut self, field: &str, value: Value) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn build(&self) -> Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Active`, `Approved`, and `Rejected` are never constructed [INFO] [stdout] --> src/commons/models/quote.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum QuotesTab { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 15 | Active, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | Approved, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | Rejected, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuotesTab` 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: method `extract_positions_for_risk_greek_request` is never used [INFO] [stdout] --> src/commons/models/trade.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl TradeHistoryWithSpot { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn extract_positions_for_risk_greek_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `extract_group` and `extract_group_by_type` are never used [INFO] [stdout] --> src/commons/models/trade.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl TradeHistory { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn extract_group(&self) -> HashMap>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub fn extract_group_by_type( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `concatenate_venue_order_ids` is never used [INFO] [stdout] --> src/commons/models/trade.rs:980:12 [INFO] [stdout] | [INFO] [stdout] 979 | impl TradeVenueOrderIdResponse { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 980 | pub fn concatenate_venue_order_ids(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `deserialize` are never used [INFO] [stdout] --> src/commons/models/trade.rs:1055:12 [INFO] [stdout] | [INFO] [stdout] 1054 | impl ApproveTradeQuoteRequest { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 1055 | pub fn new(group_id: Vec, quote_status: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1066 | pub fn deserialize(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort` is never used [INFO] [stdout] --> src/commons/models/loan.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn sort( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort` is never used [INFO] [stdout] --> src/commons/models/wallet.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn sort( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_request` is never used [INFO] [stdout] --> src/commons/models/interestrates.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl InterestRate { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_request(&self) -> InterestRateRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_interest_rate` is never used [INFO] [stdout] --> src/commons/services/interestrates.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn update_interest_rate(interest_rate: InterestRateRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EXTRASMALL`, `MEDIUM`, `LARGE`, and `EXTRALARGE` are never constructed [INFO] [stdout] --> src/components/component_size.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum ComponentSize { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 2 | EXTRASMALL, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | SMALL, [INFO] [stdout] 4 | MEDIUM, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | LARGE, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | EXTRALARGE, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/components/component_type.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum ComponentType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 3 | PRIMARY, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | SECONDARY, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | ACCENT, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | NEUTRAL, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | INFO, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | SUCCESS, [INFO] [stdout] 9 | WARNING, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | ERROR, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | BASE, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/features/counterparties/models.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl PortfolioCurrency { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/features/trades/deals/models.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 149 | impl SettlementOption { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 150 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_string` is never used [INFO] [stdout] --> src/utilities/cookies.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl JabraCookie { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn from_string(cookie_string: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bearer_token` is never used [INFO] [stdout] --> src/utilities/cookies.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | pub async fn get_bearer_token(cookie_name: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.79s [INFO] running `Command { std: "docker" "inspect" "de5b612ead3c834875eaa29b2cbf3ff494db79b8b87f9ebac278e74ded20ec22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de5b612ead3c834875eaa29b2cbf3ff494db79b8b87f9ebac278e74ded20ec22", kill_on_drop: false }` [INFO] [stdout] de5b612ead3c834875eaa29b2cbf3ff494db79b8b87f9ebac278e74ded20ec22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f9f05b7122ff97a2c44a0f4ca5443ff8df0e297fd481d6a775c3a6f41f39b8b1 [INFO] running `Command { std: "docker" "start" "-a" "f9f05b7122ff97a2c44a0f4ca5443ff8df0e297fd481d6a775c3a6f41f39b8b1", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::env` [INFO] [stderr] --> src/lib.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::env; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::BTreeMap` [INFO] [stderr] --> src/commons/models/quote.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::BTreeMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `leptos::*` [INFO] [stderr] --> src/commons/models/quote.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use leptos::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `leptos::ServerFnError` [INFO] [stderr] --> src/commons/models/trade.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use leptos::ServerFnError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `JabraCookie`, `get_jabra_cookie`, `refresh_token`, `set_jabra_cookie` [INFO] [stderr] --> src/commons/models/trade.rs:8:33 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::utilities::cookies::{get_jabra_cookie, refresh_token, set_jabra_cookie, JabraCookie}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HttpMethod`, `call` [INFO] [stderr] --> src/commons/models/trade.rs:10:38 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::utilities::http_wrapper::{call, HttpMethod}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `JabraCookie`, `set_jabra_cookie` [INFO] [stderr] --> src/components/sidebar.rs:6:26 [INFO] [stderr] | [INFO] [stderr] 6 | utilities::cookies::{set_jabra_cookie, JabraCookie}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::commons::models::trade::Trade` [INFO] [stderr] --> src/features/counterparties/trade_history.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::commons::models::trade::Trade; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::commons::models::wallet::WalletTransaction` [INFO] [stderr] --> src/features/counterparties/transfers.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::commons::models::wallet::WalletTransaction; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DirectusLoginRequest`, `DirectusLoginResponse`, `HttpMethod`, `JabraCookie`, `call_and_parse`, `errors::JabraError`, `set_jabra_cookie` [INFO] [stderr] --> src/features/login/page.rs:5:30 [INFO] [stderr] | [INFO] [stderr] 5 | commons::models::login::{DirectusLoginRequest, DirectusLoginResponse}, features::login::services::directus_login, utilities::{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 6 | cookies::{set_jabra_cookie, JabraCookie}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] 7 | errors::JabraError, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 8 | http_wrapper::{call_and_parse, HttpMethod}, [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashSet` [INFO] [stderr] --> src/features/quotes/active/page.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::HashSet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `leptos::html::Q` [INFO] [stderr] --> src/features/quotes/active/page.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use leptos::html::Q; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `leptos::*` [INFO] [stderr] --> src/features/quotes/active/services.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use leptos::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `NaiveDate`, `NaiveTime` [INFO] [stderr] --> src/utilities/date_util.rs:2:45 [INFO] [stderr] | [INFO] [stderr] 2 | DateTime, Duration, FixedOffset, Local, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Locale`, `ToFormattedString` [INFO] [stderr] --> src/utilities/date_util.rs:5:18 [INFO] [stderr] | [INFO] [stderr] 5 | use num_format::{Locale, ToFormattedString}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mobile_view` [INFO] [stderr] --> src/components/data_table_local.rs:418:5 [INFO] [stderr] | [INFO] [stderr] 418 | mobile_view: bool, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mobile_view` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hide_active_table` [INFO] [stderr] --> src/features/quotes/active/page.rs:437:49 [INFO] [stderr] | [INFO] [stderr] 437 | ... let hide_active_table = move || { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hide_active_table` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `counterparty` [INFO] [stderr] --> src/features/riskslide/page.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | let counterparty = RwSignal::new(String::from("ALL")); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_counterparty` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `has_data` [INFO] [stderr] --> src/features/riskslide/page.rs:331:9 [INFO] [stderr] | [INFO] [stderr] 331 | let has_data = move || data.get_untracked().data.len() > 0; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `currency` [INFO] [stderr] --> src/features/riskslide/services.rs:209:9 [INFO] [stderr] | [INFO] [stderr] 209 | let currency = currency_pair.split('/').next().unwrap_or(""); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_currency` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `set_show_test` [INFO] [stderr] --> src/features/trades/recents/page.rs:120:77 [INFO] [stderr] | [INFO] [stderr] 120 | ... let (show_test, set_show_test) = create_signal(false); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_show_test` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/commons/models/quote.rs:233:18 [INFO] [stderr] | [INFO] [stderr] 233 | Some(value) => self.extract(), [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reverse` [INFO] [stderr] --> src/commons/models/quote.rs:231:77 [INFO] [stderr] | [INFO] [stderr] 231 | pub fn extract_csv_by_quote_status(&self, quote_status: Option, reverse: bool) -> String { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reverse` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/commons/models/trade.rs:659:18 [INFO] [stderr] | [INFO] [stderr] 659 | Some(value) => self.extract(), [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reverse` [INFO] [stderr] --> src/commons/models/trade.rs:656:9 [INFO] [stderr] | [INFO] [stderr] 656 | reverse: bool, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reverse` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/commons/models/loan.rs:96:18 [INFO] [stderr] | [INFO] [stderr] 96 | Some(value) => self.extract(), [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reverse` [INFO] [stderr] --> src/commons/models/loan.rs:94:75 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn extract_csv_by_loan_status(&self, loan_status: Option, reverse: bool) -> String { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reverse` [INFO] [stderr] [INFO] [stderr] warning: method `get_counterparty_by_name` is never used [INFO] [stderr] --> src/commons/models/counterparty.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 30 | impl GetCounterPartiesResponse { [INFO] [stderr] | ------------------------------ method in this implementation [INFO] [stderr] 31 | pub fn get_counterparty_by_name(&self, name: &str) -> Option<&CounterParty> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `add_filter`, and `build` are never used [INFO] [stderr] --> src/commons/models/defaults.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 64 | impl QueryBuilder { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] 65 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 71 | pub fn add_filter(&mut self, field: &str, value: Value) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 75 | pub fn build(&self) -> Value { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Active`, `Approved`, and `Rejected` are never constructed [INFO] [stderr] --> src/commons/models/quote.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 14 | pub enum QuotesTab { [INFO] [stderr] | --------- variants in this enum [INFO] [stderr] 15 | Active, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 16 | Approved, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 17 | Rejected, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `QuotesTab` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `extract_positions_for_risk_greek_request` is never used [INFO] [stderr] --> src/commons/models/trade.rs:96:12 [INFO] [stderr] | [INFO] [stderr] 45 | impl TradeHistoryWithSpot { [INFO] [stderr] | ------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 96 | pub fn extract_positions_for_risk_greek_request( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `extract_group` and `extract_group_by_type` are never used [INFO] [stderr] --> src/commons/models/trade.rs:297:12 [INFO] [stderr] | [INFO] [stderr] 135 | impl TradeHistory { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 297 | pub fn extract_group(&self) -> HashMap>> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 474 | pub fn extract_group_by_type( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `concatenate_venue_order_ids` is never used [INFO] [stderr] --> src/commons/models/trade.rs:980:12 [INFO] [stderr] | [INFO] [stderr] 979 | impl TradeVenueOrderIdResponse { [INFO] [stderr] | ------------------------------ method in this implementation [INFO] [stderr] 980 | pub fn concatenate_venue_order_ids(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `deserialize` are never used [INFO] [stderr] --> src/commons/models/trade.rs:1055:12 [INFO] [stderr] | [INFO] [stderr] 1054 | impl ApproveTradeQuoteRequest { [INFO] [stderr] | ----------------------------- associated items in this implementation [INFO] [stderr] 1055 | pub fn new(group_id: Vec, quote_status: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 1066 | pub fn deserialize(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `sort` is never used [INFO] [stderr] --> src/commons/models/loan.rs:111:8 [INFO] [stderr] | [INFO] [stderr] 111 | pub fn sort( [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `sort` is never used [INFO] [stderr] --> src/commons/models/wallet.rs:75:8 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn sort( [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_request` is never used [INFO] [stderr] --> src/commons/models/interestrates.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 26 | impl InterestRate { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 32 | pub fn get_request(&self) -> InterestRateRequest { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_interest_rate` is never used [INFO] [stderr] --> src/commons/services/interestrates.rs:39:14 [INFO] [stderr] | [INFO] [stderr] 39 | pub async fn update_interest_rate(interest_rate: InterestRateRequest) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `EXTRASMALL`, `MEDIUM`, `LARGE`, and `EXTRALARGE` are never constructed [INFO] [stderr] --> src/components/component_size.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 1 | pub enum ComponentSize { [INFO] [stderr] | ------------- variants in this enum [INFO] [stderr] 2 | EXTRASMALL, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 3 | SMALL, [INFO] [stderr] 4 | MEDIUM, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 5 | LARGE, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 6 | EXTRALARGE, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple variants are never constructed [INFO] [stderr] --> src/components/component_type.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 2 | pub enum ComponentType { [INFO] [stderr] | ------------- variants in this enum [INFO] [stderr] 3 | PRIMARY, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 4 | SECONDARY, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 5 | ACCENT, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 6 | NEUTRAL, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 7 | INFO, [INFO] [stderr] | ^^^^ [INFO] [stderr] 8 | SUCCESS, [INFO] [stderr] 9 | WARNING, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 10 | ERROR, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 11 | BASE, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/features/counterparties/models.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 38 | impl PortfolioCurrency { [INFO] [stderr] | ---------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 55 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/features/trades/deals/models.rs:150:12 [INFO] [stderr] | [INFO] [stderr] 149 | impl SettlementOption { [INFO] [stderr] | --------------------- associated function in this implementation [INFO] [stderr] 150 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_string` is never used [INFO] [stderr] --> src/utilities/cookies.rs:49:12 [INFO] [stderr] | [INFO] [stderr] 16 | impl JabraCookie { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 49 | pub fn from_string(cookie_string: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_bearer_token` is never used [INFO] [stderr] --> src/utilities/cookies.rs:70:14 [INFO] [stderr] | [INFO] [stderr] 70 | pub async fn get_bearer_token(cookie_name: String) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `jabra-admin-portal-csr` (lib) generated 44 warnings (run `cargo fix --lib -p jabra-admin-portal-csr` to apply 15 suggestions) [INFO] [stderr] warning: `jabra-admin-portal-csr` (lib test) generated 44 warnings (44 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jabra_admin_portal_csr-85739b82eee33fa7) [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] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/jabra_admin_portal_csr-1cf6490fe37829c9) [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 jabra_admin_portal_csr [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/commons/services/quote.rs - commons::services::quote::approve_reject_quotes_option (line 214) ... FAILED [INFO] [stdout] test src/commons/services/quote.rs - commons::services::quote::approve_reject_quotes_option (line 208) ... FAILED [INFO] [stdout] test src/components/success_refetch_modal.rs - components::success_refetch_modal::SuccessModalRefetchProps (line 37) ... FAILED [INFO] [stdout] test src/components/success_modal.rs - components::success_modal::SuccessModal (line 7) ... FAILED [INFO] [stdout] test src/components/confirm_modal.rs - components::confirm_modal::ConfirmModal (line 8) ... FAILED [INFO] [stdout] test src/components/confirm_modal.rs - components::confirm_modal::__ConfirmModal (line 8) ... FAILED [INFO] [stdout] test src/components/success_then_refetch_modal.rs - components::success_then_refetch_modal::SuccessModalWithRefetch (line 8) ... FAILED [INFO] [stdout] test src/components/success_modal.rs - components::success_modal::__SuccessModal (line 7) ... FAILED [INFO] [stdout] test src/components/success_modal.rs - components::success_modal::SuccessModalProps (line 27) ... FAILED [INFO] [stdout] test src/components/success_refetch_modal.rs - components::success_refetch_modal::__SuccessModalRefetch (line 10) ... FAILED [INFO] [stdout] test src/components/success_refetch_modal.rs - components::success_refetch_modal::SuccessModalRefetch (line 10) ... FAILED [INFO] [stdout] test src/components/confirm_modal.rs - components::confirm_modal::ConfirmModalProps (line 29) ... FAILED [INFO] [stdout] test src/components/success_then_refetch_modal.rs - components::success_then_refetch_modal::SuccessModalWithRefetchProps (line 30) ... FAILED [INFO] [stdout] test src/components/success_then_refetch_modal.rs - components::success_then_refetch_modal::__SuccessModalWithRefetch (line 8) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/commons/services/quote.rs - commons::services::quote::approve_reject_quotes_option (line 214) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `{` [INFO] [stdout] --> src/commons/services/quote.rs:215:97 [INFO] [stdout] | [INFO] [stdout] 3 | approve_reject_quotes_option(vec![QuotesOptionForStatusChange::new(2, "rejected".to_string())]) { [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/commons/services/quote.rs - commons::services::quote::approve_reject_quotes_option (line 208) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `{` [INFO] [stdout] --> src/commons/services/quote.rs:209:97 [INFO] [stdout] | [INFO] [stdout] 3 | approve_reject_quotes_option(vec![QuotesOptionForStatusChange::new(1, "approved".to_string())]) { [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/success_refetch_modal.rs - components::success_refetch_modal::SuccessModalRefetchProps (line 37) stdout ---- [INFO] [stdout] error: cannot find macro `view` in this scope [INFO] [stdout] --> src/components/success_refetch_modal.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 10 | view! { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::view; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_signal` in this scope [INFO] [stdout] --> src/components/success_refetch_modal.rs:38:52 [INFO] [stdout] | [INFO] [stdout] 3 | let (show_success_modal, set_show_success_modal) = create_signal(false); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::create_signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `active_quotes_resource` in this scope [INFO] [stdout] --> src/components/success_refetch_modal.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 7 | active_quotes_resource.refetch(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/success_modal.rs - components::success_modal::SuccessModal (line 7) stdout ---- [INFO] [stdout] error: cannot find macro `view` in this scope [INFO] [stdout] --> src/components/success_modal.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 5 | view! { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::view; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_signal` in this scope [INFO] [stdout] --> src/components/success_modal.rs:8:52 [INFO] [stdout] | [INFO] [stdout] 3 | let (show_success_modal, set_show_success_modal) = create_signal(false); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::create_signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/confirm_modal.rs - components::confirm_modal::ConfirmModal (line 8) stdout ---- [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `<`, `>`, or `as`, found `when` [INFO] [stdout] --> src/components/confirm_modal.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 7 | src/components/confirm_modal.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 3 | let (show_confirm_modal, set_show_confirm_modal) = create_signal(false); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::create_signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `add_quote_action` in this scope [INFO] [stdout] --> src/components/confirm_modal.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 4 | let call_action_fn = move || {add_quote_action.dispatch()}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Action` in this scope [INFO] [stdout] --> src/components/confirm_modal.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 5 | let add_quote_action: Action, ()> = create_action(/*action here*/); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/option.rs:571:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named enum `Option` defined here [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 | let add_quote_action: Option, ()> = create_action(/*action here*/); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::Action; [INFO] [stdout] | [INFO] [stdout] 2 + use reqwest::redirect::Action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Quote` in this scope [INFO] [stdout] --> src/components/confirm_modal.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 5 | let add_quote_action: Action, ()> = create_action(/*action here*/); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `serde_json::ser::CharEscape::Quote`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 5 | let add_quote_action: Action, ()> = create_action(/*action here*/); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_components_confirm_modal_rs_8_0() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_action` in this scope [INFO] [stdout] --> src/components/confirm_modal.rs:11:48 [INFO] [stdout] | [INFO] [stdout] 5 | let add_quote_action: Action, ()> = create_action(/*action here*/); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::create_action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/confirm_modal.rs - components::confirm_modal::__ConfirmModal (line 8) stdout ---- [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `<`, `>`, or `as`, found `when` [INFO] [stdout] --> src/components/confirm_modal.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 7 | src/components/confirm_modal.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 3 | let (show_confirm_modal, set_show_confirm_modal) = create_signal(false); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::create_signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `add_quote_action` in this scope [INFO] [stdout] --> src/components/confirm_modal.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 4 | let call_action_fn = move || {add_quote_action.dispatch()}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Action` in this scope [INFO] [stdout] --> src/components/confirm_modal.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 5 | let add_quote_action: Action, ()> = create_action(/*action here*/); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/option.rs:571:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named enum `Option` defined here [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 | let add_quote_action: Option, ()> = create_action(/*action here*/); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::Action; [INFO] [stdout] | [INFO] [stdout] 2 + use reqwest::redirect::Action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Quote` in this scope [INFO] [stdout] --> src/components/confirm_modal.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 5 | let add_quote_action: Action, ()> = create_action(/*action here*/); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `serde_json::ser::CharEscape::Quote`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 5 | let add_quote_action: Action, ()> = create_action(/*action here*/); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_components_confirm_modal_rs_8_1() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_action` in this scope [INFO] [stdout] --> src/components/confirm_modal.rs:11:48 [INFO] [stdout] | [INFO] [stdout] 5 | let add_quote_action: Action, ()> = create_action(/*action here*/); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::create_action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/success_then_refetch_modal.rs - components::success_then_refetch_modal::SuccessModalWithRefetch (line 8) stdout ---- [INFO] [stdout] error: cannot find macro `view` in this scope [INFO] [stdout] --> src/components/success_then_refetch_modal.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 5 | view! { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::view; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_signal` in this scope [INFO] [stdout] --> src/components/success_then_refetch_modal.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 3 | let (show_success_modal, set_show_success_modal) = create_signal(false); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::create_signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/success_modal.rs - components::success_modal::__SuccessModal (line 7) stdout ---- [INFO] [stdout] error: cannot find macro `view` in this scope [INFO] [stdout] --> src/components/success_modal.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 5 | view! { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::view; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_signal` in this scope [INFO] [stdout] --> src/components/success_modal.rs:8:52 [INFO] [stdout] | [INFO] [stdout] 3 | let (show_success_modal, set_show_success_modal) = create_signal(false); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::create_signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/success_modal.rs - components::success_modal::SuccessModalProps (line 27) stdout ---- [INFO] [stdout] error: cannot find macro `view` in this scope [INFO] [stdout] --> src/components/success_modal.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 5 | view! { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::view; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_signal` in this scope [INFO] [stdout] --> src/components/success_modal.rs:28:52 [INFO] [stdout] | [INFO] [stdout] 3 | let (show_success_modal, set_show_success_modal) = create_signal(false); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::create_signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/success_refetch_modal.rs - components::success_refetch_modal::__SuccessModalRefetch (line 10) stdout ---- [INFO] [stdout] error: cannot find macro `view` in this scope [INFO] [stdout] --> src/components/success_refetch_modal.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 10 | view! { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::view; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_signal` in this scope [INFO] [stdout] --> src/components/success_refetch_modal.rs:11:52 [INFO] [stdout] | [INFO] [stdout] 3 | let (show_success_modal, set_show_success_modal) = create_signal(false); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::create_signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `active_quotes_resource` in this scope [INFO] [stdout] --> src/components/success_refetch_modal.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | active_quotes_resource.refetch(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/success_refetch_modal.rs - components::success_refetch_modal::SuccessModalRefetch (line 10) stdout ---- [INFO] [stdout] error: cannot find macro `view` in this scope [INFO] [stdout] --> src/components/success_refetch_modal.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 10 | view! { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::view; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_signal` in this scope [INFO] [stdout] --> src/components/success_refetch_modal.rs:11:52 [INFO] [stdout] | [INFO] [stdout] 3 | let (show_success_modal, set_show_success_modal) = create_signal(false); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::create_signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `active_quotes_resource` in this scope [INFO] [stdout] --> src/components/success_refetch_modal.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | active_quotes_resource.refetch(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/confirm_modal.rs - components::confirm_modal::ConfirmModalProps (line 29) stdout ---- [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `<`, `>`, or `as`, found `when` [INFO] [stdout] --> src/components/confirm_modal.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 7 | src/components/confirm_modal.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 3 | let (show_confirm_modal, set_show_confirm_modal) = create_signal(false); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::create_signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `add_quote_action` in this scope [INFO] [stdout] --> src/components/confirm_modal.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 4 | let call_action_fn = move || {add_quote_action.dispatch()}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Action` in this scope [INFO] [stdout] --> src/components/confirm_modal.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 5 | let add_quote_action: Action, ()> = create_action(/*action here*/); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/option.rs:571:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named enum `Option` defined here [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 | let add_quote_action: Option, ()> = create_action(/*action here*/); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::Action; [INFO] [stdout] | [INFO] [stdout] 2 + use reqwest::redirect::Action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Quote` in this scope [INFO] [stdout] --> src/components/confirm_modal.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 5 | let add_quote_action: Action, ()> = create_action(/*action here*/); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `serde_json::ser::CharEscape::Quote`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 5 | let add_quote_action: Action, ()> = create_action(/*action here*/); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_components_confirm_modal_rs_29_0() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_action` in this scope [INFO] [stdout] --> src/components/confirm_modal.rs:32:48 [INFO] [stdout] | [INFO] [stdout] 5 | let add_quote_action: Action, ()> = create_action(/*action here*/); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::create_action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/success_then_refetch_modal.rs - components::success_then_refetch_modal::SuccessModalWithRefetchProps (line 30) stdout ---- [INFO] [stdout] error: cannot find macro `view` in this scope [INFO] [stdout] --> src/components/success_then_refetch_modal.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 5 | view! { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::view; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_signal` in this scope [INFO] [stdout] --> src/components/success_then_refetch_modal.rs:31:52 [INFO] [stdout] | [INFO] [stdout] 3 | let (show_success_modal, set_show_success_modal) = create_signal(false); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::create_signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/components/success_then_refetch_modal.rs - components::success_then_refetch_modal::__SuccessModalWithRefetch (line 8) stdout ---- [INFO] [stdout] error: cannot find macro `view` in this scope [INFO] [stdout] --> src/components/success_then_refetch_modal.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 5 | view! { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::view; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_signal` in this scope [INFO] [stdout] --> src/components/success_then_refetch_modal.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 3 | let (show_success_modal, set_show_success_modal) = create_signal(false); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use leptos::create_signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/commons/services/quote.rs - commons::services::quote::approve_reject_quotes_option (line 208) [INFO] [stdout] src/commons/services/quote.rs - commons::services::quote::approve_reject_quotes_option (line 214) [INFO] [stdout] src/components/confirm_modal.rs - components::confirm_modal::ConfirmModal (line 8) [INFO] [stdout] src/components/confirm_modal.rs - components::confirm_modal::ConfirmModalProps (line 29) [INFO] [stdout] src/components/confirm_modal.rs - components::confirm_modal::__ConfirmModal (line 8) [INFO] [stdout] src/components/success_modal.rs - components::success_modal::SuccessModal (line 7) [INFO] [stdout] src/components/success_modal.rs - components::success_modal::SuccessModalProps (line 27) [INFO] [stdout] src/components/success_modal.rs - components::success_modal::__SuccessModal (line 7) [INFO] [stdout] src/components/success_refetch_modal.rs - components::success_refetch_modal::SuccessModalRefetch (line 10) [INFO] [stdout] src/components/success_refetch_modal.rs - components::success_refetch_modal::SuccessModalRefetchProps (line 37) [INFO] [stdout] src/components/success_refetch_modal.rs - components::success_refetch_modal::__SuccessModalRefetch (line 10) [INFO] [stdout] src/components/success_then_refetch_modal.rs - components::success_then_refetch_modal::SuccessModalWithRefetch (line 8) [INFO] [stdout] src/components/success_then_refetch_modal.rs - components::success_then_refetch_modal::SuccessModalWithRefetchProps (line 30) [INFO] [stdout] src/components/success_then_refetch_modal.rs - components::success_then_refetch_modal::__SuccessModalWithRefetch (line 8) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f9f05b7122ff97a2c44a0f4ca5443ff8df0e297fd481d6a775c3a6f41f39b8b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9f05b7122ff97a2c44a0f4ca5443ff8df0e297fd481d6a775c3a6f41f39b8b1", kill_on_drop: false }` [INFO] [stdout] f9f05b7122ff97a2c44a0f4ca5443ff8df0e297fd481d6a775c3a6f41f39b8b1