[INFO] cloning repository https://github.com/RizqyAgusSalim/SIMM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RizqyAgusSalim/SIMM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRizqyAgusSalim%2FSIMM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRizqyAgusSalim%2FSIMM'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 05e080066ead3ec9f934430829f418223c478a6e [INFO] checking RizqyAgusSalim/SIMM against dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8 for pr-133502-26 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRizqyAgusSalim%2FSIMM" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/RizqyAgusSalim/SIMM [INFO] finished tweaking git repo https://github.com/RizqyAgusSalim/SIMM [INFO] tweaked toml for git repo https://github.com/RizqyAgusSalim/SIMM written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RizqyAgusSalim/SIMM on toolchain dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/RizqyAgusSalim/SIMM 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" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustls-webpki v0.103.11 [INFO] [stderr] Downloaded validator_derive v0.18.2 [INFO] [stderr] Downloaded validator v0.18.1 [INFO] [stderr] Downloaded pom v3.4.0 [INFO] [stderr] Downloaded printpdf v0.6.0 [INFO] [stderr] Downloaded lopdf v0.31.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 3047ed11b508b6e41649e904a66ac2103da4a82576ca1b380854266cd6eeb177 [INFO] running `Command { std: "docker" "start" "3047ed11b508b6e41649e904a66ac2103da4a82576ca1b380854266cd6eeb177", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3047ed11b508b6e41649e904a66ac2103da4a82576ca1b380854266cd6eeb177", 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" "3047ed11b508b6e41649e904a66ac2103da4a82576ca1b380854266cd6eeb177" "/opt/rustwide/cargo-home/bin/cargo" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3047ed11b508b6e41649e904a66ac2103da4a82576ca1b380854266cd6eeb177", 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" "3047ed11b508b6e41649e904a66ac2103da4a82576ca1b380854266cd6eeb177" "/opt/rustwide/cargo-home/bin/cargo" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling rustls v0.23.38 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling base64ct v1.8.3 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking zerovec v0.11.6 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling tokio v1.51.1 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking pom v3.4.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling rustls-webpki v0.103.11 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Checking rsa v0.9.10 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking lopdf v0.31.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking getrandom v0.4.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking owned_ttf_parser v0.12.1 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Checking simple_asn1 v0.6.4 [INFO] [stderr] Checking uuid v1.23.0 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking printpdf v0.6.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling validator_derive v0.18.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Checking validator v0.18.1 [INFO] [stderr] Checking hyper v1.9.0 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking sqlx-mysql 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 intern_management v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/handlers/dashboard.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{extract::State, Json, Extension, http::StatusCode}; [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: `http::StatusCode` [INFO] [stdout] --> src/handlers/profile.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{extract::State, Json, Extension, http::StatusCode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveTime` [INFO] [stdout] --> src/handlers/attendance.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::NaiveTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/routes.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{Router, routing::{get, post, put, delete}, middleware}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/handlers/dashboard.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{extract::State, Json, Extension, http::StatusCode}; [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: `http::StatusCode` [INFO] [stdout] --> src/handlers/profile.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{extract::State, Json, Extension, http::StatusCode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveTime` [INFO] [stdout] --> src/handlers/attendance.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::NaiveTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `delete` [INFO] [stdout] --> src/routes.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{Router, routing::{get, post, put, delete}, middleware}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/handlers/report.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let mut layer = page.get_layer(layer1); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/handlers/report.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let mut layer = page.get_layer(layer1); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TokenInvalid`, `BadRequest`, and `NotFound` are never constructed [INFO] [stdout] --> src/error.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | TokenInvalid, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | Internal, [INFO] [stdout] 21 | BadRequest(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | NotFound(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, 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: function `generate_token` is never used [INFO] [stdout] --> src/middleware/auth.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn generate_token(user_id: String, role: &str, secret: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_role` is never used [INFO] [stdout] --> src/middleware/auth.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn has_role(claims: &Claims, role: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_owner` is never used [INFO] [stdout] --> src/middleware/auth.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn is_owner(claims: &Claims, resource_user_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TokenInvalid`, `BadRequest`, and `NotFound` are never constructed [INFO] [stdout] --> src/error.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | TokenInvalid, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | Internal, [INFO] [stdout] 21 | BadRequest(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | NotFound(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, 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: function `generate_token` is never used [INFO] [stdout] --> src/middleware/auth.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn generate_token(user_id: String, role: &str, secret: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_role` is never used [INFO] [stdout] --> src/middleware/auth.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn has_role(claims: &Claims, role: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_owner` is never used [INFO] [stdout] --> src/middleware/auth.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn is_owner(claims: &Claims, resource_user_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "3047ed11b508b6e41649e904a66ac2103da4a82576ca1b380854266cd6eeb177", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3047ed11b508b6e41649e904a66ac2103da4a82576ca1b380854266cd6eeb177", kill_on_drop: false }` [INFO] [stdout] 3047ed11b508b6e41649e904a66ac2103da4a82576ca1b380854266cd6eeb177