[INFO] cloning repository https://github.com/taytaybear/Actix-Microservice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/taytaybear/Actix-Microservice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaytaybear%2FActix-Microservice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaytaybear%2FActix-Microservice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8bae1a12fd6432dbadaf945fdd1e696907be81e1 [INFO] testing taytaybear/Actix-Microservice against beta-2025-02-18 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaytaybear%2FActix-Microservice" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/taytaybear/Actix-Microservice on toolchain beta-2025-02-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/taytaybear/Actix-Microservice [INFO] finished tweaking git repo https://github.com/taytaybear/Actix-Microservice [INFO] tweaked toml for git repo https://github.com/taytaybear/Actix-Microservice written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/taytaybear/Actix-Microservice 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" "+beta-2025-02-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded magic-crypt v3.1.9 [INFO] [stderr] Downloaded des v0.7.0 [INFO] [stderr] Downloaded askama_actix v0.11.1 [INFO] [stderr] Downloaded procfs v0.10.1 [INFO] [stderr] Downloaded actix-rt v2.5.0 [INFO] [stderr] Downloaded actix-web-httpauth v0.5.1 [INFO] [stderr] Downloaded crc-any v2.4.1 [INFO] [stderr] Downloaded tiger v0.1.0 [INFO] [stderr] Downloaded crc32fast v1.2.2 [INFO] [stderr] Downloaded jwt v0.15.0 [INFO] [stderr] Downloaded mongodb v2.0.2 [INFO] [stderr] Downloaded os_info v3.0.8 [INFO] [stderr] Downloaded debug-helper v0.3.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 187075d951cce202a053879fd9e280e509abb21100fa8abdd16bb70225e41497 [INFO] running `Command { std: "docker" "start" "-a" "187075d951cce202a053879fd9e280e509abb21100fa8abdd16bb70225e41497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "187075d951cce202a053879fd9e280e509abb21100fa8abdd16bb70225e41497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "187075d951cce202a053879fd9e280e509abb21100fa8abdd16bb70225e41497", kill_on_drop: false }` [INFO] [stdout] 187075d951cce202a053879fd9e280e509abb21100fa8abdd16bb70225e41497 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7eb01a380ca6137d0dce0c0cc3b696aeaa61550627e4f05384d3b00a1fc290c4 [INFO] running `Command { std: "docker" "start" "-a" "7eb01a380ca6137d0dce0c0cc3b696aeaa61550627e4f05384d3b00a1fc290c4", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling crc32fast v1.2.2 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling bitvec v0.19.6 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling blocking v1.1.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling askama_escape v0.10.1 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling protobuf v2.25.2 [INFO] [stderr] Compiling debug-helper v0.3.12 [INFO] [stderr] Compiling crc-any v2.4.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling des v0.7.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling tiger v0.1.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling prometheus v0.13.0 [INFO] [stderr] Compiling magic-crypt v3.1.9 [INFO] [stderr] Compiling procfs v0.10.1 [INFO] [stderr] Compiling pbkdf2 v0.8.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling os_info v3.0.8 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling typed-builder v0.9.1 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling futures-executor v0.3.18 [INFO] [stderr] Compiling futures v0.3.18 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling trust-dns-proto v0.20.3 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling actix-rt v2.5.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling serde_with v1.11.0 [INFO] [stderr] Compiling trust-dns-resolver v0.20.3 [INFO] [stderr] Compiling askama_shared v0.11.1 [INFO] [stderr] Compiling actix-http v2.2.1 [INFO] [stderr] Compiling bson v2.0.1 [INFO] [stderr] Compiling jwt v0.15.0 [INFO] [stderr] Compiling async-std-resolver v0.20.3 [INFO] [stderr] Compiling mongodb v2.0.2 [INFO] [stderr] Compiling askama_derive v0.10.5 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling askama v0.10.5 [INFO] [stderr] Compiling actix-web-httpauth v0.5.1 [INFO] [stderr] Compiling askama_actix v0.11.1 [INFO] [stderr] Compiling rs_cpu_service v0.1.0 (/opt/rustwide/workdir/rs_cpu_service) [INFO] [stdout] warning: unused import: `web` [INFO] [stdout] --> rs_cpu_service/src/handlers/metrics.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{web, HttpResponse}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Responder` and `get` [INFO] [stdout] --> rs_cpu_service/src/handlers/task.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{get, web, HttpResponse, Responder}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> rs_cpu_service/src/handlers/task.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> rs_cpu_service/src/helpers/metrics.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::CustomError` [INFO] [stdout] --> rs_cpu_service/src/helpers/metrics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::error::CustomError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Registry` [INFO] [stdout] --> rs_cpu_service/src/helpers/metrics.rs:5:63 [INFO] [stdout] | [INFO] [stdout] 5 | use prometheus::{Counter, Gauge, HistogramOpts, HistogramVec, Registry}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotFound`, `Forbidden`, `Unknown`, `NoUserFound`, `NoDbConnection`, and `InvalidToken` are never constructed [INFO] [stdout] --> rs_cpu_service/src/error.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum CustomError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 14 | #[error("Requested user was not found")] [INFO] [stdout] 15 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | #[error("You ared forbidden to access this resource.")] [INFO] [stdout] 17 | Forbidden, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | #[error("Unknown Internal Error")] [INFO] [stdout] 19 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | #[error("No user found")] [INFO] [stdout] 21 | NoUserFound, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | #[error("Can't connect to database")] [INFO] [stdout] 23 | NoDbConnection, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 24 | #[error("Invalid Token")] [INFO] [stdout] 25 | InvalidToken, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CustomError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_io_error` is never used [INFO] [stdout] --> rs_cpu_service/src/error.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn map_io_error(e: std::io::Error) -> CustomError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENVS` is never used [INFO] [stdout] --> rs_cpu_service/src/helpers/metrics.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const ENVS: &'static [&'static str] = &["dev", "production"]; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> rs_cpu_service/src/handlers/task.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | if n < 0 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rs_api_service v0.1.0 (/opt/rustwide/workdir/rs_api_service) [INFO] [stderr] Compiling rs_auth_service v0.1.0 (/opt/rustwide/workdir/rs_auth_service) [INFO] [stdout] error[E0432]: unresolved import `crate::models::app_state` [INFO] [stdout] --> rs_api_service/src/handlers/api.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::models::app_state::AppState; [INFO] [stdout] | ^^^^^^^^^ could not find `app_state` in `models` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::models::app_state` [INFO] [stdout] --> rs_api_service/src/handlers/index.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::app_state::AppState; [INFO] [stdout] | ^^^^^^^^^ could not find `app_state` in `models` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> rs_api_service/src/token.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `auth_validator::auth_validator` [INFO] [stdout] --> rs_api_service/src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use auth_validator::auth_validator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web` [INFO] [stdout] --> rs_auth_service/src/handlers/metrics.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{web, HttpResponse}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_rt::time` [INFO] [stdout] --> rs_auth_service/src/helpers/metrics.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_rt::time; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> rs_auth_service/src/helpers/metrics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::CustomError` [INFO] [stdout] --> rs_auth_service/src/helpers/metrics.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::CustomError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Registry` [INFO] [stdout] --> rs_auth_service/src/helpers/metrics.rs:6:63 [INFO] [stdout] | [INFO] [stdout] 6 | use prometheus::{Counter, Gauge, HistogramOpts, HistogramVec, Registry}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> rs_auth_service/src/helpers/token.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bson::oid::ObjectId` [INFO] [stdout] --> rs_auth_service/src/models/params.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bson::oid::ObjectId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rs_api_service` (bin "rs_api_service") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variants `Unknown`, `NoUserFound`, and `InvalidToken` are never constructed [INFO] [stdout] --> rs_auth_service/src/error.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum CustomError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | #[error("No user found")] [INFO] [stdout] 21 | NoUserFound, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | InvalidToken, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CustomError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_io_error` is never used [INFO] [stdout] --> rs_auth_service/src/error.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn map_io_error(e: std::io::Error) -> CustomError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `response_type` is never read [INFO] [stdout] --> rs_auth_service/src/handlers/login.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AuthFormTemplate<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 11 | response_type: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_cookie` is never used [INFO] [stdout] --> rs_auth_service/src/helpers/cookie.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn create_cookie(name: String, value: String) -> Cookie<'static> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cookie` is never used [INFO] [stdout] --> rs_auth_service/src/helpers/cookie.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn get_cookie(name: &str, req: HttpRequest) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cookie_value` is never used [INFO] [stdout] --> rs_auth_service/src/helpers/cookie.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn get_cookie_value(cookie: Cookie) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENVS` is never used [INFO] [stdout] --> rs_auth_service/src/helpers/metrics.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const ENVS: &'static [&'static str] = &["dev", "production"]; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_token` is never used [INFO] [stdout] --> rs_auth_service/src/helpers/token.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn decode_token(token_str: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7eb01a380ca6137d0dce0c0cc3b696aeaa61550627e4f05384d3b00a1fc290c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eb01a380ca6137d0dce0c0cc3b696aeaa61550627e4f05384d3b00a1fc290c4", kill_on_drop: false }` [INFO] [stdout] 7eb01a380ca6137d0dce0c0cc3b696aeaa61550627e4f05384d3b00a1fc290c4