[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] building codesan-git/inman-be against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodesan-git%2Finman-be" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/codesan-git/inman-be on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sanitize-filename v0.5.0 [INFO] [stderr] Downloaded qrcode v0.14.1 [INFO] [stderr] Downloaded google-apis-common v6.0.4 [INFO] [stderr] Downloaded actix-multipart v0.6.2 [INFO] [stderr] Downloaded actix-multipart-derive v0.6.1 [INFO] [stderr] Downloaded jiff-static v0.2.12 [INFO] [stderr] Downloaded libm v0.2.14 [INFO] [stderr] Downloaded yup-oauth2 v9.0.0 [INFO] [stderr] Downloaded yup-oauth2 v8.3.2 [INFO] [stderr] Downloaded rustls-native-certs v0.7.3 [INFO] [stderr] Downloaded google-drive3 v5.0.5+20240618 [INFO] [stderr] Downloaded brotli-decompressor v4.0.3 [INFO] [stderr] Downloaded jiff v0.2.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df0ec56707206267959be45c8053a910a6d9f35c01a20c9c91dc322e3bdefbf6 [INFO] running `Command { std: "docker" "start" "-a" "df0ec56707206267959be45c8053a910a6d9f35c01a20c9c91dc322e3bdefbf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df0ec56707206267959be45c8053a910a6d9f35c01a20c9c91dc322e3bdefbf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df0ec56707206267959be45c8053a910a6d9f35c01a20c9c91dc322e3bdefbf6", kill_on_drop: false }` [INFO] [stdout] df0ec56707206267959be45c8053a910a6d9f35c01a20c9c91dc322e3bdefbf6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9de04737448a96b8e1d36f78a08318b1cc9a0e9fdfd4acbe473ff6e7fa4c4233 [INFO] running `Command { std: "docker" "start" "-a" "9de04737448a96b8e1d36f78a08318b1cc9a0e9fdfd4acbe473ff6e7fa4c4233", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling cc v1.2.21 [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 crypto-common v0.1.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling flate2 v1.1.1 [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 http-body v0.4.6 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling brotli-decompressor v4.0.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling byteorder v1.5.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 actix-server v2.5.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling sqlx-core v0.8.5 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling actix-http v3.10.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.5 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling actix-web v4.10.2 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling image-webp v0.2.1 [INFO] [stderr] Compiling hyper-rustls v0.25.0 [INFO] [stderr] Compiling ravif v0.11.12 [INFO] [stderr] Compiling yup-oauth2 v9.0.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.5 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling zune-jpeg v0.4.14 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling parse-size v1.1.0 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling sqlx-macros v0.8.5 [INFO] [stderr] Compiling actix-multipart-derive v0.6.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling google-apis-common v6.0.4 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling serde_plain v1.0.2 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling jiff v0.2.12 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling sanitize-filename v0.5.0 [INFO] [stderr] Compiling actix-files v0.6.6 [INFO] [stderr] Compiling google-drive3 v5.0.5+20240618 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling actix-multipart v0.6.2 [INFO] [stderr] Compiling yup-oauth2 v8.3.2 [INFO] [stderr] Compiling actix-cors v0.7.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling qrcode v0.14.1 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling sqlx v0.8.5 [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: 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: 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: 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 5m 14s [INFO] running `Command { std: "docker" "inspect" "9de04737448a96b8e1d36f78a08318b1cc9a0e9fdfd4acbe473ff6e7fa4c4233", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9de04737448a96b8e1d36f78a08318b1cc9a0e9fdfd4acbe473ff6e7fa4c4233", kill_on_drop: false }` [INFO] [stdout] 9de04737448a96b8e1d36f78a08318b1cc9a0e9fdfd4acbe473ff6e7fa4c4233 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2c1d87cf52e57b2ef0dd77cfe3e9b1dcc50e8425c7f012cb08ab1a146fbab3e [INFO] running `Command { std: "docker" "start" "-a" "b2c1d87cf52e57b2ef0dd77cfe3e9b1dcc50e8425c7f012cb08ab1a146fbab3e", 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: 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: 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: 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 10.13s [INFO] running `Command { std: "docker" "inspect" "b2c1d87cf52e57b2ef0dd77cfe3e9b1dcc50e8425c7f012cb08ab1a146fbab3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2c1d87cf52e57b2ef0dd77cfe3e9b1dcc50e8425c7f012cb08ab1a146fbab3e", kill_on_drop: false }` [INFO] [stdout] b2c1d87cf52e57b2ef0dd77cfe3e9b1dcc50e8425c7f012cb08ab1a146fbab3e