[INFO] cloning repository https://github.com/gabrielmelodev/usetheo_backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gabrielmelodev/usetheo_backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabrielmelodev%2Fusetheo_backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabrielmelodev%2Fusetheo_backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3bcb8a36abe049b718dba4bfc18d4747d7461415 [INFO] testing gabrielmelodev/usetheo_backend against 1.100.0-beta.1 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabrielmelodev%2Fusetheo_backend" "/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/gabrielmelodev/usetheo_backend [INFO] finished tweaking git repo https://github.com/gabrielmelodev/usetheo_backend [INFO] tweaked toml for git repo https://github.com/gabrielmelodev/usetheo_backend written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gabrielmelodev/usetheo_backend on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gabrielmelodev/usetheo_backend already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] db0de704d121982a03a3c4a4ab70767d567eb08550631130dadb642866d64645 [INFO] running `Command { std: "docker" "start" "db0de704d121982a03a3c4a4ab70767d567eb08550631130dadb642866d64645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db0de704d121982a03a3c4a4ab70767d567eb08550631130dadb642866d64645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "db0de704d121982a03a3c4a4ab70767d567eb08550631130dadb642866d64645" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db0de704d121982a03a3c4a4ab70767d567eb08550631130dadb642866d64645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "db0de704d121982a03a3c4a4ab70767d567eb08550631130dadb642866d64645" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling libc v0.2.189 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.11 [INFO] [stderr] Compiling futures-core v0.3.34 [INFO] [stderr] Compiling memchr v2.8.3 [INFO] [stderr] Compiling bytes v1.12.1 [INFO] [stderr] Compiling cc v1.4.4 [INFO] [stderr] Compiling log v0.4.34 [INFO] [stderr] Compiling litemap v0.8.3 [INFO] [stderr] Compiling writeable v0.6.4 [INFO] [stderr] Compiling zerocopy v0.8.56 [INFO] [stderr] Compiling futures-task v0.3.34 [INFO] [stderr] Compiling futures-io v0.3.34 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Compiling icu_properties_data v2.3.0 [INFO] [stderr] Compiling syn v3.0.4 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling icu_normalizer_data v2.3.0 [INFO] [stderr] Compiling futures-sink v0.3.34 [INFO] [stderr] Compiling zeroize v1.9.0 [INFO] [stderr] Compiling rustls-pki-types v1.15.1 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-channel v0.3.34 [INFO] [stderr] Compiling pkg-config v0.3.34 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling socket2 v0.6.5 [INFO] [stderr] Compiling mio v1.2.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling siphasher v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling bitflags v2.13.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling webpki-roots v1.0.9 [INFO] [stderr] Compiling http v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.20 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling http-body v1.1.0 [INFO] [stderr] Compiling rustls v0.23.43 [INFO] [stderr] Compiling tinyvec v1.12.0 [INFO] [stderr] Compiling event-listener v5.4.2 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling openssl-sys v0.9.117 [INFO] [stderr] Compiling spin v0.9.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.22 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-util v0.3.34 [INFO] [stderr] Compiling tokio v1.53.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling rand v0.8.8 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling getrandom v0.4.3 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling rustls-webpki v0.103.15 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.6 [INFO] [stderr] Compiling displaydoc v0.2.7 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Compiling tokio-macros v2.7.2 [INFO] [stderr] Compiling yoke v0.8.3 [INFO] [stderr] Compiling futures-macro v0.3.34 [INFO] [stderr] Compiling zerovec v0.11.8 [INFO] [stderr] Compiling zerotrie v0.2.5 [INFO] [stderr] Compiling tinystr v0.8.4 [INFO] [stderr] Compiling potential_utf v0.1.6 [INFO] [stderr] Compiling icu_collections v2.3.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling icu_locale_core v2.3.0 [INFO] [stderr] Compiling thiserror-impl v2.0.20 [INFO] [stderr] Compiling icu_provider v2.3.1 [INFO] [stderr] Compiling icu_properties v2.3.0 [INFO] [stderr] Compiling smallvec v1.15.2 [INFO] [stderr] Compiling either v1.18.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling icu_normalizer v2.3.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling idna_adapter v1.2.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling tokio-stream v0.1.19 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.13 [INFO] [stderr] Compiling chrono v0.4.45 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling aho-corasick v1.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling uuid v1.26.0 [INFO] [stderr] Compiling crc32fast v1.5.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling openssl v0.10.81 [INFO] [stderr] Compiling regex-syntax v0.8.11 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling http-body-util v0.1.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling simd-adler32 v0.3.10 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling ipnet v2.12.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling regex-automata v0.4.18 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling tokio-util v0.7.19 [INFO] [stderr] Compiling h2 v0.4.19 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Compiling futures-executor v0.3.34 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling dtoa v1.0.11 [INFO] [stderr] Compiling num-conv v0.2.2 [INFO] [stderr] Compiling time-core v0.1.9 [INFO] [stderr] Compiling rustversion v1.0.23 [INFO] [stderr] Compiling time-macros v0.2.32 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling hyper v1.11.0 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling selectors v0.26.0 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling async-trait v0.1.92 [INFO] [stderr] Compiling num-integer v0.1.47 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling num-bigint v0.4.8 [INFO] [stderr] Compiling cssparser v0.34.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling time v0.3.55 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling regex v1.13.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling servo_arc v0.4.3 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.104 [INFO] [stderr] Compiling base64ct v1.8.3 [INFO] [stderr] Compiling base64 v0.23.1 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling email-encoding v0.4.2 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling simple_asn1 v0.6.4 [INFO] [stderr] Compiling hyper-rustls v0.27.9 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling html5ever v0.29.1 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling validator_derive v0.18.2 [INFO] [stderr] Compiling tower-http v0.6.11 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling codepage v0.1.2 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling pem v3.0.6 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling thread_local v1.1.10 [INFO] [stderr] Compiling quoted_printable v0.5.2 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling ego-tree v0.10.0 [INFO] [stderr] Compiling fastrand v2.5.0 [INFO] [stderr] Compiling scraper v0.22.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling dashmap v6.2.1 [INFO] [stderr] Compiling validator v0.18.1 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling calamine v0.24.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling rust_xlsxwriter v0.64.2 [INFO] [stderr] Compiling futures v0.3.34 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling sha1 v0.10.7 [INFO] [stderr] Compiling base32 v0.5.1 [INFO] [stderr] Compiling lettre v0.11.23 [INFO] [stderr] Compiling theo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `RequireAdmin` is never constructed [INFO] [stdout] --> src/auth/middleware.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RequireAdmin(pub CurrentUser); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_code` is never used [INFO] [stdout] --> src/auth/totp.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn generate_code(secret_base32: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `offline_mode` is never read [INFO] [stdout] --> src/config.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub offline_mode: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `inserted_at` are never read [INFO] [stdout] --> src/models/card.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Card { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | pub id: Uuid, [INFO] [stdout] 8 | pub user_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub inserted_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Card` 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: struct `Template` is never constructed [INFO] [stdout] --> src/models/note_type.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Template { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Session` is never constructed [INFO] [stdout] --> src/models/session.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Session { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cpf`, `inserted_at`, and `updated_at` are never read [INFO] [stdout] --> src/models/user.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub cpf: String, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub inserted_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | pub updated_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `inserted_at` are never read [INFO] [stdout] --> src/routes/sync.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 379 | struct RemoteNote { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 380 | id: Uuid, [INFO] [stdout] 381 | user_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | inserted_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RemoteNote` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/routes/ai.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 82 | struct TheoMemory { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 83 | id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TheoMemory` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `lettre` [INFO] [stderr] --> Cargo.toml:33:15 [INFO] [stderr] | [INFO] [stderr] 33 | [dependencies.lettre] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `lettre` [INFO] [stderr] warning: unused dependency `tower` [INFO] [stderr] --> Cargo.toml:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | tower = "0.4" [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `tower` [INFO] [stderr] warning: `theo` (manifest) generated 2 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 28s [INFO] running `Command { std: "docker" "inspect" "db0de704d121982a03a3c4a4ab70767d567eb08550631130dadb642866d64645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "db0de704d121982a03a3c4a4ab70767d567eb08550631130dadb642866d64645" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling theo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `RequireAdmin` is never constructed [INFO] [stdout] --> src/auth/middleware.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RequireAdmin(pub CurrentUser); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_code` is never used [INFO] [stdout] --> src/auth/totp.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn generate_code(secret_base32: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `offline_mode` is never read [INFO] [stdout] --> src/config.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub offline_mode: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `inserted_at` are never read [INFO] [stdout] --> src/models/card.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Card { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | pub id: Uuid, [INFO] [stdout] 8 | pub user_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub inserted_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Card` 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: struct `Template` is never constructed [INFO] [stdout] --> src/models/note_type.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Template { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Session` is never constructed [INFO] [stdout] --> src/models/session.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Session { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cpf`, `inserted_at`, and `updated_at` are never read [INFO] [stdout] --> src/models/user.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub cpf: String, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub inserted_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | pub updated_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `inserted_at` are never read [INFO] [stdout] --> src/routes/sync.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 379 | struct RemoteNote { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 380 | id: Uuid, [INFO] [stdout] 381 | user_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | inserted_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RemoteNote` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/routes/ai.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 82 | struct TheoMemory { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 83 | id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TheoMemory` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `lettre` [INFO] [stderr] --> Cargo.toml:33:15 [INFO] [stderr] | [INFO] [stderr] 33 | [dependencies.lettre] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `lettre` [INFO] [stderr] warning: unused dependency `tower` [INFO] [stderr] --> Cargo.toml:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | tower = "0.4" [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `tower` [INFO] [stderr] warning: `theo` (manifest) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.50s [INFO] running `Command { std: "docker" "inspect" "db0de704d121982a03a3c4a4ab70767d567eb08550631130dadb642866d64645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "db0de704d121982a03a3c4a4ab70767d567eb08550631130dadb642866d64645" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: struct `RequireAdmin` is never constructed [INFO] [stderr] --> src/auth/middleware.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct RequireAdmin(pub CurrentUser); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `generate_code` is never used [INFO] [stderr] --> src/auth/totp.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn generate_code(secret_base32: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `offline_mode` is never read [INFO] [stderr] --> src/config.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Config { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 38 | pub offline_mode: bool, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Config` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `user_id` and `inserted_at` are never read [INFO] [stderr] --> src/models/card.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Card { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 7 | pub id: Uuid, [INFO] [stderr] 8 | pub user_id: Uuid, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | pub inserted_at: DateTime, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Card` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Template` is never constructed [INFO] [stderr] --> src/models/note_type.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | pub struct Template { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Session` is never constructed [INFO] [stderr] --> src/models/session.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Session { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `cpf`, `inserted_at`, and `updated_at` are never read [INFO] [stderr] --> src/models/user.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct User { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 11 | pub cpf: String, [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | pub inserted_at: DateTime, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 21 | pub updated_at: DateTime, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `user_id` and `inserted_at` are never read [INFO] [stderr] --> src/routes/sync.rs:381:5 [INFO] [stderr] | [INFO] [stderr] 379 | struct RemoteNote { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 380 | id: Uuid, [INFO] [stderr] 381 | user_id: Uuid, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 386 | inserted_at: DateTime, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RemoteNote` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/routes/ai.rs:83:5 [INFO] [stderr] | [INFO] [stderr] 82 | struct TheoMemory { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 83 | id: Uuid, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `TheoMemory` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `theo` (bin "theo" test) generated 9 warnings [INFO] [stderr] warning: unused dependency `lettre` [INFO] [stderr] --> Cargo.toml:33:15 [INFO] [stderr] | [INFO] [stderr] 33 | [dependencies.lettre] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `lettre` [INFO] [stderr] warning: unused dependency `tower` [INFO] [stderr] --> Cargo.toml:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | tower = "0.4" [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `tower` [INFO] [stderr] warning: `theo` (manifest) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/theo/36838eb0be0c8bea/out/theo-36838eb0be0c8bea) [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" "db0de704d121982a03a3c4a4ab70767d567eb08550631130dadb642866d64645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db0de704d121982a03a3c4a4ab70767d567eb08550631130dadb642866d64645", kill_on_drop: false }` [INFO] [stdout] db0de704d121982a03a3c4a4ab70767d567eb08550631130dadb642866d64645