[INFO] cloning repository https://github.com/originica/crawling-wishlist [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/originica/crawling-wishlist" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foriginica%2Fcrawling-wishlist", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foriginica%2Fcrawling-wishlist'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e95d52fe58b767b404929462c28fed6101f0c8b2 [INFO] testing originica/crawling-wishlist against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foriginica%2Fcrawling-wishlist" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/originica/crawling-wishlist [INFO] finished tweaking git repo https://github.com/originica/crawling-wishlist [INFO] tweaked toml for git repo https://github.com/originica/crawling-wishlist written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/originica/crawling-wishlist on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/originica/crawling-wishlist 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c99b47f0ca84bad55e08d1ce0c560d4a43f2eb85e9e8d8bb8f3359ae7ed5994 [INFO] running `Command { std: "docker" "start" "-a" "7c99b47f0ca84bad55e08d1ce0c560d4a43f2eb85e9e8d8bb8f3359ae7ed5994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c99b47f0ca84bad55e08d1ce0c560d4a43f2eb85e9e8d8bb8f3359ae7ed5994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c99b47f0ca84bad55e08d1ce0c560d4a43f2eb85e9e8d8bb8f3359ae7ed5994", kill_on_drop: false }` [INFO] [stdout] 7c99b47f0ca84bad55e08d1ce0c560d4a43f2eb85e9e8d8bb8f3359ae7ed5994 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16dd92faa85328da871a1019e1a36b1b471e860b49859f02755a0740c1346fbe [INFO] running `Command { std: "docker" "start" "-a" "16dd92faa85328da871a1019e1a36b1b471e860b49859f02755a0740c1346fbe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling selectors v0.26.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [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 pear_codegen v0.2.9 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling cssparser v0.34.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling servo_arc v0.4.1 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling getopts v0.2.23 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling html5ever v0.29.1 [INFO] [stderr] Compiling async-compression v0.4.25 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling ego-tree v0.10.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling scraper v0.23.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling wishlist-crawler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `reqwest::Response` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | response::{self, status::BadRequest}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `html` [INFO] [stdout] --> src/main.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use scraper::{Html, Selector, html}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::item` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::models::item; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prices` [INFO] [stdout] --> src/main.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut prices: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prices` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (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:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let mut prices: Vec = Vec::new(); [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: enum `WillPurchaseAgain` is never used [INFO] [stdout] --> src/models/item.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum WillPurchaseAgain { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Category` is never constructed [INFO] [stdout] --> src/models/item.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Category { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Subcategory` is never constructed [INFO] [stdout] --> src/models/item.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Subcategory { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WishItem` is never constructed [INFO] [stdout] --> src/models/item.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct WishItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Wishlist` is never constructed [INFO] [stdout] --> src/models/wishlist.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Wishlist { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/wishlist.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Wishlist { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 11 | fn new(name: String) -> Wishlist { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NewWishlistData` is never constructed [INFO] [stdout] --> src/routes/wishlist.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct NewWishlistData { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 26s [INFO] running `Command { std: "docker" "inspect" "16dd92faa85328da871a1019e1a36b1b471e860b49859f02755a0740c1346fbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16dd92faa85328da871a1019e1a36b1b471e860b49859f02755a0740c1346fbe", kill_on_drop: false }` [INFO] [stdout] 16dd92faa85328da871a1019e1a36b1b471e860b49859f02755a0740c1346fbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 533c06d2ecb9f93a8020602f34d349755f36c3e9a4b2beb4aca6a401dfaeb713 [INFO] running `Command { std: "docker" "start" "-a" "533c06d2ecb9f93a8020602f34d349755f36c3e9a4b2beb4aca6a401dfaeb713", kill_on_drop: false }` [INFO] [stderr] Compiling wishlist-crawler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `reqwest::Response` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | response::{self, status::BadRequest}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `html` [INFO] [stdout] --> src/main.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use scraper::{Html, Selector, html}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::item` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::models::item; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prices` [INFO] [stdout] --> src/main.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut prices: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prices` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (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:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let mut prices: Vec = Vec::new(); [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: enum `WillPurchaseAgain` is never used [INFO] [stdout] --> src/models/item.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum WillPurchaseAgain { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Category` is never constructed [INFO] [stdout] --> src/models/item.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Category { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Subcategory` is never constructed [INFO] [stdout] --> src/models/item.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Subcategory { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WishItem` is never constructed [INFO] [stdout] --> src/models/item.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct WishItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Wishlist` is never constructed [INFO] [stdout] --> src/models/wishlist.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Wishlist { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/wishlist.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Wishlist { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 11 | fn new(name: String) -> Wishlist { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NewWishlistData` is never constructed [INFO] [stdout] --> src/routes/wishlist.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct NewWishlistData { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "533c06d2ecb9f93a8020602f34d349755f36c3e9a4b2beb4aca6a401dfaeb713", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "533c06d2ecb9f93a8020602f34d349755f36c3e9a4b2beb4aca6a401dfaeb713", kill_on_drop: false }` [INFO] [stdout] 533c06d2ecb9f93a8020602f34d349755f36c3e9a4b2beb4aca6a401dfaeb713 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 72483bd350773015d3948d035680b8cfa81a1821d97d03a2edd5a9048c48fb97 [INFO] running `Command { std: "docker" "start" "-a" "72483bd350773015d3948d035680b8cfa81a1821d97d03a2edd5a9048c48fb97", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `reqwest::Response` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use reqwest::Response; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/main.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | response::{self, status::BadRequest}, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `html` [INFO] [stderr] --> src/main.rs:6:31 [INFO] [stderr] | [INFO] [stderr] 6 | use scraper::{Html, Selector, html}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::models::item` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::models::item; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prices` [INFO] [stderr] --> src/main.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | let mut prices: Vec = Vec::new(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prices` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | let mut prices: Vec = Vec::new(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: enum `WillPurchaseAgain` is never used [INFO] [stderr] --> src/models/item.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | pub enum WillPurchaseAgain { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Category` is never constructed [INFO] [stderr] --> src/models/item.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Category { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Subcategory` is never constructed [INFO] [stderr] --> src/models/item.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct Subcategory { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `WishItem` is never constructed [INFO] [stderr] --> src/models/item.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct WishItem { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Wishlist` is never constructed [INFO] [stderr] --> src/models/wishlist.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct Wishlist { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/models/wishlist.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 10 | impl Wishlist { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 11 | fn new(name: String) -> Wishlist { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `NewWishlistData` is never constructed [INFO] [stderr] --> src/routes/wishlist.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct NewWishlistData { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `wishlist-crawler` (bin "wishlist-crawler" test) generated 13 warnings (run `cargo fix --bin "wishlist-crawler" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wishlist_crawler-fac087f697eb0876) [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" "72483bd350773015d3948d035680b8cfa81a1821d97d03a2edd5a9048c48fb97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72483bd350773015d3948d035680b8cfa81a1821d97d03a2edd5a9048c48fb97", kill_on_drop: false }` [INFO] [stdout] 72483bd350773015d3948d035680b8cfa81a1821d97d03a2edd5a9048c48fb97