[INFO] cloning repository https://github.com/otavioonoue/conecta-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/otavioonoue/conecta-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fotavioonoue%2Fconecta-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fotavioonoue%2Fconecta-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c204edb2670fdf548a6c5b510739e66223a64dac [INFO] testing otavioonoue/conecta-backend against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fotavioonoue%2Fconecta-backend" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/otavioonoue/conecta-backend [INFO] finished tweaking git repo https://github.com/otavioonoue/conecta-backend [INFO] tweaked toml for git repo https://github.com/otavioonoue/conecta-backend written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/otavioonoue/conecta-backend on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/otavioonoue/conecta-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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f15f8e39d624a555e9f84f17880914e5b7c1255f6c6bc790bc6b9ba87ccfed45 [INFO] running `Command { std: "docker" "start" "-a" "f15f8e39d624a555e9f84f17880914e5b7c1255f6c6bc790bc6b9ba87ccfed45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f15f8e39d624a555e9f84f17880914e5b7c1255f6c6bc790bc6b9ba87ccfed45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f15f8e39d624a555e9f84f17880914e5b7c1255f6c6bc790bc6b9ba87ccfed45", kill_on_drop: false }` [INFO] [stdout] f15f8e39d624a555e9f84f17880914e5b7c1255f6c6bc790bc6b9ba87ccfed45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa82dd8edcb3028fec92f83af22328ba8183c9f134cfab265ead45befafe13d1 [INFO] running `Command { std: "docker" "start" "-a" "aa82dd8edcb3028fec92f83af22328ba8183c9f134cfab265ead45befafe13d1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling zmij v1.0.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling rust_decimal v1.39.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling aws-lc-rs v1.15.2 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling postgres-protocol v0.6.9 [INFO] [stderr] Compiling aws-lc-sys v0.35.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling iri-string v0.7.9 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling headers v0.4.1 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Compiling pem v3.0.6 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling bcrypt v0.17.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling postgres-types v0.2.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling rust_decimal_macros v1.39.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling validator v0.20.0 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling jsonwebtoken v10.2.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling axum-valid v0.24.0 [INFO] [stderr] Compiling axum-extra v0.12.4 [INFO] [stderr] Compiling conecta-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `post` [INFO] [stdout] --> src/lib.rs:3:102 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{Router, extract::{Query, State, WebSocketUpgrade}, response::IntoResponse, routing::{get, post}}; [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: `Claims` [INFO] [stdout] --> src/lib.rs:10:239 [INFO] [stdout] | [INFO] [stdout] 10 | ...tory::auth_repository_impl::AuthRepositoryImpl, jwt::claim::{Claims, decode_token}}, presentation::controller::auth_controller::a... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `consultant::Consultant` and `shared::infra::error::AppError` [INFO] [stdout] --> src/modules/public/payment/domain/repository/payment_repository.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{modules::public::auth::domain::entity::{consultant::Consultant}, shared::infra::error::AppError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::http::StatusCode` [INFO] [stdout] --> src/modules/public/payment/infrastructure/database/repository/payment_repository_impl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::http::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `consultant::Consultant`, `error::AppError`, `infrastructure::mapper::InfrastructureMapper`, `model::user_model::UserModel`, and `user::User` [INFO] [stdout] --> src/modules/public/payment/infrastructure/database/repository/payment_repository_impl.rs:5:58 [INFO] [stdout] | [INFO] [stdout] 5 | ...::{consultant::Consultant, user::User}, repository::payment_repository::PaymentRepository}, infrastructure::mapper::InfrastructureMapper}, shared::infra::{database::{db_config::{Database, Db}, model::user_model::UserModel}, error::AppError}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::shared::infra::database::model::consultant_model::ConsultantModel` [INFO] [stdout] --> src/modules/public/payment/infrastructure/database/repository/payment_repository_impl.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::shared::infra::database::model::consultant_model::ConsultantModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/modules/public/service/infrastructure/database/repository/service_repository_impl.rs:96:34 [INFO] [stdout] | [INFO] [stdout] 96 | async fn find_by_user(&self, user_id: String) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> src/modules/public/service/infrastructure/database/repository/service_repository_impl.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let resp: Vec = sqlx::query_as::<_, ServiceModel>( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/modules/public/service/presentation/controller/service_controller.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | State(s): State [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service_schedule` [INFO] [stdout] --> src/shared/infra/service/notification_service.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | async fn visit_payment_done(&self, service_schedule: ServiceSchedule) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service_schedule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_by_user` is never used [INFO] [stdout] --> src/modules/public/service/presentation/controller/service_controller.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | async fn get_by_user( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.73s [INFO] running `Command { std: "docker" "inspect" "aa82dd8edcb3028fec92f83af22328ba8183c9f134cfab265ead45befafe13d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa82dd8edcb3028fec92f83af22328ba8183c9f134cfab265ead45befafe13d1", kill_on_drop: false }` [INFO] [stdout] aa82dd8edcb3028fec92f83af22328ba8183c9f134cfab265ead45befafe13d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a5fb60fa0a3d1497ba1a1b84553496f6454d783946becd9e5984c007343bf4d [INFO] running `Command { std: "docker" "start" "-a" "5a5fb60fa0a3d1497ba1a1b84553496f6454d783946becd9e5984c007343bf4d", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `post` [INFO] [stdout] --> src/lib.rs:3:102 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{Router, extract::{Query, State, WebSocketUpgrade}, response::IntoResponse, routing::{get, post}}; [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: `Claims` [INFO] [stdout] --> src/lib.rs:10:239 [INFO] [stdout] | [INFO] [stdout] 10 | ...tory::auth_repository_impl::AuthRepositoryImpl, jwt::claim::{Claims, decode_token}}, presentation::controller::auth_controller::a... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `consultant::Consultant` and `shared::infra::error::AppError` [INFO] [stdout] --> src/modules/public/payment/domain/repository/payment_repository.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{modules::public::auth::domain::entity::{consultant::Consultant}, shared::infra::error::AppError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::http::StatusCode` [INFO] [stdout] --> src/modules/public/payment/infrastructure/database/repository/payment_repository_impl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::http::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `consultant::Consultant`, `error::AppError`, `infrastructure::mapper::InfrastructureMapper`, `model::user_model::UserModel`, and `user::User` [INFO] [stdout] --> src/modules/public/payment/infrastructure/database/repository/payment_repository_impl.rs:5:58 [INFO] [stdout] | [INFO] [stdout] 5 | ...::{consultant::Consultant, user::User}, repository::payment_repository::PaymentRepository}, infrastructure::mapper::InfrastructureMapper}, shared::infra::{database::{db_config::{Database, Db}, model::user_model::UserModel}, error::AppError}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::shared::infra::database::model::consultant_model::ConsultantModel` [INFO] [stdout] --> src/modules/public/payment/infrastructure/database/repository/payment_repository_impl.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::shared::infra::database::model::consultant_model::ConsultantModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/modules/public/service/infrastructure/database/repository/service_repository_impl.rs:96:34 [INFO] [stdout] | [INFO] [stdout] 96 | async fn find_by_user(&self, user_id: String) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> src/modules/public/service/infrastructure/database/repository/service_repository_impl.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let resp: Vec = sqlx::query_as::<_, ServiceModel>( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling conecta-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/modules/public/service/presentation/controller/service_controller.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | State(s): State [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service_schedule` [INFO] [stdout] --> src/shared/infra/service/notification_service.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | async fn visit_payment_done(&self, service_schedule: ServiceSchedule) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service_schedule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_by_user` is never used [INFO] [stdout] --> src/modules/public/service/presentation/controller/service_controller.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | async fn get_by_user( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post` [INFO] [stdout] --> src/lib.rs:3:102 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{Router, extract::{Query, State, WebSocketUpgrade}, response::IntoResponse, routing::{get, post}}; [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: `Claims` [INFO] [stdout] --> src/lib.rs:10:239 [INFO] [stdout] | [INFO] [stdout] 10 | ...tory::auth_repository_impl::AuthRepositoryImpl, jwt::claim::{Claims, decode_token}}, presentation::controller::auth_controller::a... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `consultant::Consultant` and `shared::infra::error::AppError` [INFO] [stdout] --> src/modules/public/payment/domain/repository/payment_repository.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{modules::public::auth::domain::entity::{consultant::Consultant}, shared::infra::error::AppError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::http::StatusCode` [INFO] [stdout] --> src/modules/public/payment/infrastructure/database/repository/payment_repository_impl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::http::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `consultant::Consultant`, `error::AppError`, `infrastructure::mapper::InfrastructureMapper`, `model::user_model::UserModel`, and `user::User` [INFO] [stdout] --> src/modules/public/payment/infrastructure/database/repository/payment_repository_impl.rs:5:58 [INFO] [stdout] | [INFO] [stdout] 5 | ...::{consultant::Consultant, user::User}, repository::payment_repository::PaymentRepository}, infrastructure::mapper::InfrastructureMapper}, shared::infra::{database::{db_config::{Database, Db}, model::user_model::UserModel}, error::AppError}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::shared::infra::database::model::consultant_model::ConsultantModel` [INFO] [stdout] --> src/modules/public/payment/infrastructure/database/repository/payment_repository_impl.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::shared::infra::database::model::consultant_model::ConsultantModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/modules/public/service/infrastructure/database/repository/service_repository_impl.rs:96:34 [INFO] [stdout] | [INFO] [stdout] 96 | async fn find_by_user(&self, user_id: String) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> src/modules/public/service/infrastructure/database/repository/service_repository_impl.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let resp: Vec = sqlx::query_as::<_, ServiceModel>( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/modules/public/service/presentation/controller/service_controller.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | State(s): State [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service_schedule` [INFO] [stdout] --> src/shared/infra/service/notification_service.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | async fn visit_payment_done(&self, service_schedule: ServiceSchedule) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service_schedule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_by_user` is never used [INFO] [stdout] --> src/modules/public/service/presentation/controller/service_controller.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | async fn get_by_user( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.40s [INFO] running `Command { std: "docker" "inspect" "5a5fb60fa0a3d1497ba1a1b84553496f6454d783946becd9e5984c007343bf4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a5fb60fa0a3d1497ba1a1b84553496f6454d783946becd9e5984c007343bf4d", kill_on_drop: false }` [INFO] [stdout] 5a5fb60fa0a3d1497ba1a1b84553496f6454d783946becd9e5984c007343bf4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d94c8d318e8cfa960aa1311524efa3f58e193a0188ddfa5962014d5dcfdf4067 [INFO] running `Command { std: "docker" "start" "-a" "d94c8d318e8cfa960aa1311524efa3f58e193a0188ddfa5962014d5dcfdf4067", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `post` [INFO] [stderr] --> src/lib.rs:3:102 [INFO] [stderr] | [INFO] [stderr] 3 | use axum::{Router, extract::{Query, State, WebSocketUpgrade}, response::IntoResponse, routing::{get, post}}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Claims` [INFO] [stderr] --> src/lib.rs:10:239 [INFO] [stderr] | [INFO] [stderr] 10 | ...tory::auth_repository_impl::AuthRepositoryImpl, jwt::claim::{Claims, decode_token}}, presentation::controller::auth_controller::a... [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `consultant::Consultant` and `shared::infra::error::AppError` [INFO] [stderr] --> src/modules/public/payment/domain/repository/payment_repository.rs:3:53 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::{modules::public::auth::domain::entity::{consultant::Consultant}, shared::infra::error::AppError}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `axum::http::StatusCode` [INFO] [stderr] --> src/modules/public/payment/infrastructure/database/repository/payment_repository_impl.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use axum::http::StatusCode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `consultant::Consultant`, `error::AppError`, `infrastructure::mapper::InfrastructureMapper`, `model::user_model::UserModel`, and `user::User` [INFO] [stderr] --> src/modules/public/payment/infrastructure/database/repository/payment_repository_impl.rs:5:58 [INFO] [stderr] | [INFO] [stderr] 5 | ...::{consultant::Consultant, user::User}, repository::payment_repository::PaymentRepository}, infrastructure::mapper::InfrastructureMapper}, shared::infra::{database::{db_config::{Database, Db}, model::user_model::UserModel}, error::AppError}}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::shared::infra::database::model::consultant_model::ConsultantModel` [INFO] [stderr] --> src/modules/public/payment/infrastructure/database/repository/payment_repository_impl.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::shared::infra::database::model::consultant_model::ConsultantModel; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_id` [INFO] [stderr] --> src/modules/public/service/infrastructure/database/repository/service_repository_impl.rs:96:34 [INFO] [stderr] | [INFO] [stderr] 96 | async fn find_by_user(&self, user_id: String) -> Result<(), AppError> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `resp` [INFO] [stderr] --> src/modules/public/service/infrastructure/database/repository/service_repository_impl.rs:97:13 [INFO] [stderr] | [INFO] [stderr] 97 | let resp: Vec = sqlx::query_as::<_, ServiceModel>( [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/modules/public/service/presentation/controller/service_controller.rs:23:11 [INFO] [stderr] | [INFO] [stderr] 23 | State(s): State [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `service_schedule` [INFO] [stderr] --> src/shared/infra/service/notification_service.rs:57:40 [INFO] [stderr] | [INFO] [stderr] 57 | async fn visit_payment_done(&self, service_schedule: ServiceSchedule) -> Result<(), AppError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service_schedule` [INFO] [stderr] [INFO] [stderr] warning: function `get_by_user` is never used [INFO] [stderr] --> src/modules/public/service/presentation/controller/service_controller.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | async fn get_by_user( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `conecta-backend` (lib) generated 11 warnings (run `cargo fix --lib -p conecta-backend` to apply 10 suggestions) [INFO] [stderr] warning: `conecta-backend` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/conecta_backend-37f06f09bd7b7020) [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] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/conecta_backend-7b8fce4630f2db47) [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] Doc-tests conecta_backend [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" "d94c8d318e8cfa960aa1311524efa3f58e193a0188ddfa5962014d5dcfdf4067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d94c8d318e8cfa960aa1311524efa3f58e193a0188ddfa5962014d5dcfdf4067", kill_on_drop: false }` [INFO] [stdout] d94c8d318e8cfa960aa1311524efa3f58e193a0188ddfa5962014d5dcfdf4067