[INFO] cloning repository https://github.com/iamlockon/Rapi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iamlockon/Rapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamlockon%2FRapi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamlockon%2FRapi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aafde636e7d696f577f87809206789da282ea73e [INFO] building iamlockon/Rapi against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamlockon%2FRapi" "/workspace/builds/worker-19/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-19/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iamlockon/Rapi on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iamlockon/Rapi [INFO] finished tweaking git repo https://github.com/iamlockon/Rapi [INFO] tweaked toml for git repo https://github.com/iamlockon/Rapi written to /workspace/builds/worker-19/source/Cargo.toml [INFO] crate git repo https://github.com/iamlockon/Rapi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "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-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 596e104a417901b4a36fafac4ccfb186476002e9369b8492cdb6e7b0914df753 [INFO] running `Command { std: "docker" "start" "-a" "596e104a417901b4a36fafac4ccfb186476002e9369b8492cdb6e7b0914df753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "596e104a417901b4a36fafac4ccfb186476002e9369b8492cdb6e7b0914df753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "596e104a417901b4a36fafac4ccfb186476002e9369b8492cdb6e7b0914df753", kill_on_drop: false }` [INFO] [stdout] 596e104a417901b4a36fafac4ccfb186476002e9369b8492cdb6e7b0914df753 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c2fdf714f82c086c7cf7e24adb29f8a5a9e76b373d431b50e2d22e04859817f [INFO] running `Command { std: "docker" "start" "-a" "0c2fdf714f82c086c7cf7e24adb29f8a5a9e76b373d431b50e2d22e04859817f", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.14 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling arc-swap v0.4.5 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling listenfd v0.3.3 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling derive_more v0.99.5 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling async-trait v0.1.27 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling actix-web-codegen v0.2.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling h2 v0.2.3 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-threadpool v0.3.1 [INFO] [stderr] Compiling actix-rt v1.0.0 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.2 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling actix-testing v1.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.50 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling api-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::config::error::UI` [INFO] [stdout] --> src/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::config::error::UI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/server/route/user.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ERRINTERNAL` [INFO] [stdout] --> src/config/error.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | pub const ERRINTERNAL: &'static str = "An internal error occurred, please try again later."; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ERRVALIDFAIL` [INFO] [stdout] --> src/config/error.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | pub const ERRVALIDFAIL: &'static str = "Validation failed: {}"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ERRPERMDENIED` [INFO] [stdout] --> src/config/error.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub const ERRPERMDENIED: &'static str = "Permission denied."; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ERRAUTHFAIL` [INFO] [stdout] --> src/config/error.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | pub const ERRAUTHFAIL: &'static str = "Authorization failed."; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ERRTIMEOUT` [INFO] [stdout] --> src/config/error.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub const ERRTIMEOUT: &'static str = "Application timedout."; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ERRUNKNOWN` [INFO] [stdout] --> src/config/error.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | pub const ERRUNKNOWN: &'static str = "Unknown Error: {}"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ERRTIMEOUT` [INFO] [stdout] --> src/config/error.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | pub const ERRTIMEOUT: &'static str = "Timedout Error: {}"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InternalError` [INFO] [stdout] --> src/error.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | InternalError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Fail, Display, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ValidationFailedError` [INFO] [stdout] --> src/error.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | ValidationFailedError [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Fail, Display, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `UI` should have a snake case name [INFO] [stdout] --> src/config/error.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod UI { /// User-facing errors [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `ui` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `SRV` should have a snake case name [INFO] [stdout] --> src/config/error.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod SRV { /// Dev-facing errors [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `srv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 52s [INFO] running `Command { std: "docker" "inspect" "0c2fdf714f82c086c7cf7e24adb29f8a5a9e76b373d431b50e2d22e04859817f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c2fdf714f82c086c7cf7e24adb29f8a5a9e76b373d431b50e2d22e04859817f", kill_on_drop: false }` [INFO] [stdout] 0c2fdf714f82c086c7cf7e24adb29f8a5a9e76b373d431b50e2d22e04859817f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7cf72d7fb3b36e680a13e0cf5d05599cafea98ad7745a058dd042736506713b [INFO] running `Command { std: "docker" "start" "-a" "b7cf72d7fb3b36e680a13e0cf5d05599cafea98ad7745a058dd042736506713b", kill_on_drop: false }` [INFO] [stderr] Compiling api-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::config::error::UI` [INFO] [stdout] --> src/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::config::error::UI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/server/route/user.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ERRINTERNAL` [INFO] [stdout] --> src/config/error.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | pub const ERRINTERNAL: &'static str = "An internal error occurred, please try again later."; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ERRVALIDFAIL` [INFO] [stdout] --> src/config/error.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | pub const ERRVALIDFAIL: &'static str = "Validation failed: {}"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ERRPERMDENIED` [INFO] [stdout] --> src/config/error.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub const ERRPERMDENIED: &'static str = "Permission denied."; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ERRAUTHFAIL` [INFO] [stdout] --> src/config/error.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | pub const ERRAUTHFAIL: &'static str = "Authorization failed."; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ERRTIMEOUT` [INFO] [stdout] --> src/config/error.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub const ERRTIMEOUT: &'static str = "Application timedout."; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ERRUNKNOWN` [INFO] [stdout] --> src/config/error.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | pub const ERRUNKNOWN: &'static str = "Unknown Error: {}"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ERRTIMEOUT` [INFO] [stdout] --> src/config/error.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | pub const ERRTIMEOUT: &'static str = "Timedout Error: {}"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InternalError` [INFO] [stdout] --> src/error.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | InternalError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Fail, Display, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ValidationFailedError` [INFO] [stdout] --> src/error.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | ValidationFailedError [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Fail, Display, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `UI` should have a snake case name [INFO] [stdout] --> src/config/error.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod UI { /// User-facing errors [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `ui` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `SRV` should have a snake case name [INFO] [stdout] --> src/config/error.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod SRV { /// Dev-facing errors [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `srv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.53s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/api_rust-6c2118d588fc4056) [INFO] running `Command { std: "docker" "inspect" "b7cf72d7fb3b36e680a13e0cf5d05599cafea98ad7745a058dd042736506713b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7cf72d7fb3b36e680a13e0cf5d05599cafea98ad7745a058dd042736506713b", kill_on_drop: false }` [INFO] [stdout] b7cf72d7fb3b36e680a13e0cf5d05599cafea98ad7745a058dd042736506713b