[INFO] fetching crate public-api-rs 0.1.3... [INFO] testing public-api-rs-0.1.3 against 1.73.0 for beta-1.74-1 [INFO] extracting crate public-api-rs 0.1.3 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate public-api-rs 0.1.3 on toolchain 1.73.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.73.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate public-api-rs 0.1.3 [INFO] finished tweaking crates.io crate public-api-rs 0.1.3 [INFO] tweaked toml for crates.io crate public-api-rs 0.1.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.73.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.73.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25f50fc365e48f1ccdb3d8d98a72e50d489be3315459640b24a9f53a8b6d77f4 [INFO] running `Command { std: "docker" "start" "-a" "25f50fc365e48f1ccdb3d8d98a72e50d489be3315459640b24a9f53a8b6d77f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25f50fc365e48f1ccdb3d8d98a72e50d489be3315459640b24a9f53a8b6d77f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25f50fc365e48f1ccdb3d8d98a72e50d489be3315459640b24a9f53a8b6d77f4", kill_on_drop: false }` [INFO] [stdout] 25f50fc365e48f1ccdb3d8d98a72e50d489be3315459640b24a9f53a8b6d77f4 [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=warn" "-e" "RUSTDOCFLAGS=--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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 622bd1374b23bec7bf74ba49c8d753d24b84c13bee065f0b0a3199b4226a027f [INFO] running `Command { std: "docker" "start" "-a" "622bd1374b23bec7bf74ba49c8d753d24b84c13bee065f0b0a3199b4226a027f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling tokio-util v0.7.9 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling regex-automata v0.3.9 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling regex v1.9.6 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling public-api-rs v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0446]: crate-private type `StatResult` in public interface [INFO] [stdout] --> src/bilibili/user.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct StatResult { [INFO] [stdout] | ---------------------------- `StatResult` declared as crate-private [INFO] [stdout] ... [INFO] [stdout] 21 | / pub async fn get_stat(vmid: T) -> Result [INFO] [stdout] 22 | | where [INFO] [stdout] 23 | | T: Into, [INFO] [stdout] | |____________________^ can't leak crate-private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mid`, `following`, `whisper`, `black`, and `follower` are never read [INFO] [stdout] --> src/bilibili/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Stat { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | /// 用户id [INFO] [stdout] 11 | mid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | /// 关注数 [INFO] [stdout] 13 | following: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | /// [INFO] [stdout] 15 | whisper: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | /// [INFO] [stdout] 17 | black: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | /// 粉丝数 [INFO] [stdout] 19 | follower: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `message`, and `ttl` are never read [INFO] [stdout] --> src/bilibili/user.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct StatResult { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 6 | pub code: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub ttl: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/weather/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Weather { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | ///当前温度 [INFO] [stdout] 11 | degree: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | humidity: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | weather: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | weather_code: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | wind_direction: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | wind_power: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | aqi: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | aqi_level: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | aqi_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | max_degree: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | min_degree: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Weather` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `status` are never read [INFO] [stdout] --> src/weather/qq.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct QQWeatherResult { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 6 | pub data: QQWeatherResultData, [INFO] [stdout] 7 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub status: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QQWeatherResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `update_time` is never read [INFO] [stdout] --> src/weather/qq.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) struct QQWeatherResultDataAir { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub update_time: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QQWeatherResultDataAir` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `weather_short` and `update_time` are never read [INFO] [stdout] --> src/weather/qq.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) struct QQWeatherResultDataObserve { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub weather_short: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub update_time: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QQWeatherResultDataObserve` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0446`. [INFO] [stdout] [INFO] [stderr] error: could not compile `public-api-rs` (lib) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "622bd1374b23bec7bf74ba49c8d753d24b84c13bee065f0b0a3199b4226a027f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "622bd1374b23bec7bf74ba49c8d753d24b84c13bee065f0b0a3199b4226a027f", kill_on_drop: false }` [INFO] [stdout] 622bd1374b23bec7bf74ba49c8d753d24b84c13bee065f0b0a3199b4226a027f