[INFO] cloning repository https://github.com/cyberlynix/lynix_api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cyberlynix/lynix_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyberlynix%2Flynix_api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyberlynix%2Flynix_api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b7cde983858d339ad4d69a16ad348474b19c878 [INFO] testing cyberlynix/lynix_api against 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyberlynix%2Flynix_api" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cyberlynix/lynix_api on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cyberlynix/lynix_api [INFO] finished tweaking git repo https://github.com/cyberlynix/lynix_api [INFO] tweaked toml for git repo https://github.com/cyberlynix/lynix_api written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cyberlynix/lynix_api 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" "+1.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-web-httpauth v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a0be2a79b0e22be6f2b6f16cf9a535f9dd846181070ef3eff63b0ff1ab9b620 [INFO] running `Command { std: "docker" "start" "-a" "1a0be2a79b0e22be6f2b6f16cf9a535f9dd846181070ef3eff63b0ff1ab9b620", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a0be2a79b0e22be6f2b6f16cf9a535f9dd846181070ef3eff63b0ff1ab9b620", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a0be2a79b0e22be6f2b6f16cf9a535f9dd846181070ef3eff63b0ff1ab9b620", kill_on_drop: false }` [INFO] [stdout] 1a0be2a79b0e22be6f2b6f16cf9a535f9dd846181070ef3eff63b0ff1ab9b620 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cbd992d6b5d9dd054d42f535b58d428993b21872ac081055d7759f9a471645e [INFO] running `Command { std: "docker" "start" "-a" "2cbd992d6b5d9dd054d42f535b58d428993b21872ac081055d7759f9a471645e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.51 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.26 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling futures-io v0.3.26 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling futures-task v0.3.26 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.153 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling serde v1.0.153 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.9 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling futures-channel v0.3.26 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling polling v2.6.0 [INFO] [stderr] Compiling concurrent-queue v2.1.0 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-sink v0.3.26 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling async-lock v2.7.0 [INFO] [stderr] Compiling unicode-bidi v0.3.10 [INFO] [stderr] Compiling async-io v1.12.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling futures-util v0.3.26 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling async-task v4.3.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Compiling async-channel v1.8.0 [INFO] [stderr] Compiling tokio v1.26.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling async-process v1.6.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling atomic-waker v1.1.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling blocking v1.3.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling async-executor v1.5.0 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling thiserror v1.0.39 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.94 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling universal-hash v0.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling bytestring v1.3.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling zstd-sys v2.0.7+zstd.1.5.4 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling zstd-safe v6.0.4+zstd.1.5.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling polyval v0.6.0 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling time-macros v0.2.8 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling ghash v0.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling brotli-decompressor v2.3.4 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.2 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling aead v0.5.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling crc-catalog v2.2.0 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling aes-gcm v0.10.1 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling dotenvy v0.15.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling whoami v1.3.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling sqlformat v0.2.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling hashlink v0.8.1 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Compiling time v0.3.20 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling anyhow v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.66 [INFO] [stderr] Compiling uuid v1.3.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling argon2 v0.5.0 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling futures-macro v0.3.26 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.39 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling async-global-executor v2.3.1 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling zstd v0.12.3+zstd.1.5.2 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling async-native-tls v0.4.0 [INFO] [stderr] Compiling futures-executor v0.3.26 [INFO] [stderr] Compiling futures v0.3.26 [INFO] [stderr] Compiling sqlx-rt v0.6.2 [INFO] [stderr] Compiling tokio-util v0.7.7 [INFO] [stderr] Compiling actix-rt v2.8.0 [INFO] [stderr] Compiling actix-server v2.2.0 [INFO] [stderr] Compiling h2 v0.3.16 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-web-codegen v4.2.0 [INFO] [stderr] Compiling sqlx-core v0.6.2 [INFO] [stderr] Compiling validator v0.16.0 [INFO] [stderr] Compiling jwt v0.16.0 [INFO] [stderr] Compiling bson v1.2.4 [INFO] [stderr] Compiling actix-http v3.3.1 [INFO] [stderr] Compiling actix-web v4.3.1 [INFO] [stderr] Compiling sqlx-macros v0.6.2 [INFO] [stderr] Compiling actix-session v0.7.2 [INFO] [stderr] Compiling actix-web-httpauth v0.8.0 [INFO] [stderr] Compiling sqlx v0.6.2 [INFO] [stderr] Compiling lynix_api v2.0.3923 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Responder`, `get`, `web::Data` [INFO] [stdout] --> src/main.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, web, web::Data, App, HttpServer, Responder}; [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info`, `warn` [INFO] [stdout] --> src/main.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{info, warn}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AuthenticationError`, `BearerAuth`, `middleware::HttpAuthentication`, `self` [INFO] [stdout] --> src/main.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | bearer::{self, BearerAuth}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] 14 | AuthenticationError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | }, [INFO] [stdout] 16 | middleware::HttpAuthentication, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer`, `web::Data` [INFO] [stdout] --> src/api/index_api.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, web, web::Data, App, HttpServer, Responder, http::StatusCode, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Data`, `Json` [INFO] [stdout] --> src/api/event_api.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{get, post, web::{Data, Json, ServiceConfig}, Responder, HttpResponse, web}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bson`, `from_bson`, `to_bson` [INFO] [stdout] --> src/api/event_api.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use bson::{from_bson, to_bson, Bson}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::TryStreamExt` [INFO] [stdout] --> src/api/event_api.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::TryStreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bson::oid::ObjectId` [INFO] [stdout] --> src/api/event_api.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bson::oid::ObjectId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer`, `web::Data` [INFO] [stdout] --> src/api/fursuit_api.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, web, web::Data, App, HttpServer, Responder, http::StatusCode, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `apimeta_model::ApiMeta` [INFO] [stdout] --> src/api/fursuit_api.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::{apimeta_model::ApiMeta}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Data`, `get` [INFO] [stdout] --> src/api/auth_api.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{get, post, web::{Data, Json, ServiceConfig}, Responder, HttpResponse, web}; [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::http::StatusCode` [INFO] [stdout] --> src/api/auth_api.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::http::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SecondsFormat`, `Utc` [INFO] [stdout] --> src/api/auth_api.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{SecondsFormat, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bson`, `from_bson`, `to_bson` [INFO] [stdout] --> src/api/auth_api.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use bson::{from_bson, to_bson, Bson}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::TryStreamExt` [INFO] [stdout] --> src/api/auth_api.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::TryStreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/api/auth_api.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/api/auth_api.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event_model::Event` [INFO] [stdout] --> src/api/auth_api.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::{AppState, models::{event_model::Event}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApiError` [INFO] [stdout] --> src/api/auth_api.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::models::error_model::{ApiError, ApiErrorType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> src/api/auth_api.rs:19:53 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::models::user_model::{AuthUser, SafeUser, User}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bson::oid::ObjectId` [INFO] [stdout] --> src/models/user_model.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bson::oid::ObjectId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::fursuit_model::Fursuit` [INFO] [stdout] --> src/models/user_model.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::fursuit_model::Fursuit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `argon2::password_hash::Error` [INFO] [stdout] --> src/models/error_model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use argon2::password_hash::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter` [INFO] [stdout] --> src/models/error_model.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::{Debug, Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::error::ParseError::Status` [INFO] [stdout] --> src/models/error_model.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use actix_web::error::ParseError::Status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/index_api.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut validation_sub_errs = vec![]; // Empty SubError [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: unused variable: `path` [INFO] [stdout] --> src/api/event_api.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn get_event(path: actix_web::web::Path) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/event_api.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut validation_sub_errs = vec![]; // Empty SubError [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/event_api.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut validation_sub_errs = vec![]; // Empty SubError [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/event_api.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut validation_sub_errs = vec![]; // Empty SubError [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/fursuit_api.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut validation_sub_errs = vec![]; // Empty SubError [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/api/wolfhr_api.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn post_wolfhr(data: web::Data) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/wolfhr_api.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut validation_sub_errs = vec![]; // Empty SubError [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/models/error_model.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | fn from(value: argon2::password_hash::Error) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MongoError`, `BadRequest`, `AuthenticationError`, `AuthorizationError`, `ValidationError`, and `InvalidCredential` are never constructed [INFO] [stdout] --> src/models/error_model.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum ApiErrorType { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 20 | MongoError, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | BadRequest, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | AuthenticationError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | AuthorizationError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | ValidationError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | InvalidCredential, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CoolingStatus` is never used [INFO] [stdout] --> src/models/fursuit_model.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum CoolingStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TailAnimation` is never used [INFO] [stdout] --> src/models/fursuit_model.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum TailAnimation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Fursuit` is never constructed [INFO] [stdout] --> src/models/fursuit_model.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Fursuit { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/api/auth_api.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / sqlx::query_as::<_, SafeUser>( [INFO] [stdout] 75 | | "INSERT INTO users (id, username, email, password) [INFO] [stdout] 76 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] 77 | | RETURNING id, username", [INFO] [stdout] ... | [INFO] [stdout] 83 | | .fetch_one(&data.db) [INFO] [stdout] 84 | | .await; [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 74 | let _ = sqlx::query_as::<_, SafeUser>( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.70s [INFO] running `Command { std: "docker" "inspect" "2cbd992d6b5d9dd054d42f535b58d428993b21872ac081055d7759f9a471645e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cbd992d6b5d9dd054d42f535b58d428993b21872ac081055d7759f9a471645e", kill_on_drop: false }` [INFO] [stdout] 2cbd992d6b5d9dd054d42f535b58d428993b21872ac081055d7759f9a471645e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9698fdf493b22bc92620e3a1bd02d88feee7fec703e7446ebdf4a23c2be81137 [INFO] running `Command { std: "docker" "start" "-a" "9698fdf493b22bc92620e3a1bd02d88feee7fec703e7446ebdf4a23c2be81137", kill_on_drop: false }` [INFO] [stderr] Compiling lynix_api v2.0.3923 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Responder`, `get`, `web::Data` [INFO] [stdout] --> src/main.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, web, web::Data, App, HttpServer, Responder}; [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info`, `warn` [INFO] [stdout] --> src/main.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{info, warn}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AuthenticationError`, `BearerAuth`, `middleware::HttpAuthentication`, `self` [INFO] [stdout] --> src/main.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | bearer::{self, BearerAuth}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] 14 | AuthenticationError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | }, [INFO] [stdout] 16 | middleware::HttpAuthentication, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer`, `web::Data` [INFO] [stdout] --> src/api/index_api.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, web, web::Data, App, HttpServer, Responder, http::StatusCode, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Data`, `Json` [INFO] [stdout] --> src/api/event_api.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{get, post, web::{Data, Json, ServiceConfig}, Responder, HttpResponse, web}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bson`, `from_bson`, `to_bson` [INFO] [stdout] --> src/api/event_api.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use bson::{from_bson, to_bson, Bson}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::TryStreamExt` [INFO] [stdout] --> src/api/event_api.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::TryStreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bson::oid::ObjectId` [INFO] [stdout] --> src/api/event_api.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bson::oid::ObjectId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer`, `web::Data` [INFO] [stdout] --> src/api/fursuit_api.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, web, web::Data, App, HttpServer, Responder, http::StatusCode, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `apimeta_model::ApiMeta` [INFO] [stdout] --> src/api/fursuit_api.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::{apimeta_model::ApiMeta}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Data`, `get` [INFO] [stdout] --> src/api/auth_api.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{get, post, web::{Data, Json, ServiceConfig}, Responder, HttpResponse, web}; [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::http::StatusCode` [INFO] [stdout] --> src/api/auth_api.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::http::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SecondsFormat`, `Utc` [INFO] [stdout] --> src/api/auth_api.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{SecondsFormat, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bson`, `from_bson`, `to_bson` [INFO] [stdout] --> src/api/auth_api.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use bson::{from_bson, to_bson, Bson}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::TryStreamExt` [INFO] [stdout] --> src/api/auth_api.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::TryStreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/api/auth_api.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/api/auth_api.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event_model::Event` [INFO] [stdout] --> src/api/auth_api.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::{AppState, models::{event_model::Event}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApiError` [INFO] [stdout] --> src/api/auth_api.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::models::error_model::{ApiError, ApiErrorType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> src/api/auth_api.rs:19:53 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::models::user_model::{AuthUser, SafeUser, User}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bson::oid::ObjectId` [INFO] [stdout] --> src/models/user_model.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bson::oid::ObjectId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::fursuit_model::Fursuit` [INFO] [stdout] --> src/models/user_model.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::fursuit_model::Fursuit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `argon2::password_hash::Error` [INFO] [stdout] --> src/models/error_model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use argon2::password_hash::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter` [INFO] [stdout] --> src/models/error_model.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::{Debug, Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::error::ParseError::Status` [INFO] [stdout] --> src/models/error_model.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use actix_web::error::ParseError::Status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/index_api.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut validation_sub_errs = vec![]; // Empty SubError [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: unused variable: `path` [INFO] [stdout] --> src/api/event_api.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn get_event(path: actix_web::web::Path) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/event_api.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut validation_sub_errs = vec![]; // Empty SubError [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/event_api.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut validation_sub_errs = vec![]; // Empty SubError [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/event_api.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut validation_sub_errs = vec![]; // Empty SubError [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/fursuit_api.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut validation_sub_errs = vec![]; // Empty SubError [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/api/wolfhr_api.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn post_wolfhr(data: web::Data) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/wolfhr_api.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut validation_sub_errs = vec![]; // Empty SubError [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/models/error_model.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | fn from(value: argon2::password_hash::Error) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MongoError`, `BadRequest`, `AuthenticationError`, `AuthorizationError`, `ValidationError`, and `InvalidCredential` are never constructed [INFO] [stdout] --> src/models/error_model.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum ApiErrorType { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 20 | MongoError, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | BadRequest, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | AuthenticationError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | AuthorizationError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | ValidationError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | InvalidCredential, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CoolingStatus` is never used [INFO] [stdout] --> src/models/fursuit_model.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum CoolingStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TailAnimation` is never used [INFO] [stdout] --> src/models/fursuit_model.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum TailAnimation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Fursuit` is never constructed [INFO] [stdout] --> src/models/fursuit_model.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Fursuit { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/api/auth_api.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / sqlx::query_as::<_, SafeUser>( [INFO] [stdout] 75 | | "INSERT INTO users (id, username, email, password) [INFO] [stdout] 76 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] 77 | | RETURNING id, username", [INFO] [stdout] ... | [INFO] [stdout] 83 | | .fetch_one(&data.db) [INFO] [stdout] 84 | | .await; [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 74 | let _ = sqlx::query_as::<_, SafeUser>( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.10s [INFO] running `Command { std: "docker" "inspect" "9698fdf493b22bc92620e3a1bd02d88feee7fec703e7446ebdf4a23c2be81137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9698fdf493b22bc92620e3a1bd02d88feee7fec703e7446ebdf4a23c2be81137", kill_on_drop: false }` [INFO] [stdout] 9698fdf493b22bc92620e3a1bd02d88feee7fec703e7446ebdf4a23c2be81137 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0b7c481238387862b7e795a82f6820bf7b8cf399f01e083fc4f6c827ccac53eb [INFO] running `Command { std: "docker" "start" "-a" "0b7c481238387862b7e795a82f6820bf7b8cf399f01e083fc4f6c827ccac53eb", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Responder`, `get`, `web::Data` [INFO] [stderr] --> src/main.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | use actix_web::{get, web, web::Data, App, HttpServer, Responder}; [INFO] [stderr] | ^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `info`, `warn` [INFO] [stderr] --> src/main.rs:2:11 [INFO] [stderr] | [INFO] [stderr] 2 | use log::{info, warn}; [INFO] [stderr] | ^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AuthenticationError`, `BearerAuth`, `middleware::HttpAuthentication`, `self` [INFO] [stderr] --> src/main.rs:13:18 [INFO] [stderr] | [INFO] [stderr] 13 | bearer::{self, BearerAuth}, [INFO] [stderr] | ^^^^ ^^^^^^^^^^ [INFO] [stderr] 14 | AuthenticationError, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 15 | }, [INFO] [stderr] 16 | middleware::HttpAuthentication, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `App`, `HttpServer`, `web::Data` [INFO] [stderr] --> src/api/index_api.rs:1:27 [INFO] [stderr] | [INFO] [stderr] 1 | use actix_web::{get, web, web::Data, App, HttpServer, Responder, http::StatusCode, HttpResponse}; [INFO] [stderr] | ^^^^^^^^^ ^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Data`, `Json` [INFO] [stderr] --> src/api/event_api.rs:2:34 [INFO] [stderr] | [INFO] [stderr] 2 | use actix_web::{get, post, web::{Data, Json, ServiceConfig}, Responder, HttpResponse, web}; [INFO] [stderr] | ^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Bson`, `from_bson`, `to_bson` [INFO] [stderr] --> src/api/event_api.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | use bson::{from_bson, to_bson, Bson}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::TryStreamExt` [INFO] [stderr] --> src/api/event_api.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use futures::TryStreamExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bson::oid::ObjectId` [INFO] [stderr] --> src/api/event_api.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use bson::oid::ObjectId; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `App`, `HttpServer`, `web::Data` [INFO] [stderr] --> src/api/fursuit_api.rs:1:27 [INFO] [stderr] | [INFO] [stderr] 1 | use actix_web::{get, web, web::Data, App, HttpServer, Responder, http::StatusCode, HttpResponse}; [INFO] [stderr] | ^^^^^^^^^ ^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `apimeta_model::ApiMeta` [INFO] [stderr] --> src/api/fursuit_api.rs:2:21 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::models::{apimeta_model::ApiMeta}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Data`, `get` [INFO] [stderr] --> src/api/auth_api.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use actix_web::{get, post, web::{Data, Json, ServiceConfig}, Responder, HttpResponse, web}; [INFO] [stderr] | ^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web::http::StatusCode` [INFO] [stderr] --> src/api/auth_api.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use actix_web::http::StatusCode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `SecondsFormat`, `Utc` [INFO] [stderr] --> src/api/auth_api.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | use chrono::{SecondsFormat, Utc}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Bson`, `from_bson`, `to_bson` [INFO] [stderr] --> src/api/auth_api.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | use bson::{from_bson, to_bson, Bson}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::TryStreamExt` [INFO] [stderr] --> src/api/auth_api.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use futures::TryStreamExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Serialize` [INFO] [stderr] --> src/api/auth_api.rs:7:26 [INFO] [stderr] | [INFO] [stderr] 7 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::json` [INFO] [stderr] --> src/api/auth_api.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use serde_json::json; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `event_model::Event` [INFO] [stderr] --> src/api/auth_api.rs:17:32 [INFO] [stderr] | [INFO] [stderr] 17 | use crate::{AppState, models::{event_model::Event}}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ApiError` [INFO] [stderr] --> src/api/auth_api.rs:18:34 [INFO] [stderr] | [INFO] [stderr] 18 | use crate::models::error_model::{ApiError, ApiErrorType}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `User` [INFO] [stderr] --> src/api/auth_api.rs:19:53 [INFO] [stderr] | [INFO] [stderr] 19 | use crate::models::user_model::{AuthUser, SafeUser, User}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bson::oid::ObjectId` [INFO] [stderr] --> src/models/user_model.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use bson::oid::ObjectId; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::models::fursuit_model::Fursuit` [INFO] [stderr] --> src/models/user_model.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::models::fursuit_model::Fursuit; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `argon2::password_hash::Error` [INFO] [stderr] --> src/models/error_model.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use argon2::password_hash::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Display`, `Formatter` [INFO] [stderr] --> src/models/error_model.rs:7:23 [INFO] [stderr] | [INFO] [stderr] 7 | use std::fmt::{Debug, Display, Formatter}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web::error::ParseError::Status` [INFO] [stderr] --> src/models/error_model.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use actix_web::error::ParseError::Status; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/api/index_api.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | let mut validation_sub_errs = vec![]; // Empty SubError [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/api/event_api.rs:40:24 [INFO] [stderr] | [INFO] [stderr] 40 | pub async fn get_event(path: actix_web::web::Path) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/api/event_api.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | let mut validation_sub_errs = vec![]; // Empty SubError [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/api/event_api.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | let mut validation_sub_errs = vec![]; // Empty SubError [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/api/event_api.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | let mut validation_sub_errs = vec![]; // Empty SubError [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/api/fursuit_api.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | let mut validation_sub_errs = vec![]; // Empty SubError [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/api/wolfhr_api.rs:45:26 [INFO] [stderr] | [INFO] [stderr] 45 | pub async fn post_wolfhr(data: web::Data) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/api/wolfhr_api.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | let mut validation_sub_errs = vec![]; // Empty SubError [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/models/error_model.rs:63:13 [INFO] [stderr] | [INFO] [stderr] 63 | fn from(value: argon2::password_hash::Error) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: variants `MongoError`, `BadRequest`, `AuthenticationError`, `AuthorizationError`, `ValidationError`, and `InvalidCredential` are never constructed [INFO] [stderr] --> src/models/error_model.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub enum ApiErrorType { [INFO] [stderr] | ------------ variants in this enum [INFO] [stderr] ... [INFO] [stderr] 20 | MongoError, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | BadRequest, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | AuthenticationError, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | AuthorizationError, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | ValidationError { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | InvalidCredential, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ApiErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: enum `CoolingStatus` is never used [INFO] [stderr] --> src/models/fursuit_model.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | pub enum CoolingStatus { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `TailAnimation` is never used [INFO] [stderr] --> src/models/fursuit_model.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | pub enum TailAnimation { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Fursuit` is never constructed [INFO] [stderr] --> src/models/fursuit_model.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct Fursuit { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/api/auth_api.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | / sqlx::query_as::<_, SafeUser>( [INFO] [stderr] 75 | | "INSERT INTO users (id, username, email, password) [INFO] [stderr] 76 | | VALUES ($1, $2, $3, $4) [INFO] [stderr] 77 | | RETURNING id, username", [INFO] [stderr] ... | [INFO] [stderr] 83 | | .fetch_one(&data.db) [INFO] [stderr] 84 | | .await; [INFO] [stderr] | |______________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 74 | let _ = sqlx::query_as::<_, SafeUser>( [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `lynix_api` (bin "lynix_api" test) generated 39 warnings (run `cargo fix --bin "lynix_api" --tests` to apply 34 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lynix_api-ad340d2180b0c9fe) [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" "0b7c481238387862b7e795a82f6820bf7b8cf399f01e083fc4f6c827ccac53eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b7c481238387862b7e795a82f6820bf7b8cf399f01e083fc4f6c827ccac53eb", kill_on_drop: false }` [INFO] [stdout] 0b7c481238387862b7e795a82f6820bf7b8cf399f01e083fc4f6c827ccac53eb [INFO] testing cyberlynix/lynix_api against beta-2024-03-24 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyberlynix%2Flynix_api" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cyberlynix/lynix_api on toolchain beta-2024-03-24 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cyberlynix/lynix_api [INFO] finished tweaking git repo https://github.com/cyberlynix/lynix_api [INFO] tweaked toml for git repo https://github.com/cyberlynix/lynix_api written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cyberlynix/lynix_api 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" "+beta-2024-03-24" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5598102670b036ab689325fda065f2ca0e04674b35a9efcfb0d99bcee181ab17 [INFO] running `Command { std: "docker" "start" "-a" "5598102670b036ab689325fda065f2ca0e04674b35a9efcfb0d99bcee181ab17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5598102670b036ab689325fda065f2ca0e04674b35a9efcfb0d99bcee181ab17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5598102670b036ab689325fda065f2ca0e04674b35a9efcfb0d99bcee181ab17", kill_on_drop: false }` [INFO] [stdout] 5598102670b036ab689325fda065f2ca0e04674b35a9efcfb0d99bcee181ab17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 730aa9ee98171f68dfa129a58bdb5215838a83ac3a728d1b6609fb33783c6c54 [INFO] running `Command { std: "docker" "start" "-a" "730aa9ee98171f68dfa129a58bdb5215838a83ac3a728d1b6609fb33783c6c54", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.51 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.26 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling futures-io v0.3.26 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling serde_derive v1.0.153 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling futures-task v0.3.26 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling serde v1.0.153 [INFO] [stderr] Compiling futures-channel v0.3.26 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.9 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling polling v2.6.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling futures-sink v0.3.26 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling async-lock v2.7.0 [INFO] [stderr] Compiling unicode-bidi v0.3.10 [INFO] [stderr] Compiling concurrent-queue v2.1.0 [INFO] [stderr] Compiling async-io v1.12.0 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling futures-util v0.3.26 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling async-task v4.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling async-channel v1.8.0 [INFO] [stderr] Compiling async-process v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling tokio v1.26.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling atomic-waker v1.1.0 [INFO] [stderr] Compiling async-executor v1.5.0 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling blocking v1.3.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling serde_json v1.0.94 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling thiserror v1.0.39 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling zstd-sys v2.0.7+zstd.1.5.4 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bytestring v1.3.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling zstd-safe v6.0.4+zstd.1.5.4 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling polyval v0.6.0 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling time-macros v0.2.8 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling ghash v0.5.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling brotli-decompressor v2.3.4 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.2 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling aead v0.5.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling crc-catalog v2.2.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling aes-gcm v0.10.1 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling whoami v1.3.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling dotenvy v0.15.6 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling hashlink v0.8.1 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling time v0.3.20 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Compiling sqlformat v0.2.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling async-trait v0.1.66 [INFO] [stderr] Compiling uuid v1.3.0 [INFO] [stderr] Compiling anyhow v1.0.69 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling argon2 v0.5.0 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling futures-macro v0.3.26 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.39 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling async-global-executor v2.3.1 [INFO] [stderr] error: could not compile `brotli` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/beta-2024-03-24-x86_64-unknown-linux-gnu/bin/rustc --crate-name brotli --edition=2015 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/brotli-3.3.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alloc-stdlib"' --cfg 'feature="default"' --cfg 'feature="ffi-api"' --cfg 'feature="std"' -C metadata=4c2052bbf77b0eb1 -C extra-filename=-4c2052bbf77b0eb1 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern alloc_no_stdlib=/opt/rustwide/target/debug/deps/liballoc_no_stdlib-429cf3419c926494.rmeta --extern alloc_stdlib=/opt/rustwide/target/debug/deps/liballoc_stdlib-3809969a7931de1f.rmeta --extern brotli_decompressor=/opt/rustwide/target/debug/deps/libbrotli_decompressor-d16d8ae6ee288f40.rmeta --cap-lints allow --cap-lints=warn` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "730aa9ee98171f68dfa129a58bdb5215838a83ac3a728d1b6609fb33783c6c54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "730aa9ee98171f68dfa129a58bdb5215838a83ac3a728d1b6609fb33783c6c54", kill_on_drop: false }` [INFO] [stdout] 730aa9ee98171f68dfa129a58bdb5215838a83ac3a728d1b6609fb33783c6c54