[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] checking Lactococcuslactis/gs2/f5803272d844d816cbf0ec0dca9454ba470d0be0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLactococcuslactis%2Fgs2" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lactococcuslactis/gs2 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.71 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd016554e40a39f9a3cc9448d59235d9f7016bfd26adf8459e976d65667d7ae2 [INFO] running `Command { std: "docker" "start" "-a" "fd016554e40a39f9a3cc9448d59235d9f7016bfd26adf8459e976d65667d7ae2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd016554e40a39f9a3cc9448d59235d9f7016bfd26adf8459e976d65667d7ae2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd016554e40a39f9a3cc9448d59235d9f7016bfd26adf8459e976d65667d7ae2", kill_on_drop: false }` [INFO] [stdout] fd016554e40a39f9a3cc9448d59235d9f7016bfd26adf8459e976d65667d7ae2 [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=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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a448cba999c8bffc91fd2d8275040258c5e6dbd7f5c50d839a015f732559433a [INFO] running `Command { std: "docker" "start" "-a" "a448cba999c8bffc91fd2d8275040258c5e6dbd7f5c50d839a015f732559433a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking futures-sink v0.3.18 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling crc32fast v1.2.2 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling anyhow v1.0.48 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking async-compression v0.3.8 [INFO] [stderr] Checking h2 v0.3.7 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking hyper v0.14.15 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.6 [INFO] [stderr] Checking 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)]` 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] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [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)]` 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] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.94s [INFO] running `Command { std: "docker" "inspect" "a448cba999c8bffc91fd2d8275040258c5e6dbd7f5c50d839a015f732559433a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a448cba999c8bffc91fd2d8275040258c5e6dbd7f5c50d839a015f732559433a", kill_on_drop: false }` [INFO] [stdout] a448cba999c8bffc91fd2d8275040258c5e6dbd7f5c50d839a015f732559433a