[INFO] cloning repository https://github.com/codesan-git/inman-be
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codesan-git/inman-be" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodesan-git%2Finman-be", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodesan-git%2Finman-be'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 90a71f245cf363336f4899c6d4dca3f5a975d053
[INFO] testing codesan-git/inman-be against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodesan-git%2Finman-be" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/codesan-git/inman-be
[INFO] finished tweaking git repo https://github.com/codesan-git/inman-be
[INFO] tweaked toml for git repo https://github.com/codesan-git/inman-be written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/codesan-git/inman-be on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/codesan-git/inman-be 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded google-apis-common v6.0.4
[INFO] [stderr]   Downloaded hyper-rustls v0.25.0
[INFO] [stderr]   Downloaded parse-size v1.1.0
[INFO] [stderr]   Downloaded actix-multipart v0.6.2
[INFO] [stderr]   Downloaded sanitize-filename v0.5.0
[INFO] [stderr]   Downloaded yup-oauth2 v9.0.0
[INFO] [stderr]   Downloaded jiff-static v0.2.12
[INFO] [stderr]   Downloaded google-drive3 v5.0.5+20240618
[INFO] [stderr]   Downloaded qrcode v0.14.1
[INFO] [stderr]   Downloaded cc v1.2.21
[INFO] [stderr]   Downloaded winnow v0.7.9
[INFO] [stderr]   Downloaded brotli-decompressor v4.0.3
[INFO] [stderr]   Downloaded libm v0.2.14
[INFO] [stderr]   Downloaded jiff v0.2.12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b55c37ae683c0d41a42d110cf3be0940c9698fd4811a4a8b7e960fcc2f400ffe
[INFO] running `Command { std: "docker" "start" "-a" "b55c37ae683c0d41a42d110cf3be0940c9698fd4811a4a8b7e960fcc2f400ffe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b55c37ae683c0d41a42d110cf3be0940c9698fd4811a4a8b7e960fcc2f400ffe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b55c37ae683c0d41a42d110cf3be0940c9698fd4811a4a8b7e960fcc2f400ffe", kill_on_drop: false }`
[INFO] [stdout] b55c37ae683c0d41a42d110cf3be0940c9698fd4811a4a8b7e960fcc2f400ffe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1f9dfe69e13571ddc2edbed8eb4e2e54b3495ac812ee6e1388455645b2bf7d13
[INFO] running `Command { std: "docker" "start" "-a" "1f9dfe69e13571ddc2edbed8eb4e2e54b3495ac812ee6e1388455645b2bf7d13", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling cc v1.2.21
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling tinyvec v1.9.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling rustls v0.22.4
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling brotli-decompressor v4.0.3
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling aligned-vec v0.5.0
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling tokio v1.44.2
[INFO] [stderr]    Compiling built v0.7.7
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling event-listener v5.4.0
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling v_frame v0.3.8
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling brotli v7.0.0
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling whoami v1.6.0
[INFO] [stderr]    Compiling rustls-native-certs v0.7.3
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling openssl-sys v0.9.108
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]    Compiling weezl v0.1.8
[INFO] [stderr]    Compiling seahash v4.1.0
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling bitstream-io v2.6.0
[INFO] [stderr]    Compiling imgref v1.11.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling loop9 v0.1.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling tempfile v3.19.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rand v0.9.1
[INFO] [stderr]    Compiling av1-grain v0.2.3
[INFO] [stderr]    Compiling avif-serialize v0.8.3
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling half v2.6.0
[INFO] [stderr]    Compiling jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling rgb v0.8.50
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling image-webp v0.2.1
[INFO] [stderr]    Compiling gif v0.13.1
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling zune-jpeg v0.4.14
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling rustls-native-certs v0.6.3
[INFO] [stderr]    Compiling base64ct v1.7.3
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling parse-size v1.1.0
[INFO] [stderr]    Compiling anstream v0.6.18
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling password-hash v0.5.0
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling env_filter v0.1.3
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling pem v3.0.5
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling jiff v0.2.12
[INFO] [stderr]    Compiling sanitize-filename v0.5.0
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling argon2 v0.5.3
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling rustls-webpki v0.102.8
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling profiling-procmacros v1.0.16
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling profiling v1.0.16
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling env_logger v0.11.8
[INFO] [stderr]    Compiling serde_with_macros v3.12.0
[INFO] [stderr]    Compiling actix-multipart-derive v0.6.1
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling derive_more v2.0.1
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling serde_with v3.12.0
[INFO] [stderr]    Compiling serde_plain v1.0.2
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling exr v1.73.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling maybe-rayon v0.1.1
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling simple_asn1 v0.6.3
[INFO] [stderr]    Compiling sqlx-core v0.8.5
[INFO] [stderr]    Compiling jsonwebtoken v9.3.1
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling actix-rt v2.10.0
[INFO] [stderr]    Compiling tokio-rustls v0.25.0
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling sqlx-postgres v0.8.5
[INFO] [stderr]    Compiling actix-server v2.5.1
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling ravif v0.11.12
[INFO] [stderr]    Compiling image v0.25.6
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.5
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling actix-http v3.10.0
[INFO] [stderr]    Compiling sqlx-macros v0.8.5
[INFO] [stderr]    Compiling qrcode v0.14.1
[INFO] [stderr]    Compiling sqlx v0.8.5
[INFO] [stderr]    Compiling actix-web v4.10.2
[INFO] [stderr]    Compiling hyper-rustls v0.25.0
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling hyper-rustls v0.24.2
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling yup-oauth2 v9.0.0
[INFO] [stderr]    Compiling yup-oauth2 v8.3.2
[INFO] [stderr]    Compiling google-apis-common v6.0.4
[INFO] [stderr]    Compiling google-drive3 v5.0.5+20240618
[INFO] [stderr]    Compiling actix-files v0.6.6
[INFO] [stderr]    Compiling actix-multipart v0.6.2
[INFO] [stderr]    Compiling actix-cors v0.7.1
[INFO] [stderr]    Compiling rustrest v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Postgres`
[INFO] [stdout]  --> src/routes/borrowings.rs:3:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::{PgPool, Row, Executor, Postgres};
[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: `Executor`
[INFO] [stdout]  --> src/routes/borrowings.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::{PgPool, Row, Executor, Postgres};
[INFO] [stdout]   |                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `query_builder` is never read
[INFO] [stdout]    --> src/routes/upload.rs:464:9
[INFO] [stdout]     |
[INFO] [stdout] 464 |         query_builder = query_builder.bind(status_id);
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metadata`
[INFO] [stdout]     --> src/services/drive_storage.rs:1156:9
[INFO] [stdout]      |
[INFO] [stdout] 1156 |     let metadata = serde_json::json!({
[INFO] [stdout]      |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateItemBorrowing` is never constructed
[INFO] [stdout]   --> src/routes/borrowings.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct UpdateItemBorrowing {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_any_permission` is never used
[INFO] [stdout]   --> src/middleware/permission_guard.rs:47:14
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub async fn has_any_permission(claims: &Claims, pool: &PgPool, permission_names: &[&str]) -> bool {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_all_permissions` is never used
[INFO] [stdout]   --> src/middleware/permission_guard.rs:57:14
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub async fn has_all_permissions(claims: &Claims, pool: &PgPool, permission_names: &[&str]) -> bool {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `upload_local` is never used
[INFO] [stdout]    --> src/services/drive_storage.rs:670:10
[INFO] [stdout]     |
[INFO] [stdout] 670 | async fn upload_local(
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 44s
[INFO] running `Command { std: "docker" "inspect" "1f9dfe69e13571ddc2edbed8eb4e2e54b3495ac812ee6e1388455645b2bf7d13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f9dfe69e13571ddc2edbed8eb4e2e54b3495ac812ee6e1388455645b2bf7d13", kill_on_drop: false }`
[INFO] [stdout] 1f9dfe69e13571ddc2edbed8eb4e2e54b3495ac812ee6e1388455645b2bf7d13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f312d8d03aaff3e485c2c044cab19575279fa031176a107a276458e019f6da90
[INFO] running `Command { std: "docker" "start" "-a" "f312d8d03aaff3e485c2c044cab19575279fa031176a107a276458e019f6da90", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustrest v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Postgres`
[INFO] [stdout]  --> src/routes/borrowings.rs:3:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::{PgPool, Row, Executor, Postgres};
[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: `Executor`
[INFO] [stdout]  --> src/routes/borrowings.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::{PgPool, Row, Executor, Postgres};
[INFO] [stdout]   |                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `query_builder` is never read
[INFO] [stdout]    --> src/routes/upload.rs:464:9
[INFO] [stdout]     |
[INFO] [stdout] 464 |         query_builder = query_builder.bind(status_id);
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metadata`
[INFO] [stdout]     --> src/services/drive_storage.rs:1156:9
[INFO] [stdout]      |
[INFO] [stdout] 1156 |     let metadata = serde_json::json!({
[INFO] [stdout]      |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateItemBorrowing` is never constructed
[INFO] [stdout]   --> src/routes/borrowings.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct UpdateItemBorrowing {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_any_permission` is never used
[INFO] [stdout]   --> src/middleware/permission_guard.rs:47:14
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub async fn has_any_permission(claims: &Claims, pool: &PgPool, permission_names: &[&str]) -> bool {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_all_permissions` is never used
[INFO] [stdout]   --> src/middleware/permission_guard.rs:57:14
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub async fn has_all_permissions(claims: &Claims, pool: &PgPool, permission_names: &[&str]) -> bool {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `upload_local` is never used
[INFO] [stdout]    --> src/services/drive_storage.rs:670:10
[INFO] [stdout]     |
[INFO] [stdout] 670 | async fn upload_local(
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.15s
[INFO] running `Command { std: "docker" "inspect" "f312d8d03aaff3e485c2c044cab19575279fa031176a107a276458e019f6da90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f312d8d03aaff3e485c2c044cab19575279fa031176a107a276458e019f6da90", kill_on_drop: false }`
[INFO] [stdout] f312d8d03aaff3e485c2c044cab19575279fa031176a107a276458e019f6da90
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f7101272873e46089bba2573328813cb17f34851217f5477e33e8d1dd260617a
[INFO] running `Command { std: "docker" "start" "-a" "f7101272873e46089bba2573328813cb17f34851217f5477e33e8d1dd260617a", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Postgres`
[INFO] [stderr]  --> src/routes/borrowings.rs:3:35
[INFO] [stderr]   |
[INFO] [stderr] 3 | use sqlx::{PgPool, Row, Executor, Postgres};
[INFO] [stderr]   |                                   ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Executor`
[INFO] [stderr]  --> src/routes/borrowings.rs:3:25
[INFO] [stderr]   |
[INFO] [stderr] 3 | use sqlx::{PgPool, Row, Executor, Postgres};
[INFO] [stderr]   |                         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `query_builder` is never read
[INFO] [stderr]    --> src/routes/upload.rs:464:9
[INFO] [stderr]     |
[INFO] [stderr] 464 |         query_builder = query_builder.bind(status_id);
[INFO] [stderr]     |         ^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `metadata`
[INFO] [stderr]     --> src/services/drive_storage.rs:1156:9
[INFO] [stderr]      |
[INFO] [stderr] 1156 |     let metadata = serde_json::json!({
[INFO] [stderr]      |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata`
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UpdateItemBorrowing` is never constructed
[INFO] [stderr]   --> src/routes/borrowings.rs:50:12
[INFO] [stderr]    |
[INFO] [stderr] 50 | pub struct UpdateItemBorrowing {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `has_any_permission` is never used
[INFO] [stderr]   --> src/middleware/permission_guard.rs:47:14
[INFO] [stderr]    |
[INFO] [stderr] 47 | pub async fn has_any_permission(claims: &Claims, pool: &PgPool, permission_names: &[&str]) -> bool {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `has_all_permissions` is never used
[INFO] [stderr]   --> src/middleware/permission_guard.rs:57:14
[INFO] [stderr]    |
[INFO] [stderr] 57 | pub async fn has_all_permissions(claims: &Claims, pool: &PgPool, permission_names: &[&str]) -> bool {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `upload_local` is never used
[INFO] [stderr]    --> src/services/drive_storage.rs:670:10
[INFO] [stderr]     |
[INFO] [stderr] 670 | async fn upload_local(
[INFO] [stderr]     |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rustrest` (bin "rustrest" test) generated 8 warnings (run `cargo fix --bin "rustrest" -p rustrest --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rustrest-444fb9183c73e182)
[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" "f7101272873e46089bba2573328813cb17f34851217f5477e33e8d1dd260617a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f7101272873e46089bba2573328813cb17f34851217f5477e33e8d1dd260617a", kill_on_drop: false }`
[INFO] [stdout] f7101272873e46089bba2573328813cb17f34851217f5477e33e8d1dd260617a
