[INFO] fetching crate vesync 0.1.0... [INFO] building vesync-0.1.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate vesync 0.1.0 into /workspace/builds/worker-7-tc1/source [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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate vesync 0.1.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 82 packages to latest compatible versions [INFO] [stderr] Adding attohttpc v0.14.0 (available: v0.30.1) [INFO] [stderr] Adding md5 v0.7.0 (available: v0.8.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6a36b6f78b8244229b050b353147d0eec85b0bb6b2242c8cadf63eb2819a55a [INFO] running `Command { std: "docker" "start" "-a" "d6a36b6f78b8244229b050b353147d0eec85b0bb6b2242c8cadf63eb2819a55a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6a36b6f78b8244229b050b353147d0eec85b0bb6b2242c8cadf63eb2819a55a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6a36b6f78b8244229b050b353147d0eec85b0bb6b2242c8cadf63eb2819a55a", kill_on_drop: false }` [INFO] [stdout] d6a36b6f78b8244229b050b353147d0eec85b0bb6b2242c8cadf63eb2819a55a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8dda7a47d22268a20e6cead939e65eaaceb60003b4fc231c46154e58135d0b02 [INFO] running `Command { std: "docker" "start" "-a" "8dda7a47d22268a20e6cead939e65eaaceb60003b4fc231c46154e58135d0b02", kill_on_drop: false }` [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [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_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling attohttpc v0.14.0 [INFO] [stderr] Compiling vesync v0.1.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/device.rs:54:66 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_devices(account: &'a VeSyncAccount) -> Result, ()> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_devices(account: &'a VeSyncAccount) -> Result>, ()> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_devices(&self) -> Result, ()> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_devices(&self) -> Result>, ()> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.52s [INFO] running `Command { std: "docker" "inspect" "8dda7a47d22268a20e6cead939e65eaaceb60003b4fc231c46154e58135d0b02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dda7a47d22268a20e6cead939e65eaaceb60003b4fc231c46154e58135d0b02", kill_on_drop: false }` [INFO] [stdout] 8dda7a47d22268a20e6cead939e65eaaceb60003b4fc231c46154e58135d0b02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddead5f8b6c75b15c93eed64329ecb3467a3cedac8e3a274f2a5d0ad64cdda2e [INFO] running `Command { std: "docker" "start" "-a" "ddead5f8b6c75b15c93eed64329ecb3467a3cedac8e3a274f2a5d0ad64cdda2e", kill_on_drop: false }` [INFO] [stderr] Compiling vesync v0.1.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/device.rs:54:66 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_devices(account: &'a VeSyncAccount) -> Result, ()> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_devices(account: &'a VeSyncAccount) -> Result>, ()> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_devices(&self) -> Result, ()> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_devices(&self) -> Result>, ()> { [INFO] [stdout] | ++++ [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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/device.rs:54:66 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_devices(account: &'a VeSyncAccount) -> Result, ()> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_devices(account: &'a VeSyncAccount) -> Result>, ()> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_devices(&self) -> Result, ()> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_devices(&self) -> Result>, ()> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "ddead5f8b6c75b15c93eed64329ecb3467a3cedac8e3a274f2a5d0ad64cdda2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddead5f8b6c75b15c93eed64329ecb3467a3cedac8e3a274f2a5d0ad64cdda2e", kill_on_drop: false }` [INFO] [stdout] ddead5f8b6c75b15c93eed64329ecb3467a3cedac8e3a274f2a5d0ad64cdda2e