[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 try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLactococcuslactis%2Fgs2" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lactococcuslactis/gs2 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-tc2/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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a7137e25aad5482ee6ae19731999dbafa4374347441bf040884ab4cd737580d [INFO] running `Command { std: "docker" "start" "-a" "3a7137e25aad5482ee6ae19731999dbafa4374347441bf040884ab4cd737580d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a7137e25aad5482ee6ae19731999dbafa4374347441bf040884ab4cd737580d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a7137e25aad5482ee6ae19731999dbafa4374347441bf040884ab4cd737580d", kill_on_drop: false }` [INFO] [stdout] 3a7137e25aad5482ee6ae19731999dbafa4374347441bf040884ab4cd737580d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 532c6eaff535869e1e7c55537443d79f3cb55d77943f5572b302b55aaca460ca [INFO] running `Command { std: "docker" "start" "-a" "532c6eaff535869e1e7c55537443d79f3cb55d77943f5572b302b55aaca460ca", 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] Checking pin-project-lite v0.2.7 [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 openssl v0.10.38 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling crc32fast v1.2.2 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking futures-sink v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling anyhow v1.0.48 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking http-body v0.4.4 [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 28.18s [INFO] running `Command { std: "docker" "inspect" "532c6eaff535869e1e7c55537443d79f3cb55d77943f5572b302b55aaca460ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "532c6eaff535869e1e7c55537443d79f3cb55d77943f5572b302b55aaca460ca", kill_on_drop: false }` [INFO] [stdout] 532c6eaff535869e1e7c55537443d79f3cb55d77943f5572b302b55aaca460ca