[INFO] fetching crate erguotou 0.0.3... [INFO] testing erguotou-0.0.3 against 1.59.0 for beta-1.60-1 [INFO] extracting crate erguotou 0.0.3 into /workspace/builds/worker-81/source [INFO] validating manifest of crates.io crate erguotou 0.0.3 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-81/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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" "+1.59.0" "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-81/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55386f251a5015791d0640a131d802e2fde56398a023491ab9432b0ad07a42bd [INFO] running `Command { std: "docker" "start" "-a" "55386f251a5015791d0640a131d802e2fde56398a023491ab9432b0ad07a42bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55386f251a5015791d0640a131d802e2fde56398a023491ab9432b0ad07a42bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55386f251a5015791d0640a131d802e2fde56398a023491ab9432b0ad07a42bd", kill_on_drop: false }` [INFO] [stdout] 55386f251a5015791d0640a131d802e2fde56398a023491ab9432b0ad07a42bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be8eeecffaa8db6f3858c46108bae3397a7c6c9b78f406c1fd74accebf6b5897 [INFO] running `Command { std: "docker" "start" "-a" "be8eeecffaa8db6f3858c46108bae3397a7c6c9b78f406c1fd74accebf6b5897", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling url v2.2.2 [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 the root [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: 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: `#[warn(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: 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] 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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - impl<'a> From<&'a ToJson> for JsonParam<'a> { [INFO] [stdout] 13 + impl<'a> From<&'a dyn ToJson> for JsonParam<'a> { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - impl<'a> From<&'a ToForm> for FormParam<'a> { [INFO] [stdout] 23 + impl<'a> From<&'a dyn ToForm> for FormParam<'a> { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - value: &'a ToJson, [INFO] [stdout] 9 + value: &'a dyn ToJson, [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - value: &'a ToForm, [INFO] [stdout] 19 + value: &'a dyn ToForm, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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 6 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "be8eeecffaa8db6f3858c46108bae3397a7c6c9b78f406c1fd74accebf6b5897", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be8eeecffaa8db6f3858c46108bae3397a7c6c9b78f406c1fd74accebf6b5897", kill_on_drop: false }` [INFO] [stdout] be8eeecffaa8db6f3858c46108bae3397a7c6c9b78f406c1fd74accebf6b5897