[INFO] cloning repository https://github.com/mmontiel0904/freshapi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mmontiel0904/freshapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmontiel0904%2Ffreshapi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmontiel0904%2Ffreshapi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d2f92da70fd494de279a7b3a735b06c7ed128cb [INFO] testing mmontiel0904/freshapi against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmontiel0904%2Ffreshapi" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mmontiel0904/freshapi [INFO] finished tweaking git repo https://github.com/mmontiel0904/freshapi [INFO] tweaked toml for git repo https://github.com/mmontiel0904/freshapi written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mmontiel0904/freshapi on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mmontiel0904/freshapi 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9cbcb3e58e4d91f1ff4b5c2cb3e90175c6b7e5c6a49558ad84b4d2948b10eebf [INFO] running `Command { std: "docker" "start" "-a" "9cbcb3e58e4d91f1ff4b5c2cb3e90175c6b7e5c6a49558ad84b4d2948b10eebf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9cbcb3e58e4d91f1ff4b5c2cb3e90175c6b7e5c6a49558ad84b4d2948b10eebf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cbcb3e58e4d91f1ff4b5c2cb3e90175c6b7e5c6a49558ad84b4d2948b10eebf", kill_on_drop: false }` [INFO] [stdout] 9cbcb3e58e4d91f1ff4b5c2cb3e90175c6b7e5c6a49558ad84b4d2948b10eebf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21f03be83e2cac479be337985099c5d5f0412699d8f8f891d8810885d66e5ccd [INFO] running `Command { std: "docker" "start" "-a" "21f03be83e2cac479be337985099c5d5f0412699d8f8f891d8810885d66e5ccd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rustls v0.23.29 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling raw-cpuid v11.5.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling ascii_utils v0.9.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling fast_chemail v0.9.6 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling spinning_top v0.3.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling static_assertions_next v1.1.2 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling nonzero_ext v0.3.0 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling bcrypt v0.17.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling quanta v0.12.6 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling inherent v1.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling ouroboros_macro v0.18.5 [INFO] [stderr] Compiling sea-bae v0.2.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling sea-schema-derive v0.3.0 [INFO] [stderr] Compiling maybe-async v0.2.10 [INFO] [stderr] Compiling sea-orm-macros v1.1.14 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling sea-query-derive v0.4.3 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling ouroboros v0.18.5 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling ecow v0.2.5 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling tokio v1.47.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling governor v0.10.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling async-graphql-value v7.0.17 [INFO] [stderr] Compiling handlebars v5.1.2 [INFO] [stderr] Compiling async-graphql-parser v7.0.17 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling sea-query v0.32.6 [INFO] [stderr] Compiling sea-orm-cli v1.1.14 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling async-graphql-derive v7.0.17 [INFO] [stderr] Compiling sea-schema v0.16.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling async-graphql v7.0.17 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling sea-query-binder v0.7.0 [INFO] [stderr] Compiling sea-orm v1.1.14 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling resend-rs v0.15.0 [INFO] [stderr] Compiling sea-orm-migration v1.1.14 [INFO] [stderr] Compiling async-graphql-axum v7.0.17 [INFO] [stderr] Compiling freshapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `admin_guard` and `permission_guard` [INFO] [stdout] --> src/auth/guards.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | pub use crate::{permission_guard, admin_guard}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `middleware::*` [INFO] [stdout] --> src/auth/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use middleware::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::activity_comment::Entity as ActivityComment` [INFO] [stdout] --> src/entities/prelude.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use super::activity_comment::Entity as ActivityComment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::email_attachment::Entity as EmailAttachment` [INFO] [stdout] --> src/entities/prelude.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use super::email_attachment::Entity as EmailAttachment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/graphql/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `jwt_service` is never read [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | jwt_service: JwtService, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, 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: function `require_system_admin` is never used [INFO] [stdout] --> src/auth/guards.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn require_system_admin<'ctx>(ctx: &'ctx Context<'_>, resource: &str) -> Result<&'ctx AuthenticatedUser> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `require_user_can_manage` is never used [INFO] [stdout] --> src/auth/guards.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn require_user_can_manage<'ctx>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_token` is never used [INFO] [stdout] --> src/auth/jwt.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl JwtService { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn generate_token(&self, user_id: Uuid, email: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_middleware` is never used [INFO] [stdout] --> src/auth/middleware.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn auth_middleware( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `user_is_admin`, `user_is_system_admin`, `get_user_role_level`, `user_can_manage_user`, `grant_user_permission`, and `revoke_user_permission` are never used [INFO] [stdout] --> src/auth/permissions.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl PermissionService { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | pub async fn user_is_admin( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub async fn user_is_system_admin( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub async fn get_user_role_level( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub async fn user_can_manage_user( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub async fn grant_user_permission( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub async fn revoke_user_permission( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `email` is never read [INFO] [stdout] --> src/auth/types.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct AuthenticatedUser { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 14 | pub id: Uuid, [INFO] [stdout] 15 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthenticatedUser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `confidence_score` and `extracted_entities` are never read [INFO] [stdout] --> src/graphql/types.rs:1195:9 [INFO] [stdout] | [INFO] [stdout] 1180 | pub struct EmailContext { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1195 | pub confidence_score: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 1196 | #[graphql(skip)] [INFO] [stdout] 1197 | pub extracted_entities: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextCategoryConnection` is never constructed [INFO] [stdout] --> src/graphql/types.rs:1446:12 [INFO] [stdout] | [INFO] [stdout] 1446 | pub struct ContextCategoryConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `invite_users_loader`, `user_management_loader`, `admin_loader`, and `system_admin_loader` are never read [INFO] [stdout] --> src/graphql/dataloader.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct DataLoaderContext { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 96 | pub invite_users_loader: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 97 | pub user_management_loader: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 98 | pub admin_loader: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 99 | pub system_admin_loader: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataLoaderContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_invite_users`, `can_manage_users`, `is_admin`, `is_system_admin`, and `clear_all` are never used [INFO] [stdout] --> src/graphql/dataloader.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 102 | impl DataLoaderContext { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub async fn can_invite_users(&self, user_id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub async fn can_manage_users(&self, user_id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub async fn is_admin(&self, user_id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub async fn is_system_admin(&self, user_id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn clear_all(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/services/activity.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl EntityType { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_db`, `log_task_status_change`, `log_task_deletion`, and `get_user_recent_activities` are never used [INFO] [stdout] --> src/services/activity.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl ActivityService { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_db(&self) -> &DatabaseConnection { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub async fn log_task_status_change( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub async fn log_task_deletion( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub async fn get_user_recent_activities( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_db`, `get_context_by_id`, and `get_project_context_stats` are never used [INFO] [stdout] --> src/services/context.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl ContextService { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn get_db(&self) -> &DatabaseConnection { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub async fn get_context_by_id(&self, context_id: Uuid) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub async fn get_project_context_stats(&self, project_id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextStats` is never constructed [INFO] [stdout] --> src/services/context.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 327 | pub struct ContextStats { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_verification_email` is never used [INFO] [stdout] --> src/services/email.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl EmailService { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub async fn send_verification_email( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_db`, `get_email_stats_by_process`, and `find_potential_duplicates` are never used [INFO] [stdout] --> src/services/email_context.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl EmailContextService { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_db(&self) -> &DatabaseConnection { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub async fn get_email_stats_by_process(&self, project_id: Uuid) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub async fn find_potential_duplicates( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `use_invitation` is never used [INFO] [stdout] --> src/services/invitation.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl InvitationService { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub async fn use_invitation( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_task_context` is never used [INFO] [stdout] --> src/services/task.rs:708:18 [INFO] [stdout] | [INFO] [stdout] 19 | impl TaskService { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 708 | pub async fn update_task_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register_user`, `get_user_permissions`, and `get_user_role` are never used [INFO] [stdout] --> src/services/user.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl UserService { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub async fn register_user( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | pub async fn get_user_permissions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub async fn get_user_role( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 21s [INFO] running `Command { std: "docker" "inspect" "21f03be83e2cac479be337985099c5d5f0412699d8f8f891d8810885d66e5ccd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21f03be83e2cac479be337985099c5d5f0412699d8f8f891d8810885d66e5ccd", kill_on_drop: false }` [INFO] [stdout] 21f03be83e2cac479be337985099c5d5f0412699d8f8f891d8810885d66e5ccd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc7d1c9d720bd5c8695e0bf392dcfd13a2458016bc7820d231d6e35375d432e6 [INFO] running `Command { std: "docker" "start" "-a" "fc7d1c9d720bd5c8695e0bf392dcfd13a2458016bc7820d231d6e35375d432e6", kill_on_drop: false }` [INFO] [stderr] Compiling freshapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `admin_guard` and `permission_guard` [INFO] [stdout] --> src/auth/guards.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | pub use crate::{permission_guard, admin_guard}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `middleware::*` [INFO] [stdout] --> src/auth/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use middleware::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::activity_comment::Entity as ActivityComment` [INFO] [stdout] --> src/entities/prelude.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use super::activity_comment::Entity as ActivityComment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::email_attachment::Entity as EmailAttachment` [INFO] [stdout] --> src/entities/prelude.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use super::email_attachment::Entity as EmailAttachment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/graphql/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `jwt_service` is never read [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | jwt_service: JwtService, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, 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: function `require_system_admin` is never used [INFO] [stdout] --> src/auth/guards.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn require_system_admin<'ctx>(ctx: &'ctx Context<'_>, resource: &str) -> Result<&'ctx AuthenticatedUser> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `require_user_can_manage` is never used [INFO] [stdout] --> src/auth/guards.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn require_user_can_manage<'ctx>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_token` is never used [INFO] [stdout] --> src/auth/jwt.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl JwtService { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn generate_token(&self, user_id: Uuid, email: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_middleware` is never used [INFO] [stdout] --> src/auth/middleware.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn auth_middleware( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `user_is_admin`, `user_is_system_admin`, `get_user_role_level`, `user_can_manage_user`, `grant_user_permission`, and `revoke_user_permission` are never used [INFO] [stdout] --> src/auth/permissions.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl PermissionService { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | pub async fn user_is_admin( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub async fn user_is_system_admin( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub async fn get_user_role_level( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub async fn user_can_manage_user( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub async fn grant_user_permission( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub async fn revoke_user_permission( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `email` is never read [INFO] [stdout] --> src/auth/types.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct AuthenticatedUser { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 14 | pub id: Uuid, [INFO] [stdout] 15 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthenticatedUser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `confidence_score` and `extracted_entities` are never read [INFO] [stdout] --> src/graphql/types.rs:1195:9 [INFO] [stdout] | [INFO] [stdout] 1180 | pub struct EmailContext { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1195 | pub confidence_score: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 1196 | #[graphql(skip)] [INFO] [stdout] 1197 | pub extracted_entities: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextCategoryConnection` is never constructed [INFO] [stdout] --> src/graphql/types.rs:1446:12 [INFO] [stdout] | [INFO] [stdout] 1446 | pub struct ContextCategoryConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `invite_users_loader`, `user_management_loader`, `admin_loader`, and `system_admin_loader` are never read [INFO] [stdout] --> src/graphql/dataloader.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct DataLoaderContext { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 96 | pub invite_users_loader: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 97 | pub user_management_loader: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 98 | pub admin_loader: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 99 | pub system_admin_loader: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataLoaderContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_invite_users`, `can_manage_users`, `is_admin`, `is_system_admin`, and `clear_all` are never used [INFO] [stdout] --> src/graphql/dataloader.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 102 | impl DataLoaderContext { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub async fn can_invite_users(&self, user_id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub async fn can_manage_users(&self, user_id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub async fn is_admin(&self, user_id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub async fn is_system_admin(&self, user_id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn clear_all(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/services/activity.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl EntityType { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_db`, `log_task_status_change`, `log_task_deletion`, and `get_user_recent_activities` are never used [INFO] [stdout] --> src/services/activity.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl ActivityService { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_db(&self) -> &DatabaseConnection { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub async fn log_task_status_change( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub async fn log_task_deletion( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub async fn get_user_recent_activities( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_db`, `get_context_by_id`, and `get_project_context_stats` are never used [INFO] [stdout] --> src/services/context.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl ContextService { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn get_db(&self) -> &DatabaseConnection { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub async fn get_context_by_id(&self, context_id: Uuid) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub async fn get_project_context_stats(&self, project_id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextStats` is never constructed [INFO] [stdout] --> src/services/context.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 327 | pub struct ContextStats { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_verification_email` is never used [INFO] [stdout] --> src/services/email.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl EmailService { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub async fn send_verification_email( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_db`, `get_email_stats_by_process`, and `find_potential_duplicates` are never used [INFO] [stdout] --> src/services/email_context.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl EmailContextService { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_db(&self) -> &DatabaseConnection { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub async fn get_email_stats_by_process(&self, project_id: Uuid) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub async fn find_potential_duplicates( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `use_invitation` is never used [INFO] [stdout] --> src/services/invitation.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl InvitationService { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub async fn use_invitation( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_task_context` is never used [INFO] [stdout] --> src/services/task.rs:708:18 [INFO] [stdout] | [INFO] [stdout] 19 | impl TaskService { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 708 | pub async fn update_task_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register_user`, `get_user_permissions`, and `get_user_role` are never used [INFO] [stdout] --> src/services/user.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl UserService { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub async fn register_user( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | pub async fn get_user_permissions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub async fn get_user_role( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.14s [INFO] running `Command { std: "docker" "inspect" "fc7d1c9d720bd5c8695e0bf392dcfd13a2458016bc7820d231d6e35375d432e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc7d1c9d720bd5c8695e0bf392dcfd13a2458016bc7820d231d6e35375d432e6", kill_on_drop: false }` [INFO] [stdout] fc7d1c9d720bd5c8695e0bf392dcfd13a2458016bc7820d231d6e35375d432e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 739581a7b39282f2701a286c636c6a7fffceef086cc273b32a6ca7bac22b306a [INFO] running `Command { std: "docker" "start" "-a" "739581a7b39282f2701a286c636c6a7fffceef086cc273b32a6ca7bac22b306a", kill_on_drop: false }` [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] [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] [stderr] warning: unused imports: `admin_guard` and `permission_guard` [INFO] [stderr] --> src/auth/guards.rs:89:17 [INFO] [stderr] | [INFO] [stderr] 89 | pub use crate::{permission_guard, admin_guard}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `middleware::*` [INFO] [stderr] --> src/auth/mod.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub use middleware::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::activity_comment::Entity as ActivityComment` [INFO] [stderr] --> src/entities/prelude.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub use super::activity_comment::Entity as ActivityComment; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::email_attachment::Entity as EmailAttachment` [INFO] [stderr] --> src/entities/prelude.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub use super::email_attachment::Entity as EmailAttachment; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `types::*` [INFO] [stderr] --> src/graphql/mod.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub use types::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `jwt_service` is never read [INFO] [stderr] --> src/main.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 30 | struct AppState { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 33 | jwt_service: JwtService, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppState` has a derived impl for the trait `Clone`, 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: function `require_system_admin` is never used [INFO] [stderr] --> src/auth/guards.rs:40:14 [INFO] [stderr] | [INFO] [stderr] 40 | pub async fn require_system_admin<'ctx>(ctx: &'ctx Context<'_>, resource: &str) -> Result<&'ctx AuthenticatedUser> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `require_user_can_manage` is never used [INFO] [stderr] --> src/auth/guards.rs:50:14 [INFO] [stderr] | [INFO] [stderr] 50 | pub async fn require_user_can_manage<'ctx>( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `generate_token` is never used [INFO] [stderr] --> src/auth/jwt.rs:53:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl JwtService { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn generate_token(&self, user_id: Uuid, email: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `auth_middleware` is never used [INFO] [stderr] --> src/auth/middleware.rs:10:14 [INFO] [stderr] | [INFO] [stderr] 10 | pub async fn auth_middleware( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `user_is_admin`, `user_is_system_admin`, `get_user_role_level`, `user_can_manage_user`, `grant_user_permission`, and `revoke_user_permission` are never used [INFO] [stderr] --> src/auth/permissions.rs:156:18 [INFO] [stderr] | [INFO] [stderr] 12 | impl PermissionService { [INFO] [stderr] | ---------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 156 | pub async fn user_is_admin( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 165 | pub async fn user_is_system_admin( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 174 | pub async fn get_user_role_level( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 190 | pub async fn user_can_manage_user( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 203 | pub async fn grant_user_permission( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 240 | pub async fn revoke_user_permission( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `email` is never read [INFO] [stderr] --> src/auth/types.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct AuthenticatedUser { [INFO] [stderr] | ----------------- field in this struct [INFO] [stderr] 14 | pub id: Uuid, [INFO] [stderr] 15 | pub email: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AuthenticatedUser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `confidence_score` and `extracted_entities` are never read [INFO] [stderr] --> src/graphql/types.rs:1195:9 [INFO] [stderr] | [INFO] [stderr] 1180 | pub struct EmailContext { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 1195 | pub confidence_score: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 1196 | #[graphql(skip)] [INFO] [stderr] 1197 | pub extracted_entities: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ContextCategoryConnection` is never constructed [INFO] [stderr] --> src/graphql/types.rs:1446:12 [INFO] [stderr] | [INFO] [stderr] 1446 | pub struct ContextCategoryConnection { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `invite_users_loader`, `user_management_loader`, `admin_loader`, and `system_admin_loader` are never read [INFO] [stderr] --> src/graphql/dataloader.rs:96:9 [INFO] [stderr] | [INFO] [stderr] 93 | pub struct DataLoaderContext { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 96 | pub invite_users_loader: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 97 | pub user_management_loader: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 98 | pub admin_loader: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 99 | pub system_admin_loader: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DataLoaderContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `can_invite_users`, `can_manage_users`, `is_admin`, `is_system_admin`, and `clear_all` are never used [INFO] [stderr] --> src/graphql/dataloader.rs:161:18 [INFO] [stderr] | [INFO] [stderr] 102 | impl DataLoaderContext { [INFO] [stderr] | ---------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 161 | pub async fn can_invite_users(&self, user_id: Uuid) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 166 | pub async fn can_manage_users(&self, user_id: Uuid) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 171 | pub async fn is_admin(&self, user_id: Uuid) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 176 | pub async fn is_system_admin(&self, user_id: Uuid) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 181 | pub fn clear_all(&self) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_str` is never used [INFO] [stderr] --> src/services/activity.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl EntityType { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 33 | pub fn from_str(s: &str) -> Option { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_db`, `log_task_status_change`, `log_task_deletion`, and `get_user_recent_activities` are never used [INFO] [stderr] --> src/services/activity.rs:49:12 [INFO] [stderr] | [INFO] [stderr] 44 | impl ActivityService { [INFO] [stderr] | -------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 49 | pub fn get_db(&self) -> &DatabaseConnection { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 131 | pub async fn log_task_status_change( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 262 | pub async fn log_task_deletion( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 297 | pub async fn get_user_recent_activities( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_db`, `get_context_by_id`, and `get_project_context_stats` are never used [INFO] [stderr] --> src/services/context.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 20 | impl ContextService { [INFO] [stderr] | ------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 25 | pub fn get_db(&self) -> &DatabaseConnection { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 251 | pub async fn get_context_by_id(&self, context_id: Uuid) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 285 | pub async fn get_project_context_stats(&self, project_id: Uuid) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ContextStats` is never constructed [INFO] [stderr] --> src/services/context.rs:327:12 [INFO] [stderr] | [INFO] [stderr] 327 | pub struct ContextStats { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `send_verification_email` is never used [INFO] [stderr] --> src/services/email.rs:18:18 [INFO] [stderr] | [INFO] [stderr] 9 | impl EmailService { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 18 | pub async fn send_verification_email( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_db`, `get_email_stats_by_process`, and `find_potential_duplicates` are never used [INFO] [stderr] --> src/services/email_context.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 22 | impl EmailContextService { [INFO] [stderr] | ------------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 28 | pub fn get_db(&self) -> &DatabaseConnection { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 297 | pub async fn get_email_stats_by_process(&self, project_id: Uuid) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 376 | pub async fn find_potential_duplicates( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `use_invitation` is never used [INFO] [stderr] --> src/services/invitation.rs:124:18 [INFO] [stderr] | [INFO] [stderr] 14 | impl InvitationService { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 124 | pub async fn use_invitation( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `update_task_context` is never used [INFO] [stderr] --> src/services/task.rs:708:18 [INFO] [stderr] | [INFO] [stderr] 19 | impl TaskService { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 708 | pub async fn update_task_context( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `register_user`, `get_user_permissions`, and `get_user_role` are never used [INFO] [stderr] --> src/services/user.rs:113:18 [INFO] [stderr] | [INFO] [stderr] 15 | impl UserService { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 113 | pub async fn register_user( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 369 | pub async fn get_user_permissions( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 419 | pub async fn get_user_role( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `freshapi` (bin "freshapi" test) generated 25 warnings (run `cargo fix --bin "freshapi" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/freshapi-a4357451447e9287) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/freshapi-f339201a0899d291) [INFO] [stderr] Doc-tests freshapi [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" "739581a7b39282f2701a286c636c6a7fffceef086cc273b32a6ca7bac22b306a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "739581a7b39282f2701a286c636c6a7fffceef086cc273b32a6ca7bac22b306a", kill_on_drop: false }` [INFO] [stdout] 739581a7b39282f2701a286c636c6a7fffceef086cc273b32a6ca7bac22b306a