[INFO] cloning repository https://github.com/mubacodestudio/secure-file-sharing-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mubacodestudio/secure-file-sharing-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmubacodestudio%2Fsecure-file-sharing-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmubacodestudio%2Fsecure-file-sharing-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 312f08be566c777e19fe8b51a5a5ad48b3cd5bcd [INFO] testing mubacodestudio/secure-file-sharing-rust against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmubacodestudio%2Fsecure-file-sharing-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mubacodestudio/secure-file-sharing-rust on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mubacodestudio/secure-file-sharing-rust [INFO] finished tweaking git repo https://github.com/mubacodestudio/secure-file-sharing-rust [INFO] tweaked toml for git repo https://github.com/mubacodestudio/secure-file-sharing-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mubacodestudio/secure-file-sharing-rust 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" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded croner v2.0.6 [INFO] [stderr] Downloaded cc v1.1.25 [INFO] [stderr] Downloaded tokio-cron-scheduler v0.13.0 [INFO] [stderr] Downloaded async-std v1.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f3b4f16730257fa653eb24f28d34fcd67a83e65e941751fe86f1d19592fc13c [INFO] running `Command { std: "docker" "start" "-a" "6f3b4f16730257fa653eb24f28d34fcd67a83e65e941751fe86f1d19592fc13c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f3b4f16730257fa653eb24f28d34fcd67a83e65e941751fe86f1d19592fc13c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f3b4f16730257fa653eb24f28d34fcd67a83e65e941751fe86f1d19592fc13c", kill_on_drop: false }` [INFO] [stdout] 6f3b4f16730257fa653eb24f28d34fcd67a83e65e941751fe86f1d19592fc13c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 811bf810c71de01e16f770550eb308008424dd5aa055d458ccacb750cec27d2f [INFO] running `Command { std: "docker" "start" "-a" "811bf810c71de01e16f770550eb308008424dd5aa055d458ccacb750cec27d2f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling value-bag v1.9.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling cc v1.1.25 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling tokio-cron-scheduler v0.13.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling validator_derive v0.18.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling polling v3.7.3 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling tower-http v0.6.1 [INFO] [stderr] Compiling block-modes v0.9.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling async-io v2.3.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling async-std v1.13.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling croner v2.0.6 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Compiling validator v0.18.1 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling sqlx-postgres v0.8.2 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling hyper-util v0.1.9 [INFO] [stderr] Compiling axum v0.7.7 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Compiling sqlx v0.8.2 [INFO] [stderr] Compiling axum-extra v0.9.4 [INFO] [stderr] Compiling secure-file-sharing-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/config.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `init` is never used [INFO] [stdout] --> src/config.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 10 | pub fn init() -> Config { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `filter_user` is never used [INFO] [stdout] --> src/dtos.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl FilterUserDto { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 56 | pub fn filter_user(user: &User) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `filter_send_user_file` and `filter_send_user_files` are never used [INFO] [stdout] --> src/dtos.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl UserSendFileDto { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 89 | pub fn filter_send_user_file(file_data: &SentFileDetails) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn filter_send_user_files(user: &[SentFileDetails]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `filter_receive_user_file` and `filter_receive_user_files` are never used [INFO] [stdout] --> src/dtos.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl UserReceiveFileDto { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] 123 | pub fn filter_receive_user_file(file_data: &ReceiveFileDetails) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn filter_receive_user_files(user: &[ReceiveFileDetails]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `filter_email` and `filter_emails` are never used [INFO] [stdout] --> src/dtos.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 191 | impl FilterEmailDto { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 192 | pub fn filter_email(user: &User) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn filter_emails(user: &[User]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_id`, `file_name`, `recipient_email`, `expiration_date`, and `created_at` are never read [INFO] [stdout] --> src/models.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct SentFileDetails { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 39 | pub file_id: uuid::Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 40 | pub file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 41 | pub recipient_email: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub expiration_date: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub created_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_id`, `file_name`, `sender_email`, `expiration_date`, and `created_at` are never read [INFO] [stdout] --> src/models.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct ReceiveFileDetails { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 48 | pub file_id: uuid::Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 49 | pub file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | pub sender_email: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 51 | pub expiration_date: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | pub created_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "811bf810c71de01e16f770550eb308008424dd5aa055d458ccacb750cec27d2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "811bf810c71de01e16f770550eb308008424dd5aa055d458ccacb750cec27d2f", kill_on_drop: false }` [INFO] [stdout] 811bf810c71de01e16f770550eb308008424dd5aa055d458ccacb750cec27d2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6cb828510eb43307393e3c59489114baaa54ac655a9fcae2b16579d702a1e8a [INFO] running `Command { std: "docker" "start" "-a" "d6cb828510eb43307393e3c59489114baaa54ac655a9fcae2b16579d702a1e8a", kill_on_drop: false }` [INFO] [stderr] Compiling secure-file-sharing-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/config.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `init` is never used [INFO] [stdout] --> src/config.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 10 | pub fn init() -> Config { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `filter_user` is never used [INFO] [stdout] --> src/dtos.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl FilterUserDto { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 56 | pub fn filter_user(user: &User) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `filter_send_user_file` and `filter_send_user_files` are never used [INFO] [stdout] --> src/dtos.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl UserSendFileDto { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 89 | pub fn filter_send_user_file(file_data: &SentFileDetails) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn filter_send_user_files(user: &[SentFileDetails]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `filter_receive_user_file` and `filter_receive_user_files` are never used [INFO] [stdout] --> src/dtos.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl UserReceiveFileDto { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] 123 | pub fn filter_receive_user_file(file_data: &ReceiveFileDetails) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn filter_receive_user_files(user: &[ReceiveFileDetails]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `filter_email` and `filter_emails` are never used [INFO] [stdout] --> src/dtos.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 191 | impl FilterEmailDto { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 192 | pub fn filter_email(user: &User) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn filter_emails(user: &[User]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_id`, `file_name`, `recipient_email`, `expiration_date`, and `created_at` are never read [INFO] [stdout] --> src/models.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct SentFileDetails { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 39 | pub file_id: uuid::Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 40 | pub file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 41 | pub recipient_email: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub expiration_date: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub created_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_id`, `file_name`, `sender_email`, `expiration_date`, and `created_at` are never read [INFO] [stdout] --> src/models.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct ReceiveFileDetails { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 48 | pub file_id: uuid::Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 49 | pub file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | pub sender_email: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 51 | pub expiration_date: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | pub created_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.68s [INFO] running `Command { std: "docker" "inspect" "d6cb828510eb43307393e3c59489114baaa54ac655a9fcae2b16579d702a1e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6cb828510eb43307393e3c59489114baaa54ac655a9fcae2b16579d702a1e8a", kill_on_drop: false }` [INFO] [stdout] d6cb828510eb43307393e3c59489114baaa54ac655a9fcae2b16579d702a1e8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a9f403a3a9b9773f2bb6a8cb5981999d478d03a8c47a2dbc7018000a638b971d [INFO] running `Command { std: "docker" "start" "-a" "a9f403a3a9b9773f2bb6a8cb5981999d478d03a8c47a2dbc7018000a638b971d", kill_on_drop: false }` [INFO] [stderr] warning: struct `Config` is never constructed [INFO] [stderr] --> src/config.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct Config { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `init` is never used [INFO] [stderr] --> src/config.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl Config { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 10 | pub fn init() -> Config { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `filter_user` is never used [INFO] [stderr] --> src/dtos.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 55 | impl FilterUserDto { [INFO] [stderr] | ------------------ associated function in this implementation [INFO] [stderr] 56 | pub fn filter_user(user: &User) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `filter_send_user_file` and `filter_send_user_files` are never used [INFO] [stderr] --> src/dtos.rs:89:12 [INFO] [stderr] | [INFO] [stderr] 88 | impl UserSendFileDto { [INFO] [stderr] | -------------------- associated functions in this implementation [INFO] [stderr] 89 | pub fn filter_send_user_file(file_data: &SentFileDetails) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 99 | pub fn filter_send_user_files(user: &[SentFileDetails]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `filter_receive_user_file` and `filter_receive_user_files` are never used [INFO] [stderr] --> src/dtos.rs:123:12 [INFO] [stderr] | [INFO] [stderr] 122 | impl UserReceiveFileDto { [INFO] [stderr] | ----------------------- associated functions in this implementation [INFO] [stderr] 123 | pub fn filter_receive_user_file(file_data: &ReceiveFileDetails) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 133 | pub fn filter_receive_user_files(user: &[ReceiveFileDetails]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `filter_email` and `filter_emails` are never used [INFO] [stderr] --> src/dtos.rs:192:12 [INFO] [stderr] | [INFO] [stderr] 191 | impl FilterEmailDto { [INFO] [stderr] | ------------------- associated functions in this implementation [INFO] [stderr] 192 | pub fn filter_email(user: &User) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 198 | pub fn filter_emails(user: &[User]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `file_id`, `file_name`, `recipient_email`, `expiration_date`, and `created_at` are never read [INFO] [stderr] --> src/models.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 38 | pub struct SentFileDetails { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 39 | pub file_id: uuid::Uuid, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 40 | pub file_name: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 41 | pub recipient_email: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 42 | pub expiration_date: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 43 | pub created_at: Option>, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `file_id`, `file_name`, `sender_email`, `expiration_date`, and `created_at` are never read [INFO] [stderr] --> src/models.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 47 | pub struct ReceiveFileDetails { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] 48 | pub file_id: uuid::Uuid, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 49 | pub file_name: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 50 | pub sender_email: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 51 | pub expiration_date: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 52 | pub created_at: Option>, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `secure-file-sharing-rust` (bin "secure-file-sharing-rust" test) generated 8 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/secure_file_sharing_rust-fc18841627b5b072) [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" "a9f403a3a9b9773f2bb6a8cb5981999d478d03a8c47a2dbc7018000a638b971d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9f403a3a9b9773f2bb6a8cb5981999d478d03a8c47a2dbc7018000a638b971d", kill_on_drop: false }` [INFO] [stdout] a9f403a3a9b9773f2bb6a8cb5981999d478d03a8c47a2dbc7018000a638b971d