[INFO] fetching crate erguotou 0.0.3... [INFO] testing erguotou-0.0.3 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate erguotou 0.0.3 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate erguotou 0.0.3 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bde1543a6cce224013c6f3c6281a745df09b87191fbb07f8c940f483bf3542a [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" "0bde1543a6cce224013c6f3c6281a745df09b87191fbb07f8c940f483bf3542a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bde1543a6cce224013c6f3c6281a745df09b87191fbb07f8c940f483bf3542a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bde1543a6cce224013c6f3c6281a745df09b87191fbb07f8c940f483bf3542a", kill_on_drop: false }` [INFO] [stdout] 0bde1543a6cce224013c6f3c6281a745df09b87191fbb07f8c940f483bf3542a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa277f33cf93cc8add0e5d14e6980b77424a3291b407a7dffbe159195dc1bfd4 [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" "aa277f33cf93cc8add0e5d14e6980b77424a3291b407a7dffbe159195dc1bfd4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling hyper v0.14.8 [INFO] [stderr] Compiling 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 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] running `Command { std: "docker" "inspect" "aa277f33cf93cc8add0e5d14e6980b77424a3291b407a7dffbe159195dc1bfd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa277f33cf93cc8add0e5d14e6980b77424a3291b407a7dffbe159195dc1bfd4", kill_on_drop: false }` [INFO] [stdout] aa277f33cf93cc8add0e5d14e6980b77424a3291b407a7dffbe159195dc1bfd4