[INFO] cloning repository https://github.com/DebonairFox/axum-mongodb-api_tests [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DebonairFox/axum-mongodb-api_tests" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDebonairFox%2Faxum-mongodb-api_tests", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDebonairFox%2Faxum-mongodb-api_tests'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30d78608a5a83c43b90dd2481f1de1ef2d956c9f [INFO] testing DebonairFox/axum-mongodb-api_tests against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDebonairFox%2Faxum-mongodb-api_tests" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DebonairFox/axum-mongodb-api_tests on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DebonairFox/axum-mongodb-api_tests [INFO] finished tweaking git repo https://github.com/DebonairFox/axum-mongodb-api_tests [INFO] tweaked toml for git repo https://github.com/DebonairFox/axum-mongodb-api_tests written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/DebonairFox/axum-mongodb-api_tests already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 254a211e32013d6cc9abaf14ee7bd70c20f54b64e92f4bdf4c6970a726994c20 [INFO] running `Command { std: "docker" "start" "-a" "254a211e32013d6cc9abaf14ee7bd70c20f54b64e92f4bdf4c6970a726994c20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "254a211e32013d6cc9abaf14ee7bd70c20f54b64e92f4bdf4c6970a726994c20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "254a211e32013d6cc9abaf14ee7bd70c20f54b64e92f4bdf4c6970a726994c20", kill_on_drop: false }` [INFO] [stdout] 254a211e32013d6cc9abaf14ee7bd70c20f54b64e92f4bdf4c6970a726994c20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 239d7801738450cb93868185e80c7dd5ef9fe9b69b0aa2c27efeb448c406dd77 [INFO] running `Command { std: "docker" "start" "-a" "239d7801738450cb93868185e80c7dd5ef9fe9b69b0aa2c27efeb448c406dd77", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling askama_escape v0.10.2 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling fastrand v1.6.0 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling matchit v0.4.4 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling entities v1.0.1 [INFO] [stderr] Compiling shell-words v1.0.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling onig_sys v69.7.1 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling time v0.3.5 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling os_info v3.0.9 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling xdg v2.4.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling blocking v1.1.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling hdrhistogram v6.3.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling async-fs v1.5.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling pbkdf2 v0.8.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling onig v6.3.1 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling dotenv_codegen_implementation v0.15.0 [INFO] [stderr] Compiling typed-builder v0.9.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Compiling dotenv_codegen v0.15.0 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling tracing-subscriber v0.3.5 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling axum-core v0.1.1 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling trust-dns-proto v0.20.3 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tower v0.4.11 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling plist v1.3.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_with v1.11.0 [INFO] [stderr] Compiling trust-dns-resolver v0.20.3 [INFO] [stderr] Compiling tower-http v0.2.0 [INFO] [stderr] Compiling askama_shared v0.12.0 [INFO] [stderr] Compiling bson v2.1.0 [INFO] [stderr] Compiling syntect v4.7.1 [INFO] [stderr] Compiling mongodb v2.1.0 [INFO] [stderr] Compiling comrak v0.12.1 [INFO] [stderr] Compiling axum v0.4.3 [INFO] [stderr] Compiling askama_derive v0.11.0 [INFO] [stderr] Compiling askama v0.11.0 [INFO] [stderr] Compiling axum-extra v0.1.1 [INFO] [stderr] Compiling wwr_api-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `response::Json` [INFO] [stdout] --> src/handlers/api.rs:3:74 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{extract::Extension, http::StatusCode, response::IntoResponse, response::Json}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sync::Arc`, `time::Duration` [INFO] [stdout] --> src/middleware/util.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{sync::Arc, time::Duration}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::State` [INFO] [stdout] --> src/middleware/util.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::State; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_all` [INFO] [stdout] --> src/models/book.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn find_all(book_collection: &Collection) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/models/book.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn find() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create` [INFO] [stdout] --> src/models/book.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn create() {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/models/book.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn update() {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete` [INFO] [stdout] --> src/models/book.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn delete() {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5m 01s [INFO] running `Command { std: "docker" "inspect" "239d7801738450cb93868185e80c7dd5ef9fe9b69b0aa2c27efeb448c406dd77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "239d7801738450cb93868185e80c7dd5ef9fe9b69b0aa2c27efeb448c406dd77", kill_on_drop: false }` [INFO] [stdout] 239d7801738450cb93868185e80c7dd5ef9fe9b69b0aa2c27efeb448c406dd77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1c797ac06448eda3b3c9433be1ac95a3268614df86b5a51e97c5d13796977e1f [INFO] running `Command { std: "docker" "start" "-a" "1c797ac06448eda3b3c9433be1ac95a3268614df86b5a51e97c5d13796977e1f", kill_on_drop: false }` [INFO] [stderr] Compiling wwr_api-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `response::Json` [INFO] [stdout] --> src/handlers/api.rs:3:74 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{extract::Extension, http::StatusCode, response::IntoResponse, response::Json}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sync::Arc`, `time::Duration` [INFO] [stdout] --> src/middleware/util.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{sync::Arc, time::Duration}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::State` [INFO] [stdout] --> src/middleware/util.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::State; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_all` [INFO] [stdout] --> src/models/book.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn find_all(book_collection: &Collection) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/models/book.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn find() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create` [INFO] [stdout] --> src/models/book.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn create() {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/models/book.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn update() {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete` [INFO] [stdout] --> src/models/book.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn delete() {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.78s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/wwr_api_rust-537303cf74d187ca) [INFO] running `Command { std: "docker" "inspect" "1c797ac06448eda3b3c9433be1ac95a3268614df86b5a51e97c5d13796977e1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c797ac06448eda3b3c9433be1ac95a3268614df86b5a51e97c5d13796977e1f", kill_on_drop: false }` [INFO] [stdout] 1c797ac06448eda3b3c9433be1ac95a3268614df86b5a51e97c5d13796977e1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 37439992389bd013c69dc0c4861706ed2146d5f6d12f45960cfbd2411f67110e [INFO] running `Command { std: "docker" "start" "-a" "37439992389bd013c69dc0c4861706ed2146d5f6d12f45960cfbd2411f67110e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `response::Json` [INFO] [stderr] --> src/handlers/api.rs:3:74 [INFO] [stderr] | [INFO] [stderr] 3 | use axum::{extract::Extension, http::StatusCode, response::IntoResponse, response::Json}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `sync::Arc`, `time::Duration` [INFO] [stderr] --> src/middleware/util.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{sync::Arc, time::Duration}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::State` [INFO] [stderr] --> src/middleware/util.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use crate::State; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `find_all` [INFO] [stderr] --> src/models/book.rs:14:18 [INFO] [stderr] | [INFO] [stderr] 14 | pub async fn find_all(book_collection: &Collection) -> Result, AppError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `find` [INFO] [stderr] --> src/models/book.rs:24:18 [INFO] [stderr] | [INFO] [stderr] 24 | pub async fn find() {} [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `create` [INFO] [stderr] --> src/models/book.rs:25:18 [INFO] [stderr] | [INFO] [stderr] 25 | pub async fn create() {} [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `update` [INFO] [stderr] --> src/models/book.rs:26:18 [INFO] [stderr] | [INFO] [stderr] 26 | pub async fn update() {} [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `delete` [INFO] [stderr] --> src/models/book.rs:27:18 [INFO] [stderr] | [INFO] [stderr] 27 | pub async fn delete() {} [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `wwr_api-rust` (bin "wwr_api-rust" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wwr_api_rust-537303cf74d187ca) [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" "37439992389bd013c69dc0c4861706ed2146d5f6d12f45960cfbd2411f67110e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37439992389bd013c69dc0c4861706ed2146d5f6d12f45960cfbd2411f67110e", kill_on_drop: false }` [INFO] [stdout] 37439992389bd013c69dc0c4861706ed2146d5f6d12f45960cfbd2411f67110e