[INFO] fetching crate scrupy 0.1.6... [INFO] checking scrupy-0.1.6 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate scrupy 0.1.6 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate scrupy 0.1.6 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37c3cc638ed4139c1185559999a442f50b024e451192d0c3c72ca3fd13553d8f [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" "37c3cc638ed4139c1185559999a442f50b024e451192d0c3c72ca3fd13553d8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37c3cc638ed4139c1185559999a442f50b024e451192d0c3c72ca3fd13553d8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37c3cc638ed4139c1185559999a442f50b024e451192d0c3c72ca3fd13553d8f", kill_on_drop: false }` [INFO] [stdout] 37c3cc638ed4139c1185559999a442f50b024e451192d0c3c72ca3fd13553d8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--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] 09da2c886e0338a28b6b2f261d21c99bff556676dae5679225241c09c030ddc8 [INFO] running `Command { std: "docker" "start" "-a" "09da2c886e0338a28b6b2f261d21c99bff556676dae5679225241c09c030ddc8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.0 [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" "09da2c886e0338a28b6b2f261d21c99bff556676dae5679225241c09c030ddc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09da2c886e0338a28b6b2f261d21c99bff556676dae5679225241c09c030ddc8", kill_on_drop: false }` [INFO] [stdout] 09da2c886e0338a28b6b2f261d21c99bff556676dae5679225241c09c030ddc8