[INFO] cloning repository https://github.com/dierbei/tauri-novel-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dierbei/tauri-novel-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdierbei%2Ftauri-novel-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdierbei%2Ftauri-novel-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e78bf93dcfd269f73b609ff8b5ed1c169d819a4d [INFO] testing dierbei/tauri-novel-backend against 1.97.0-beta.6 for beta-1.98-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdierbei%2Ftauri-novel-backend" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dierbei/tauri-novel-backend [INFO] finished tweaking git repo https://github.com/dierbei/tauri-novel-backend [INFO] tweaked toml for git repo https://github.com/dierbei/tauri-novel-backend written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dierbei/tauri-novel-backend on toolchain 1.97.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dierbei/tauri-novel-backend already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust_decimal v1.37.1 [INFO] [stderr] Downloaded windows-strings v0.4.1 [INFO] [stderr] Downloaded windows-result v0.3.3 [INFO] [stderr] Downloaded windows-core v0.61.1 [INFO] [stderr] Downloaded bigdecimal v0.4.8 [INFO] [stderr] Downloaded sea-query-binder v0.7.0 [INFO] [stderr] Downloaded inherent v1.0.12 [INFO] [stderr] Downloaded sea-bae v0.2.1 [INFO] [stderr] Downloaded ouroboros v0.18.5 [INFO] [stderr] Downloaded aliasable v0.1.3 [INFO] [stderr] Downloaded sea-orm-macros v1.1.11 [INFO] [stderr] Downloaded pgvector v0.4.0 [INFO] [stderr] Downloaded ouroboros_macro v0.18.5 [INFO] [stderr] Downloaded jiff-static v0.2.13 [INFO] [stderr] Downloaded sea-query v0.32.5 [INFO] [stderr] Downloaded actix-web v4.10.2 [INFO] [stderr] Downloaded jiff v0.2.13 [INFO] [stderr] Downloaded sea-orm v1.1.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 973a077bc94301e6ff5ff48e29349050a8f7755be76f034d97b33052d08a1ab3 [INFO] running `Command { std: "docker" "start" "973a077bc94301e6ff5ff48e29349050a8f7755be76f034d97b33052d08a1ab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "973a077bc94301e6ff5ff48e29349050a8f7755be76f034d97b33052d08a1ab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "973a077bc94301e6ff5ff48e29349050a8f7755be76f034d97b33052d08a1ab3" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "973a077bc94301e6ff5ff48e29349050a8f7755be76f034d97b33052d08a1ab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "973a077bc94301e6ff5ff48e29349050a8f7755be76f034d97b33052d08a1ab3" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Compiling rust_decimal v1.37.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling webpki-roots v1.0.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling jiff v0.2.13 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling inherent v1.0.12 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling sea-bae v0.2.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling ouroboros_macro v0.18.5 [INFO] [stderr] Compiling sea-orm-macros v1.1.11 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling ouroboros v0.18.5 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.0 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling sea-query v0.32.5 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling sqlx-core v0.8.5 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling sqlx-postgres v0.8.5 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling sqlx v0.8.5 [INFO] [stderr] Compiling sea-query-binder v0.7.0 [INFO] [stderr] Compiling sea-orm v1.1.11 [INFO] [stderr] Compiling actix-web v4.10.2 [INFO] [stderr] Compiling actix-cors v0.7.1 [INFO] [stderr] Compiling hello-world v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HttpResponse`, `delete`, `get`, `post`, and `put` [INFO] [stdout] --> src/main.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{App, HttpResponse, HttpServer, Responder, Result, delete, get, post, put, web}; [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 imports: `NotSet` and `Set` [INFO] [stdout] --> src/main.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use sea_orm::ActiveValue::{NotSet, Set}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityTrait` [INFO] [stdout] --> src/main.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | use sea_orm::{ActiveModelTrait, Database, DatabaseConnection, EntityTrait, Iden}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `users::Entity as User` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use users::Entity as User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ActiveModelTrait` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use sea_orm::{ActiveModelTrait, Database, DatabaseConnection, EntityTrait, Iden}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Iden` [INFO] [stdout] --> src/main.rs:7:76 [INFO] [stdout] | [INFO] [stdout] 7 | use sea_orm::{ActiveModelTrait, Database, DatabaseConnection, EntityTrait, Iden}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | state: web::Data, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 19 | db: DatabaseConnection, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/users.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Relation` is never used [INFO] [stdout] --> src/users.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Relation { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 37s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "973a077bc94301e6ff5ff48e29349050a8f7755be76f034d97b33052d08a1ab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "973a077bc94301e6ff5ff48e29349050a8f7755be76f034d97b33052d08a1ab3" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling hello-world v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HttpResponse`, `delete`, `get`, `post`, and `put` [INFO] [stdout] --> src/main.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{App, HttpResponse, HttpServer, Responder, Result, delete, get, post, put, web}; [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 imports: `NotSet` and `Set` [INFO] [stdout] --> src/main.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use sea_orm::ActiveValue::{NotSet, Set}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityTrait` [INFO] [stdout] --> src/main.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | use sea_orm::{ActiveModelTrait, Database, DatabaseConnection, EntityTrait, Iden}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `users::Entity as User` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use users::Entity as User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ActiveModelTrait` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use sea_orm::{ActiveModelTrait, Database, DatabaseConnection, EntityTrait, Iden}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Iden` [INFO] [stdout] --> src/main.rs:7:76 [INFO] [stdout] | [INFO] [stdout] 7 | use sea_orm::{ActiveModelTrait, Database, DatabaseConnection, EntityTrait, Iden}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | state: web::Data, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 19 | db: DatabaseConnection, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/users.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Relation` is never used [INFO] [stdout] --> src/users.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Relation { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.54s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "973a077bc94301e6ff5ff48e29349050a8f7755be76f034d97b33052d08a1ab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "973a077bc94301e6ff5ff48e29349050a8f7755be76f034d97b33052d08a1ab3" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `HttpResponse`, `delete`, `get`, `post`, and `put` [INFO] [stderr] --> src/main.rs:2:22 [INFO] [stderr] | [INFO] [stderr] 2 | use actix_web::{App, HttpResponse, HttpServer, Responder, Result, delete, get, post, put, web}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^ ^^^ ^^^^ ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `NotSet` and `Set` [INFO] [stderr] --> src/main.rs:6:28 [INFO] [stderr] | [INFO] [stderr] 6 | use sea_orm::ActiveValue::{NotSet, Set}; [INFO] [stderr] | ^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `EntityTrait` [INFO] [stderr] --> src/main.rs:7:63 [INFO] [stderr] | [INFO] [stderr] 7 | use sea_orm::{ActiveModelTrait, Database, DatabaseConnection, EntityTrait, Iden}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::json` [INFO] [stderr] --> src/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use serde_json::json; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `users::Entity as User` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use users::Entity as User; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ActiveModelTrait` [INFO] [stderr] --> src/main.rs:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | use sea_orm::{ActiveModelTrait, Database, DatabaseConnection, EntityTrait, Iden}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Iden` [INFO] [stderr] --> src/main.rs:7:76 [INFO] [stderr] | [INFO] [stderr] 7 | use sea_orm::{ActiveModelTrait, Database, DatabaseConnection, EntityTrait, Iden}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/main.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | state: web::Data, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `db` is never read [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 18 | struct AppState { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 19 | db: DatabaseConnection, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Model` is never constructed [INFO] [stderr] --> src/users.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Model { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Relation` is never used [INFO] [stderr] --> src/users.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | pub enum Relation { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `hello-world` (bin "hello-world" test) generated 11 warnings (run `cargo fix --bin "hello-world" -p hello-world --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hello_world-a71a72f658f85a40) [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" "973a077bc94301e6ff5ff48e29349050a8f7755be76f034d97b33052d08a1ab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "973a077bc94301e6ff5ff48e29349050a8f7755be76f034d97b33052d08a1ab3", kill_on_drop: false }` [INFO] [stdout] 973a077bc94301e6ff5ff48e29349050a8f7755be76f034d97b33052d08a1ab3