[INFO] cloning repository https://github.com/TomasKennyRodriguezGonzalo/fedeteria [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TomasKennyRodriguezGonzalo/fedeteria" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomasKennyRodriguezGonzalo%2Ffedeteria", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomasKennyRodriguezGonzalo%2Ffedeteria'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 953ed05a33b54d0d52f1cd4211987e5ab6bcc1f6 [INFO] checking TomasKennyRodriguezGonzalo/fedeteria against try#a0cd57eba5d417638d3351ba13fc414ad1a24bec for pr-134688 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomasKennyRodriguezGonzalo%2Ffedeteria" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TomasKennyRodriguezGonzalo/fedeteria on toolchain a0cd57eba5d417638d3351ba13fc414ad1a24bec [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TomasKennyRodriguezGonzalo/fedeteria [INFO] finished tweaking git repo https://github.com/TomasKennyRodriguezGonzalo/fedeteria [INFO] tweaked toml for git repo https://github.com/TomasKennyRodriguezGonzalo/fedeteria written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/TomasKennyRodriguezGonzalo/fedeteria 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" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6e691d919f06263d157d0c074f783d25eef6398a4b887f00eabb8dc1ad2cbe3 [INFO] running `Command { std: "docker" "start" "-a" "a6e691d919f06263d157d0c074f783d25eef6398a4b887f00eabb8dc1ad2cbe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6e691d919f06263d157d0c074f783d25eef6398a4b887f00eabb8dc1ad2cbe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6e691d919f06263d157d0c074f783d25eef6398a4b887f00eabb8dc1ad2cbe3", kill_on_drop: false }` [INFO] [stdout] a6e691d919f06263d157d0c074f783d25eef6398a4b887f00eabb8dc1ad2cbe3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea03cd0cc88e132ab1a160fdca7b8dc9f878fe1aa7ac471e200e2416568e5137 [INFO] running `Command { std: "docker" "start" "-a" "ea03cd0cc88e132ab1a160fdca7b8dc9f878fe1aa7ac471e200e2416568e5137", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking form_urlencoded v1.2.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.12 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling prettyplease v0.2.19 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking scoped-tls-hkt v0.1.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking brotli-decompressor v4.0.0 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking anymap2 v0.13.0 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling iso_currency v0.4.4 [INFO] [stderr] Compiling serde-rename-rule v0.2.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking brotli v5.0.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking iso_country v0.1.4 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Checking email-encoding v0.3.0 [INFO] [stderr] Checking lettre v0.9.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking hostname v0.4.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking http-range-header v0.4.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking email_address v0.2.4 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking anymap v1.0.0-beta.2 [INFO] [stderr] Checking quoted_printable v0.5.0 [INFO] [stderr] Checking iri-string v0.7.2 [INFO] [stderr] Checking route-recognizer v0.3.1 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling implicit-clone-derive v0.1.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling yew-macro v0.19.3 [INFO] [stderr] Compiling yew-macro v0.21.0 [INFO] [stderr] Compiling serde-attributes v0.2.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking implicit-clone v0.4.9 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling axum-macros v0.4.1 [INFO] [stderr] Compiling yew-router-macro v0.18.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling serde_with_macros v3.8.3 [INFO] [stderr] Compiling serde-enum-str v0.4.0 [INFO] [stderr] Compiling yewdux-macros v0.10.0 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking pinned v0.1.0 [INFO] [stderr] Checking lettre v0.11.7 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking async-compression v0.4.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking serde_with v3.8.3 [INFO] [stderr] Checking prokio v0.1.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking lettre_email v0.9.4 [INFO] [stderr] Checking datos_comunes v0.1.0 (/opt/rustwide/workdir/datos_comunes) [INFO] [stdout] warning: unused import: `Date` [INFO] [stdout] --> datos_comunes/src/lib.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Date, DateTime, Local}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Date` [INFO] [stdout] --> datos_comunes/src/lib.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Date, DateTime, Local}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude::*` [INFO] [stdout] --> datos_comunes/src/descuento.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude::*` [INFO] [stdout] --> datos_comunes/src/descuento.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> datos_comunes/src/lib.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Date, DateTime, Local}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> datos_comunes/src/lib.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Date, DateTime, Local}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking hyper v0.14.29 [INFO] [stderr] Checking date_component v0.4.1 [INFO] [stderr] Checking web-sys v0.3.69 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.42 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Checking gloo-timers v0.2.6 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking mpago v0.1.0 (https://github.com/vipago/mpago?branch=main#70e1be8b) [INFO] [stderr] Checking server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> server/src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use chrono::{DateTime, NaiveDateTime, TimeZone, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpago::payments::types::AdditionalInfo` [INFO] [stdout] --> server/src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use mpago::payments::types::AdditionalInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::runtime::Runtime` [INFO] [stdout] --> server/src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::spawn_local` [INFO] [stdout] --> server/src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use tokio::task::spawn_local; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task` [INFO] [stdout] --> server/src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use tokio::task; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Deref` [INFO] [stdout] --> server/src/database/mod.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, fs, ops::Deref, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Error` [INFO] [stdout] --> server/src/database/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::Error; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/src/database/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::format` [INFO] [stdout] --> server/src/database/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing_subscriber::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mail::send_email` [INFO] [stdout] --> server/src/database/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{hash_str, mail::send_email}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `client::MercadoPagoClientBuilder`, `payments::PaymentCreateBuilder`, and `payments::types::PaymentCreateOptions` [INFO] [stdout] --> server/src/database/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use mpago::{client::MercadoPagoClientBuilder, payments::types::PaymentCreateOptions,payments::PaymentCreateBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_decimal::Decimal` [INFO] [stdout] --> server/src/database/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rust_decimal::Decimal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_decimal::prelude::FromPrimitive` [INFO] [stdout] --> server/src/database/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rust_decimal::prelude::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Publicacion` [INFO] [stdout] --> server/src/database/usuario.rs:4:47 [INFO] [stdout] | [INFO] [stdout] 4 | use datos_comunes::{LogInError, Notificacion, Publicacion, RolDeUsuario}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> server/src/main.rs:589:8 [INFO] [stdout] | [INFO] [stdout] 589 | if (respuesta) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 589 - if (respuesta) { [INFO] [stdout] 589 + if respuesta { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> server/src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use chrono::{DateTime, NaiveDateTime, TimeZone, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpago::payments::types::AdditionalInfo` [INFO] [stdout] --> server/src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use mpago::payments::types::AdditionalInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::runtime::Runtime` [INFO] [stdout] --> server/src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::spawn_local` [INFO] [stdout] --> server/src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use tokio::task::spawn_local; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task` [INFO] [stdout] --> server/src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use tokio::task; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Deref` [INFO] [stdout] --> server/src/database/mod.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, fs, ops::Deref, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Error` [INFO] [stdout] --> server/src/database/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::Error; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> server/src/database/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::format` [INFO] [stdout] --> server/src/database/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing_subscriber::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mail::send_email` [INFO] [stdout] --> server/src/database/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{hash_str, mail::send_email}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `client::MercadoPagoClientBuilder`, `payments::PaymentCreateBuilder`, and `payments::types::PaymentCreateOptions` [INFO] [stdout] --> server/src/database/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use mpago::{client::MercadoPagoClientBuilder, payments::types::PaymentCreateOptions,payments::PaymentCreateBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_decimal::Decimal` [INFO] [stdout] --> server/src/database/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rust_decimal::Decimal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_decimal::prelude::FromPrimitive` [INFO] [stdout] --> server/src/database/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rust_decimal::prelude::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Publicacion` [INFO] [stdout] --> server/src/database/usuario.rs:4:47 [INFO] [stdout] | [INFO] [stdout] 4 | use datos_comunes::{LogInError, Notificacion, Publicacion, RolDeUsuario}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> server/src/main.rs:589:8 [INFO] [stdout] | [INFO] [stdout] 589 | if (respuesta) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 589 - if (respuesta) { [INFO] [stdout] 589 + if respuesta { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> server/src/main.rs:577:6 [INFO] [stdout] | [INFO] [stdout] 577 | Json(query): Json [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dni_ofertante` [INFO] [stdout] --> server/src/main.rs:616:13 [INFO] [stdout] | [INFO] [stdout] 616 | let dni_ofertante = oferta.oferta.0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dni_ofertante` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> server/src/main.rs:577:6 [INFO] [stdout] | [INFO] [stdout] 577 | Json(query): Json [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dni_ofertante` [INFO] [stdout] --> server/src/main.rs:616:13 [INFO] [stdout] | [INFO] [stdout] 616 | let dni_ofertante = oferta.oferta.0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dni_ofertante` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/src/main.rs:873:9 [INFO] [stdout] | [INFO] [stdout] 873 | let mut state = state.write().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/src/main.rs:880:9 [INFO] [stdout] | [INFO] [stdout] 880 | let mut state = state.write().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> server/src/main.rs:960:6 [INFO] [stdout] | [INFO] [stdout] 960 | Json(query): Json [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/src/main.rs:962:9 [INFO] [stdout] | [INFO] [stdout] 962 | let mut state = state.write().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/src/main.rs:976:9 [INFO] [stdout] | [INFO] [stdout] 976 | let mut state = state.write().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> server/src/main.rs:1005:11 [INFO] [stdout] | [INFO] [stdout] 1005 | State(state): State>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> server/src/main.rs:1006:10 [INFO] [stdout] | [INFO] [stdout] 1006 | Json(query): Json, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/src/main.rs:873:9 [INFO] [stdout] | [INFO] [stdout] 873 | let mut state = state.write().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/src/main.rs:880:9 [INFO] [stdout] | [INFO] [stdout] 880 | let mut state = state.write().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> server/src/main.rs:960:6 [INFO] [stdout] | [INFO] [stdout] 960 | Json(query): Json [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/src/main.rs:962:9 [INFO] [stdout] | [INFO] [stdout] 962 | let mut state = state.write().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> server/src/main.rs:976:9 [INFO] [stdout] | [INFO] [stdout] 976 | let mut state = state.write().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> server/src/main.rs:1005:11 [INFO] [stdout] | [INFO] [stdout] 1005 | State(state): State>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> server/src/main.rs:1006:10 [INFO] [stdout] | [INFO] [stdout] 1006 | Json(query): Json, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `publicacion` [INFO] [stdout] --> server/src/database/mod.rs:1148:21 [INFO] [stdout] | [INFO] [stdout] 1148 | if let Some(publicacion) = publicacion{ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_publicacion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `publicacion_buscada` [INFO] [stdout] --> server/src/database/mod.rs:1174:21 [INFO] [stdout] | [INFO] [stdout] 1174 | if let Some(publicacion_buscada) = publicacion_buscada{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_publicacion_buscada` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crear_pago` is never used [INFO] [stdout] --> server/src/main.rs:1004:10 [INFO] [stdout] | [INFO] [stdout] 1004 | async fn crear_pago( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sumar_punto` is never used [INFO] [stdout] --> server/src/database/usuario.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Usuario { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn sumar_punto(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/database/mod.rs:1594:5 [INFO] [stdout] | [INFO] [stdout] 1415 | fn get_database_por_defecto() -> Database { [INFO] [stdout] | ----------------------------------------- move the `impl` block outside of this function `get_database_por_defecto` [INFO] [stdout] ... [INFO] [stdout] 1594 | impl Database { [INFO] [stdout] | ^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | `Database` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/database/mod.rs:1693:5 [INFO] [stdout] | [INFO] [stdout] 1415 | fn get_database_por_defecto() -> Database { [INFO] [stdout] | ----------------------------------------- move the `impl` block outside of this function `get_database_por_defecto` [INFO] [stdout] ... [INFO] [stdout] 1693 | impl Database { [INFO] [stdout] | ^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | `Database` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `publicacion` [INFO] [stdout] --> server/src/database/mod.rs:1148:21 [INFO] [stdout] | [INFO] [stdout] 1148 | if let Some(publicacion) = publicacion{ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_publicacion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `publicacion_buscada` [INFO] [stdout] --> server/src/database/mod.rs:1174:21 [INFO] [stdout] | [INFO] [stdout] 1174 | if let Some(publicacion_buscada) = publicacion_buscada{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_publicacion_buscada` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crear_pago` is never used [INFO] [stdout] --> server/src/main.rs:1004:10 [INFO] [stdout] | [INFO] [stdout] 1004 | async fn crear_pago( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sumar_punto` is never used [INFO] [stdout] --> server/src/database/usuario.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Usuario { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn sumar_punto(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/database/mod.rs:1594:5 [INFO] [stdout] | [INFO] [stdout] 1415 | fn get_database_por_defecto() -> Database { [INFO] [stdout] | ----------------------------------------- move the `impl` block outside of this function `get_database_por_defecto` [INFO] [stdout] ... [INFO] [stdout] 1594 | impl Database { [INFO] [stdout] | ^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | `Database` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> server/src/database/mod.rs:1693:5 [INFO] [stdout] | [INFO] [stdout] 1415 | fn get_database_por_defecto() -> Database { [INFO] [stdout] | ----------------------------------------- move the `impl` block outside of this function `get_database_por_defecto` [INFO] [stdout] ... [INFO] [stdout] 1693 | impl Database { [INFO] [stdout] | ^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | `Database` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking gloo-utils v0.1.7 [INFO] [stderr] Checking gloo-events v0.2.0 [INFO] [stderr] Checking gloo-dialogs v0.2.0 [INFO] [stderr] Checking gloo-events v0.1.2 [INFO] [stderr] Checking gloo-render v0.2.0 [INFO] [stderr] Checking gloo-render v0.1.1 [INFO] [stderr] Checking gloo-dialogs v0.1.1 [INFO] [stderr] Checking wasm-logger v0.2.0 [INFO] [stderr] Checking gloo-storage v0.3.0 [INFO] [stderr] Checking gloo-console v0.3.0 [INFO] [stderr] Checking gloo-net v0.4.0 [INFO] [stderr] Checking gloo-worker v0.4.0 [INFO] [stderr] Checking gloo-worker v0.5.0 [INFO] [stderr] Checking gloo-net v0.5.0 [INFO] [stderr] Checking gloo-history v0.2.2 [INFO] [stderr] Checking gloo-file v0.3.0 [INFO] [stderr] Checking gloo-file v0.2.3 [INFO] [stderr] Checking gloo-console v0.2.3 [INFO] [stderr] Checking gloo-storage v0.2.2 [INFO] [stderr] Checking gloo-net v0.1.0 [INFO] [stderr] Checking reqwasm v0.5.0 [INFO] [stderr] Checking gloo v0.4.2 [INFO] [stderr] Checking yew v0.19.3 [INFO] [stderr] Checking gloo v0.11.0 [INFO] [stderr] Checking gloo v0.10.0 [INFO] [stderr] Checking yew v0.21.0 [INFO] [stderr] Checking yew-agent v0.1.0 [INFO] [stderr] Checking yewdux v0.7.0 [INFO] [stderr] Checking yewdux-functional v0.1.0 [INFO] [stderr] Checking yew-router v0.18.0 [INFO] [stderr] Checking yewdux v0.10.0 [INFO] [stderr] Checking yew-hooks v0.3.1 [INFO] [stderr] Checking frontend v0.1.0 (/opt/rustwide/workdir/frontend) [INFO] [stdout] warning: unused import: `request_post` [INFO] [stdout] --> frontend/src/molecules/create_publication_molecule.rs:3:102 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{components::checked_input_field::CheckedInputField, information_store::InformationStore, request_post, router::Route}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::clone` [INFO] [stdout] --> frontend/src/molecules/publication_grid_molecule.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::clone; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pages` [INFO] [stdout] --> frontend/src/molecules/publication_grid_molecule.rs:3:103 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{components::{indexed_button::IndexedButton, publication_thumbnail::PublicationThumbnail}, pages, request_post}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FormData` and `HtmlFormElement` [INFO] [stdout] --> frontend/src/molecules/trueque_molecule.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use web_sys::{window, FormData, HtmlFormElement, HtmlInputElement}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo_net::http::Response` [INFO] [stdout] --> frontend/src/molecules/edit_preferences_molecule.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use gloo_net::http::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Publicacion` [INFO] [stdout] --> frontend/src/molecules/promote_publication_from_profile_molecule.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use datos_comunes::{Publicacion, QueryPagarPromocionPublicaciones, QueryPublicacionesFiltradas, ResponsePublicacion, ResponsePublicacione... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components::Link` [INFO] [stdout] --> frontend/src/molecules/promote_publication_from_profile_molecule.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | use yew_router::{components::Link, hooks::use_navigator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Local`, `NaiveDate`, and `TimeZone` [INFO] [stdout] --> frontend/src/molecules/pay_publication_promotion_molecule.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Local, NaiveDate, TimeZone}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResponseRechazarOferta` [INFO] [stdout] --> frontend/src/molecules/pay_publication_promotion_molecule.rs:2:100 [INFO] [stdout] | [INFO] [stdout] 2 | use datos_comunes::{QueryPagarPromocion, QueryPagarPromocionPublicaciones, ResponsePagarPromocion, ResponseRechazarOferta, Tarjeta}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `navigator` [INFO] [stdout] --> frontend/src/molecules/pay_publication_promotion_molecule.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | use yew_router::{hooks::use_navigator, navigator}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `QueryGetOffice` and `ResponseGetOffice` [INFO] [stdout] --> frontend/src/pages/privileged_actions_page.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | use datos_comunes::{EstadoTrueque, QueryGetOffice, QueryGetUserRole, QueryTruequesFiltrados, ResponseGetOffice, ResponseGetUserRole, RolD... [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwasm::http::Request` [INFO] [stdout] --> frontend/src/pages/privileged_actions_page.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use reqwasm::http::Request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen_futures::spawn_local` [INFO] [stdout] --> frontend/src/pages/privileged_actions_page.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use wasm_bindgen_futures::spawn_local; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew_router::hooks::use_location` [INFO] [stdout] --> frontend/src/pages/finish_trade_page.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use yew_router::hooks::use_location; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `molecules::unlock_account_molecule::UnlockAccountMolecule` [INFO] [stdout] --> frontend/src/pages/saved_publications_page.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{molecules::unlock_account_molecule::UnlockAccountMolecule, store::UserStore}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> frontend/src/pages/editar_publicacion_page.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `QueryObtenerGuardadas`, `ResponseObtenerGuardadas`, and `RolDeUsuario` [INFO] [stdout] --> frontend/src/pages/create_discount_page.rs:1:95 [INFO] [stdout] | [INFO] [stdout] 1 | ...s, QueryObtenerGuardadas, ResponseCreateDiscount, ResponseGetUserRole, ResponseObtenerDescuentos, ResponseObtenerGuardadas, RolDeUsuari... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::js_sys::Math::exp` [INFO] [stdout] --> frontend/src/pages/create_discount_page.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::js_sys::Math::exp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> frontend/src/pages/create_discount_page.rs:87:117 [INFO] [stdout] | [INFO] [stdout] 87 | ... error_state_c.set(detectar_errores((&*cloned_expiration_date).clone(), *cloned_discount_percentage, (Some(max_refund).clone()), *cl... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 87 - error_state_c.set(detectar_errores((&*cloned_expiration_date).clone(), *cloned_discount_percentage, (Some(max_refund).clone()), *cloned_min_level, (&*cloned_discount_code).clone(), (&*cloned_discounts_list).clone())); [INFO] [stdout] 87 + error_state_c.set(detectar_errores((&*cloned_expiration_date).clone(), *cloned_discount_percentage, Some(max_refund).clone(), *cloned_min_level, (&*cloned_discount_code).clone(), (&*cloned_discounts_list).clone())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Descuento` [INFO] [stdout] --> frontend/src/pages/discounts_page.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use datos_comunes::{Descuento, QueryEliminarDescuento, QueryObtenerDescuentos, ResponseEliminarDescuento, ResponseObtenerDescuentos}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `use_location` and `use_navigator` [INFO] [stdout] --> frontend/src/pages/allowed_discounts_page.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use yew_router::hooks::{use_location, use_navigator}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `request_post` [INFO] [stdout] --> frontend/src/molecules/create_publication_molecule.rs:3:102 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{components::checked_input_field::CheckedInputField, information_store::InformationStore, request_post, router::Route}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::clone` [INFO] [stdout] --> frontend/src/molecules/publication_grid_molecule.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::clone; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pages` [INFO] [stdout] --> frontend/src/molecules/publication_grid_molecule.rs:3:103 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{components::{indexed_button::IndexedButton, publication_thumbnail::PublicationThumbnail}, pages, request_post}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FormData` and `HtmlFormElement` [INFO] [stdout] --> frontend/src/molecules/trueque_molecule.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use web_sys::{window, FormData, HtmlFormElement, HtmlInputElement}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo_net::http::Response` [INFO] [stdout] --> frontend/src/molecules/edit_preferences_molecule.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use gloo_net::http::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Publicacion` [INFO] [stdout] --> frontend/src/molecules/promote_publication_from_profile_molecule.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use datos_comunes::{Publicacion, QueryPagarPromocionPublicaciones, QueryPublicacionesFiltradas, ResponsePublicacion, ResponsePublicacione... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components::Link` [INFO] [stdout] --> frontend/src/molecules/promote_publication_from_profile_molecule.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | use yew_router::{components::Link, hooks::use_navigator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Local`, `NaiveDate`, and `TimeZone` [INFO] [stdout] --> frontend/src/molecules/pay_publication_promotion_molecule.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Local, NaiveDate, TimeZone}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResponseRechazarOferta` [INFO] [stdout] --> frontend/src/molecules/pay_publication_promotion_molecule.rs:2:100 [INFO] [stdout] | [INFO] [stdout] 2 | use datos_comunes::{QueryPagarPromocion, QueryPagarPromocionPublicaciones, ResponsePagarPromocion, ResponseRechazarOferta, Tarjeta}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `navigator` [INFO] [stdout] --> frontend/src/molecules/pay_publication_promotion_molecule.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | use yew_router::{hooks::use_navigator, navigator}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `QueryGetOffice` and `ResponseGetOffice` [INFO] [stdout] --> frontend/src/pages/privileged_actions_page.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | use datos_comunes::{EstadoTrueque, QueryGetOffice, QueryGetUserRole, QueryTruequesFiltrados, ResponseGetOffice, ResponseGetUserRole, RolD... [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwasm::http::Request` [INFO] [stdout] --> frontend/src/pages/privileged_actions_page.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use reqwasm::http::Request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen_futures::spawn_local` [INFO] [stdout] --> frontend/src/pages/privileged_actions_page.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use wasm_bindgen_futures::spawn_local; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew_router::hooks::use_location` [INFO] [stdout] --> frontend/src/pages/finish_trade_page.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use yew_router::hooks::use_location; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `molecules::unlock_account_molecule::UnlockAccountMolecule` [INFO] [stdout] --> frontend/src/pages/saved_publications_page.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{molecules::unlock_account_molecule::UnlockAccountMolecule, store::UserStore}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> frontend/src/pages/editar_publicacion_page.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `QueryObtenerGuardadas`, `ResponseObtenerGuardadas`, and `RolDeUsuario` [INFO] [stdout] --> frontend/src/pages/create_discount_page.rs:1:95 [INFO] [stdout] | [INFO] [stdout] 1 | ...s, QueryObtenerGuardadas, ResponseCreateDiscount, ResponseGetUserRole, ResponseObtenerDescuentos, ResponseObtenerGuardadas, RolDeUsuari... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::js_sys::Math::exp` [INFO] [stdout] --> frontend/src/pages/create_discount_page.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::js_sys::Math::exp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> frontend/src/pages/create_discount_page.rs:87:117 [INFO] [stdout] | [INFO] [stdout] 87 | ... error_state_c.set(detectar_errores((&*cloned_expiration_date).clone(), *cloned_discount_percentage, (Some(max_refund).clone()), *cl... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 87 - error_state_c.set(detectar_errores((&*cloned_expiration_date).clone(), *cloned_discount_percentage, (Some(max_refund).clone()), *cloned_min_level, (&*cloned_discount_code).clone(), (&*cloned_discounts_list).clone())); [INFO] [stdout] 87 + error_state_c.set(detectar_errores((&*cloned_expiration_date).clone(), *cloned_discount_percentage, Some(max_refund).clone(), *cloned_min_level, (&*cloned_discount_code).clone(), (&*cloned_discounts_list).clone())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Descuento` [INFO] [stdout] --> frontend/src/pages/discounts_page.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use datos_comunes::{Descuento, QueryEliminarDescuento, QueryObtenerDescuentos, ResponseEliminarDescuento, ResponseObtenerDescuentos}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `use_location` and `use_navigator` [INFO] [stdout] --> frontend/src/pages/allowed_discounts_page.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use yew_router::hooks::{use_location, use_navigator}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `information_dispatch` [INFO] [stdout] --> frontend/src/molecules/create_publication_molecule.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | let (_information_store, information_dispatch) = use_store::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_information_dispatch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `publicacion_en_trueque_state` [INFO] [stdout] --> frontend/src/molecules/publication_molecule.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let publicacion_en_trueque_state = use_state(|| false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_publicacion_en_trueque_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> frontend/src/molecules/publication_molecule.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | let props = *props_state.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cloned_information_dispatch` [INFO] [stdout] --> frontend/src/molecules/publication_molecule.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | let cloned_information_dispatch = information_dispatch.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cloned_information_dispatch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `information_dispatch` [INFO] [stdout] --> frontend/src/molecules/create_publication_molecule.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | let (_information_store, information_dispatch) = use_store::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_information_dispatch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_publication_price_state` [INFO] [stdout] --> frontend/src/molecules/publication_molecule.rs:286:21 [INFO] [stdout] | [INFO] [stdout] 286 | let input_publication_price_state = input_publication_price_state.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_publication_price_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dni_usuario` [INFO] [stdout] --> frontend/src/molecules/publication_molecule.rs:288:21 [INFO] [stdout] | [INFO] [stdout] 288 | let dni_usuario = (&*cloned_datos_publicacion).clone().unwrap().dni_usuario; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dni_usuario` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> frontend/src/molecules/publication_molecule.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut b_nombres_personas = (*nombres_personas).borrow(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_dispatch` [INFO] [stdout] --> frontend/src/molecules/trueque_molecule.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | let (user_store, user_dispatch) = use_store::(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_dispatch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cloned_trade_date_state` [INFO] [stdout] --> frontend/src/molecules/trueque_molecule.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let cloned_trade_date_state = trade_date_state.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cloned_trade_date_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trueque_state` [INFO] [stdout] --> frontend/src/molecules/trueque_molecule.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let trueque_state = cloned_trueque_state.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trueque_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receptor_username` [INFO] [stdout] --> frontend/src/molecules/trueque_molecule.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let receptor_username = cloned_receptor_username.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receptor_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trueque_state` [INFO] [stdout] --> frontend/src/molecules/trueque_molecule.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 208 | let trueque_state = trueque_state.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trueque_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receptor_username` [INFO] [stdout] --> frontend/src/molecules/trueque_molecule.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | let receptor_username = receptor_username.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receptor_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trueque_state` [INFO] [stdout] --> frontend/src/molecules/trueque_molecule.rs:417:17 [INFO] [stdout] | [INFO] [stdout] 417 | let trueque_state = trueque_state.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trueque_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receptor_username` [INFO] [stdout] --> frontend/src/molecules/trueque_molecule.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | let receptor_username = receptor_username.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receptor_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `publicacion_en_trueque_state` [INFO] [stdout] --> frontend/src/molecules/publication_molecule.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let publicacion_en_trueque_state = use_state(|| false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_publicacion_en_trueque_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> frontend/src/molecules/publication_molecule.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | let props = *props_state.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cloned_information_dispatch` [INFO] [stdout] --> frontend/src/molecules/publication_molecule.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | let cloned_information_dispatch = information_dispatch.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cloned_information_dispatch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_publication_price_state` [INFO] [stdout] --> frontend/src/molecules/publication_molecule.rs:286:21 [INFO] [stdout] | [INFO] [stdout] 286 | let input_publication_price_state = input_publication_price_state.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_publication_price_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dni_usuario` [INFO] [stdout] --> frontend/src/molecules/publication_molecule.rs:288:21 [INFO] [stdout] | [INFO] [stdout] 288 | let dni_usuario = (&*cloned_datos_publicacion).clone().unwrap().dni_usuario; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dni_usuario` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ventas_ofertante_state_cloned` [INFO] [stdout] --> frontend/src/molecules/finish_trade_molecule.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let ventas_ofertante_state_cloned = ventas_ofertante_state.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ventas_ofertante_state_cloned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> frontend/src/molecules/publication_molecule.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut b_nombres_personas = (*nombres_personas).borrow(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ventas_receptor_state_cloned` [INFO] [stdout] --> frontend/src/molecules/finish_trade_molecule.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let ventas_receptor_state_cloned = ventas_receptor_state.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ventas_receptor_state_cloned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cancel_confirmation_state` [INFO] [stdout] --> frontend/src/molecules/finish_trade_molecule.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let cancel_confirmation_state = use_state(|| false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cancel_confirmation_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_dispatch` [INFO] [stdout] --> frontend/src/molecules/trueque_molecule.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | let (user_store, user_dispatch) = use_store::(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_dispatch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cloned_trade_date_state` [INFO] [stdout] --> frontend/src/molecules/trueque_molecule.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let cloned_trade_date_state = trade_date_state.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cloned_trade_date_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trueque_state` [INFO] [stdout] --> frontend/src/molecules/trueque_molecule.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let trueque_state = cloned_trueque_state.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trueque_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receptor_username` [INFO] [stdout] --> frontend/src/molecules/trueque_molecule.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let receptor_username = cloned_receptor_username.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receptor_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trueque_state` [INFO] [stdout] --> frontend/src/molecules/trueque_molecule.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 208 | let trueque_state = trueque_state.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trueque_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receptor_username` [INFO] [stdout] --> frontend/src/molecules/trueque_molecule.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | let receptor_username = receptor_username.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receptor_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trueque_state` [INFO] [stdout] --> frontend/src/molecules/trueque_molecule.rs:417:17 [INFO] [stdout] | [INFO] [stdout] 417 | let trueque_state = trueque_state.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trueque_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receptor_username` [INFO] [stdout] --> frontend/src/molecules/trueque_molecule.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | let receptor_username = receptor_username.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receptor_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ventas_ofertante_state_cloned` [INFO] [stdout] --> frontend/src/molecules/finish_trade_molecule.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let ventas_ofertante_state_cloned = ventas_ofertante_state.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ventas_ofertante_state_cloned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ventas_receptor_state_cloned` [INFO] [stdout] --> frontend/src/molecules/finish_trade_molecule.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let ventas_receptor_state_cloned = ventas_receptor_state.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ventas_receptor_state_cloned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cancel_confirmation_state` [INFO] [stdout] --> frontend/src/molecules/finish_trade_molecule.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let cancel_confirmation_state = use_state(|| false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cancel_confirmation_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `information_dispatch` [INFO] [stdout] --> frontend/src/pages/editar_publicacion_page.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | let (_information_store, information_dispatch) = use_store::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_information_dispatch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> frontend/src/pages/create_discount_page.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | Err(e)=>{} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> frontend/src/pages/create_discount_page.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | Err(e)=>{{}} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> frontend/src/pages/discounts_page.rs:75:65 [INFO] [stdout] | [INFO] [stdout] 75 | (&*discounts).iter().filter(|d| !d.1.vigente).map(|(index, descuento)| [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `information_dispatch` [INFO] [stdout] --> frontend/src/pages/editar_publicacion_page.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | let (_information_store, information_dispatch) = use_store::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_information_dispatch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> frontend/src/pages/create_discount_page.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | Err(e)=>{} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> frontend/src/pages/create_discount_page.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | Err(e)=>{{}} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> frontend/src/pages/discounts_page.rs:75:65 [INFO] [stdout] | [INFO] [stdout] 75 | (&*discounts).iter().filter(|d| !d.1.vigente).map(|(index, descuento)| [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 42s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: anymap v1.0.0-beta.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ea03cd0cc88e132ab1a160fdca7b8dc9f878fe1aa7ac471e200e2416568e5137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea03cd0cc88e132ab1a160fdca7b8dc9f878fe1aa7ac471e200e2416568e5137", kill_on_drop: false }` [INFO] [stdout] ea03cd0cc88e132ab1a160fdca7b8dc9f878fe1aa7ac471e200e2416568e5137