[INFO] cloning repository https://github.com/yorunoken/hanami-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yorunoken/hanami-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyorunoken%2Fhanami-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyorunoken%2Fhanami-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e1fb276c9e9fe9bd021255b218f3fd9f4eaca58b [INFO] testing yorunoken/hanami-rust against master#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyorunoken%2Fhanami-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yorunoken/hanami-rust on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yorunoken/hanami-rust [INFO] finished tweaking git repo https://github.com/yorunoken/hanami-rust [INFO] tweaked toml for git repo https://github.com/yorunoken/hanami-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yorunoken/hanami-rust 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" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.62 [INFO] [stderr] Downloaded serde_cow v0.1.0 [INFO] [stderr] Downloaded typesize-derive v0.1.7 [INFO] [stderr] Downloaded levenshtein v1.0.5 [INFO] [stderr] Downloaded typemap_rev v0.3.0 [INFO] [stderr] Downloaded sqlx-macros v0.8.1 [INFO] [stderr] Downloaded leaky-bucket-lite v0.5.2 [INFO] [stderr] Downloaded smallstr v0.3.0 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.1 [INFO] [stderr] Downloaded command_attr v0.5.2 [INFO] [stderr] Downloaded mini-moka v0.10.3 [INFO] [stderr] Downloaded rosu-mods v0.1.0 [INFO] [stderr] Downloaded rosu-v2 v0.9.0 [INFO] [stderr] Downloaded sqlx-core v0.8.1 [INFO] [stderr] Downloaded sqlx-postgres v0.8.1 [INFO] [stderr] Downloaded rosu-pp v1.1.0 [INFO] [stderr] Downloaded sqlx v0.8.1 [INFO] [stderr] Downloaded rosu-map v0.1.1 [INFO] [stderr] Downloaded syn v2.0.71 [INFO] [stderr] Downloaded webpki-roots v0.26.3 [INFO] [stderr] Downloaded rustls-webpki v0.102.5 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.1 [INFO] [stderr] Downloaded sqlx-mysql v0.8.1 [INFO] [stderr] Downloaded skeptic v0.13.7 [INFO] [stderr] Downloaded typesize v0.1.7 [INFO] [stderr] Downloaded bytecount v0.6.8 [INFO] [stderr] Downloaded uwl v0.6.0 [INFO] [stderr] Downloaded thiserror v1.0.62 [INFO] [stderr] Downloaded rustls v0.23.11 [INFO] [stderr] Downloaded serenity v0.12.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 391334dde0eee531f96b13b0602899819dd8df9b074037911a4f3641cd4aa9c3 [INFO] running `Command { std: "docker" "start" "-a" "391334dde0eee531f96b13b0602899819dd8df9b074037911a4f3641cd4aa9c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "391334dde0eee531f96b13b0602899819dd8df9b074037911a4f3641cd4aa9c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "391334dde0eee531f96b13b0602899819dd8df9b074037911a4f3641cd4aa9c3", kill_on_drop: false }` [INFO] [stdout] 391334dde0eee531f96b13b0602899819dd8df9b074037911a4f3641cd4aa9c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 623d8c9acbc60a5454d0b7ec7b63d0303d6c60680946a67b0729609cf0fa356e [INFO] running `Command { std: "docker" "start" "-a" "623d8c9acbc60a5454d0b7ec7b63d0303d6c60680946a67b0729609cf0fa356e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling tokio v1.39.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling webpki-roots v0.26.3 [INFO] [stderr] Compiling serenity v0.12.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling dashmap v6.0.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling rosu-map v0.1.1 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling rustls-webpki v0.102.5 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling command_attr v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling leaky-bucket-lite v0.5.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling rosu-mods v0.1.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling smallstr v0.3.0 [INFO] [stderr] Compiling serde_cow v0.1.0 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling sqlx-core v0.8.1 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling rosu-pp v1.1.0 [INFO] [stderr] Compiling sqlx-sqlite v0.8.1 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.1 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling sqlx-macros v0.8.1 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling rosu-v2 v0.9.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.7 [INFO] [stderr] Compiling sqlx v0.8.1 [INFO] [stderr] Compiling hanami-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/osu/profile.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | async fn profile(ctx: &Context, msg: &Message, mode: GameMode) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/commands/osu/profile.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | async fn profile(ctx: &Context, msg: &Message, mode: GameMode) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/commands/osu/profile.rs:63:48 [INFO] [stdout] | [INFO] [stdout] 63 | async fn profile(ctx: &Context, msg: &Message, mode: GameMode) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `option` [INFO] [stdout] --> src/commands/osu/profile.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let option = ProfileT::args(mode, args); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `profile` is never used [INFO] [stdout] --> src/commands/osu/profile.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | async fn profile(ctx: &Context, msg: &Message, mode: GameMode) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `mode` are never read [INFO] [stdout] --> src/commands/osu/profile.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct ProfileT { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 66 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | mode: GameMode, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/services/database.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Database(pub SqlitePool); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/services/osu.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct OsuClient(pub Osu); [INFO] [stdout] | --------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Grades` is never constructed [INFO] [stdout] --> src/utils/emojis.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Grades; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated constants are never used [INFO] [stdout] --> src/utils/emojis.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 3 | impl Grades { [INFO] [stdout] | ----------- associated constants in this implementation [INFO] [stdout] 4 | pub const XH: &'static str = "<:XH_:1057763296717045891>"; [INFO] [stdout] | ^^ [INFO] [stdout] 5 | pub const X: &'static str = "<:X_:1057763294707974215>"; [INFO] [stdout] | ^ [INFO] [stdout] 6 | pub const SH: &'static str = "<:SH_:1057763293491642568>"; [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub const S: &'static str = "<:S_:1057763291998474283>"; [INFO] [stdout] | ^ [INFO] [stdout] 8 | pub const A: &'static str = "<:A_:1057763284327080036>"; [INFO] [stdout] | ^ [INFO] [stdout] 9 | pub const B: &'static str = "<:B_:1057763286097076405>"; [INFO] [stdout] | ^ [INFO] [stdout] 10 | pub const C: &'static str = "<:C_:1057763287565086790>"; [INFO] [stdout] | ^ [INFO] [stdout] 11 | pub const D: &'static str = "<:D_:1057763289121173554>"; [INFO] [stdout] | ^ [INFO] [stdout] 12 | pub const F: &'static str = "<:F_:1057763290484318360>"; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_flags` is never used [INFO] [stdout] --> src/utils/helper.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_flags(args: Vec<&str>) -> (HashMap<&str, &str>, Vec<&str>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_mods` is never used [INFO] [stdout] --> src/utils/helper.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_mods(args: Vec<&str>) -> (Vec<&str>, Vec<&str>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BeatmapURL` is never constructed [INFO] [stdout] --> src/utils/helper.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct BeatmapURL { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_url` is never used [INFO] [stdout] --> src/utils/helper.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn parse_url(url: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_beatmap_link` is never used [INFO] [stdout] --> src/utils/helper.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get_beatmap_link(args: Vec<&str>) -> (Option, Vec<&str>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_username` is never used [INFO] [stdout] --> src/utils/helper.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn get_username(args: Vec<&str>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 40s [INFO] running `Command { std: "docker" "inspect" "623d8c9acbc60a5454d0b7ec7b63d0303d6c60680946a67b0729609cf0fa356e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "623d8c9acbc60a5454d0b7ec7b63d0303d6c60680946a67b0729609cf0fa356e", kill_on_drop: false }` [INFO] [stdout] 623d8c9acbc60a5454d0b7ec7b63d0303d6c60680946a67b0729609cf0fa356e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6dae85552bd85460f693c593994a382d9250a8e53650a7197482a5e0b7d2ca50 [INFO] running `Command { std: "docker" "start" "-a" "6dae85552bd85460f693c593994a382d9250a8e53650a7197482a5e0b7d2ca50", kill_on_drop: false }` [INFO] [stderr] Compiling hanami-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/osu/profile.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | async fn profile(ctx: &Context, msg: &Message, mode: GameMode) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/commands/osu/profile.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | async fn profile(ctx: &Context, msg: &Message, mode: GameMode) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/commands/osu/profile.rs:63:48 [INFO] [stdout] | [INFO] [stdout] 63 | async fn profile(ctx: &Context, msg: &Message, mode: GameMode) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `option` [INFO] [stdout] --> src/commands/osu/profile.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let option = ProfileT::args(mode, args); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `profile` is never used [INFO] [stdout] --> src/commands/osu/profile.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | async fn profile(ctx: &Context, msg: &Message, mode: GameMode) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `mode` are never read [INFO] [stdout] --> src/commands/osu/profile.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct ProfileT { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 66 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | mode: GameMode, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/services/database.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Database(pub SqlitePool); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/services/osu.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct OsuClient(pub Osu); [INFO] [stdout] | --------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Grades` is never constructed [INFO] [stdout] --> src/utils/emojis.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Grades; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated constants are never used [INFO] [stdout] --> src/utils/emojis.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 3 | impl Grades { [INFO] [stdout] | ----------- associated constants in this implementation [INFO] [stdout] 4 | pub const XH: &'static str = "<:XH_:1057763296717045891>"; [INFO] [stdout] | ^^ [INFO] [stdout] 5 | pub const X: &'static str = "<:X_:1057763294707974215>"; [INFO] [stdout] | ^ [INFO] [stdout] 6 | pub const SH: &'static str = "<:SH_:1057763293491642568>"; [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub const S: &'static str = "<:S_:1057763291998474283>"; [INFO] [stdout] | ^ [INFO] [stdout] 8 | pub const A: &'static str = "<:A_:1057763284327080036>"; [INFO] [stdout] | ^ [INFO] [stdout] 9 | pub const B: &'static str = "<:B_:1057763286097076405>"; [INFO] [stdout] | ^ [INFO] [stdout] 10 | pub const C: &'static str = "<:C_:1057763287565086790>"; [INFO] [stdout] | ^ [INFO] [stdout] 11 | pub const D: &'static str = "<:D_:1057763289121173554>"; [INFO] [stdout] | ^ [INFO] [stdout] 12 | pub const F: &'static str = "<:F_:1057763290484318360>"; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_flags` is never used [INFO] [stdout] --> src/utils/helper.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_flags(args: Vec<&str>) -> (HashMap<&str, &str>, Vec<&str>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_mods` is never used [INFO] [stdout] --> src/utils/helper.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_mods(args: Vec<&str>) -> (Vec<&str>, Vec<&str>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BeatmapURL` is never constructed [INFO] [stdout] --> src/utils/helper.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct BeatmapURL { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_url` is never used [INFO] [stdout] --> src/utils/helper.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn parse_url(url: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_beatmap_link` is never used [INFO] [stdout] --> src/utils/helper.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get_beatmap_link(args: Vec<&str>) -> (Option, Vec<&str>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_username` is never used [INFO] [stdout] --> src/utils/helper.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn get_username(args: Vec<&str>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.01s [INFO] running `Command { std: "docker" "inspect" "6dae85552bd85460f693c593994a382d9250a8e53650a7197482a5e0b7d2ca50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dae85552bd85460f693c593994a382d9250a8e53650a7197482a5e0b7d2ca50", kill_on_drop: false }` [INFO] [stdout] 6dae85552bd85460f693c593994a382d9250a8e53650a7197482a5e0b7d2ca50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 470657697e0430c37b113ecc5750be3f0acd93caf6887804248e2f7ce91022e6 [INFO] running `Command { std: "docker" "start" "-a" "470657697e0430c37b113ecc5750be3f0acd93caf6887804248e2f7ce91022e6", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/commands/osu/profile.rs:63:18 [INFO] [stderr] | [INFO] [stderr] 63 | async fn profile(ctx: &Context, msg: &Message, mode: GameMode) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/commands/osu/profile.rs:63:33 [INFO] [stderr] | [INFO] [stderr] 63 | async fn profile(ctx: &Context, msg: &Message, mode: GameMode) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mode` [INFO] [stderr] --> src/commands/osu/profile.rs:63:48 [INFO] [stderr] | [INFO] [stderr] 63 | async fn profile(ctx: &Context, msg: &Message, mode: GameMode) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `option` [INFO] [stderr] --> src/commands/osu/profile.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | let option = ProfileT::args(mode, args); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_option` [INFO] [stderr] [INFO] [stderr] warning: function `profile` is never used [INFO] [stderr] --> src/commands/osu/profile.rs:63:10 [INFO] [stderr] | [INFO] [stderr] 63 | async fn profile(ctx: &Context, msg: &Message, mode: GameMode) {} [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `mode` are never read [INFO] [stderr] --> src/commands/osu/profile.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 65 | pub struct ProfileT { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 66 | name: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 67 | mode: GameMode, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/services/database.rs:4:21 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Database(pub SqlitePool); [INFO] [stderr] | -------- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/services/osu.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct OsuClient(pub Osu); [INFO] [stderr] | --------- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: struct `Grades` is never constructed [INFO] [stderr] --> src/utils/emojis.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct Grades; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated constants are never used [INFO] [stderr] --> src/utils/emojis.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 3 | impl Grades { [INFO] [stderr] | ----------- associated constants in this implementation [INFO] [stderr] 4 | pub const XH: &'static str = "<:XH_:1057763296717045891>"; [INFO] [stderr] | ^^ [INFO] [stderr] 5 | pub const X: &'static str = "<:X_:1057763294707974215>"; [INFO] [stderr] | ^ [INFO] [stderr] 6 | pub const SH: &'static str = "<:SH_:1057763293491642568>"; [INFO] [stderr] | ^^ [INFO] [stderr] 7 | pub const S: &'static str = "<:S_:1057763291998474283>"; [INFO] [stderr] | ^ [INFO] [stderr] 8 | pub const A: &'static str = "<:A_:1057763284327080036>"; [INFO] [stderr] | ^ [INFO] [stderr] 9 | pub const B: &'static str = "<:B_:1057763286097076405>"; [INFO] [stderr] | ^ [INFO] [stderr] 10 | pub const C: &'static str = "<:C_:1057763287565086790>"; [INFO] [stderr] | ^ [INFO] [stderr] 11 | pub const D: &'static str = "<:D_:1057763289121173554>"; [INFO] [stderr] | ^ [INFO] [stderr] 12 | pub const F: &'static str = "<:F_:1057763290484318360>"; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: function `get_flags` is never used [INFO] [stderr] --> src/utils/helper.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn get_flags(args: Vec<&str>) -> (HashMap<&str, &str>, Vec<&str>) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_mods` is never used [INFO] [stderr] --> src/utils/helper.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn get_mods(args: Vec<&str>) -> (Vec<&str>, Vec<&str>) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `BeatmapURL` is never constructed [INFO] [stderr] --> src/utils/helper.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct BeatmapURL { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_url` is never used [INFO] [stderr] --> src/utils/helper.rs:51:4 [INFO] [stderr] | [INFO] [stderr] 51 | fn parse_url(url: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_beatmap_link` is never used [INFO] [stderr] --> src/utils/helper.rs:66:8 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn get_beatmap_link(args: Vec<&str>) -> (Option, Vec<&str>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_username` is never used [INFO] [stderr] --> src/utils/helper.rs:83:8 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn get_username(args: Vec<&str>) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `hanami-rust` (bin "hanami-rust" test) generated 16 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hanami_rust-8cd6823cbdc37380) [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" "470657697e0430c37b113ecc5750be3f0acd93caf6887804248e2f7ce91022e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "470657697e0430c37b113ecc5750be3f0acd93caf6887804248e2f7ce91022e6", kill_on_drop: false }` [INFO] [stdout] 470657697e0430c37b113ecc5750be3f0acd93caf6887804248e2f7ce91022e6