[INFO] cloning repository https://github.com/Lactococcuslactis/gs2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lactococcuslactis/gs2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLactococcuslactis%2Fgs2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLactococcuslactis%2Fgs2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f5803272d844d816cbf0ec0dca9454ba470d0be0 [INFO] testing Lactococcuslactis/gs2 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLactococcuslactis%2Fgs2" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Lactococcuslactis/gs2 [INFO] finished tweaking git repo https://github.com/Lactococcuslactis/gs2 [INFO] tweaked toml for git repo https://github.com/Lactococcuslactis/gs2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Lactococcuslactis/gs2 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Lactococcuslactis/gs2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.32 [INFO] [stderr] Downloaded tokio-macros v1.6.0 [INFO] [stderr] Downloaded quote v1.0.10 [INFO] [stderr] Downloaded serde_urlencoded v0.7.0 [INFO] [stderr] Downloaded futures-task v0.3.18 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.28 [INFO] [stderr] Downloaded pkg-config v0.3.22 [INFO] [stderr] Downloaded futures-channel v0.3.18 [INFO] [stderr] Downloaded slab v0.4.5 [INFO] [stderr] Downloaded anyhow v1.0.48 [INFO] [stderr] Downloaded async-compression v0.3.8 [INFO] [stderr] Downloaded flate2 v1.0.22 [INFO] [stderr] Downloaded http v0.2.5 [INFO] [stderr] Downloaded serde_json v1.0.71 [INFO] [stderr] Downloaded ntapi v0.3.6 [INFO] [stderr] Downloaded bumpalo v3.8.0 [INFO] [stderr] Downloaded futures-util v0.3.18 [INFO] [stderr] Downloaded openssl v0.10.38 [INFO] [stderr] Downloaded h2 v0.3.7 [INFO] [stderr] Downloaded syn v1.0.81 [INFO] [stderr] Downloaded hyper v0.14.15 [INFO] [stderr] Downloaded reqwest v0.11.6 [INFO] [stderr] Downloaded tracing v0.1.29 [INFO] [stderr] Downloaded socket2 v0.4.2 [INFO] [stderr] Downloaded tracing-core v0.1.21 [INFO] [stderr] Downloaded openssl-sys v0.9.71 [INFO] [stderr] Downloaded core-foundation v0.9.2 [INFO] [stderr] Downloaded crc32fast v1.2.2 [INFO] [stderr] Downloaded httparse v1.5.1 [INFO] [stderr] Downloaded native-tls v0.2.8 [INFO] [stderr] Downloaded futures-sink v0.3.18 [INFO] [stderr] Downloaded ppv-lite86 v0.2.15 [INFO] [stderr] Downloaded futures-core v0.3.18 [INFO] [stderr] Downloaded tokio v1.14.0 [INFO] [stderr] Downloaded libc v0.2.108 [INFO] [stderr] Downloaded encoding_rs v0.8.29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 663012b9c5029b6fa655b6463de3c143e8ccc9688eae0695493370fbbb0254eb [INFO] running `Command { std: "docker" "start" "-a" "663012b9c5029b6fa655b6463de3c143e8ccc9688eae0695493370fbbb0254eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "663012b9c5029b6fa655b6463de3c143e8ccc9688eae0695493370fbbb0254eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "663012b9c5029b6fa655b6463de3c143e8ccc9688eae0695493370fbbb0254eb", kill_on_drop: false }` [INFO] [stdout] 663012b9c5029b6fa655b6463de3c143e8ccc9688eae0695493370fbbb0254eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 915214e8ff7326e1024a1a274d5db00bd979b55b86bd962873f1ca83ad234353 [INFO] running `Command { std: "docker" "start" "-a" "915214e8ff7326e1024a1a274d5db00bd979b55b86bd962873f1ca83ad234353", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crc32fast v1.2.2 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling anyhow v1.0.48 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling async-compression v0.3.8 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.6 [INFO] [stderr] Compiling genshin-signin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `icon` is never read [INFO] [stdout] --> src/api.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct Award { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub(crate) icon: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Award` has derived impls for the traits `Clone` and `Debug`, but these are 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: field `month` is never read [INFO] [stdout] --> src/api.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) struct AwardList { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 22 | pub(crate) awards: Vec, [INFO] [stdout] 23 | pub(crate) month: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AwardList` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first_bind` and `total_sign_day` are never read [INFO] [stdout] --> src/api.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) struct SigninInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 28 | pub(crate) first_bind: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub(crate) total_sign_day: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SigninInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/api.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) struct SigninResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 37 | pub(crate) code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SigninResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/api.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 41 | pub(crate) struct HoyolabGameTool { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 42 | pub(crate) id: i32, [INFO] [stdout] 43 | pub(crate) name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HoyolabGameTool` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `game_name` is never read [INFO] [stdout] --> src/api.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) struct HoyolabGame { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 49 | pub(crate) game_id: i32, [INFO] [stdout] 50 | pub(crate) game_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HoyolabGame` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reward` is never constructed [INFO] [stdout] --> src/signer.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct Reward { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.07s [INFO] running `Command { std: "docker" "inspect" "915214e8ff7326e1024a1a274d5db00bd979b55b86bd962873f1ca83ad234353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "915214e8ff7326e1024a1a274d5db00bd979b55b86bd962873f1ca83ad234353", kill_on_drop: false }` [INFO] [stdout] 915214e8ff7326e1024a1a274d5db00bd979b55b86bd962873f1ca83ad234353 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e945a07cf48baf3021295dd9b9c0780e70c9beb8df5002d109896ff66f04e56f [INFO] running `Command { std: "docker" "start" "-a" "e945a07cf48baf3021295dd9b9c0780e70c9beb8df5002d109896ff66f04e56f", kill_on_drop: false }` [INFO] [stderr] Compiling genshin-signin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `icon` is never read [INFO] [stdout] --> src/api.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct Award { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub(crate) icon: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Award` has derived impls for the traits `Clone` and `Debug`, but these are 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: field `month` is never read [INFO] [stdout] --> src/api.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) struct AwardList { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 22 | pub(crate) awards: Vec, [INFO] [stdout] 23 | pub(crate) month: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AwardList` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first_bind` and `total_sign_day` are never read [INFO] [stdout] --> src/api.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) struct SigninInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 28 | pub(crate) first_bind: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub(crate) total_sign_day: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SigninInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/api.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) struct SigninResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 37 | pub(crate) code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SigninResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/api.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 41 | pub(crate) struct HoyolabGameTool { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 42 | pub(crate) id: i32, [INFO] [stdout] 43 | pub(crate) name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HoyolabGameTool` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `game_name` is never read [INFO] [stdout] --> src/api.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) struct HoyolabGame { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 49 | pub(crate) game_id: i32, [INFO] [stdout] 50 | pub(crate) game_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HoyolabGame` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reward` is never constructed [INFO] [stdout] --> src/signer.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct Reward { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.89s [INFO] running `Command { std: "docker" "inspect" "e945a07cf48baf3021295dd9b9c0780e70c9beb8df5002d109896ff66f04e56f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e945a07cf48baf3021295dd9b9c0780e70c9beb8df5002d109896ff66f04e56f", kill_on_drop: false }` [INFO] [stdout] e945a07cf48baf3021295dd9b9c0780e70c9beb8df5002d109896ff66f04e56f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1b5073f0c10c3b77c9e38ec74fc1d935f559fd4a37a8243e6679619fd53d40ed [INFO] running `Command { std: "docker" "start" "-a" "1b5073f0c10c3b77c9e38ec74fc1d935f559fd4a37a8243e6679619fd53d40ed", kill_on_drop: false }` [INFO] [stderr] warning: field `icon` is never read [INFO] [stderr] --> src/api.rs:11:16 [INFO] [stderr] | [INFO] [stderr] 7 | pub(crate) struct Award { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 11 | pub(crate) icon: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Award` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `month` is never read [INFO] [stderr] --> src/api.rs:23:16 [INFO] [stderr] | [INFO] [stderr] 21 | pub(crate) struct AwardList { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 22 | pub(crate) awards: Vec, [INFO] [stderr] 23 | pub(crate) month: u8, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AwardList` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `first_bind` and `total_sign_day` are never read [INFO] [stderr] --> src/api.rs:28:16 [INFO] [stderr] | [INFO] [stderr] 27 | pub(crate) struct SigninInfo { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 28 | pub(crate) first_bind: bool, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 32 | pub(crate) total_sign_day: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SigninInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `code` is never read [INFO] [stderr] --> src/api.rs:37:16 [INFO] [stderr] | [INFO] [stderr] 36 | pub(crate) struct SigninResult { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 37 | pub(crate) code: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SigninResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/api.rs:43:16 [INFO] [stderr] | [INFO] [stderr] 41 | pub(crate) struct HoyolabGameTool { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 42 | pub(crate) id: i32, [INFO] [stderr] 43 | pub(crate) name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HoyolabGameTool` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `game_name` is never read [INFO] [stderr] --> src/api.rs:50:16 [INFO] [stderr] | [INFO] [stderr] 48 | pub(crate) struct HoyolabGame { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 49 | pub(crate) game_id: i32, [INFO] [stderr] 50 | pub(crate) game_name: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HoyolabGame` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Reward` is never constructed [INFO] [stderr] --> src/signer.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | pub(crate) struct Reward { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `genshin-signin` (bin "genshin-signin" test) generated 7 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/genshin_signin-5eb5ddac8ced6380) [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" "1b5073f0c10c3b77c9e38ec74fc1d935f559fd4a37a8243e6679619fd53d40ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b5073f0c10c3b77c9e38ec74fc1d935f559fd4a37a8243e6679619fd53d40ed", kill_on_drop: false }` [INFO] [stdout] 1b5073f0c10c3b77c9e38ec74fc1d935f559fd4a37a8243e6679619fd53d40ed