[INFO] cloning repository https://github.com/muhrifqii/curium-rust-axum [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/muhrifqii/curium-rust-axum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuhrifqii%2Fcurium-rust-axum", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuhrifqii%2Fcurium-rust-axum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30a8b0f4edd099c16ccbed15cbdde7c947d9004a [INFO] checking muhrifqii/curium-rust-axum against 1af98b7cdf86932b76182a387f52f1be6f0c1be0 for pr-159706 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuhrifqii%2Fcurium-rust-axum" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/muhrifqii/curium-rust-axum [INFO] finished tweaking git repo https://github.com/muhrifqii/curium-rust-axum [INFO] tweaked toml for git repo https://github.com/muhrifqii/curium-rust-axum written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/muhrifqii/curium-rust-axum on toolchain 1af98b7cdf86932b76182a387f52f1be6f0c1be0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1af98b7cdf86932b76182a387f52f1be6f0c1be0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/muhrifqii/curium-rust-axum 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" "+1af98b7cdf86932b76182a387f52f1be6f0c1be0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-demangle v0.1.25 [INFO] [stderr] Downloaded tracing-attributes v0.1.29 [INFO] [stderr] Downloaded tracing-appender v0.2.3 [INFO] [stderr] Downloaded cfg-if v1.0.1 [INFO] [stderr] Downloaded crc v3.3.0 [INFO] [stderr] Downloaded proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Downloaded atomic v0.6.0 [INFO] [stderr] Downloaded pear_codegen v0.2.9 [INFO] [stderr] Downloaded thiserror v2.0.12 [INFO] [stderr] Downloaded pear v0.2.9 [INFO] [stderr] Downloaded thiserror-impl v2.0.12 [INFO] [stderr] Downloaded base64ct v1.8.0 [INFO] [stderr] Downloaded whoami v1.6.0 [INFO] [stderr] Downloaded event-listener v5.4.0 [INFO] [stderr] Downloaded bytemuck v1.23.1 [INFO] [stderr] Downloaded tinyvec v1.9.0 [INFO] [stderr] Downloaded figment v0.10.19 [INFO] [stderr] Downloaded rsa v0.9.8 [INFO] [stderr] Downloaded hyper-util v0.1.14 [INFO] [stderr] Downloaded cc v1.2.26 [INFO] [stderr] Downloaded num-bigint-dig v0.8.4 [INFO] [stderr] Downloaded tokio v1.45.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] ad3631c322f77bac3a5e005b5f2f9918d5db68c5e93d908a6b1a4108f55bb418 [INFO] running `Command { std: "docker" "start" "ad3631c322f77bac3a5e005b5f2f9918d5db68c5e93d908a6b1a4108f55bb418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad3631c322f77bac3a5e005b5f2f9918d5db68c5e93d908a6b1a4108f55bb418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ad3631c322f77bac3a5e005b5f2f9918d5db68c5e93d908a6b1a4108f55bb418" "/opt/rustwide/cargo-home/bin/cargo" "+1af98b7cdf86932b76182a387f52f1be6f0c1be0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad3631c322f77bac3a5e005b5f2f9918d5db68c5e93d908a6b1a4108f55bb418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ad3631c322f77bac3a5e005b5f2f9918d5db68c5e93d908a6b1a4108f55bb418" "/opt/rustwide/cargo-home/bin/cargo" "+1af98b7cdf86932b76182a387f52f1be6f0c1be0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking main v0.1.0 (/opt/rustwide/workdir/main) [INFO] [stdout] warning: unused imports: `delete` and `put` [INFO] [stdout] --> main/src/router/user.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | routing::{delete, get, post, put}, [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::error` [INFO] [stdout] --> main/src/types.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `delete` and `put` [INFO] [stdout] --> main/src/router/user.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | routing::{delete, get, post, put}, [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Database` [INFO] [stdout] --> main/src/user/repository.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::{Database, Pool}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::error` [INFO] [stdout] --> main/src/types.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Database` [INFO] [stdout] --> main/src/user/repository.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::{Database, Pool}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> main/src/user/repository.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | async fn find_by_id(&self, id: &u64) -> AppResult> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> main/src/user/repository.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | async fn find_by_id(&self, id: &u64) -> AppResult> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> main/src/user/repository.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | async fn insert(&self, user: User) -> AppResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> main/src/user/repository.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | async fn update(&self, id: u64, user: User) -> AppResult> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> main/src/user/repository.rs:37:41 [INFO] [stdout] | [INFO] [stdout] 37 | async fn update(&self, id: u64, user: User) -> AppResult> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> main/src/user/repository.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | async fn delete(&self, id: &u64) -> AppResult { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> main/src/user/repository.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct SqliteRepository(pub(crate) Pool); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `SqliteRepository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> main/src/user/repository.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | async fn insert(&self, user: User) -> AppResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> main/src/user/repository.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | async fn update(&self, id: u64, user: User) -> AppResult> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> main/src/user/repository.rs:37:41 [INFO] [stdout] | [INFO] [stdout] 37 | async fn update(&self, id: u64, user: User) -> AppResult> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> main/src/user/repository.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | async fn delete(&self, id: &u64) -> AppResult { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> main/src/user/repository.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct SqliteRepository(pub(crate) Pool); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `SqliteRepository` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "ad3631c322f77bac3a5e005b5f2f9918d5db68c5e93d908a6b1a4108f55bb418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad3631c322f77bac3a5e005b5f2f9918d5db68c5e93d908a6b1a4108f55bb418", kill_on_drop: false }` [INFO] [stdout] ad3631c322f77bac3a5e005b5f2f9918d5db68c5e93d908a6b1a4108f55bb418