[INFO] fetching crate scrupy 0.1.6... [INFO] checking scrupy-0.1.6 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate scrupy 0.1.6 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate scrupy 0.1.6 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 29 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.9.3 (available: v0.22.1) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding hyper v0.10.16 (available: v1.4.1) [INFO] [stderr] Adding idna v0.1.5 (available: v1.0.2) [INFO] [stderr] Adding language-tags v0.2.2 (available: v0.3.2) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.22) [INFO] [stderr] Adding mime v0.2.6 (available: v0.3.17) [INFO] [stderr] Adding percent-encoding v1.0.1 (available: v2.3.1) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.36) [INFO] [stderr] Adding unicase v1.4.2 (available: v2.7.0) [INFO] [stderr] Adding url v1.7.2 (available: v2.5.2) [INFO] [stderr] Adding version_check v0.1.5 (available: v0.9.5) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e1ddfab142c868ff64a6c7b8daf1282170e60399820e79314320ecd3785c2df [INFO] running `Command { std: "docker" "start" "-a" "5e1ddfab142c868ff64a6c7b8daf1282170e60399820e79314320ecd3785c2df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e1ddfab142c868ff64a6c7b8daf1282170e60399820e79314320ecd3785c2df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e1ddfab142c868ff64a6c7b8daf1282170e60399820e79314320ecd3785c2df", kill_on_drop: false }` [INFO] [stdout] 5e1ddfab142c868ff64a6c7b8daf1282170e60399820e79314320ecd3785c2df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d23871adb2b64c33662ba829b1a941f68852211dae221dce35d6e71c57ab7e62 [INFO] running `Command { std: "docker" "start" "-a" "d23871adb2b64c33662ba829b1a941f68852211dae221dce35d6e71c57ab7e62", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking scrupy v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Method` and `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: 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 imports: `Method` and `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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | spider: Box>, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | item_pipelines: Vec>>>, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | downloader_middleware: Vec>>, [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | spider: Box>, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | item_pipelines: Vec>>>, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | downloader_middleware: Vec>>, [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn open_spider(&mut self, spider: &Box>){ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn open_spider(&mut self, spider: &Box>){ [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | fn close_spider(&mut self, spider: &Box>){ [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | fn close_spider(&mut self, spider: &Box>){ [INFO] [stdout] | +++ [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: 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] 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` [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` [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` [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: 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 `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[E0277]: `DownloadError` doesn't implement `Debug` [INFO] [stdout] --> src/downloader/mod.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | request.download().unwrap(); [INFO] [stdout] | ^^^^^^ `DownloadError` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `DownloadError` [INFO] [stdout] = note: add `#[derive(Debug)]` to `DownloadError` or manually `impl Debug for DownloadError` [INFO] [stdout] note: required by a bound in `Result::::unwrap` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:1096:5 [INFO] [stdout] help: consider annotating `DownloadError` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Debug)] [INFO] [stdout] 18 | pub enum DownloadError{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [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: 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: 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] error: aborting due to 5 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0277, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scrupy` (lib test) due to 6 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d23871adb2b64c33662ba829b1a941f68852211dae221dce35d6e71c57ab7e62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d23871adb2b64c33662ba829b1a941f68852211dae221dce35d6e71c57ab7e62", kill_on_drop: false }` [INFO] [stdout] d23871adb2b64c33662ba829b1a941f68852211dae221dce35d6e71c57ab7e62