[INFO] fetching crate erguotou 0.0.3... [INFO] checking erguotou-0.0.3 against try#8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346 for pr-86194 [INFO] extracting crate erguotou 0.0.3 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate erguotou 0.0.3 on toolchain 8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded urlencoded v0.6.0 [INFO] [stderr] Downloaded persistent v0.4.0 [INFO] [stderr] Downloaded bodyparser v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec674734fea04a66e362e7de4115ec992ec3fa2e020c298d486ff84e547ce1a9 [INFO] running `Command { std: "docker" "start" "-a" "ec674734fea04a66e362e7de4115ec992ec3fa2e020c298d486ff84e547ce1a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec674734fea04a66e362e7de4115ec992ec3fa2e020c298d486ff84e547ce1a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec674734fea04a66e362e7de4115ec992ec3fa2e020c298d486ff84e547ce1a9", kill_on_drop: false }` [INFO] [stdout] ec674734fea04a66e362e7de4115ec992ec3fa2e020c298d486ff84e547ce1a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a579c0dd79e916555e29a2640f1caae97d35aff7b7c5afdacb15f39e79501e3a [INFO] running `Command { std: "docker" "start" "-a" "a579c0dd79e916555e29a2640f1caae97d35aff7b7c5afdacb15f39e79501e3a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking futures-channel v0.3.15 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking phf_shared v0.7.24 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Compiling phf v0.7.24 [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] Checking tracing v0.1.26 [INFO] [stderr] Compiling tokio v1.6.2 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking hyper v0.14.9 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking erguotou v0.0.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling mime_guess v1.8.8 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a579c0dd79e916555e29a2640f1caae97d35aff7b7c5afdacb15f39e79501e3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a579c0dd79e916555e29a2640f1caae97d35aff7b7c5afdacb15f39e79501e3a", kill_on_drop: false }` [INFO] [stdout] a579c0dd79e916555e29a2640f1caae97d35aff7b7c5afdacb15f39e79501e3a