[INFO] fetching crate vesync 0.1.0... [INFO] testing vesync-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate vesync 0.1.0 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate vesync 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05fca2809279b50f256d8f23039a87b560c139f3d0a7e2f5eed859488a5e08e6 [INFO] running `Command { std: "docker" "start" "-a" "05fca2809279b50f256d8f23039a87b560c139f3d0a7e2f5eed859488a5e08e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05fca2809279b50f256d8f23039a87b560c139f3d0a7e2f5eed859488a5e08e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05fca2809279b50f256d8f23039a87b560c139f3d0a7e2f5eed859488a5e08e6", kill_on_drop: false }` [INFO] [stdout] 05fca2809279b50f256d8f23039a87b560c139f3d0a7e2f5eed859488a5e08e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90d71a664820f1e2528ea9a7bb442d79de8dd38c49deefcb25482fded69229cb [INFO] running `Command { std: "docker" "start" "-a" "90d71a664820f1e2528ea9a7bb442d79de8dd38c49deefcb25482fded69229cb", kill_on_drop: false }` [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [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.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [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 15.04s [INFO] running `Command { std: "docker" "inspect" "90d71a664820f1e2528ea9a7bb442d79de8dd38c49deefcb25482fded69229cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90d71a664820f1e2528ea9a7bb442d79de8dd38c49deefcb25482fded69229cb", kill_on_drop: false }` [INFO] [stdout] 90d71a664820f1e2528ea9a7bb442d79de8dd38c49deefcb25482fded69229cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b337c8ae8127476e4cca749a43ae3dc72fd810274f4c7fac96713a01074f8f25 [INFO] running `Command { std: "docker" "start" "-a" "b337c8ae8127476e4cca749a43ae3dc72fd810274f4c7fac96713a01074f8f25", kill_on_drop: false }` [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] [stderr] Compiling vesync v0.1.0 (/opt/rustwide/workdir) [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" "b337c8ae8127476e4cca749a43ae3dc72fd810274f4c7fac96713a01074f8f25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b337c8ae8127476e4cca749a43ae3dc72fd810274f4c7fac96713a01074f8f25", kill_on_drop: false }` [INFO] [stdout] b337c8ae8127476e4cca749a43ae3dc72fd810274f4c7fac96713a01074f8f25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d88c9412b752863d96108c0cd170930978530ea1213f6cb9a85d59f82e80c29c [INFO] running `Command { std: "docker" "start" "-a" "d88c9412b752863d96108c0cd170930978530ea1213f6cb9a85d59f82e80c29c", kill_on_drop: false }` [INFO] [stderr] warning: fields `deviceImg`, `connectionType`, `deviceType`, `model`, and `currentFirmVersion` are never read [INFO] [stderr] --> src/device.rs:173:9 [INFO] [stderr] | [INFO] [stderr] 171 | struct DeviceResponse { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 172 | pub deviceName: String, // plaintext name of device [INFO] [stderr] 173 | pub deviceImg: String, // URL [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 176 | pub connectionType: String, // 'wifi', [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 177 | pub connectionStatus: ConnectionStatus, [INFO] [stderr] 178 | pub deviceType: String, // 'wifi-switch-1.3', [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 179 | pub model: String, // What are the known values? 'wifi-switch', [INFO] [stderr] | ^^^^^ [INFO] [stderr] 180 | pub currentFirmVersion: String, // eg, '1.99', '2.123'; maybe we can convert to a number? [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DeviceResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `nickName`, `avatarIcon`, `userType`, `acceptLanguage`, and `termsStatus` are never read [INFO] [stderr] --> src/account.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 50 | struct AccountResponse { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 53 | pub nickName: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 54 | pub avatarIcon: String, // is a URL [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 55 | pub userType: i32, // probably an enum? [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 56 | pub acceptLanguage: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 57 | pub termsStatus: bool, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AccountResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/device.rs:54:66 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn get_devices(account: &'a VeSyncAccount) -> Result, ()> { [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 54 | pub fn get_devices(account: &'a VeSyncAccount) -> Result>, ()> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/account.rs:36:24 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn get_devices(&self) -> Result, ()> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 36 | pub fn get_devices(&self) -> Result>, ()> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `vesync` (lib) generated 4 warnings (run `cargo fix --lib -p vesync` to apply 2 suggestions) [INFO] [stderr] warning: `vesync` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vesync-1d7caa2448db0d23) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test account::tests::test_hash ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests vesync [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d88c9412b752863d96108c0cd170930978530ea1213f6cb9a85d59f82e80c29c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d88c9412b752863d96108c0cd170930978530ea1213f6cb9a85d59f82e80c29c", kill_on_drop: false }` [INFO] [stdout] d88c9412b752863d96108c0cd170930978530ea1213f6cb9a85d59f82e80c29c