[INFO] cloning repository https://github.com/bliu01510/Rust-Web-Scraper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bliu01510/Rust-Web-Scraper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbliu01510%2FRust-Web-Scraper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbliu01510%2FRust-Web-Scraper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d97ee5bb519dcc299d66c21d0ca7e80f35571c13 [INFO] checking bliu01510/Rust-Web-Scraper against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbliu01510%2FRust-Web-Scraper" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bliu01510/Rust-Web-Scraper [INFO] finished tweaking git repo https://github.com/bliu01510/Rust-Web-Scraper [INFO] tweaked toml for git repo https://github.com/bliu01510/Rust-Web-Scraper written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bliu01510/Rust-Web-Scraper on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bliu01510/Rust-Web-Scraper 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_repr v0.1.7 [INFO] [stderr] Downloaded stringmatch v0.3.3 [INFO] [stderr] Downloaded displaydoc v0.1.7 [INFO] [stderr] Downloaded thirtyfour v0.27.3 [INFO] [stderr] Downloaded urlparse v0.7.3 [INFO] [stderr] Downloaded thirtyfour_sync v0.27.0 [INFO] [stderr] Downloaded reqwest v0.11.8 [INFO] [stderr] Downloaded h2 v0.3.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fdf933be3db2380b0682c921ba7f1ba6b68fb40022f4f02b686fc7934769758 [INFO] running `Command { std: "docker" "start" "-a" "4fdf933be3db2380b0682c921ba7f1ba6b68fb40022f4f02b686fc7934769758", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fdf933be3db2380b0682c921ba7f1ba6b68fb40022f4f02b686fc7934769758", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fdf933be3db2380b0682c921ba7f1ba6b68fb40022f4f02b686fc7934769758", kill_on_drop: false }` [INFO] [stdout] 4fdf933be3db2380b0682c921ba7f1ba6b68fb40022f4f02b686fc7934769758 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f7133839f2e954626963d8f81f5206e5a582077c12312e1b41ed08cc48ebc49 [INFO] running `Command { std: "docker" "start" "-a" "7f7133839f2e954626963d8f81f5206e5a582077c12312e1b41ed08cc48ebc49", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking stringmatch v0.3.3 [INFO] [stderr] Checking urlparse v0.7.3 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling displaydoc v0.1.7 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.9 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.8 [INFO] [stderr] Checking thirtyfour v0.27.3 [INFO] [stderr] Checking thirtyfour_sync v0.27.0 [INFO] [stderr] Checking Price_Tracker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/Item.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::result; [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: `serde::Serialize` [INFO] [stdout] --> src/Item.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/Item.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::result; [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: `serde::Serialize` [INFO] [stdout] --> src/Item.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::_InternalMethods::_InternalItemMethods` [INFO] [stdout] --> src/Item.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use self::_InternalMethods::_InternalItemMethods; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thirtyfour_sync::Capabilities` [INFO] [stdout] --> src/Item.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use thirtyfour_sync::Capabilities; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/Item.rs:259:21 [INFO] [stdout] | [INFO] [stdout] 259 | Err(i) => 0.0, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/Item.rs:266:20 [INFO] [stdout] | [INFO] [stdout] 266 | Ok(i) => true, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/Item.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | Err(e) => false, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ItemMethods` is never used [INFO] [stdout] --> src/Item.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait ItemMethods { [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 `get_shop_name` is never used [INFO] [stdout] --> src/Item.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_shop_name(item: &T) -> &str [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_item_price` is never used [INFO] [stdout] --> src/Item.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_item_price(item: &T) -> f64 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestItem` is never constructed [INFO] [stdout] --> src/Item.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct TestItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `scrape_webpage` are never used [INFO] [stdout] --> src/Item.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 59 | impl TestItem { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 60 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn scrape_webpage( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChallengerItem` is never constructed [INFO] [stdout] --> src/Item.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct ChallengerItem { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_availability_status`, `new`, and `scrape_webpage` are never used [INFO] [stdout] --> src/Item.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 168 | impl ChallengerItem { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 169 | fn get_availability_status(&self) -> &bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn scrape_webpage( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::_InternalMethods::_InternalItemMethods` [INFO] [stdout] --> src/Item.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use self::_InternalMethods::_InternalItemMethods; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ItemPrice` is never used [INFO] [stdout] --> src/Price.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ItemPrice { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thirtyfour_sync::Capabilities` [INFO] [stdout] --> src/Item.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use thirtyfour_sync::Capabilities; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ShopNames` is never used [INFO] [stdout] --> src/Shop.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ShopNames { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Price_Tracker` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `price_tracker` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Item` should have a snake case name [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod Item; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Price` should have a snake case name [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod Price; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Shop` should have a snake case name [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod Shop; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `shop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `_InternalMethods` should have a snake case name [INFO] [stdout] --> src/Item.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | mod _InternalMethods { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_internal_methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/Item.rs:259:21 [INFO] [stdout] | [INFO] [stdout] 259 | Err(i) => 0.0, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/Item.rs:266:20 [INFO] [stdout] | [INFO] [stdout] 266 | Ok(i) => true, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/Item.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | Err(e) => false, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ItemMethods` is never used [INFO] [stdout] --> src/Item.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait ItemMethods { [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 `get_shop_name` is never used [INFO] [stdout] --> src/Item.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_shop_name(item: &T) -> &str [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_item_price` is never used [INFO] [stdout] --> src/Item.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_item_price(item: &T) -> f64 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestItem` is never constructed [INFO] [stdout] --> src/Item.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct TestItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `scrape_webpage` are never used [INFO] [stdout] --> src/Item.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 59 | impl TestItem { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 60 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn scrape_webpage( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChallengerItem` is never constructed [INFO] [stdout] --> src/Item.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct ChallengerItem { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_availability_status`, `new`, and `scrape_webpage` are never used [INFO] [stdout] --> src/Item.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 168 | impl ChallengerItem { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 169 | fn get_availability_status(&self) -> &bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn scrape_webpage( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ItemPrice` is never used [INFO] [stdout] --> src/Price.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ItemPrice { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ShopNames` is never used [INFO] [stdout] --> src/Shop.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ShopNames { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Item` should have a snake case name [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod Item; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Price` should have a snake case name [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod Price; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Shop` should have a snake case name [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod Shop; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `shop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `_InternalMethods` should have a snake case name [INFO] [stdout] --> src/Item.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | mod _InternalMethods { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_internal_methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::Write, fs::OpenOptions}; [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: `WebDriverCommands` [INFO] [stdout] --> src/main.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use thirtyfour_sync::{prelude as wbd, WebDriverCommands}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/Item.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/Item.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Item::ItemMethods` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use Item::ItemMethods; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::_InternalMethods::_InternalItemMethods` [INFO] [stdout] --> src/Item.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use self::_InternalMethods::_InternalItemMethods; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thirtyfour_sync::Capabilities` [INFO] [stdout] --> src/Item.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use thirtyfour_sync::Capabilities; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::Write, fs::OpenOptions}; [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: `WebDriverCommands` [INFO] [stdout] --> src/main.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use thirtyfour_sync::{prelude as wbd, WebDriverCommands}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/Item.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/Item.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Item::ItemMethods` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use Item::ItemMethods; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/Item.rs:259:21 [INFO] [stdout] | [INFO] [stdout] 259 | Err(i) => 0.0, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/Item.rs:266:20 [INFO] [stdout] | [INFO] [stdout] 266 | Ok(i) => true, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/Item.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | Err(e) => false, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | Err(err) => panic!("Issue during the file opening process. Terminating program.") [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ItemMethods` is never used [INFO] [stdout] --> src/Item.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait ItemMethods { [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 `get_shop_name` is never used [INFO] [stdout] --> src/Item.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_shop_name(item: &T) -> &str [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_item_price` is never used [INFO] [stdout] --> src/Item.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_item_price(item: &T) -> f64 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestItem` is never constructed [INFO] [stdout] --> src/Item.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct TestItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `scrape_webpage` are never used [INFO] [stdout] --> src/Item.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 59 | impl TestItem { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 60 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn scrape_webpage( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_availability_status` is never used [INFO] [stdout] --> src/Item.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 168 | impl ChallengerItem { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 169 | fn get_availability_status(&self) -> &bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Item` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod Item; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Price` should have a snake case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod Price; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Shop` should have a snake case name [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | mod Shop; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `shop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `_InternalMethods` should have a snake case name [INFO] [stdout] --> src/Item.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | mod _InternalMethods { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_internal_methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::_InternalMethods::_InternalItemMethods` [INFO] [stdout] --> src/Item.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use self::_InternalMethods::_InternalItemMethods; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thirtyfour_sync::Capabilities` [INFO] [stdout] --> src/Item.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use thirtyfour_sync::Capabilities; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/Item.rs:259:21 [INFO] [stdout] | [INFO] [stdout] 259 | Err(i) => 0.0, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/Item.rs:266:20 [INFO] [stdout] | [INFO] [stdout] 266 | Ok(i) => true, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/Item.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | Err(e) => false, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | Err(err) => panic!("Issue during the file opening process. Terminating program.") [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ItemMethods` is never used [INFO] [stdout] --> src/Item.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait ItemMethods { [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 `get_shop_name` is never used [INFO] [stdout] --> src/Item.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_shop_name(item: &T) -> &str [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_item_price` is never used [INFO] [stdout] --> src/Item.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_item_price(item: &T) -> f64 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestItem` is never constructed [INFO] [stdout] --> src/Item.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct TestItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `scrape_webpage` are never used [INFO] [stdout] --> src/Item.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 59 | impl TestItem { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 60 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn scrape_webpage( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_availability_status` is never used [INFO] [stdout] --> src/Item.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 168 | impl ChallengerItem { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 169 | fn get_availability_status(&self) -> &bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Item` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod Item; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Price` should have a snake case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod Price; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Shop` should have a snake case name [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | mod Shop; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `shop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `_InternalMethods` should have a snake case name [INFO] [stdout] --> src/Item.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | mod _InternalMethods { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_internal_methods` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.43s [INFO] running `Command { std: "docker" "inspect" "7f7133839f2e954626963d8f81f5206e5a582077c12312e1b41ed08cc48ebc49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f7133839f2e954626963d8f81f5206e5a582077c12312e1b41ed08cc48ebc49", kill_on_drop: false }` [INFO] [stdout] 7f7133839f2e954626963d8f81f5206e5a582077c12312e1b41ed08cc48ebc49