[INFO] cloning repository https://github.com/SkyTemple/pelipper-post-office [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SkyTemple/pelipper-post-office" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkyTemple%2Fpelipper-post-office", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkyTemple%2Fpelipper-post-office'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2cccb3eff3db5aa6e8b2dd1b9de2277f83b45580 [INFO] testing SkyTemple/pelipper-post-office against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkyTemple%2Fpelipper-post-office" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SkyTemple/pelipper-post-office [INFO] finished tweaking git repo https://github.com/SkyTemple/pelipper-post-office [INFO] tweaked toml for git repo https://github.com/SkyTemple/pelipper-post-office written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SkyTemple/pelipper-post-office 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/SkyTemple/pelipper-post-office 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enum-as-inner v0.3.4 [INFO] [stderr] Downloaded stderrlog v0.5.4 [INFO] [stderr] Downloaded packed_struct_codegen v0.10.1 [INFO] [stderr] Downloaded const_format_proc_macros v0.2.32 [INFO] [stderr] Downloaded const_format v0.2.32 [INFO] [stderr] Downloaded trust-dns-server v0.20.4 [INFO] [stderr] Downloaded trust-dns-client v0.20.4 [INFO] [stderr] Downloaded packed_struct v0.10.1 [INFO] [stderr] Downloaded trust-dns-proto v0.20.4 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f0d5a4feb8ff23a342054778113d01550b005d04780c0126668fc7c63457603 [INFO] running `Command { std: "docker" "start" "-a" "1f0d5a4feb8ff23a342054778113d01550b005d04780c0126668fc7c63457603", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f0d5a4feb8ff23a342054778113d01550b005d04780c0126668fc7c63457603", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f0d5a4feb8ff23a342054778113d01550b005d04780c0126668fc7c63457603", kill_on_drop: false }` [INFO] [stdout] 1f0d5a4feb8ff23a342054778113d01550b005d04780c0126668fc7c63457603 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3ddcfb35d6f02d6124cdbf56a1e184f75e800f2f5b0b865d30fe82edee48ae0 [INFO] running `Command { std: "docker" "start" "-a" "a3ddcfb35d6f02d6124cdbf56a1e184f75e800f2f5b0b865d30fe82edee48ae0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling deranged v0.3.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling time v0.3.30 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling packed_struct v0.10.1 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling clru v0.6.1 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling const_format v0.2.32 [INFO] [stderr] Compiling stderrlog v0.5.4 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling packed_struct_codegen v0.10.1 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling futures-executor v0.3.29 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling trust-dns-proto v0.20.4 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling trust-dns-client v0.20.4 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling trust-dns-server v0.20.4 [INFO] [stderr] Compiling pelipper-post-office v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `userid_base32` [INFO] [stdout] --> src/backend/users.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::util::{md5sum, userid_base32}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key` is never read [INFO] [stdout] --> src/backend/games.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 4 | pub code: String, [INFO] [stdout] 5 | key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains`, `get_gamekey`, and `get_gameids` are never used [INFO] [stdout] --> src/backend/games.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl GamesBackend { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn contains(&self, gamecode: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn get_gamekey(&self, gamecode: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn get_gameids(&self, gamecode: &str) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/backend/users.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct GsAccount { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 13 | apinfo: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | birth: (u8, u8), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | devname: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | ingamesn: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | pub gamecd: String, [INFO] [stdout] 18 | gsbrcd: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | lang: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | macadr: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | makercd: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | passwd: u16, [INFO] [stdout] 23 | sdkver: (u8, u8), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | unitcd: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GsAccount` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `config_dir` is never used [INFO] [stdout] --> src/config.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn config_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_gamename` is never used [INFO] [stdout] --> src/gs_udp.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl PeerState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | fn get_gamename(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_cr` is never used [INFO] [stdout] --> src/util.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn decode_cr(src: &[u8], key: &[u8]) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gsvalfunc` is never used [INFO] [stdout] --> src/util.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn gsvalfunc(reg: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `userid_base32` is never used [INFO] [stdout] --> src/util.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | pub(crate) fn userid_base32(input: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "a3ddcfb35d6f02d6124cdbf56a1e184f75e800f2f5b0b865d30fe82edee48ae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3ddcfb35d6f02d6124cdbf56a1e184f75e800f2f5b0b865d30fe82edee48ae0", kill_on_drop: false }` [INFO] [stdout] a3ddcfb35d6f02d6124cdbf56a1e184f75e800f2f5b0b865d30fe82edee48ae0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ae1f55dad1ed190e1c113d277a9aaa8104c7a5f6350061cfac2bc1c3e825dda [INFO] running `Command { std: "docker" "start" "-a" "8ae1f55dad1ed190e1c113d277a9aaa8104c7a5f6350061cfac2bc1c3e825dda", kill_on_drop: false }` [INFO] [stderr] Compiling pelipper-post-office v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `userid_base32` [INFO] [stdout] --> src/backend/users.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::util::{md5sum, userid_base32}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key` is never read [INFO] [stdout] --> src/backend/games.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 4 | pub code: String, [INFO] [stdout] 5 | key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains`, `get_gamekey`, and `get_gameids` are never used [INFO] [stdout] --> src/backend/games.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl GamesBackend { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn contains(&self, gamecode: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn get_gamekey(&self, gamecode: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn get_gameids(&self, gamecode: &str) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/backend/users.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct GsAccount { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 13 | apinfo: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | birth: (u8, u8), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | devname: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | ingamesn: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | pub gamecd: String, [INFO] [stdout] 18 | gsbrcd: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | lang: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | macadr: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | makercd: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | passwd: u16, [INFO] [stdout] 23 | sdkver: (u8, u8), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | unitcd: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GsAccount` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `config_dir` is never used [INFO] [stdout] --> src/config.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn config_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_gamename` is never used [INFO] [stdout] --> src/gs_udp.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl PeerState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | fn get_gamename(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_cr` is never used [INFO] [stdout] --> src/util.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn decode_cr(src: &[u8], key: &[u8]) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gsvalfunc` is never used [INFO] [stdout] --> src/util.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn gsvalfunc(reg: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.93s [INFO] running `Command { std: "docker" "inspect" "8ae1f55dad1ed190e1c113d277a9aaa8104c7a5f6350061cfac2bc1c3e825dda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ae1f55dad1ed190e1c113d277a9aaa8104c7a5f6350061cfac2bc1c3e825dda", kill_on_drop: false }` [INFO] [stdout] 8ae1f55dad1ed190e1c113d277a9aaa8104c7a5f6350061cfac2bc1c3e825dda [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1f32c75f2b647fad26a9e0c22f9399647359f4e148e7fe87d7bc0ed8bef1501e [INFO] running `Command { std: "docker" "start" "-a" "1f32c75f2b647fad26a9e0c22f9399647359f4e148e7fe87d7bc0ed8bef1501e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `userid_base32` [INFO] [stdout] [INFO] [stderr] --> src/backend/users.rs:2:27 [INFO] [stdout] running 1 test [INFO] [stderr] | [INFO] [stdout] test util::test_userid_base32 ... ok [INFO] [stderr] 2 | use crate::util::{md5sum, userid_base32}; [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `key` is never read [INFO] [stderr] --> src/backend/games.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct Game { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] 4 | pub code: String, [INFO] [stderr] 5 | key: String, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `contains`, `get_gamekey`, and `get_gameids` are never used [INFO] [stderr] --> src/backend/games.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl GamesBackend { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 28 | pub fn contains(&self, gamecode: &str) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 32 | pub async fn get_gamekey(&self, gamecode: &str) -> Option<&String> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | pub async fn get_gameids(&self, gamecode: &str) -> Option<&Vec> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/backend/users.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct GsAccount { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 13 | apinfo: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 14 | birth: (u8, u8), [INFO] [stderr] | ^^^^^ [INFO] [stderr] 15 | devname: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 16 | ingamesn: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 17 | pub gamecd: String, [INFO] [stderr] 18 | gsbrcd: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 19 | lang: u8, [INFO] [stderr] | ^^^^ [INFO] [stderr] 20 | macadr: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 21 | makercd: u8, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 22 | passwd: u16, [INFO] [stderr] 23 | sdkver: (u8, u8), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 24 | unitcd: u32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GsAccount` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `config_dir` is never used [INFO] [stderr] --> src/config.rs:6:15 [INFO] [stderr] | [INFO] [stderr] 6 | pub(crate) fn config_dir() -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_gamename` is never used [INFO] [stderr] --> src/gs_udp.rs:76:8 [INFO] [stderr] | [INFO] [stderr] 63 | impl PeerState { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 76 | fn get_gamename(&self) -> Option<&String> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `decode_cr` is never used [INFO] [stderr] --> src/util.rs:72:8 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn decode_cr(src: &[u8], key: &[u8]) -> Option> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `gsvalfunc` is never used [INFO] [stderr] --> src/util.rs:119:4 [INFO] [stderr] | [INFO] [stderr] 119 | fn gsvalfunc(reg: u8) -> u8 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `pelipper-post-office` (bin "pelipper-post-office" test) generated 8 warnings (run `cargo fix --bin "pelipper-post-office" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pelipper_post_office-dfb8eabca3a7bbe8) [INFO] running `Command { std: "docker" "inspect" "1f32c75f2b647fad26a9e0c22f9399647359f4e148e7fe87d7bc0ed8bef1501e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f32c75f2b647fad26a9e0c22f9399647359f4e148e7fe87d7bc0ed8bef1501e", kill_on_drop: false }` [INFO] [stdout] 1f32c75f2b647fad26a9e0c22f9399647359f4e148e7fe87d7bc0ed8bef1501e