[INFO] fetching crate scrupy 0.1.6... [INFO] checking scrupy-0.1.6 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate scrupy 0.1.6 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate scrupy 0.1.6 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate scrupy 0.1.6 [INFO] finished tweaking crates.io crate scrupy 0.1.6 [INFO] tweaked toml for crates.io crate scrupy 0.1.6 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27b13c173cd1a9d1d5642518b8a1a402883dc67956bf13fb4dd808cdf899b262 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "27b13c173cd1a9d1d5642518b8a1a402883dc67956bf13fb4dd808cdf899b262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27b13c173cd1a9d1d5642518b8a1a402883dc67956bf13fb4dd808cdf899b262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27b13c173cd1a9d1d5642518b8a1a402883dc67956bf13fb4dd808cdf899b262", kill_on_drop: false }` [INFO] [stdout] 27b13c173cd1a9d1d5642518b8a1a402883dc67956bf13fb4dd808cdf899b262 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 433b2f0c2d502fe0e893da1b9d293419adfbdfb6163652adaf1fbdffa1ea735f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "433b2f0c2d502fe0e893da1b9d293419adfbdfb6163652adaf1fbdffa1ea735f", kill_on_drop: false }` [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking scrupy v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | spider: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Spider` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | item_pipelines: Vec>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ItemPipeline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:42:42 [INFO] [stdout] | [INFO] [stdout] 42 | downloader_middleware: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn DownloaderMiddleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Method`, `Request` [INFO] [stdout] --> src/scheduler/mod.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use downloader::{Request, Method}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::Crawler` [INFO] [stdout] --> src/scheduler/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use engine::Crawler; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/scheduler/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/item_pipeline/mod.rs:18:44 [INFO] [stdout] | [INFO] [stdout] 18 | fn open_spider(&mut self, spider: &Box>){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Spider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/item_pipeline/mod.rs:22:45 [INFO] [stdout] | [INFO] [stdout] 22 | fn close_spider(&mut self, spider: &Box>){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Spider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Method` [INFO] [stdout] --> src/downloader_middleware/mod.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use downloader::{Request, RequestContent, Response, Method, DownloadError}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | spider: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Spider` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | item_pipelines: Vec>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ItemPipeline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:42:42 [INFO] [stdout] | [INFO] [stdout] 42 | downloader_middleware: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn DownloaderMiddleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Method`, `Request` [INFO] [stdout] --> src/scheduler/mod.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use downloader::{Request, Method}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::Crawler` [INFO] [stdout] --> src/scheduler/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use engine::Crawler; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/scheduler/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/item_pipeline/mod.rs:18:44 [INFO] [stdout] | [INFO] [stdout] 18 | fn open_spider(&mut self, spider: &Box>){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Spider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/item_pipeline/mod.rs:22:45 [INFO] [stdout] | [INFO] [stdout] 22 | fn close_spider(&mut self, spider: &Box>){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Spider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Method` [INFO] [stdout] --> src/downloader_middleware/mod.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use downloader::{Request, RequestContent, Response, Method, DownloadError}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_` [INFO] [stdout] --> src/engine/mod.rs:116:24 [INFO] [stdout] | [INFO] [stdout] 116 | while let Some(tx_) = self.txs.pop() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tx_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spider` [INFO] [stdout] --> src/item_pipeline/mod.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | fn open_spider(&mut self, spider: &Box>){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spider` [INFO] [stdout] --> src/item_pipeline/mod.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | fn close_spider(&mut self, spider: &Box>){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/mod.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | let mut cralwer = task.crawler; [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] error[E0046]: not all trait items implemented, missing: `ItemType`, `parse` [INFO] [stdout] --> src/spider/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 10 | type ItemType; [INFO] [stdout] | -------------- `ItemType` from trait [INFO] [stdout] ... [INFO] [stdout] 47 | fn parse(&self, response: Response) -> (Vec, Vec); [INFO] [stdout] | --------------------------------------------------------------------------- `parse` from trait [INFO] [stdout] ... [INFO] [stdout] 56 | impl Spider for LittleSpider { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `ItemType`, `parse` in implementation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ItemType` should have a snake case name [INFO] [stdout] --> src/engine/mod.rs:159:32 [INFO] [stdout] | [INFO] [stdout] 159 | let (requests, ItemType) = crawler.spider.parse(r); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `item_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `downloader::Request` has no field named `url` [INFO] [stdout] --> src/downloader/mod.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | url: url, [INFO] [stdout] | ^^^ `downloader::Request` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `content`, `client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `downloader::Request` has no field named `method` [INFO] [stdout] --> src/downloader/mod.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | method: Method::Get, [INFO] [stdout] | ^^^^^^ `downloader::Request` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `content`, `client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `downloader::Request` has no field named `body` [INFO] [stdout] --> src/downloader/mod.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | body: None, [INFO] [stdout] | ^^^^ `downloader::Request` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `content`, `client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/downloader/mod.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum DownloadError{ [INFO] [stdout] | ---------------------- doesn't satisfy `DownloadError: Debug` [INFO] [stdout] ... [INFO] [stdout] 131 | request.download().unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: the method `unwrap` exists but the following trait bounds were not satisfied: [INFO] [stdout] `DownloadError: Debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scrupy` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "433b2f0c2d502fe0e893da1b9d293419adfbdfb6163652adaf1fbdffa1ea735f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "433b2f0c2d502fe0e893da1b9d293419adfbdfb6163652adaf1fbdffa1ea735f", kill_on_drop: false }` [INFO] [stdout] 433b2f0c2d502fe0e893da1b9d293419adfbdfb6163652adaf1fbdffa1ea735f