[INFO] fetching crate vesync 0.1.0... [INFO] checking vesync-0.1.0 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] extracting crate vesync 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate vesync 0.1.0 on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate vesync 0.1.0 [INFO] finished tweaking crates.io crate vesync 0.1.0 [INFO] tweaked toml for crates.io crate vesync 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 63 packages [INFO] [stderr] Adding attohttpc v0.14.0 (latest: v0.28.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding foreign-types v0.3.2 (latest: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding http v0.2.12 (latest: v1.1.0) [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded attohttpc v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 923add54896c7169cb2b6fc7c60730212268f3fc69235bb3e1da97704daf8a02 [INFO] running `Command { std: "docker" "start" "-a" "923add54896c7169cb2b6fc7c60730212268f3fc69235bb3e1da97704daf8a02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "923add54896c7169cb2b6fc7c60730212268f3fc69235bb3e1da97704daf8a02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "923add54896c7169cb2b6fc7c60730212268f3fc69235bb3e1da97704daf8a02", kill_on_drop: false }` [INFO] [stdout] 923add54896c7169cb2b6fc7c60730212268f3fc69235bb3e1da97704daf8a02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 634fbf6990c10e0b60cf6cc142b0afa582568b815aaf5937b960b9be5c6ac8e3 [INFO] running `Command { std: "docker" "start" "-a" "634fbf6990c10e0b60cf6cc142b0afa582568b815aaf5937b960b9be5c6ac8e3", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking attohttpc v0.14.0 [INFO] [stderr] Checking vesync v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `attohttpc` is imported redundantly [INFO] [stdout] --> src/account.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use attohttpc; [INFO] [stdout] | ^^^^^^^^^ the item `attohttpc` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `attohttpc` is imported redundantly [INFO] [stdout] --> src/account.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use attohttpc; [INFO] [stdout] | ^^^^^^^^^ the item `attohttpc` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `deviceImg`, `connectionType`, `deviceType`, `model`, and `currentFirmVersion` are never read [INFO] [stdout] --> src/device.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 171 | struct DeviceResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 172 | pub deviceName: String, // plaintext name of device [INFO] [stdout] 173 | pub deviceImg: String, // URL [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub connectionType: String, // 'wifi', [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 177 | pub connectionStatus: ConnectionStatus, [INFO] [stdout] 178 | pub deviceType: String, // 'wifi-switch-1.3', [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 179 | pub model: String, // What are the known values? 'wifi-switch', [INFO] [stdout] | ^^^^^ [INFO] [stdout] 180 | pub currentFirmVersion: String, // eg, '1.99', '2.123'; maybe we can convert to a number? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceResponse` 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 `nickName`, `avatarIcon`, `userType`, `acceptLanguage`, and `termsStatus` are never read [INFO] [stdout] --> src/account.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 50 | struct AccountResponse { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | pub nickName: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 54 | pub avatarIcon: String, // is a URL [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 55 | pub userType: i32, // probably an enum? [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 56 | pub acceptLanguage: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub termsStatus: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccountResponse` 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 `deviceImg`, `connectionType`, `deviceType`, `model`, and `currentFirmVersion` are never read [INFO] [stdout] --> src/device.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 171 | struct DeviceResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 172 | pub deviceName: String, // plaintext name of device [INFO] [stdout] 173 | pub deviceImg: String, // URL [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub connectionType: String, // 'wifi', [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 177 | pub connectionStatus: ConnectionStatus, [INFO] [stdout] 178 | pub deviceType: String, // 'wifi-switch-1.3', [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 179 | pub model: String, // What are the known values? 'wifi-switch', [INFO] [stdout] | ^^^^^ [INFO] [stdout] 180 | pub currentFirmVersion: String, // eg, '1.99', '2.123'; maybe we can convert to a number? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceResponse` 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 `nickName`, `avatarIcon`, `userType`, `acceptLanguage`, and `termsStatus` are never read [INFO] [stdout] --> src/account.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 50 | struct AccountResponse { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | pub nickName: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 54 | pub avatarIcon: String, // is a URL [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 55 | pub userType: i32, // probably an enum? [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 56 | pub acceptLanguage: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub termsStatus: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccountResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.49s [INFO] running `Command { std: "docker" "inspect" "634fbf6990c10e0b60cf6cc142b0afa582568b815aaf5937b960b9be5c6ac8e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "634fbf6990c10e0b60cf6cc142b0afa582568b815aaf5937b960b9be5c6ac8e3", kill_on_drop: false }` [INFO] [stdout] 634fbf6990c10e0b60cf6cc142b0afa582568b815aaf5937b960b9be5c6ac8e3