[INFO] fetching crate taskrs-server 0.0.1... [INFO] testing taskrs-server-0.0.1 against 1.90.0 for beta-1.91-3 [INFO] extracting crate taskrs-server 0.0.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate taskrs-server 0.0.1 [INFO] finished tweaking crates.io crate taskrs-server 0.0.1 [INFO] tweaked toml for crates.io crate taskrs-server 0.0.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate taskrs-server 0.0.1 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate taskrs-server 0.0.1 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.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust-embed-impl v6.8.1 [INFO] [stderr] Downloaded rust-embed-utils v7.8.1 [INFO] [stderr] Downloaded uuid v1.4.1 [INFO] [stderr] Downloaded cargo-pretty-test v0.2.4 [INFO] [stderr] Downloaded reserve-port v1.3.0 [INFO] [stderr] Downloaded sqlx-macros v0.7.2 [INFO] [stderr] Downloaded whoami v1.4.1 [INFO] [stderr] Downloaded axum-test v12.5.0 [INFO] [stderr] Downloaded strip-ansi-escapes v0.2.0 [INFO] [stderr] Downloaded auto-future v1.0.0 [INFO] [stderr] Downloaded libtaskrs v0.1.0 [INFO] [stderr] Downloaded deranged v0.3.8 [INFO] [stderr] Downloaded crc-catalog v2.2.0 [INFO] [stderr] Downloaded shellexpand v2.1.2 [INFO] [stderr] Downloaded sqlx-macros-core v0.7.2 [INFO] [stderr] Downloaded sqlx-sqlite v0.7.2 [INFO] [stderr] Downloaded sqlx-postgres v0.7.2 [INFO] [stderr] Downloaded sqlx v0.7.2 [INFO] [stderr] Downloaded time v0.3.29 [INFO] [stderr] Downloaded sqlx-core v0.7.2 [INFO] [stderr] Downloaded syn v2.0.35 [INFO] [stderr] Downloaded rsa v0.9.2 [INFO] [stderr] Downloaded base64 v0.21.4 [INFO] [stderr] Downloaded cookie v0.17.0 [INFO] [stderr] Downloaded sqlformat v0.2.2 [INFO] [stderr] Downloaded sharded-slab v0.1.6 [INFO] [stderr] Downloaded thiserror v1.0.48 [INFO] [stderr] Downloaded sqlx-mysql v0.7.2 [INFO] [stderr] Downloaded rust-embed v6.8.1 [INFO] [stderr] Downloaded thiserror-impl v1.0.48 [INFO] [stderr] Downloaded boilermates v0.3.0 [INFO] [stderr] Downloaded utoipa-gen v3.5.0 [INFO] [stderr] Downloaded flate2 v1.0.27 [INFO] [stderr] Downloaded directories v5.0.1 [INFO] [stderr] Downloaded stringprep v0.1.4 [INFO] [stderr] Downloaded crc v3.0.1 [INFO] [stderr] Downloaded utoipa v3.5.0 [INFO] [stderr] Downloaded rustls-webpki v0.101.6 [INFO] [stderr] Downloaded finl_unicode v1.2.0 [INFO] [stderr] Downloaded regex-lite v0.1.0 [INFO] [stderr] Downloaded utoipa-swagger-ui v3.1.5 [INFO] [stderr] Downloaded libsqlite3-sys v0.26.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b5883aab1d9c6d6c7363865851a14500f4fbbfd64cd94922ef7ff6a915eef3d [INFO] running `Command { std: "docker" "start" "-a" "8b5883aab1d9c6d6c7363865851a14500f4fbbfd64cd94922ef7ff6a915eef3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b5883aab1d9c6d6c7363865851a14500f4fbbfd64cd94922ef7ff6a915eef3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b5883aab1d9c6d6c7363865851a14500f4fbbfd64cd94922ef7ff6a915eef3d", kill_on_drop: false }` [INFO] [stdout] 8b5883aab1d9c6d6c7363865851a14500f4fbbfd64cd94922ef7ff6a915eef3d [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cf95e53c2be832a4ed87ad692344202595eb885a12502b6998caff79da0f738 [INFO] running `Command { std: "docker" "start" "-a" "1cf95e53c2be832a4ed87ad692344202595eb885a12502b6998caff79da0f738", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling syn v2.0.35 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling rustls v0.21.7 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling libsqlite3-sys v0.26.0 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling crc-catalog v2.2.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.3 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling rustls-webpki v0.101.6 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling webpki-roots v0.24.0 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling linux-raw-sys v0.4.7 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling flate2 v1.0.27 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling utoipa-gen v3.5.0 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Compiling rust-embed-utils v7.8.1 [INFO] [stderr] Compiling shellexpand v2.1.2 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling sqlformat v0.2.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling serde_path_to_error v0.1.14 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling utoipa v3.5.0 [INFO] [stderr] Compiling serde_spanned v0.6.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rust-embed-impl v6.8.1 [INFO] [stderr] Compiling utoipa-swagger-ui v3.1.5 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling rust-embed v6.8.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Compiling sharded-slab v0.1.6 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling boilermates v0.3.0 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling taskrs-server v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling toml_edit v0.20.0 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling sqlx-core v0.7.2 [INFO] [stderr] Compiling toml v0.8.0 [INFO] [stderr] Compiling sqlx-sqlite v0.7.2 [INFO] [stderr] Compiling sqlx-macros-core v0.7.2 [INFO] [stderr] Compiling sqlx-macros v0.7.2 [INFO] [stderr] Compiling sqlx v0.7.2 [INFO] [stderr] Compiling libtaskrs v0.1.0 [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros [INFO] [stdout] --> src/state.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / sqlx::query!( [INFO] [stdout] 45 | | "UPDATE tasks SET content = ? WHERE id = ?", [INFO] [stdout] 46 | | updated_task.content, [INFO] [stdout] 47 | | id [INFO] [stdout] 48 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros [INFO] [stdout] --> src/state.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | sqlx::query!("UPDATE tasks SET status = ? WHERE id = ?", new_status, id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros [INFO] [stdout] --> src/state.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | sqlx::query!("DELETE FROM tasks WHERE id = ?", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros [INFO] [stdout] --> src/state.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | let id = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 75 | | r#" [INFO] [stdout] 76 | | INSERT INTO tasks ( content, creation_date, status ) [INFO] [stdout] 77 | | VALUES ( ?, ?, ? ) [INFO] [stdout] ... | [INFO] [stdout] 81 | | status [INFO] [stdout] 82 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros [INFO] [stdout] --> src/state.rs:90:40 [INFO] [stdout] | [INFO] [stdout] 90 | let tasks: Vec = sqlx::query_as!(TaskResponse, "SELECT * FROM tasks") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros [INFO] [stdout] --> src/state.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | let task = sqlx::query_as!(TaskResponse, "SELECT * FROM tasks WHERE id = ?", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::response::IntoResponse` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Extension` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::Extension; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json` and `extract::State` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::{extract::State, Json}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Task` [INFO] [stdout] --> src/main.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use libtaskrs::task::{Task, TaskRequest, TaskResponse}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SqliteConnectOptions` and `SqlitePool` [INFO] [stdout] --> src/main.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use sqlx::sqlite::{SqliteConnectOptions, SqlitePool}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr` and `SocketAddr` [INFO] [stdout] --> src/main.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use std::net::{IpAddr, SocketAddr}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Path` and `net::Ipv4Addr` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | net::Ipv4Addr, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ApiKeyValue`, `ApiKey`, and `SecurityScheme` [INFO] [stdout] --> src/main.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | openapi::security::{ApiKey, ApiKeyValue, SecurityScheme}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `bail` [INFO] [stdout] --> src/state.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Context, Result}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::http::StatusCode` [INFO] [stdout] --> src/state.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::http::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::response::IntoResponse` [INFO] [stdout] --> src/state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Extension` [INFO] [stdout] --> src/state.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::Extension; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json` and `extract::State` [INFO] [stdout] --> src/state.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::{extract::State, Json}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Router` and `routing::get` [INFO] [stdout] --> src/state.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use axum::{routing::get, Router}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/state.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `directories::ProjectDirs` [INFO] [stdout] --> src/state.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use directories::ProjectDirs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Task` [INFO] [stdout] --> src/state.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use libtaskrs::task::{Task, TaskId, TaskRequest, TaskResponse, TaskStatus}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/state.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr` and `SocketAddr` [INFO] [stdout] --> src/state.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use std::net::{IpAddr, SocketAddr}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/state.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf`, `fs`, and `net::Ipv4Addr` [INFO] [stdout] --> src/state.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | fs, [INFO] [stdout] | ^^ [INFO] [stdout] 17 | net::Ipv4Addr, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `info` [INFO] [stdout] --> src/state.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnvFilter` and `prelude::*` [INFO] [stdout] --> src/state.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | use tracing_subscriber::{prelude::*, EnvFilter}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `Result`, and `bail` [INFO] [stdout] --> src/routes.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Context, Result}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::response::IntoResponse` [INFO] [stdout] --> src/routes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Extension` [INFO] [stdout] --> src/routes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::Extension; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Router` and `routing::get` [INFO] [stdout] --> src/routes.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use axum::{routing::get, Router}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `directories::ProjectDirs` [INFO] [stdout] --> src/routes.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use directories::ProjectDirs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Task` [INFO] [stdout] --> src/routes.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use libtaskrs::task::{Task, TaskId, TaskRequest, TaskResponse, TaskStatus}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/routes.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SqliteConnectOptions` and `SqlitePool` [INFO] [stdout] --> src/routes.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use sqlx::sqlite::{SqliteConnectOptions, SqlitePool}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/routes.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr` and `SocketAddr` [INFO] [stdout] --> src/routes.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use std::net::{IpAddr, SocketAddr}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/routes.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/routes.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs` and `net::Ipv4Addr` [INFO] [stdout] --> src/routes.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | use std::{fs, net::Ipv4Addr}; [INFO] [stdout] | ^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `info` [INFO] [stdout] --> src/routes.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnvFilter` and `prelude::*` [INFO] [stdout] --> src/routes.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | use tracing_subscriber::{prelude::*, EnvFilter}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Modify` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Modify, OpenApi, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `taskrs-server` (bin "taskrs-server") due to 6 previous errors; 43 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1cf95e53c2be832a4ed87ad692344202595eb885a12502b6998caff79da0f738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cf95e53c2be832a4ed87ad692344202595eb885a12502b6998caff79da0f738", kill_on_drop: false }` [INFO] [stdout] 1cf95e53c2be832a4ed87ad692344202595eb885a12502b6998caff79da0f738