[INFO] cloning repository https://github.com/wisp-pw/backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wisp-pw/backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisp-pw%2Fbackend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisp-pw%2Fbackend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d261a2cba269cb3263f72e632cb5978cb06da47 [INFO] testing wisp-pw/backend against 1.95.0 for beta-1.96-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwisp-pw%2Fbackend" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wisp-pw/backend [INFO] finished tweaking git repo https://github.com/wisp-pw/backend [INFO] tweaked toml for git repo https://github.com/wisp-pw/backend written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wisp-pw/backend on toolchain 1.95.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wisp-pw/backend 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.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project-internal v1.0.11 [INFO] [stderr] Downloaded tower-layer v0.3.1 [INFO] [stderr] Downloaded sqlx-rt v0.6.0 [INFO] [stderr] Downloaded pin-project v1.0.11 [INFO] [stderr] Downloaded axum-core v0.2.7 [INFO] [stderr] Downloaded sync_wrapper v0.1.1 [INFO] [stderr] Downloaded rustls-pemfile v1.0.0 [INFO] [stderr] Downloaded event-listener v2.5.2 [INFO] [stderr] Downloaded axum-macros v0.2.3 [INFO] [stderr] Downloaded base64ct v1.5.1 [INFO] [stderr] Downloaded blake2 v0.10.4 [INFO] [stderr] Downloaded hashlink v0.8.0 [INFO] [stderr] Downloaded tracing-core v0.1.28 [INFO] [stderr] Downloaded matchit v0.5.0 [INFO] [stderr] Downloaded tower-http v0.3.4 [INFO] [stderr] Downloaded sqlx v0.6.0 [INFO] [stderr] Downloaded lettre v0.10.1 [INFO] [stderr] Downloaded axum v0.5.14 [INFO] [stderr] Downloaded color-spantrace v0.2.0 [INFO] [stderr] Downloaded tracing v0.1.35 [INFO] [stderr] Downloaded webpki-roots v0.22.4 [INFO] [stderr] Downloaded sqlx-core v0.6.0 [INFO] [stderr] Downloaded eyre v0.6.8 [INFO] [stderr] Downloaded multer v2.0.3 [INFO] [stderr] Downloaded owo-colors v3.4.0 [INFO] [stderr] Downloaded spin v0.9.4 [INFO] [stderr] Downloaded paste v1.0.7 [INFO] [stderr] Downloaded axum-test-helper v0.1.1 [INFO] [stderr] Downloaded color-eyre v0.6.2 [INFO] [stderr] Downloaded jwts v0.2.4 [INFO] [stderr] Downloaded redox_syscall v0.2.15 [INFO] [stderr] Downloaded async-trait v0.1.56 [INFO] [stderr] Downloaded quoted_printable v0.4.5 [INFO] [stderr] Downloaded sqlx-macros v0.6.0 [INFO] [stderr] Downloaded email-encoding v0.1.3 [INFO] [stderr] Downloaded email_address v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4101f4936953962c073dc7c1ce982f0be0d9f697e8a5c46a375ff29d17a78df2 [INFO] running `Command { std: "docker" "start" "-a" "4101f4936953962c073dc7c1ce982f0be0d9f697e8a5c46a375ff29d17a78df2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4101f4936953962c073dc7c1ce982f0be0d9f697e8a5c46a375ff29d17a78df2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4101f4936953962c073dc7c1ce982f0be0d9f697e8a5c46a375ff29d17a78df2", kill_on_drop: false }` [INFO] [stdout] 4101f4936953962c073dc7c1ce982f0be0d9f697e8a5c46a375ff29d17a78df2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 464f1c53ff7a20d06fd61c7ecbb1457357870a9a70a5e5c37ec5dc4c1baff477 [INFO] running `Command { std: "docker" "start" "-a" "464f1c53ff7a20d06fd61c7ecbb1457357870a9a70a5e5c37ec5dc4c1baff477", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.28 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling crc-catalog v2.1.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling crc v3.0.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling tracing-subscriber v0.3.15 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling hashlink v0.8.0 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling multer v2.0.3 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling owo-colors v3.4.0 [INFO] [stderr] Compiling base64ct v1.5.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling blake2 v0.10.4 [INFO] [stderr] Compiling email-encoding v0.1.3 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quoted_printable v0.4.5 [INFO] [stderr] Compiling matchit v0.5.0 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling argon2 v0.4.1 [INFO] [stderr] Compiling uuid v1.1.2 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling webpki-roots v0.22.4 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling axum-macros v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling pin-project v1.0.11 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling axum-core v0.2.7 [INFO] [stderr] Compiling sqlx-rt v0.6.0 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling color-spantrace v0.2.0 [INFO] [stderr] Compiling color-eyre v0.6.2 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling sqlx-core v0.6.0 [INFO] [stderr] Compiling tower-http v0.3.4 [INFO] [stderr] Compiling email_address v0.2.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling lettre v0.10.1 [INFO] [stderr] Compiling jwts v0.2.4 [INFO] [stderr] Compiling axum v0.5.14 [INFO] [stderr] Compiling sqlx-macros v0.6.0 [INFO] [stderr] Compiling sqlx v0.6.0 [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `trace` and `warn` [INFO] [stdout] --> src/prelude.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | pub use tracing::log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `display_name`, `safe_username`, and `confirmed` are never read [INFO] [stdout] --> src/models/user.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct UserDTO { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 3 | pub id: i32, [INFO] [stdout] 4 | pub display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 5 | pub safe_username: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | pub password_hash: String, [INFO] [stdout] 7 | pub confirmed: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserDTO` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_file` is never used [INFO] [stdout] --> src/repositories/file/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait FileRepository { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 24 | fn get_file(&mut self, file_type: FileType, name: String) -> Result>>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "464f1c53ff7a20d06fd61c7ecbb1457357870a9a70a5e5c37ec5dc4c1baff477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "464f1c53ff7a20d06fd61c7ecbb1457357870a9a70a5e5c37ec5dc4c1baff477", kill_on_drop: false }` [INFO] [stdout] 464f1c53ff7a20d06fd61c7ecbb1457357870a9a70a5e5c37ec5dc4c1baff477 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b862ec8d41793394a23858a439ec8ec108a87b425ed5884e75d70eac192efc43 [INFO] running `Command { std: "docker" "start" "-a" "b862ec8d41793394a23858a439ec8ec108a87b425ed5884e75d70eac192efc43", kill_on_drop: false }` [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling sqlx-core v0.6.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling multer v2.0.3 [INFO] [stderr] Compiling axum-core v0.2.7 [INFO] [stderr] Compiling lettre v0.10.1 [INFO] [stderr] Compiling tower-http v0.3.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling sqlx-macros v0.6.0 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling sqlx v0.6.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling axum v0.5.14 [INFO] [stderr] Compiling reqwest v0.11.11 [INFO] [stderr] Compiling axum-test-helper v0.1.1 [INFO] [stderr] Compiling backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `trace` and `warn` [INFO] [stdout] --> src/prelude.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | pub use tracing::log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Service` [INFO] [stdout] --> src/prelude.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | pub use tower::{Service, ServiceExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `display_name`, `safe_username`, and `confirmed` are never read [INFO] [stdout] --> src/models/user.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct UserDTO { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 3 | pub id: i32, [INFO] [stdout] 4 | pub display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 5 | pub safe_username: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | pub password_hash: String, [INFO] [stdout] 7 | pub confirmed: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserDTO` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_file` is never used [INFO] [stdout] --> src/repositories/file/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait FileRepository { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 24 | fn get_file(&mut self, file_type: FileType, name: String) -> Result>>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.43s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.41 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "b862ec8d41793394a23858a439ec8ec108a87b425ed5884e75d70eac192efc43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b862ec8d41793394a23858a439ec8ec108a87b425ed5884e75d70eac192efc43", kill_on_drop: false }` [INFO] [stdout] b862ec8d41793394a23858a439ec8ec108a87b425ed5884e75d70eac192efc43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 87d3b8659553d65b564ba6150d9545518dc220505f769fadabafbf2246ecf30d [INFO] running `Command { std: "docker" "start" "-a" "87d3b8659553d65b564ba6150d9545518dc220505f769fadabafbf2246ecf30d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::prelude::*` [INFO] [stderr] --> src/error.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `trace` and `warn` [INFO] [stderr] --> src/prelude.rs:3:44 [INFO] [stderr] | [INFO] [stderr] 3 | pub use tracing::log::{debug, error, info, trace, warn}; [INFO] [stderr] | ^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Service` [INFO] [stderr] --> src/prelude.rs:26:17 [INFO] [stderr] | [INFO] [stderr] 26 | pub use tower::{Service, ServiceExt}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `display_name`, `safe_username`, and `confirmed` are never read [INFO] [stderr] --> src/models/user.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct UserDTO { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 3 | pub id: i32, [INFO] [stderr] 4 | pub display_name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 5 | pub safe_username: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 6 | pub password_hash: String, [INFO] [stderr] 7 | pub confirmed: bool, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UserDTO` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `get_file` is never used [INFO] [stderr] --> src/repositories/file/mod.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 21 | pub trait FileRepository { [INFO] [stderr] | -------------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 24 | fn get_file(&mut self, file_type: FileType, name: String) -> Result>>; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `backend` (bin "backend" test) generated 5 warnings (run `cargo fix --bin "backend" -p backend --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.41 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/backend-ebc3aa9206765c97) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test repositories::user::tests::get_and_create ... ok [INFO] [stdout] test routes::auth::test::tests::login_unregistered_username ... ok [INFO] [stdout] test routes::auth::test::tests::login_unregistered_email ... ok [INFO] [stdout] test routes::index::tests::index ... ok [INFO] [stdout] test routes::auth::test::tests::register_invalid_email ... ok [INFO] [stdout] test routes::auth::test::tests::register_already_registered_username ... ok [INFO] [stdout] test routes::auth::test::tests::register_already_registered_email ... ok [INFO] [stdout] test routes::auth::test::tests::register_valid ... ok [INFO] [stdout] test routes::auth::test::tests::login_valid ... ok [INFO] [stdout] test routes::auth::test::tests::login_invalid_password ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.75s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "87d3b8659553d65b564ba6150d9545518dc220505f769fadabafbf2246ecf30d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87d3b8659553d65b564ba6150d9545518dc220505f769fadabafbf2246ecf30d", kill_on_drop: false }` [INFO] [stdout] 87d3b8659553d65b564ba6150d9545518dc220505f769fadabafbf2246ecf30d