[INFO] cloning repository https://github.com/Rusto-man/halyk_parser_1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rusto-man/halyk_parser_1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRusto-man%2Fhalyk_parser_1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRusto-man%2Fhalyk_parser_1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4fd77d0868828f716ae9fd565a6d0aafa90979c4 [INFO] checking Rusto-man/halyk_parser_1 against master#cf79d034aa3d8f396d407aafce6f1ccd818e710e for pr-155657-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRusto-man%2Fhalyk_parser_1" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Rusto-man/halyk_parser_1 [INFO] finished tweaking git repo https://github.com/Rusto-man/halyk_parser_1 [INFO] tweaked toml for git repo https://github.com/Rusto-man/halyk_parser_1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Rusto-man/halyk_parser_1 on toolchain cf79d034aa3d8f396d407aafce6f1ccd818e710e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Rusto-man/halyk_parser_1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thirtyfour-macros v0.2.0 [INFO] [stderr] Downloaded stringmatch v0.4.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.102 [INFO] [stderr] Downloaded unicode-ident v1.0.20 [INFO] [stderr] Downloaded rustls-webpki v0.103.7 [INFO] [stderr] Downloaded thirtyfour v0.36.1 [INFO] [stderr] Downloaded const_format v0.2.35 [INFO] [stderr] Downloaded syn v2.0.108 [INFO] [stderr] Downloaded hyper-util v0.1.17 [INFO] [stderr] Downloaded webpki-roots v1.0.3 [INFO] [stderr] Downloaded rustls v0.23.34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9cb7b2c4efdaf5566b4022e6e4e6b3bcd60ee3020e18406b1625c7b7ebd3bd89 [INFO] running `Command { std: "docker" "start" "-a" "9cb7b2c4efdaf5566b4022e6e4e6b3bcd60ee3020e18406b1625c7b7ebd3bd89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9cb7b2c4efdaf5566b4022e6e4e6b3bcd60ee3020e18406b1625c7b7ebd3bd89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cb7b2c4efdaf5566b4022e6e4e6b3bcd60ee3020e18406b1625c7b7ebd3bd89", kill_on_drop: false }` [INFO] [stdout] 9cb7b2c4efdaf5566b4022e6e4e6b3bcd60ee3020e18406b1625c7b7ebd3bd89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cff6b2754f864a264344c2375471592a476dfe242c2b70ac5a8f27bbf423b07c [INFO] running `Command { std: "docker" "start" "-a" "cff6b2754f864a264344c2375471592a476dfe242c2b70ac5a8f27bbf423b07c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.102 [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rustls v0.23.34 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking webpki-roots v1.0.3 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking const_format v0.2.35 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking stringmatch v0.4.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking rustls-webpki v0.103.7 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling thirtyfour-macros v0.2.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.24 [INFO] [stderr] Checking thirtyfour v0.36.1 [INFO] [stderr] Checking halyk_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 269 | val1 => { [INFO] [stdout] | ---- matches any value [INFO] [stdout] ... [INFO] [stdout] 447 | val2 => { [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/main.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | let val1 = "Картой".to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:505:17 [INFO] [stdout] | [INFO] [stdout] 269 | val1 => { [INFO] [stdout] | ---- matches any value [INFO] [stdout] ... [INFO] [stdout] 505 | val3 => { [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/main.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | let val1 = "Картой".to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 269 | val1 => { [INFO] [stdout] | ---- matches any value [INFO] [stdout] ... [INFO] [stdout] 447 | val2 => { [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/main.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | let val1 = "Картой".to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:505:17 [INFO] [stdout] | [INFO] [stdout] 269 | val1 => { [INFO] [stdout] | ---- matches any value [INFO] [stdout] ... [INFO] [stdout] 505 | val3 => { [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/main.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | let val1 = "Картой".to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:422:25 [INFO] [stdout] | [INFO] [stdout] 422 | let mut offers = driver.find_all(By::ClassName("h-offer-card")).await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:422:25 [INFO] [stdout] | [INFO] [stdout] 422 | let mut offers = driver.find_all(By::ClassName("h-offer-card")).await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:832:17 [INFO] [stdout] | [INFO] [stdout] 654 | val1 => { [INFO] [stdout] | ---- matches any value [INFO] [stdout] ... [INFO] [stdout] 832 | val2 => { [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/main.rs:649:13 [INFO] [stdout] | [INFO] [stdout] 649 | let val1 = "Картой".to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:890:17 [INFO] [stdout] | [INFO] [stdout] 654 | val1 => { [INFO] [stdout] | ---- matches any value [INFO] [stdout] ... [INFO] [stdout] 890 | val3 => { [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/main.rs:649:13 [INFO] [stdout] | [INFO] [stdout] 649 | let val1 = "Картой".to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:832:17 [INFO] [stdout] | [INFO] [stdout] 654 | val1 => { [INFO] [stdout] | ---- matches any value [INFO] [stdout] ... [INFO] [stdout] 832 | val2 => { [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/main.rs:649:13 [INFO] [stdout] | [INFO] [stdout] 649 | let val1 = "Картой".to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:890:17 [INFO] [stdout] | [INFO] [stdout] 654 | val1 => { [INFO] [stdout] | ---- matches any value [INFO] [stdout] ... [INFO] [stdout] 890 | val3 => { [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/main.rs:649:13 [INFO] [stdout] | [INFO] [stdout] 649 | let val1 = "Картой".to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:807:25 [INFO] [stdout] | [INFO] [stdout] 807 | let mut offers = driver.find_all(By::ClassName("h-offer-card")).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] --> src/main.rs:807:25 [INFO] [stdout] | [INFO] [stdout] 807 | let mut offers = driver.find_all(By::ClassName("h-offer-card")).await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:1497:17 [INFO] [stdout] | [INFO] [stdout] 1303 | val1 => { [INFO] [stdout] | ---- matches any value [INFO] [stdout] ... [INFO] [stdout] 1497 | val2 => { [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/main.rs:1298:13 [INFO] [stdout] | [INFO] [stdout] 1298 | let val1 = "Картой".to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:1555:17 [INFO] [stdout] | [INFO] [stdout] 1303 | val1 => { [INFO] [stdout] | ---- matches any value [INFO] [stdout] ... [INFO] [stdout] 1555 | val3 => { [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/main.rs:1298:13 [INFO] [stdout] | [INFO] [stdout] 1298 | let val1 = "Картой".to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:1497:17 [INFO] [stdout] | [INFO] [stdout] 1303 | val1 => { [INFO] [stdout] | ---- matches any value [INFO] [stdout] ... [INFO] [stdout] 1497 | val2 => { [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/main.rs:1298:13 [INFO] [stdout] | [INFO] [stdout] 1298 | let val1 = "Картой".to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:1555:17 [INFO] [stdout] | [INFO] [stdout] 1303 | val1 => { [INFO] [stdout] | ---- matches any value [INFO] [stdout] ... [INFO] [stdout] 1555 | val3 => { [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/main.rs:1298:13 [INFO] [stdout] | [INFO] [stdout] 1298 | let val1 = "Картой".to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1472:25 [INFO] [stdout] | [INFO] [stdout] 1472 | let mut offers = driver.find_all(By::ClassName("h-offer-card")).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] --> src/main.rs:1472:25 [INFO] [stdout] | [INFO] [stdout] 1472 | let mut offers = driver.find_all(By::ClassName("h-offer-card")).await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:1921:17 [INFO] [stdout] | [INFO] [stdout] 1727 | val1 => { [INFO] [stdout] | ---- matches any value [INFO] [stdout] ... [INFO] [stdout] 1921 | val2 => { [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/main.rs:1722:13 [INFO] [stdout] | [INFO] [stdout] 1722 | let val1 = "Картой".to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:1979:17 [INFO] [stdout] | [INFO] [stdout] 1727 | val1 => { [INFO] [stdout] | ---- matches any value [INFO] [stdout] ... [INFO] [stdout] 1979 | val3 => { [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/main.rs:1722:13 [INFO] [stdout] | [INFO] [stdout] 1722 | let val1 = "Картой".to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:1921:17 [INFO] [stdout] | [INFO] [stdout] 1727 | val1 => { [INFO] [stdout] | ---- matches any value [INFO] [stdout] ... [INFO] [stdout] 1921 | val2 => { [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/main.rs:1722:13 [INFO] [stdout] | [INFO] [stdout] 1722 | let val1 = "Картой".to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:1979:17 [INFO] [stdout] | [INFO] [stdout] 1727 | val1 => { [INFO] [stdout] | ---- matches any value [INFO] [stdout] ... [INFO] [stdout] 1979 | val3 => { [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/main.rs:1722:13 [INFO] [stdout] | [INFO] [stdout] 1722 | let val1 = "Картой".to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1896:25 [INFO] [stdout] | [INFO] [stdout] 1896 | let mut offers = driver.find_all(By::ClassName("h-offer-card")).await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second_level` [INFO] [stdout] --> src/main.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | let second_level = driver.find_all(By::Css(".category-item-second-level__text")).await?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_level` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `driver` [INFO] [stdout] --> src/main.rs:152:15 [INFO] [stdout] | [INFO] [stdout] 152 | fn is_browsed(driver: &WebDriver) -> Result<(), CastomError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_driver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val1` [INFO] [stdout] --> src/main.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | let val1 = "Картой".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val2` [INFO] [stdout] --> src/main.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | let val2 = "В рассрочку".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val3` [INFO] [stdout] --> src/main.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | let val3 = "В кредит".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val1` [INFO] [stdout] --> src/main.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | val1 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val2` [INFO] [stdout] --> src/main.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 447 | val2 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val3` [INFO] [stdout] --> src/main.rs:505:17 [INFO] [stdout] | [INFO] [stdout] 505 | val3 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val1` [INFO] [stdout] --> src/main.rs:649:13 [INFO] [stdout] | [INFO] [stdout] 649 | let val1 = "Картой".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val2` [INFO] [stdout] --> src/main.rs:650:13 [INFO] [stdout] | [INFO] [stdout] 650 | let val2 = "В рассрочку".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val3` [INFO] [stdout] --> src/main.rs:651:13 [INFO] [stdout] | [INFO] [stdout] 651 | let val3 = "В кредит".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val1` [INFO] [stdout] --> src/main.rs:654:17 [INFO] [stdout] | [INFO] [stdout] 654 | val1 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val2` [INFO] [stdout] --> src/main.rs:832:17 [INFO] [stdout] | [INFO] [stdout] 832 | val2 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val3` [INFO] [stdout] --> src/main.rs:890:17 [INFO] [stdout] | [INFO] [stdout] 890 | val3 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1896:25 [INFO] [stdout] | [INFO] [stdout] 1896 | let mut offers = driver.find_all(By::ClassName("h-offer-card")).await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second_level` [INFO] [stdout] --> src/main.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | let second_level = driver.find_all(By::Css(".category-item-second-level__text")).await?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_level` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `driver` [INFO] [stdout] --> src/main.rs:152:15 [INFO] [stdout] | [INFO] [stdout] 152 | fn is_browsed(driver: &WebDriver) -> Result<(), CastomError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_driver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val1` [INFO] [stdout] --> src/main.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | let val1 = "Картой".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val2` [INFO] [stdout] --> src/main.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | let val2 = "В рассрочку".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val3` [INFO] [stdout] --> src/main.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | let val3 = "В кредит".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val1` [INFO] [stdout] --> src/main.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | val1 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val2` [INFO] [stdout] --> src/main.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 447 | val2 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val3` [INFO] [stdout] --> src/main.rs:505:17 [INFO] [stdout] | [INFO] [stdout] 505 | val3 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val1` [INFO] [stdout] --> src/main.rs:1298:13 [INFO] [stdout] | [INFO] [stdout] 1298 | let val1 = "Картой".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val2` [INFO] [stdout] --> src/main.rs:1299:13 [INFO] [stdout] | [INFO] [stdout] 1299 | let val2 = "В рассрочку".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val3` [INFO] [stdout] --> src/main.rs:1300:13 [INFO] [stdout] | [INFO] [stdout] 1300 | let val3 = "В кредит".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val1` [INFO] [stdout] --> src/main.rs:1303:17 [INFO] [stdout] | [INFO] [stdout] 1303 | val1 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val2` [INFO] [stdout] --> src/main.rs:1497:17 [INFO] [stdout] | [INFO] [stdout] 1497 | val2 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val3` [INFO] [stdout] --> src/main.rs:1555:17 [INFO] [stdout] | [INFO] [stdout] 1555 | val3 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val1` [INFO] [stdout] --> src/main.rs:1722:13 [INFO] [stdout] | [INFO] [stdout] 1722 | let val1 = "Картой".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val2` [INFO] [stdout] --> src/main.rs:1723:13 [INFO] [stdout] | [INFO] [stdout] 1723 | let val2 = "В рассрочку".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val3` [INFO] [stdout] --> src/main.rs:1724:13 [INFO] [stdout] | [INFO] [stdout] 1724 | let val3 = "В кредит".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val1` [INFO] [stdout] --> src/main.rs:1727:17 [INFO] [stdout] | [INFO] [stdout] 1727 | val1 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val2` [INFO] [stdout] --> src/main.rs:1921:17 [INFO] [stdout] | [INFO] [stdout] 1921 | val2 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val3` [INFO] [stdout] --> src/main.rs:1979:17 [INFO] [stdout] | [INFO] [stdout] 1979 | val3 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val1` [INFO] [stdout] --> src/main.rs:649:13 [INFO] [stdout] | [INFO] [stdout] 649 | let val1 = "Картой".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val2` [INFO] [stdout] --> src/main.rs:650:13 [INFO] [stdout] | [INFO] [stdout] 650 | let val2 = "В рассрочку".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val3` [INFO] [stdout] --> src/main.rs:651:13 [INFO] [stdout] | [INFO] [stdout] 651 | let val3 = "В кредит".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val1` [INFO] [stdout] --> src/main.rs:654:17 [INFO] [stdout] | [INFO] [stdout] 654 | val1 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val2` [INFO] [stdout] --> src/main.rs:832:17 [INFO] [stdout] | [INFO] [stdout] 832 | val2 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val3` [INFO] [stdout] --> src/main.rs:890:17 [INFO] [stdout] | [INFO] [stdout] 890 | val3 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cities` [INFO] [stdout] --> src/main.rs:2029:9 [INFO] [stdout] | [INFO] [stdout] 2029 | let cities: Vec<&str> = [ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_cities` is never used [INFO] [stdout] --> src/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | async fn load_cities(driver: &WebDriver) -> Result, CastomError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_categorys` is never used [INFO] [stdout] --> src/main.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | async fn load_categorys(driver: &WebDriver) -> Result, CastomError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Category` is never constructed [INFO] [stdout] --> src/main.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | struct Category { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_browsed` is never used [INFO] [stdout] --> src/main.rs:152:4 [INFO] [stdout] | [INFO] [stdout] 152 | fn is_browsed(driver: &WebDriver) -> Result<(), CastomError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_products` is never used [INFO] [stdout] --> src/main.rs:552:10 [INFO] [stdout] | [INFO] [stdout] 552 | async fn process_products(driver: &WebDriver, url: &str) -> Result<(), CastomError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `cost` are never read [INFO] [stdout] --> src/main.rs:940:5 [INFO] [stdout] | [INFO] [stdout] 939 | struct Product { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 940 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 941 | cost: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Product` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `category_4`, `category_5`, `number_of_sales`, and `turnover` are never read [INFO] [stdout] --> src/main.rs:954:5 [INFO] [stdout] | [INFO] [stdout] 948 | struct ProductStats { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 954 | category_4: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 955 | category_5: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 978 | number_of_sales: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 979 | turnover: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductJewelry` is never constructed [INFO] [stdout] --> src/main.rs:1045:8 [INFO] [stdout] | [INFO] [stdout] 1045 | struct ProductJewelry { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductJewelryStats` is never constructed [INFO] [stdout] --> src/main.rs:1054:8 [INFO] [stdout] | [INFO] [stdout] 1054 | struct ProductJewelryStats { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:1111:8 [INFO] [stdout] | [INFO] [stdout] 1110 | impl ProductJewelryStats { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 1111 | fn new() -> ProductJewelryStats { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_jewelry_products_promotion` is never used [INFO] [stdout] --> src/main.rs:1170:10 [INFO] [stdout] | [INFO] [stdout] 1170 | async fn process_jewelry_products_promotion(driver: &WebDriver, url: &str) -> Result<(), CastomError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_jewelry_products` is never used [INFO] [stdout] --> src/main.rs:1602:10 [INFO] [stdout] | [INFO] [stdout] 1602 | async fn process_jewelry_products(driver: &WebDriver, url: &str) -> Result<(), CastomError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val1` [INFO] [stdout] --> src/main.rs:1298:13 [INFO] [stdout] | [INFO] [stdout] 1298 | let val1 = "Картой".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val2` [INFO] [stdout] --> src/main.rs:1299:13 [INFO] [stdout] | [INFO] [stdout] 1299 | let val2 = "В рассрочку".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val3` [INFO] [stdout] --> src/main.rs:1300:13 [INFO] [stdout] | [INFO] [stdout] 1300 | let val3 = "В кредит".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val1` [INFO] [stdout] --> src/main.rs:1303:17 [INFO] [stdout] | [INFO] [stdout] 1303 | val1 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val2` [INFO] [stdout] --> src/main.rs:1497:17 [INFO] [stdout] | [INFO] [stdout] 1497 | val2 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val3` [INFO] [stdout] --> src/main.rs:1555:17 [INFO] [stdout] | [INFO] [stdout] 1555 | val3 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val1` [INFO] [stdout] --> src/main.rs:1722:13 [INFO] [stdout] | [INFO] [stdout] 1722 | let val1 = "Картой".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val2` [INFO] [stdout] --> src/main.rs:1723:13 [INFO] [stdout] | [INFO] [stdout] 1723 | let val2 = "В рассрочку".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val3` [INFO] [stdout] --> src/main.rs:1724:13 [INFO] [stdout] | [INFO] [stdout] 1724 | let val3 = "В кредит".to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val1` [INFO] [stdout] --> src/main.rs:1727:17 [INFO] [stdout] | [INFO] [stdout] 1727 | val1 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val2` [INFO] [stdout] --> src/main.rs:1921:17 [INFO] [stdout] | [INFO] [stdout] 1921 | val2 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val3` [INFO] [stdout] --> src/main.rs:1979:17 [INFO] [stdout] | [INFO] [stdout] 1979 | val3 => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cities` [INFO] [stdout] --> src/main.rs:2029:9 [INFO] [stdout] | [INFO] [stdout] 2029 | let cities: Vec<&str> = [ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_cities` is never used [INFO] [stdout] --> src/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | async fn load_cities(driver: &WebDriver) -> Result, CastomError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_categorys` is never used [INFO] [stdout] --> src/main.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | async fn load_categorys(driver: &WebDriver) -> Result, CastomError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Category` is never constructed [INFO] [stdout] --> src/main.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | struct Category { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_browsed` is never used [INFO] [stdout] --> src/main.rs:152:4 [INFO] [stdout] | [INFO] [stdout] 152 | fn is_browsed(driver: &WebDriver) -> Result<(), CastomError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_products` is never used [INFO] [stdout] --> src/main.rs:552:10 [INFO] [stdout] | [INFO] [stdout] 552 | async fn process_products(driver: &WebDriver, url: &str) -> Result<(), CastomError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `cost` are never read [INFO] [stdout] --> src/main.rs:940:5 [INFO] [stdout] | [INFO] [stdout] 939 | struct Product { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 940 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 941 | cost: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Product` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `category_4`, `category_5`, `number_of_sales`, and `turnover` are never read [INFO] [stdout] --> src/main.rs:954:5 [INFO] [stdout] | [INFO] [stdout] 948 | struct ProductStats { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 954 | category_4: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 955 | category_5: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 978 | number_of_sales: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 979 | turnover: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductJewelry` is never constructed [INFO] [stdout] --> src/main.rs:1045:8 [INFO] [stdout] | [INFO] [stdout] 1045 | struct ProductJewelry { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductJewelryStats` is never constructed [INFO] [stdout] --> src/main.rs:1054:8 [INFO] [stdout] | [INFO] [stdout] 1054 | struct ProductJewelryStats { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:1111:8 [INFO] [stdout] | [INFO] [stdout] 1110 | impl ProductJewelryStats { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 1111 | fn new() -> ProductJewelryStats { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_jewelry_products_promotion` is never used [INFO] [stdout] --> src/main.rs:1170:10 [INFO] [stdout] | [INFO] [stdout] 1170 | async fn process_jewelry_products_promotion(driver: &WebDriver, url: &str) -> Result<(), CastomError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_jewelry_products` is never used [INFO] [stdout] --> src/main.rs:1602:10 [INFO] [stdout] | [INFO] [stdout] 1602 | async fn process_jewelry_products(driver: &WebDriver, url: &str) -> Result<(), CastomError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.60s [INFO] running `Command { std: "docker" "inspect" "cff6b2754f864a264344c2375471592a476dfe242c2b70ac5a8f27bbf423b07c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cff6b2754f864a264344c2375471592a476dfe242c2b70ac5a8f27bbf423b07c", kill_on_drop: false }` [INFO] [stdout] cff6b2754f864a264344c2375471592a476dfe242c2b70ac5a8f27bbf423b07c