[INFO] crate erguotou 0.0.3 is already in cache [INFO] testing erguotou-0.0.3 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate erguotou 0.0.3 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate erguotou 0.0.3 on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [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-0/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 465cf710831c0484b1bd139345896339e1c3c06051e46e434b818e38e8d68e02 [INFO] running `"docker" "start" "-a" "465cf710831c0484b1bd139345896339e1c3c06051e46e434b818e38e8d68e02"` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio v0.2.18 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling pin-project v0.4.9 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling erguotou v0.0.3 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved imports `hyper::client::IntoUrl`, `hyper::client::RequestBuilder` [INFO] [stderr] --> src/json.rs:3:21 [INFO] [stderr] | [INFO] [stderr] 3 | use hyper::client::{IntoUrl, RequestBuilder}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^^^ no `RequestBuilder` in `client` [INFO] [stderr] | | [INFO] [stderr] | no `IntoUrl` in `client` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::header::ContentType` [INFO] [stderr] --> src/json.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use hyper::header::ContentType; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ContentType` in `header` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `url::form_urlencoded::serialize` [INFO] [stderr] --> src/form.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use url::form_urlencoded::serialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `Serializer` [INFO] [stderr] | no `serialize` in `form_urlencoded` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `hyper::client::IntoUrl`, `hyper::client::RequestBuilder` [INFO] [stderr] --> src/form.rs:5:21 [INFO] [stderr] | [INFO] [stderr] 5 | use hyper::client::{IntoUrl, RequestBuilder}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^^^ no `RequestBuilder` in `client` [INFO] [stderr] | | [INFO] [stderr] | no `IntoUrl` in `client` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::header::ContentType` [INFO] [stderr] --> src/form.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use hyper::header::ContentType; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ContentType` in `header` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/json.rs:9:16 [INFO] [stderr] | [INFO] [stderr] 9 | value: &'a ToJson, [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn ToJson` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/json.rs:13:19 [INFO] [stderr] | [INFO] [stderr] 13 | impl<'a> From<&'a ToJson> for JsonParam<'a> { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn ToJson` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/json.rs:14:27 [INFO] [stderr] | [INFO] [stderr] 14 | fn from(data_ref: &'a ToJson) -> JsonParam<'a> { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn ToJson` [INFO] [stderr] [INFO] [stderr] error: patterns aren't allowed in functions without bodies [INFO] [stderr] --> src/json.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | fn json(mut self, data: &'a mut JsonParam<'a>) -> RequestBuilder<'a, U>; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[deny(patterns_in_fns_without_body)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #35203 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/form.rs:19:16 [INFO] [stderr] | [INFO] [stderr] 19 | value: &'a ToForm, [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn ToForm` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/form.rs:23:19 [INFO] [stderr] | [INFO] [stderr] 23 | impl<'a> From<&'a ToForm> for FormParam<'a> { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn ToForm` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/form.rs:24:27 [INFO] [stderr] | [INFO] [stderr] 24 | fn from(data_ref: &'a ToForm) -> FormParam<'a> { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn ToForm` [INFO] [stderr] [INFO] [stderr] error: patterns aren't allowed in functions without bodies [INFO] [stderr] --> src/form.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | fn form(mut self, data: &'a mut FormParam<'a>) -> RequestBuilder<'a, U>; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #35203 [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors; 6 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [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 `"docker" "inspect" "465cf710831c0484b1bd139345896339e1c3c06051e46e434b818e38e8d68e02"` [INFO] running `"docker" "rm" "-f" "465cf710831c0484b1bd139345896339e1c3c06051e46e434b818e38e8d68e02"` [INFO] [stdout] 465cf710831c0484b1bd139345896339e1c3c06051e46e434b818e38e8d68e02