[INFO] fetching crate scrupy 0.1.6... [INFO] checking scrupy-0.1.6 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate scrupy 0.1.6 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate scrupy 0.1.6 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3b92b1a5077863d3b280c2883db6e18b74cdfb2d9fd8337ceefc27e4e76c9e3 [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" "b3b92b1a5077863d3b280c2883db6e18b74cdfb2d9fd8337ceefc27e4e76c9e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3b92b1a5077863d3b280c2883db6e18b74cdfb2d9fd8337ceefc27e4e76c9e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3b92b1a5077863d3b280c2883db6e18b74cdfb2d9fd8337ceefc27e4e76c9e3", kill_on_drop: false }` [INFO] [stdout] b3b92b1a5077863d3b280c2883db6e18b74cdfb2d9fd8337ceefc27e4e76c9e3 [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" "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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] debe7b00e22a11208aa7f92c45ea6c23042297740ada6c34398fdc4efe1183ec [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" "debe7b00e22a11208aa7f92c45ea6c23042297740ada6c34398fdc4efe1183ec", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [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] 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] warning: 14 warnings emitted [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] 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] error[E0599]: the method `unwrap` exists for enum `Result`, but its trait bounds were not satisfied [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 cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: 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" "debe7b00e22a11208aa7f92c45ea6c23042297740ada6c34398fdc4efe1183ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "debe7b00e22a11208aa7f92c45ea6c23042297740ada6c34398fdc4efe1183ec", kill_on_drop: false }` [INFO] [stdout] debe7b00e22a11208aa7f92c45ea6c23042297740ada6c34398fdc4efe1183ec