[INFO] fetching crate erguotou 0.0.3... [INFO] testing erguotou-0.0.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate erguotou 0.0.3 into /workspace/builds/worker-0-tc1/source [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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate erguotou 0.0.3 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 125 packages to latest compatible versions [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded persistent v0.4.0 [INFO] [stderr] Downloaded bodyparser v0.8.0 [INFO] [stderr] Downloaded urlencoded v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5a0de01cd2c28c85d2b73139402ee7b9a37a8e0b792ff7357b418f5f7583d7c [INFO] running `Command { std: "docker" "start" "-a" "d5a0de01cd2c28c85d2b73139402ee7b9a37a8e0b792ff7357b418f5f7583d7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5a0de01cd2c28c85d2b73139402ee7b9a37a8e0b792ff7357b418f5f7583d7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5a0de01cd2c28c85d2b73139402ee7b9a37a8e0b792ff7357b418f5f7583d7c", kill_on_drop: false }` [INFO] [stdout] d5a0de01cd2c28c85d2b73139402ee7b9a37a8e0b792ff7357b418f5f7583d7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2bf21698815ca0be91758b7643472fe1bfaa654f2170100c4a617d29b56148e5 [INFO] running `Command { std: "docker" "start" "-a" "2bf21698815ca0be91758b7643472fe1bfaa654f2170100c4a617d29b56148e5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [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] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-1.6.0/src/lib.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `client` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-1.6.0/src/lib.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | #![feature = "client"] [INFO] [stdout] | ^^^^^^^ [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] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-1.6.0/src/lib.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `client` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-1.6.0/src/lib.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | #![feature = "client"] [INFO] [stdout] | ^^^^^^^ [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] 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] = 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] = note: `#[deny(patterns_in_fns_without_body)]` on by default [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] 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | value: &'a dyn ToForm, [INFO] [stdout] | +++ [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] | ^^^^^^ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn from(data_ref: &'a dyn ToJson) -> JsonParam<'a> { [INFO] [stdout] | +++ [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] | ^^^^^^ [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | fn from(data_ref: &'a dyn ToForm) -> FormParam<'a> { [INFO] [stdout] | +++ [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] = 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | impl<'a> From<&'a dyn ToForm> for FormParam<'a> { [INFO] [stdout] | +++ [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` (lib) due to 7 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2bf21698815ca0be91758b7643472fe1bfaa654f2170100c4a617d29b56148e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bf21698815ca0be91758b7643472fe1bfaa654f2170100c4a617d29b56148e5", kill_on_drop: false }` [INFO] [stdout] 2bf21698815ca0be91758b7643472fe1bfaa654f2170100c4a617d29b56148e5