[INFO] cloning repository https://github.com/Maxwell012/UnitOfWork_pattern [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Maxwell012/UnitOfWork_pattern" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxwell012%2FUnitOfWork_pattern", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxwell012%2FUnitOfWork_pattern'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 06855b80554732c20f1bf091e8e8abc50e247a77 [INFO] testing Maxwell012/UnitOfWork_pattern against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxwell012%2FUnitOfWork_pattern" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Maxwell012/UnitOfWork_pattern [INFO] finished tweaking git repo https://github.com/Maxwell012/UnitOfWork_pattern [INFO] tweaked toml for git repo https://github.com/Maxwell012/UnitOfWork_pattern written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Maxwell012/UnitOfWork_pattern on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Maxwell012/UnitOfWork_pattern 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sea-schema-derive v0.3.0 [INFO] [stderr] Downloaded inherent v1.0.12 [INFO] [stderr] Downloaded sea-orm-migration v1.1.8 [INFO] [stderr] Downloaded sea-bae v0.2.1 [INFO] [stderr] Downloaded sea-query-binder v0.7.0 [INFO] [stderr] Downloaded sea-query-derive v0.4.3 [INFO] [stderr] Downloaded ouroboros v0.18.5 [INFO] [stderr] Downloaded ouroboros_macro v0.18.5 [INFO] [stderr] Downloaded pgvector v0.4.0 [INFO] [stderr] Downloaded sea-orm-cli v1.1.8 [INFO] [stderr] Downloaded sea-orm-macros v1.1.8 [INFO] [stderr] Downloaded miniz_oxide v0.8.7 [INFO] [stderr] Downloaded bigdecimal v0.4.8 [INFO] [stderr] Downloaded cc v1.2.18 [INFO] [stderr] Downloaded rust_decimal v1.37.1 [INFO] [stderr] Downloaded sea-query v0.32.3 [INFO] [stderr] Downloaded sea-schema v0.16.1 [INFO] [stderr] Downloaded sea-orm v1.1.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22eeaa2ec7e49605e785f1a325cc15e1ef1700b6d056f38ec084e6599e2fc75d [INFO] running `Command { std: "docker" "start" "-a" "22eeaa2ec7e49605e785f1a325cc15e1ef1700b6d056f38ec084e6599e2fc75d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22eeaa2ec7e49605e785f1a325cc15e1ef1700b6d056f38ec084e6599e2fc75d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22eeaa2ec7e49605e785f1a325cc15e1ef1700b6d056f38ec084e6599e2fc75d", kill_on_drop: false }` [INFO] [stdout] 22eeaa2ec7e49605e785f1a325cc15e1ef1700b6d056f38ec084e6599e2fc75d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 780bd29e05e138c3af4bea82f8281268d123164bad90d83035c19e1bd31f8d35 [INFO] running `Command { std: "docker" "start" "-a" "780bd29e05e138c3af4bea82f8281268d123164bad90d83035c19e1bd31f8d35", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling cc v1.2.18 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling rust_decimal v1.37.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling rustls v0.23.25 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling inherent v1.0.12 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling clap_builder v4.5.35 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling sea-bae v0.2.1 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling ouroboros_macro v0.18.5 [INFO] [stderr] Compiling sea-schema-derive v0.3.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling sea-orm-macros v1.1.8 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling sea-query-derive v0.4.3 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling ouroboros v0.18.5 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling clap v4.5.35 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling sea-query v0.32.3 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling rustls-webpki v0.103.1 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling sea-schema v0.16.1 [INFO] [stderr] Compiling sea-orm-cli v1.1.8 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling sqlx-postgres v0.8.3 [INFO] [stderr] Compiling sqlx v0.8.3 [INFO] [stderr] Compiling sea-query-binder v0.7.0 [INFO] [stderr] Compiling sea-orm v1.1.8 [INFO] [stderr] Compiling sea-orm-migration v1.1.8 [INFO] [stderr] Compiling entity v0.1.0 (/opt/rustwide/workdir/entity) [INFO] [stderr] Compiling migration v0.1.0 (/opt/rustwide/workdir/migration) [INFO] [stderr] Compiling database_sea_orm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ModelTrait` [INFO] [stdout] --> src/utils/AbstractRepository.rs:1:124 [INFO] [stdout] | [INFO] [stdout] 1 | use sea_orm::{ ActiveModelBehavior, ActiveModelTrait, Condition, DatabaseTransaction, DbErr, EntityTrait, IntoActiveModel, ModelTrait, Pr... [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: `sea_orm::IntoActiveModel` [INFO] [stdout] --> src/utils/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sea_orm::IntoActiveModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_one` is never used [INFO] [stdout] --> src/utils/AbstractRepository.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 14 | / impl<'a, M> AbstractRepository<'a, M> [INFO] [stdout] 15 | | where [INFO] [stdout] 16 | | M: EntityTrait + 'static, // M must implement EntityTrait [INFO] [stdout] 17 | | M::Model: Send + Sync, [INFO] [stdout] | |__________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn find_one(&self, condition: Condition) -> Result, DbErr> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_one` and `get_enriched_one` are never used [INFO] [stdout] --> src/utils/AbstractHandler.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait AbstractHandler { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | async fn get_one( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | async fn get_enriched_one( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `UnitOfWork` should have a snake case name [INFO] [stdout] --> src/utils/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod UnitOfWork; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `unit_of_work` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `AbstractRepository` should have a snake case name [INFO] [stdout] --> src/utils/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod AbstractRepository; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `abstract_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `AbstractHandler` should have a snake case name [INFO] [stdout] --> src/utils/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod AbstractHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `abstract_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "780bd29e05e138c3af4bea82f8281268d123164bad90d83035c19e1bd31f8d35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "780bd29e05e138c3af4bea82f8281268d123164bad90d83035c19e1bd31f8d35", kill_on_drop: false }` [INFO] [stdout] 780bd29e05e138c3af4bea82f8281268d123164bad90d83035c19e1bd31f8d35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc05226f6d1072a25faf271c73ab0971286b8adcb0bd1689e174e45120608bef [INFO] running `Command { std: "docker" "start" "-a" "cc05226f6d1072a25faf271c73ab0971286b8adcb0bd1689e174e45120608bef", kill_on_drop: false }` [INFO] [stderr] Compiling database_sea_orm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ModelTrait` [INFO] [stdout] --> src/utils/AbstractRepository.rs:1:124 [INFO] [stdout] | [INFO] [stdout] 1 | use sea_orm::{ ActiveModelBehavior, ActiveModelTrait, Condition, DatabaseTransaction, DbErr, EntityTrait, IntoActiveModel, ModelTrait, Pr... [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: `sea_orm::IntoActiveModel` [INFO] [stdout] --> src/utils/utils.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sea_orm::IntoActiveModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_one` is never used [INFO] [stdout] --> src/utils/AbstractRepository.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 14 | / impl<'a, M> AbstractRepository<'a, M> [INFO] [stdout] 15 | | where [INFO] [stdout] 16 | | M: EntityTrait + 'static, // M must implement EntityTrait [INFO] [stdout] 17 | | M::Model: Send + Sync, [INFO] [stdout] | |__________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn find_one(&self, condition: Condition) -> Result, DbErr> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_one` and `get_enriched_one` are never used [INFO] [stdout] --> src/utils/AbstractHandler.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait AbstractHandler { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | async fn get_one( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | async fn get_enriched_one( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `UnitOfWork` should have a snake case name [INFO] [stdout] --> src/utils/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod UnitOfWork; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `unit_of_work` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `AbstractRepository` should have a snake case name [INFO] [stdout] --> src/utils/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod AbstractRepository; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `abstract_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `AbstractHandler` should have a snake case name [INFO] [stdout] --> src/utils/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod AbstractHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `abstract_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.52s [INFO] running `Command { std: "docker" "inspect" "cc05226f6d1072a25faf271c73ab0971286b8adcb0bd1689e174e45120608bef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc05226f6d1072a25faf271c73ab0971286b8adcb0bd1689e174e45120608bef", kill_on_drop: false }` [INFO] [stdout] cc05226f6d1072a25faf271c73ab0971286b8adcb0bd1689e174e45120608bef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 974930197ebc5696c73d633325c6d5eab9e5b448997d93badb8697d243739e9c [INFO] running `Command { std: "docker" "start" "-a" "974930197ebc5696c73d633325c6d5eab9e5b448997d93badb8697d243739e9c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ModelTrait` [INFO] [stderr] --> src/utils/AbstractRepository.rs:1:124 [INFO] [stderr] | [INFO] [stderr] 1 | use sea_orm::{ ActiveModelBehavior, ActiveModelTrait, Condition, DatabaseTransaction, DbErr, EntityTrait, IntoActiveModel, ModelTrait, Pr... [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `sea_orm::IntoActiveModel` [INFO] [stderr] --> src/utils/utils.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use sea_orm::IntoActiveModel; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `find_one` is never used [INFO] [stderr] --> src/utils/AbstractRepository.rs:51:18 [INFO] [stderr] | [INFO] [stderr] 14 | / impl<'a, M> AbstractRepository<'a, M> [INFO] [stderr] 15 | | where [INFO] [stderr] 16 | | M: EntityTrait + 'static, // M must implement EntityTrait [INFO] [stderr] 17 | | M::Model: Send + Sync, [INFO] [stderr] | |__________________________- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 51 | pub async fn find_one(&self, condition: Condition) -> Result, DbErr> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `get_one` and `get_enriched_one` are never used [INFO] [stderr] --> src/utils/AbstractHandler.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 5 | pub trait AbstractHandler { [INFO] [stderr] | --------------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 11 | async fn get_one( [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | async fn get_enriched_one( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: module `UnitOfWork` should have a snake case name [INFO] [stderr] --> src/utils/mod.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | pub mod UnitOfWork; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `unit_of_work` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: module `AbstractRepository` should have a snake case name [INFO] [stderr] --> src/utils/mod.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | pub mod AbstractRepository; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `abstract_repository` [INFO] [stderr] [INFO] [stderr] warning: module `AbstractHandler` should have a snake case name [INFO] [stderr] --> src/utils/mod.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub mod AbstractHandler; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `abstract_handler` [INFO] [stderr] [INFO] [stderr] warning: `database_sea_orm` (bin "database_sea_orm" test) generated 7 warnings (run `cargo fix --bin "database_sea_orm" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/database_sea_orm-26c1652c3bf699a3) [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" "974930197ebc5696c73d633325c6d5eab9e5b448997d93badb8697d243739e9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "974930197ebc5696c73d633325c6d5eab9e5b448997d93badb8697d243739e9c", kill_on_drop: false }` [INFO] [stdout] 974930197ebc5696c73d633325c6d5eab9e5b448997d93badb8697d243739e9c