[INFO] fetching crate scrupy 0.1.6... [INFO] checking scrupy-0.1.6 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [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 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8695ad8f7321b987a993ea681b075c2da61f27ce33c1fb32ee72e67bb5576d23 [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" "8695ad8f7321b987a993ea681b075c2da61f27ce33c1fb32ee72e67bb5576d23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8695ad8f7321b987a993ea681b075c2da61f27ce33c1fb32ee72e67bb5576d23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8695ad8f7321b987a993ea681b075c2da61f27ce33c1fb32ee72e67bb5576d23", kill_on_drop: false }` [INFO] [stdout] 8695ad8f7321b987a993ea681b075c2da61f27ce33c1fb32ee72e67bb5576d23 [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13d0090eba2554bd493ee0f9553fd57f1b9b9fd0f6eb1143be275affc8488e30 [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" "13d0090eba2554bd493ee0f9553fd57f1b9b9fd0f6eb1143be275affc8488e30", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] 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: 14 warnings emitted [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]: 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" "13d0090eba2554bd493ee0f9553fd57f1b9b9fd0f6eb1143be275affc8488e30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13d0090eba2554bd493ee0f9553fd57f1b9b9fd0f6eb1143be275affc8488e30", kill_on_drop: false }` [INFO] [stdout] 13d0090eba2554bd493ee0f9553fd57f1b9b9fd0f6eb1143be275affc8488e30