[INFO] fetching crate scrappy-utils 0.0.1... [INFO] checking scrappy-utils-0.0.1 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate scrappy-utils 0.0.1 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate scrappy-utils 0.0.1 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate scrappy-utils 0.0.1 [INFO] finished tweaking crates.io crate scrappy-utils 0.0.1 [INFO] tweaked toml for crates.io crate scrappy-utils 0.0.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scrappy-service v0.0.1 [INFO] [stderr] Downloaded parking_lot_core v0.7.3 [INFO] [stderr] Downloaded scrappy-threadpool v0.0.1 [INFO] [stderr] Downloaded parking_lot v0.10.2 [INFO] [stderr] Downloaded scrappy-codec v0.0.1 [INFO] [stderr] Downloaded copyless v0.1.5 [INFO] [stderr] Downloaded scrappy-macros v0.0.1 [INFO] [stderr] Downloaded scrappy-rt v0.0.1 [INFO] [stderr] Downloaded tokio-util v0.2.0 [INFO] [stderr] Downloaded pin-project-internal v0.4.30 [INFO] [stderr] Downloaded pin-project v0.4.30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8d5d50c94136410844fa8730615908335ff3a5c00ed126e90c160b87447a97d [INFO] running `Command { std: "docker" "start" "-a" "f8d5d50c94136410844fa8730615908335ff3a5c00ed126e90c160b87447a97d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8d5d50c94136410844fa8730615908335ff3a5c00ed126e90c160b87447a97d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8d5d50c94136410844fa8730615908335ff3a5c00ed126e90c160b87447a97d", kill_on_drop: false }` [INFO] [stdout] f8d5d50c94136410844fa8730615908335ff3a5c00ed126e90c160b87447a97d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25b258d58423f87d5b6b382710a58ceed2e3e13575bcac90a9ee082a1dcc1ccc [INFO] running `Command { std: "docker" "start" "-a" "25b258d58423f87d5b6b382710a58ceed2e3e13575bcac90a9ee082a1dcc1ccc", kill_on_drop: false }` [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking parking_lot_core v0.7.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking scrappy-codec v0.0.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling scrappy-macros v0.0.1 [INFO] [stderr] Checking pin-project v0.4.30 [INFO] [stderr] Checking scrappy-service v0.0.1 [INFO] [stderr] Checking scrappy-threadpool v0.0.1 [INFO] [stderr] Checking scrappy-rt v0.0.1 [INFO] [stderr] Checking scrappy-utils v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: the item `Context` is imported redundantly [INFO] [stdout] --> src/inflight.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | use std::task::{Context, Poll}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | use super::*; [INFO] [stdout] | -------- the item `Context` is already imported here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | #![deny(rust_2018_idioms, warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Poll` is imported redundantly [INFO] [stdout] --> src/inflight.rs:114:30 [INFO] [stdout] | [INFO] [stdout] 114 | use std::task::{Context, Poll}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Service` is imported redundantly [INFO] [stdout] --> src/inflight.rs:118:46 [INFO] [stdout] | [INFO] [stdout] 117 | use super::*; [INFO] [stdout] | -------- the item `Service` is already imported here [INFO] [stdout] 118 | use scrappy_service::{apply, fn_factory, Service, ServiceFactory}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `ok` is imported redundantly [INFO] [stdout] --> src/inflight.rs:119:33 [INFO] [stdout] | [INFO] [stdout] 117 | use super::*; [INFO] [stdout] | -------- the item `ok` is already imported here [INFO] [stdout] 118 | use scrappy_service::{apply, fn_factory, Service, ServiceFactory}; [INFO] [stdout] 119 | use futures::future::{lazy, ok, FutureExt, LocalBoxFuture}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Stream` is imported redundantly [INFO] [stdout] --> src/mpsc.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 182 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] 183 | use futures::future::lazy; [INFO] [stdout] 184 | use futures::{Stream, StreamExt}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Context` is imported redundantly [INFO] [stdout] --> src/order.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 208 | use std::task::{Context, Poll}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | use super::*; [INFO] [stdout] | -------- the item `Context` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Poll` is imported redundantly [INFO] [stdout] --> src/order.rs:208:30 [INFO] [stdout] | [INFO] [stdout] 208 | use std::task::{Context, Poll}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Service` is imported redundantly [INFO] [stdout] --> src/order.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 211 | use super::*; [INFO] [stdout] | -------- the item `Service` is already imported here [INFO] [stdout] 212 | use scrappy_service::Service; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Duration` is imported redundantly [INFO] [stdout] --> src/time.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 158 | use super::*; [INFO] [stdout] | -------- the item `Duration` is already imported here [INFO] [stdout] 159 | use std::time::{Duration, SystemTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Context` is imported redundantly [INFO] [stdout] --> src/timeout.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | use std::task::{Context, Poll}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | use super::*; [INFO] [stdout] | -------- the item `Context` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Poll` is imported redundantly [INFO] [stdout] --> src/timeout.rs:181:30 [INFO] [stdout] | [INFO] [stdout] 181 | use std::task::{Context, Poll}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Service` is imported redundantly [INFO] [stdout] --> src/timeout.rs:185:46 [INFO] [stdout] | [INFO] [stdout] 184 | use super::*; [INFO] [stdout] | -------- the item `Service` is already imported here [INFO] [stdout] 185 | use scrappy_service::{apply, fn_factory, Service, ServiceFactory}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `ok` is imported redundantly [INFO] [stdout] --> src/timeout.rs:186:27 [INFO] [stdout] | [INFO] [stdout] 184 | use super::*; [INFO] [stdout] | -------- the item `ok` is already imported here [INFO] [stdout] 185 | use scrappy_service::{apply, fn_factory, Service, ServiceFactory}; [INFO] [stdout] 186 | use futures::future::{ok, FutureExt, LocalBoxFuture}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variable does not need to be mutable [INFO] [stdout] --> src/time.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | let mut b = inner.get_mut(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | #![deny(rust_2018_idioms, warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_mut)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variable does not need to be mutable [INFO] [stdout] --> src/time.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | let mut b = inner.get_mut(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field `0` is never read [INFO] [stdout] --> src/time.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct SystemTime(Cell); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `SystemTime` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 107 | pub struct SystemTime(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scrappy-utils` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: variable does not need to be mutable [INFO] [stdout] --> src/time.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | let mut b = inner.get_mut(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_mut)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variable does not need to be mutable [INFO] [stdout] --> src/time.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | let mut b = inner.get_mut(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field `0` is never read [INFO] [stdout] --> src/time.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct SystemTime(Cell); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `SystemTime` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 107 | pub struct SystemTime(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scrappy-utils` (lib test) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "25b258d58423f87d5b6b382710a58ceed2e3e13575bcac90a9ee082a1dcc1ccc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25b258d58423f87d5b6b382710a58ceed2e3e13575bcac90a9ee082a1dcc1ccc", kill_on_drop: false }` [INFO] [stdout] 25b258d58423f87d5b6b382710a58ceed2e3e13575bcac90a9ee082a1dcc1ccc