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