[INFO] cloning repository https://github.com/sophiawisdom/rust_scraping [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sophiawisdom/rust_scraping" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsophiawisdom%2Frust_scraping", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsophiawisdom%2Frust_scraping'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e9f199a78a0d03e8c07f377c6fbeee23efeb259 [INFO] building sophiawisdom/rust_scraping against master#c2804e6ec2c29a5c7368600ea173b890e2655c3d for pr-97334-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsophiawisdom%2Frust_scraping" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sophiawisdom/rust_scraping on toolchain c2804e6ec2c29a5c7368600ea173b890e2655c3d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sophiawisdom/rust_scraping [INFO] finished tweaking git repo https://github.com/sophiawisdom/rust_scraping [INFO] tweaked toml for git repo https://github.com/sophiawisdom/rust_scraping written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/sophiawisdom/rust_scraping already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded indicatif v0.16.2 [INFO] [stderr] Downloaded terminal_size v0.1.17 [INFO] [stderr] Downloaded reqwest-middleware v0.1.5 [INFO] [stderr] Downloaded string_cache_codegen v0.5.1 [INFO] [stderr] Downloaded tendril v0.4.2 [INFO] [stderr] Downloaded async-compression v0.3.12 [INFO] [stderr] Downloaded task-local-extensions v0.1.1 [INFO] [stderr] Downloaded reqwest-retry v0.1.4 [INFO] [stderr] Downloaded anyhow v1.0.55 [INFO] [stderr] Downloaded retry-policies v0.1.1 [INFO] [stderr] Downloaded tracing-attributes v0.1.19 [INFO] [stderr] Downloaded number_prefix v0.4.0 [INFO] [stderr] Downloaded semver v1.0.6 [INFO] [stderr] Downloaded h2 v0.3.11 [INFO] [stderr] Downloaded security-framework-sys v2.5.0 [INFO] [stderr] Downloaded security-framework v2.5.0 [INFO] [stderr] Downloaded console v0.15.0 [INFO] [stderr] Downloaded siphasher v0.3.9 [INFO] [stderr] Downloaded crc32fast v1.3.1 [INFO] [stderr] Downloaded html5ever v0.25.1 [INFO] [stderr] Downloaded string_cache v0.8.3 [INFO] [stderr] Downloaded serde_json v1.0.78 [INFO] [stderr] Downloaded markup5ever v0.10.1 [INFO] [stderr] Downloaded scraper v0.12.0 [INFO] [stderr] Downloaded tokio v1.16.1 [INFO] [stderr] Downloaded libc v0.2.116 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e746f6d39a6f56fff8df748c647cdc9bca9630fa9fe518cf7f620a5c17ad2c3d [INFO] running `Command { std: "docker" "start" "-a" "e746f6d39a6f56fff8df748c647cdc9bca9630fa9fe518cf7f620a5c17ad2c3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e746f6d39a6f56fff8df748c647cdc9bca9630fa9fe518cf7f620a5c17ad2c3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e746f6d39a6f56fff8df748c647cdc9bca9630fa9fe518cf7f620a5c17ad2c3d", kill_on_drop: false }` [INFO] [stdout] e746f6d39a6f56fff8df748c647cdc9bca9630fa9fe518cf7f620a5c17ad2c3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 624f7b70d9997dae1f3a9975de8c38837d5de351a0d87598eba8ff1a268a52c6 [INFO] running `Command { std: "docker" "start" "-a" "624f7b70d9997dae1f3a9975de8c38837d5de351a0d87598eba8ff1a268a52c6", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling siphasher v0.3.9 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling dtoa-short v0.3.3 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling tendril v0.4.2 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling retry-policies v0.1.1 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling string_cache v0.8.3 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling async-compression v0.3.12 [INFO] [stderr] Compiling task-local-extensions v0.1.1 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling scraper v0.12.0 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling reqwest-middleware v0.1.5 [INFO] [stderr] Compiling reqwest-retry v0.1.4 [INFO] [stderr] Compiling rust_scraping v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time::SystemTime` [INFO] [stdout] --> src/main.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{io::Write, time::SystemTime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_selector` [INFO] [stdout] --> src/parsers.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let text_selector = Selector::parse("div.panel.article p").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_selector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document` [INFO] [stdout] --> src/parsers.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn parse_story_text(document: &Html) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | Err(e) => panic!("getting bytes failed") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | Err(e) => panic!("getting data failed") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | Err(e) => panic!("got error with tokio spawn") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | Err(e) => panic!("blah") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_story_text` is never used [INFO] [stdout] --> src/parsers.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn parse_story_text(document: &Html) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `storyName` should have a snake case name [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | storyName: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `story_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `timeFetched` should have a snake case name [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | timeFetched: u64, // seconds since epoch [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `time_fetched` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `authorElem` should have a snake case name [INFO] [stdout] --> src/parsers.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let authorElem = document.select(&author_selector).next().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `author_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 07s [INFO] running `Command { std: "docker" "inspect" "624f7b70d9997dae1f3a9975de8c38837d5de351a0d87598eba8ff1a268a52c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "624f7b70d9997dae1f3a9975de8c38837d5de351a0d87598eba8ff1a268a52c6", kill_on_drop: false }` [INFO] [stdout] 624f7b70d9997dae1f3a9975de8c38837d5de351a0d87598eba8ff1a268a52c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6db35fa793eaa73bce0b6878b24ebf73b26318cc22671ca0ab3b3c120d9b7b43 [INFO] running `Command { std: "docker" "start" "-a" "6db35fa793eaa73bce0b6878b24ebf73b26318cc22671ca0ab3b3c120d9b7b43", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust_scraping v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time::SystemTime` [INFO] [stdout] --> src/main.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{io::Write, time::SystemTime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_selector` [INFO] [stdout] --> src/parsers.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let text_selector = Selector::parse("div.panel.article p").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_selector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document` [INFO] [stdout] --> src/parsers.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn parse_story_text(document: &Html) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | Err(e) => panic!("getting bytes failed") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | Err(e) => panic!("getting data failed") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | Err(e) => panic!("got error with tokio spawn") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | Err(e) => panic!("blah") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_story_text` is never used [INFO] [stdout] --> src/parsers.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn parse_story_text(document: &Html) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `storyName` should have a snake case name [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | storyName: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `story_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `timeFetched` should have a snake case name [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | timeFetched: u64, // seconds since epoch [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `time_fetched` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `authorElem` should have a snake case name [INFO] [stdout] --> src/parsers.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let authorElem = document.select(&author_selector).next().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `author_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.50s [INFO] running `Command { std: "docker" "inspect" "6db35fa793eaa73bce0b6878b24ebf73b26318cc22671ca0ab3b3c120d9b7b43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6db35fa793eaa73bce0b6878b24ebf73b26318cc22671ca0ab3b3c120d9b7b43", kill_on_drop: false }` [INFO] [stdout] 6db35fa793eaa73bce0b6878b24ebf73b26318cc22671ca0ab3b3c120d9b7b43