[INFO] cloning repository https://github.com/DainXOR/asl1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DainXOR/asl1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDainXOR%2Fasl1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDainXOR%2Fasl1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25c8bb9f98624e0d7345b6ece47c4cb2de422ebb [INFO] testing DainXOR/asl1 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDainXOR%2Fasl1" "/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/DainXOR/asl1 [INFO] finished tweaking git repo https://github.com/DainXOR/asl1 [INFO] tweaked toml for git repo https://github.com/DainXOR/asl1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DainXOR/asl1 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DainXOR/asl1 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fc084e57a3686e527cd3030e17309ce9c3b5cb5f142325d61ddd108ef3ce0cc [INFO] running `Command { std: "docker" "start" "-a" "7fc084e57a3686e527cd3030e17309ce9c3b5cb5f142325d61ddd108ef3ce0cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fc084e57a3686e527cd3030e17309ce9c3b5cb5f142325d61ddd108ef3ce0cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fc084e57a3686e527cd3030e17309ce9c3b5cb5f142325d61ddd108ef3ce0cc", kill_on_drop: false }` [INFO] [stdout] 7fc084e57a3686e527cd3030e17309ce9c3b5cb5f142325d61ddd108ef3ce0cc [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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09a5dfe0a9642050cc548407001b37fca00e445b4149453d0edfaf5b518dbb50 [INFO] running `Command { std: "docker" "start" "-a" "09a5dfe0a9642050cc548407001b37fca00e445b4149453d0edfaf5b518dbb50", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Compiling rust_decimal v1.38.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling p384 v0.13.1 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling rustls-webpki v0.103.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling inherent v1.0.13 [INFO] [stderr] Compiling ouroboros_macro v0.18.5 [INFO] [stderr] Compiling sea-bae v0.2.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling sea-orm-macros v1.1.16 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling ouroboros v0.18.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling axum-core v0.5.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling jsonwebtoken v10.0.0 [INFO] [stderr] Compiling validator v0.20.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling sea-query v0.32.7 [INFO] [stderr] Compiling axum v0.8.5 [INFO] [stderr] Compiling sqlx-mysql v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling sea-query-binder v0.7.0 [INFO] [stderr] Compiling sea-orm v1.1.16 [INFO] [stderr] Compiling untitled v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ColumnTrait` and `QueryFilter` [INFO] [stdout] --> src/repository/transaction_repository.rs:1:55 [INFO] [stdout] | [INFO] [stdout] 1 | use sea_orm::{DatabaseConnection, DbErr, EntityTrait, QueryFilter, ColumnTrait, ActiveModelTrait}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/main.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | extract::{Path, State}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomerRepository` is never constructed [INFO] [stdout] --> src/repository/customer_repository.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CustomerRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create`, `find_by_id`, and `find_by_account_number` are never used [INFO] [stdout] --> src/repository/customer_repository.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl CustomerRepository { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(db: DatabaseConnection) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub async fn create(&self, customer: customer::Model) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub async fn find_by_id(&self, id: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn find_by_account_number(&self, account_number: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransactionRepository` is never constructed [INFO] [stdout] --> src/repository/transaction_repository.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TransactionRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create`, and `find_by_id` are never used [INFO] [stdout] --> src/repository/transaction_repository.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl TransactionRepository { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(db: DatabaseConnection) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub async fn create(&self, transaction: transaction::Model) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub async fn find_by_id(&self, id: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomerService` is never constructed [INFO] [stdout] --> src/service/customer_service.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct CustomerService { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create`, `find_by_id`, and `find_by_account_number` are never used [INFO] [stdout] --> src/service/customer_service.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl CustomerService { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(customerRepo: CustomerRepository) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub async fn create(&self, customer: CustomerDTO) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub async fn find_by_id(&self, id: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub async fn find_by_account_number(&self, account_number: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransactionService` is never constructed [INFO] [stdout] --> src/service/transaction_service.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TransactionService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `create` are never used [INFO] [stdout] --> src/service/transaction_service.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl TransactionService { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(transaction_repo: TransactionRepository, customer_repo: CustomerRepository) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub async fn create(&self, transaction_request: TransactionRequestDTO) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `customerRepo` should have a snake case name [INFO] [stdout] --> src/service/customer_service.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | customerRepo: CustomerRepository, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `customer_repo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `customerRepo` should have a snake case name [INFO] [stdout] --> src/service/customer_service.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(customerRepo: CustomerRepository) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `customer_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6m 27s [INFO] running `Command { std: "docker" "inspect" "09a5dfe0a9642050cc548407001b37fca00e445b4149453d0edfaf5b518dbb50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09a5dfe0a9642050cc548407001b37fca00e445b4149453d0edfaf5b518dbb50", kill_on_drop: false }` [INFO] [stdout] 09a5dfe0a9642050cc548407001b37fca00e445b4149453d0edfaf5b518dbb50 [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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 762288bdb08981d92868700a715119bbb69c3563d0bca742cad779b44d0a3522 [INFO] running `Command { std: "docker" "start" "-a" "762288bdb08981d92868700a715119bbb69c3563d0bca742cad779b44d0a3522", kill_on_drop: false }` [INFO] [stderr] Compiling untitled v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ColumnTrait` and `QueryFilter` [INFO] [stdout] --> src/repository/transaction_repository.rs:1:55 [INFO] [stdout] | [INFO] [stdout] 1 | use sea_orm::{DatabaseConnection, DbErr, EntityTrait, QueryFilter, ColumnTrait, ActiveModelTrait}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/main.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | extract::{Path, State}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomerRepository` is never constructed [INFO] [stdout] --> src/repository/customer_repository.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CustomerRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create`, `find_by_id`, and `find_by_account_number` are never used [INFO] [stdout] --> src/repository/customer_repository.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl CustomerRepository { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(db: DatabaseConnection) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub async fn create(&self, customer: customer::Model) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub async fn find_by_id(&self, id: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn find_by_account_number(&self, account_number: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransactionRepository` is never constructed [INFO] [stdout] --> src/repository/transaction_repository.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TransactionRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create`, and `find_by_id` are never used [INFO] [stdout] --> src/repository/transaction_repository.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl TransactionRepository { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(db: DatabaseConnection) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub async fn create(&self, transaction: transaction::Model) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub async fn find_by_id(&self, id: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomerService` is never constructed [INFO] [stdout] --> src/service/customer_service.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct CustomerService { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create`, `find_by_id`, and `find_by_account_number` are never used [INFO] [stdout] --> src/service/customer_service.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl CustomerService { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(customerRepo: CustomerRepository) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub async fn create(&self, customer: CustomerDTO) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub async fn find_by_id(&self, id: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub async fn find_by_account_number(&self, account_number: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransactionService` is never constructed [INFO] [stdout] --> src/service/transaction_service.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TransactionService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `create` are never used [INFO] [stdout] --> src/service/transaction_service.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl TransactionService { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(transaction_repo: TransactionRepository, customer_repo: CustomerRepository) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub async fn create(&self, transaction_request: TransactionRequestDTO) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `customerRepo` should have a snake case name [INFO] [stdout] --> src/service/customer_service.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | customerRepo: CustomerRepository, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `customer_repo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `customerRepo` should have a snake case name [INFO] [stdout] --> src/service/customer_service.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(customerRepo: CustomerRepository) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `customer_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.29s [INFO] running `Command { std: "docker" "inspect" "762288bdb08981d92868700a715119bbb69c3563d0bca742cad779b44d0a3522", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "762288bdb08981d92868700a715119bbb69c3563d0bca742cad779b44d0a3522", kill_on_drop: false }` [INFO] [stdout] 762288bdb08981d92868700a715119bbb69c3563d0bca742cad779b44d0a3522 [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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a99ac410b98b8a4783e14e12f0d9d1b56e232ed72659ce1d87448d921cd226e0 [INFO] running `Command { std: "docker" "start" "-a" "a99ac410b98b8a4783e14e12f0d9d1b56e232ed72659ce1d87448d921cd226e0", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `ColumnTrait` and `QueryFilter` [INFO] [stderr] --> src/repository/transaction_repository.rs:1:55 [INFO] [stderr] | [INFO] [stderr] 1 | use sea_orm::{DatabaseConnection, DbErr, EntityTrait, QueryFilter, ColumnTrait, ActiveModelTrait}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `State` [INFO] [stderr] --> src/main.rs:9:21 [INFO] [stderr] | [INFO] [stderr] 9 | extract::{Path, State}, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CustomerRepository` is never constructed [INFO] [stderr] --> src/repository/customer_repository.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct CustomerRepository { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `create`, `find_by_id`, and `find_by_account_number` are never used [INFO] [stderr] --> src/repository/customer_repository.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 8 | impl CustomerRepository { [INFO] [stderr] | ----------------------- associated items in this implementation [INFO] [stderr] 9 | pub fn new(db: DatabaseConnection) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 13 | pub async fn create(&self, customer: customer::Model) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 19 | pub async fn find_by_id(&self, id: u32) -> Option { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | pub async fn find_by_account_number(&self, account_number: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TransactionRepository` is never constructed [INFO] [stderr] --> src/repository/transaction_repository.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct TransactionRepository { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `create`, and `find_by_id` are never used [INFO] [stderr] --> src/repository/transaction_repository.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 8 | impl TransactionRepository { [INFO] [stderr] | -------------------------- associated items in this implementation [INFO] [stderr] 9 | pub fn new(db: DatabaseConnection) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 13 | pub async fn create(&self, transaction: transaction::Model) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 19 | pub async fn find_by_id(&self, id: u32) -> Option { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CustomerService` is never constructed [INFO] [stderr] --> src/service/customer_service.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct CustomerService { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `create`, `find_by_id`, and `find_by_account_number` are never used [INFO] [stderr] --> src/service/customer_service.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl CustomerService { [INFO] [stderr] | -------------------- associated items in this implementation [INFO] [stderr] 11 | pub fn new(customerRepo: CustomerRepository) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 15 | pub async fn create(&self, customer: CustomerDTO) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | pub async fn find_by_id(&self, id: u32) -> Option { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 31 | pub async fn find_by_account_number(&self, account_number: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TransactionService` is never constructed [INFO] [stderr] --> src/service/transaction_service.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct TransactionService { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `create` are never used [INFO] [stderr] --> src/service/transaction_service.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl TransactionService { [INFO] [stderr] | ----------------------- associated items in this implementation [INFO] [stderr] 13 | pub fn new(transaction_repo: TransactionRepository, customer_repo: CustomerRepository) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 17 | pub async fn create(&self, transaction_request: TransactionRequestDTO) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: structure field `customerRepo` should have a snake case name [INFO] [stderr] --> src/service/customer_service.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | customerRepo: CustomerRepository, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `customer_repo` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `customerRepo` should have a snake case name [INFO] [stderr] --> src/service/customer_service.rs:11:16 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(customerRepo: CustomerRepository) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `customer_repo` [INFO] [stderr] [INFO] [stderr] warning: `untitled` (bin "untitled" test) generated 12 warnings (run `cargo fix --bin "untitled" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/untitled-38fcda7fffb31a20) [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" "a99ac410b98b8a4783e14e12f0d9d1b56e232ed72659ce1d87448d921cd226e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a99ac410b98b8a4783e14e12f0d9d1b56e232ed72659ce1d87448d921cd226e0", kill_on_drop: false }` [INFO] [stdout] a99ac410b98b8a4783e14e12f0d9d1b56e232ed72659ce1d87448d921cd226e0