[INFO] cloning repository https://github.com/myuon/jitome-kingdom-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/myuon/jitome-kingdom-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyuon%2Fjitome-kingdom-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyuon%2Fjitome-kingdom-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d48afd068bdeb15d220ba0b45ab8aa8c1b6c39f8 [INFO] checking myuon/jitome-kingdom-api against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyuon%2Fjitome-kingdom-api" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/myuon/jitome-kingdom-api on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/myuon/jitome-kingdom-api [INFO] finished tweaking git repo https://github.com/myuon/jitome-kingdom-api [INFO] tweaked toml for git repo https://github.com/myuon/jitome-kingdom-api written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/myuon/jitome-kingdom-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54671f799f8669314c0f778d43c6ca269f5736e796a08b56ef1d7da43feb1604 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "54671f799f8669314c0f778d43c6ca269f5736e796a08b56ef1d7da43feb1604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54671f799f8669314c0f778d43c6ca269f5736e796a08b56ef1d7da43feb1604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54671f799f8669314c0f778d43c6ca269f5736e796a08b56ef1d7da43feb1604", kill_on_drop: false }` [INFO] [stdout] 54671f799f8669314c0f778d43c6ca269f5736e796a08b56ef1d7da43feb1604 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 663549e629fd2c5127a8d8002815dc8ffe615b31f15580cd98c37cfb3ef68898 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "663549e629fd2c5127a8d8002815dc8ffe615b31f15580cd98c37cfb3ef68898", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.14 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling standback v0.2.1 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Checking shlex v0.1.1 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking xml-rs v0.8.0 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking untrusted v0.7.0 [INFO] [stderr] Checking mio-named-pipes v0.1.6 [INFO] [stderr] Checking data-encoding v2.2.0 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Checking path-tree v0.1.9 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling ring v0.16.11 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Compiling lexical-core v0.6.2 [INFO] [stderr] Compiling lexical v4.0.0 [INFO] [stderr] Compiling rusoto_core v0.43.0 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Checking regex v1.3.5 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling parse-zoneinfo v0.2.1 [INFO] [stderr] Compiling chrono-tz v0.5.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling async-trait v0.1.26 [INFO] [stderr] Compiling time-macros-impl v0.1.0 [INFO] [stderr] Compiling debil-derive v0.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.13 [INFO] [stderr] Checking tokio v0.2.13 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Compiling time v0.2.9 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking thiserror v1.0.13 [INFO] [stderr] Checking debil v0.3.3 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking tokio-tls v0.3.0 [INFO] [stderr] Checking h2 v0.2.2 [INFO] [stderr] Checking serde v1.0.105 [INFO] [stderr] Checking hyper v0.13.5 [INFO] [stderr] Checking hyper-tls v0.4.1 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking bigdecimal v0.1.0 [INFO] [stderr] Checking rust_decimal v1.4.0 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking reqwest v0.10.4 [INFO] [stderr] Checking rusoto_credential v0.43.0 [INFO] [stderr] Checking mysql_common v0.21.0 [INFO] [stderr] Checking biscuit v0.4.2 [INFO] [stderr] Checking rusoto_signature v0.43.0 [INFO] [stderr] Checking rusoto_dynamodb v0.43.0 [INFO] [stderr] Checking rusoto_s3 v0.43.0 [INFO] [stderr] Checking mysql_async v0.23.0 [INFO] [stderr] Checking debil-mysql v0.3.1 [INFO] [stderr] Checking debil-dynamodb v0.1.2 [INFO] [stderr] Checking jitome-kingdom-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/web.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | ctx: Arc, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/web.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | req: server::Request, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 307 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 344 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/web.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | req: server::Request, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let mut conn = debil_mysql::DebilConn::from_conn( [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `screen_name` [INFO] [stdout] --> src/domain/service/user_me_service.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | screen_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `display_name` [INFO] [stdout] --> src/domain/service/user_me_service.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_key_from_jwk` [INFO] [stdout] --> src/infra/jwt_handler.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_key_from_jwk( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/infra/dynamo_client.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | pub async fn save + Send + 'static>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_model` [INFO] [stdout] --> src/infra/gift_repository.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn from_model(model: Gift, user_id: UserId) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/infra/user_repository.rs:229:36 [INFO] [stdout] | [INFO] [stdout] 229 | async fn find_by_id(&self, user_id: &UserId) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen_name` [INFO] [stdout] --> src/infra/user_repository.rs:233:45 [INFO] [stdout] | [INFO] [stdout] 233 | async fn find_by_screen_name(&self, screen_name: &String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subject` [INFO] [stdout] --> src/infra/user_repository.rs:237:41 [INFO] [stdout] | [INFO] [stdout] 237 | async fn find_by_subject(&self, subject: &str) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subject` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/infra/user_repository.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | user: User, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `daily_gacha_timestamp` [INFO] [stdout] --> src/infra/user_repository.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | daily_gacha_timestamp: UnixTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_daily_gacha_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/infra/user_repository.rs:282:36 [INFO] [stdout] | [INFO] [stdout] 282 | async fn find_by_id(&self, user_id: &UserId) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen_name` [INFO] [stdout] --> src/infra/user_repository.rs:286:45 [INFO] [stdout] | [INFO] [stdout] 286 | async fn find_by_screen_name(&self, screen_name: &String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subject` [INFO] [stdout] --> src/infra/user_repository.rs:290:41 [INFO] [stdout] | [INFO] [stdout] 290 | async fn find_by_subject(&self, subject: &str) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subject` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/infra/user_repository.rs:294:32 [INFO] [stdout] | [INFO] [stdout] 294 | async fn create(&self, user: User) -> Result<(), ServiceError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/infra/user_repository.rs:298:30 [INFO] [stdout] | [INFO] [stdout] 298 | async fn save(&self, user: User) -> Result<(), ServiceError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/infra/user_repository.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | user: User, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `daily_gacha_timestamp` [INFO] [stdout] --> src/infra/user_repository.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | daily_gacha_timestamp: UnixTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_daily_gacha_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/infra/gacha_event_repository.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | user_id: &UserId, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gacha_type` [INFO] [stdout] --> src/infra/gacha_event_repository.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | gacha_type: &GachaType, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gacha_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/infra/gacha_event_repository.rs:143:32 [INFO] [stdout] | [INFO] [stdout] 143 | async fn create(&self, event: GachaEvent) -> Result<(), ServiceError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gift_id` [INFO] [stdout] --> src/infra/gift_repository.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | gift_id: &GiftId, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gift_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/infra/gift_repository.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | user_id: &UserId, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/infra/gift_repository.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | user_id: &UserId, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/infra/gift_repository.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | status: GiftStatus, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gift_id` [INFO] [stdout] --> src/infra/gift_repository.rs:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | gift_id: &GiftId, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gift_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/infra/gift_repository.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | user_id: &UserId, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/infra/gift_repository.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | user_id: &UserId, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/infra/gift_repository.rs:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | status: GiftStatus, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gift` [INFO] [stdout] --> src/infra/gift_repository.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | gift: Gift, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_gift` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `users` [INFO] [stdout] --> src/infra/gift_repository.rs:365:13 [INFO] [stdout] | [INFO] [stdout] 365 | users: Vec, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_users` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/infra/gift_repository.rs:366:13 [INFO] [stdout] | [INFO] [stdout] 366 | status: GiftStatus, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/infra/janken_event_repository.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | user_id: &UserId, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/infra/janken_event_repository.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | status: JankenStatus, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/infra/janken_event_repository.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | user_id: &UserId, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/infra/janken_event_repository.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | limit: i32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/infra/janken_event_repository.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | status: JankenStatus, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/infra/janken_event_repository.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | limit: i32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/web.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | ctx: Arc, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/web.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | req: server::Request, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 307 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 344 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/web.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | req: server::Request, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/web.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | ps: server::Params, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let mut conn = debil_mysql::DebilConn::from_conn( [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `screen_name` [INFO] [stdout] --> src/domain/service/user_me_service.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | screen_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `display_name` [INFO] [stdout] --> src/domain/service/user_me_service.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_key_from_jwk` [INFO] [stdout] --> src/infra/jwt_handler.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_key_from_jwk( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/infra/dynamo_client.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | pub async fn save + Send + 'static>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_model` [INFO] [stdout] --> src/infra/gift_repository.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn from_model(model: Gift, user_id: UserId) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 43s [INFO] running `Command { std: "docker" "inspect" "663549e629fd2c5127a8d8002815dc8ffe615b31f15580cd98c37cfb3ef68898", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "663549e629fd2c5127a8d8002815dc8ffe615b31f15580cd98c37cfb3ef68898", kill_on_drop: false }` [INFO] [stdout] 663549e629fd2c5127a8d8002815dc8ffe615b31f15580cd98c37cfb3ef68898