[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] cfd9e9c2e5366d6844db56a42fc50f7d89f628b7 [INFO] testing sophiawisdom/rust_scraping against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsophiawisdom%2Frust_scraping" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sophiawisdom/rust_scraping on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-12/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded security-framework-sys v2.5.0 [INFO] [stderr] Downloaded task-local-extensions v0.1.1 [INFO] [stderr] Downloaded security-framework v2.5.0 [INFO] [stderr] Downloaded reqwest-middleware v0.1.5 [INFO] [stderr] Downloaded ego-tree v0.6.2 [INFO] [stderr] Downloaded scraper v0.12.0 [INFO] [stderr] Downloaded retry-policies v0.1.1 [INFO] [stderr] Downloaded reqwest-retry v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a701677925701f72cc3afb1b5b4739b0c72101b9c076f1c41d9932a7d8530b04 [INFO] running `Command { std: "docker" "start" "-a" "a701677925701f72cc3afb1b5b4739b0c72101b9c076f1c41d9932a7d8530b04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a701677925701f72cc3afb1b5b4739b0c72101b9c076f1c41d9932a7d8530b04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a701677925701f72cc3afb1b5b4739b0c72101b9c076f1c41d9932a7d8530b04", kill_on_drop: false }` [INFO] [stdout] a701677925701f72cc3afb1b5b4739b0c72101b9c076f1c41d9932a7d8530b04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cfd284e82e6442cd2a049743cd0eff5e6832c6cd31121a4274cc191f6500d0cf [INFO] running `Command { std: "docker" "start" "-a" "cfd284e82e6442cd2a049743cd0eff5e6832c6cd31121a4274cc191f6500d0cf", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling dtoa-short v0.3.3 [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_pcg v0.2.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling cssparser v0.27.2 [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 futures-util v0.3.21 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling string_cache v0.8.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling retry-policies v0.1.1 [INFO] [stderr] Compiling markup5ever v0.10.1 [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 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: `str::pattern::Pattern` [INFO] [stdout] --> src/main.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{str::pattern::Pattern, io::Write}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | Err(e) => panic!("getting bytes failed") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | 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:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | Err(e) => panic!("blah") [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:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | 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:152:25 [INFO] [stdout] | [INFO] [stdout] 152 | Err(e) => panic!("tokio cat page spawn failed") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [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] [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let mut story_list = stream::iter(cat_page_list) [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_story_text` [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] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(pattern)] [INFO] [stdout] | ^^^^^^^ [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] error: aborting due to previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_scraping` due to 2 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cfd284e82e6442cd2a049743cd0eff5e6832c6cd31121a4274cc191f6500d0cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfd284e82e6442cd2a049743cd0eff5e6832c6cd31121a4274cc191f6500d0cf", kill_on_drop: false }` [INFO] [stdout] cfd284e82e6442cd2a049743cd0eff5e6832c6cd31121a4274cc191f6500d0cf