[INFO] fetching crate erguotou 0.0.3... [INFO] checking erguotou-0.0.3 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate erguotou 0.0.3 into /workspace/builds/worker-52/source [INFO] validating manifest of crates.io crate erguotou 0.0.3 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate erguotou 0.0.3 [INFO] finished tweaking crates.io crate erguotou 0.0.3 [INFO] tweaked toml for crates.io crate erguotou 0.0.3 written to /workspace/builds/worker-52/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 286b6f4cb5e54b4573f9fec80512c0b86edb91358abc98c8afc23aacaefd57e8 [INFO] running `Command { std: "docker" "start" "-a" "286b6f4cb5e54b4573f9fec80512c0b86edb91358abc98c8afc23aacaefd57e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "286b6f4cb5e54b4573f9fec80512c0b86edb91358abc98c8afc23aacaefd57e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "286b6f4cb5e54b4573f9fec80512c0b86edb91358abc98c8afc23aacaefd57e8", kill_on_drop: false }` [INFO] [stdout] 286b6f4cb5e54b4573f9fec80512c0b86edb91358abc98c8afc23aacaefd57e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-52/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 574623b2fb76a959f33af32ad942b27b8b99cf4a5b7dfd8171a99db3b58dcde6 [INFO] running `Command { std: "docker" "start" "-a" "574623b2fb76a959f33af32ad942b27b8b99cf4a5b7dfd8171a99db3b58dcde6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking tracing-core v0.1.19 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking hyper v0.14.11 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking erguotou v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `hyper::client` [INFO] [stdout] --> src/json.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::client::{IntoUrl, RequestBuilder}; [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::header::ContentType` [INFO] [stdout] --> src/json.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hyper::header::ContentType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ContentType` in `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `url::form_urlencoded::serialize` [INFO] [stdout] --> src/form.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use url::form_urlencoded::serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Serializer` [INFO] [stdout] | no `serialize` in `form_urlencoded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::client` [INFO] [stdout] --> src/form.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use hyper::client::{IntoUrl, RequestBuilder}; [INFO] [stdout] | ^^^^^^ could not find `client` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::header::ContentType` [INFO] [stdout] --> src/form.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hyper::header::ContentType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ContentType` in `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/json.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | value: &'a ToJson, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn ToJson` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/json.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a> From<&'a ToJson> for JsonParam<'a> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn ToJson` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/json.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | fn from(data_ref: &'a ToJson) -> JsonParam<'a> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn ToJson` [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] [INFO] [stdout] [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/json.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | fn json(mut self, data: &'a mut JsonParam<'a>) -> RequestBuilder<'a, U>; [INFO] [stdout] | ^^^^^^^^ help: remove `mut` from the parameter: `self` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(patterns_in_fns_without_body)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/form.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | value: &'a ToForm, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn ToForm` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/form.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | impl<'a> From<&'a ToForm> for FormParam<'a> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn ToForm` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/form.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | fn from(data_ref: &'a ToForm) -> FormParam<'a> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn ToForm` [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] [INFO] [stdout] [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/form.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | fn form(mut self, data: &'a mut FormParam<'a>) -> RequestBuilder<'a, U>; [INFO] [stdout] | ^^^^^^^^ help: remove `mut` from the parameter: `self` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `erguotou` due to 8 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "574623b2fb76a959f33af32ad942b27b8b99cf4a5b7dfd8171a99db3b58dcde6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "574623b2fb76a959f33af32ad942b27b8b99cf4a5b7dfd8171a99db3b58dcde6", kill_on_drop: false }` [INFO] [stdout] 574623b2fb76a959f33af32ad942b27b8b99cf4a5b7dfd8171a99db3b58dcde6