[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] testing iamlockon/Rapi against 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamlockon%2FRapi" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/iamlockon/Rapi on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "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-4/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" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_json v1.0.50
[INFO] [stderr]   Downloaded async-trait v0.1.27
[INFO] [stderr]   Downloaded actix-macros v0.1.1
[INFO] [stderr]   Downloaded actix-web-codegen v0.2.1
[INFO] [stderr]   Downloaded actix-testing v1.0.0
[INFO] [stderr]   Downloaded tokio v0.2.13
[INFO] [stderr]   Downloaded actix-server v1.0.2
[INFO] [stderr]   Downloaded listenfd v0.3.3
[INFO] [stderr]   Downloaded regex v1.3.6
[INFO] [stderr]   Downloaded actix-threadpool v0.3.1
[INFO] [stderr]   Downloaded proc-macro-hack v0.5.14
[INFO] [stderr]   Downloaded h2 v0.2.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c3d40e68d1bb1aa364a289b0a0311cf2b28ef1052cc560f10e8a7c24b01ce0e3
[INFO] running `Command { std: "docker" "start" "-a" "c3d40e68d1bb1aa364a289b0a0311cf2b28ef1052cc560f10e8a7c24b01ce0e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c3d40e68d1bb1aa364a289b0a0311cf2b28ef1052cc560f10e8a7c24b01ce0e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3d40e68d1bb1aa364a289b0a0311cf2b28ef1052cc560f10e8a7c24b01ce0e3", kill_on_drop: false }`
[INFO] [stdout] c3d40e68d1bb1aa364a289b0a0311cf2b28ef1052cc560f10e8a7c24b01ce0e3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1651df4a142b61485e348bd7b8b69eadcb6a663b84511865ac01931ba93a544e
[INFO] running `Command { std: "docker" "start" "-a" "1651df4a142b61485e348bd7b8b69eadcb6a663b84511865ac01931ba93a544e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.68
[INFO] [stderr]    Compiling proc-macro2 v1.0.9
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling futures-core v0.3.4
[INFO] [stderr]    Compiling futures-sink v0.3.4
[INFO] [stderr]    Compiling smallvec v1.2.0
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling proc-macro-hack v0.5.14
[INFO] [stderr]    Compiling pin-utils v0.1.0-alpha.4
[INFO] [stderr]    Compiling futures-io v0.3.4
[INFO] [stderr]    Compiling futures-task v0.3.4
[INFO] [stderr]    Compiling arc-swap v0.4.5
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling pin-project-lite v0.1.4
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling itoa v0.4.5
[INFO] [stderr]    Compiling serde v1.0.105
[INFO] [stderr]    Compiling copyless v0.1.4
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling rustc-demangle v0.1.16
[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 encoding_rs v0.8.22
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling dtoa v0.4.5
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling bytestring v0.1.5
[INFO] [stderr]    Compiling lock_api v0.3.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling futures-channel v0.3.4
[INFO] [stderr]    Compiling http v0.2.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.12
[INFO] [stderr]    Compiling miniz_oxide v0.3.6
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling indexmap v1.3.2
[INFO] [stderr]    Compiling aho-corasick v0.7.10
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling signal-hook-registry v1.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.7.0
[INFO] [stderr]    Compiling num_cpus v1.12.0
[INFO] [stderr]    Compiling socket2 v0.3.11
[INFO] [stderr]    Compiling hostname v0.3.1
[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 backtrace-sys v0.1.35
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling threadpool v1.7.1
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling parking_lot v0.10.0
[INFO] [stderr]    Compiling resolv-conf v0.6.3
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling regex v1.3.6
[INFO] [stderr]    Compiling chrono v0.4.11
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling tokio v0.2.13
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling tokio-util v0.2.0
[INFO] [stderr]    Compiling backtrace v0.3.46
[INFO] [stderr]    Compiling actix-codec v0.2.0
[INFO] [stderr]    Compiling derive_more v0.15.0
[INFO] [stderr]    Compiling futures-macro v0.3.4
[INFO] [stderr]    Compiling pin-project-internal v0.4.8
[INFO] [stderr]    Compiling derive_more v0.99.5
[INFO] [stderr]    Compiling actix-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.105
[INFO] [stderr]    Compiling enum-as-inner v0.3.2
[INFO] [stderr]    Compiling async-trait v0.1.27
[INFO] [stderr]    Compiling actix-web-codegen v0.2.1
[INFO] [stderr]    Compiling failure_derive v0.1.7
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling futures-util v0.3.4
[INFO] [stderr]    Compiling pin-project v0.4.8
[INFO] [stderr]    Compiling failure v0.1.7
[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 trust-dns-proto v0.18.0-alpha.2
[INFO] [stderr]    Compiling trust-dns-resolver 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-connect v1.0.2
[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 serde_json v1.0.50
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling actix-router v0.2.4
[INFO] [stderr]    Compiling uuid v0.7.4
[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 38s
[INFO] running `Command { std: "docker" "inspect" "1651df4a142b61485e348bd7b8b69eadcb6a663b84511865ac01931ba93a544e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1651df4a142b61485e348bd7b8b69eadcb6a663b84511865ac01931ba93a544e", kill_on_drop: false }`
[INFO] [stdout] 1651df4a142b61485e348bd7b8b69eadcb6a663b84511865ac01931ba93a544e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eeca55884791908d559073beb2ecb07b07d95b8be99f0cb0e90017d1afb4195e
[INFO] running `Command { std: "docker" "start" "-a" "eeca55884791908d559073beb2ecb07b07d95b8be99f0cb0e90017d1afb4195e", 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 3.96s
[INFO] [stderr]   Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/api_rust-871fb79775eaceb3)
[INFO] running `Command { std: "docker" "inspect" "eeca55884791908d559073beb2ecb07b07d95b8be99f0cb0e90017d1afb4195e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eeca55884791908d559073beb2ecb07b07d95b8be99f0cb0e90017d1afb4195e", kill_on_drop: false }`
[INFO] [stdout] eeca55884791908d559073beb2ecb07b07d95b8be99f0cb0e90017d1afb4195e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 97841cee4fb79666e0450ea8188f7de2c1c6d849fdc2afac41d8eb210c7b5659
[INFO] running `Command { std: "docker" "start" "-a" "97841cee4fb79666e0450ea8188f7de2c1c6d849fdc2afac41d8eb210c7b5659", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `crate::config::error::UI`
[INFO] [stderr]  --> src/error.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use crate::config::error::UI;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `id`
[INFO] [stderr]  --> src/server/route/user.rs:9:3
[INFO] [stderr]   |
[INFO] [stderr] 9 |   id: u32,
[INFO] [stderr]   |   ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant is never used: `ERRINTERNAL`
[INFO] [stderr]  --> src/config/error.rs:2:3
[INFO] [stderr]   |
[INFO] [stderr] 2 |   pub const ERRINTERNAL: &'static str = "An internal error occurred, please try again later.";
[INFO] [stderr]   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant is never used: `ERRVALIDFAIL`
[INFO] [stderr]  --> src/config/error.rs:3:3
[INFO] [stderr]   |
[INFO] [stderr] 3 |   pub const ERRVALIDFAIL: &'static str = "Validation failed: {}";
[INFO] [stderr]   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant is never used: `ERRPERMDENIED`
[INFO] [stderr]  --> src/config/error.rs:4:3
[INFO] [stderr]   |
[INFO] [stderr] 4 |   pub const ERRPERMDENIED: &'static str = "Permission denied.";
[INFO] [stderr]   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant is never used: `ERRAUTHFAIL`
[INFO] [stderr]  --> src/config/error.rs:5:3
[INFO] [stderr]   |
[INFO] [stderr] 5 |   pub const ERRAUTHFAIL: &'static str = "Authorization failed.";
[INFO] [stderr]   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant is never used: `ERRTIMEOUT`
[INFO] [stderr]  --> src/config/error.rs:6:3
[INFO] [stderr]   |
[INFO] [stderr] 6 |   pub const ERRTIMEOUT: &'static str = "Application timedout.";
[INFO] [stderr]   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant is never used: `ERRUNKNOWN`
[INFO] [stderr]   --> src/config/error.rs:10:3
[INFO] [stderr]    |
[INFO] [stderr] 10 |   pub const ERRUNKNOWN: &'static str = "Unknown Error: {}";
[INFO] [stderr]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant is never used: `ERRTIMEOUT`
[INFO] [stderr]   --> src/config/error.rs:11:3
[INFO] [stderr]    |
[INFO] [stderr] 11 |   pub const ERRTIMEOUT: &'static str = "Timedout Error: {}";
[INFO] [stderr]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `InternalError`
[INFO] [stderr]   --> src/error.rs:10:3
[INFO] [stderr]    |
[INFO] [stderr] 10 |   InternalError,
[INFO] [stderr]    |   ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/error.rs:8:25
[INFO] [stderr]    |
[INFO] [stderr] 8  | #[derive(Fail, Display, Debug)]
[INFO] [stderr]    |                         ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `ValidationFailedError`
[INFO] [stderr]   --> src/error.rs:11:3
[INFO] [stderr]    |
[INFO] [stderr] 11 |   ValidationFailedError
[INFO] [stderr]    |   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/error.rs:8:25
[INFO] [stderr]    |
[INFO] [stderr] 8  | #[derive(Fail, Display, Debug)]
[INFO] [stderr]    |                         ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: module `UI` should have a snake case name
[INFO] [stderr]  --> src/config/error.rs:1:9
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub mod UI { /// User-facing errors
[INFO] [stderr]   |         ^^ help: convert the identifier to snake case (notice the capitalization): `ui`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: module `SRV` should have a snake case name
[INFO] [stderr]  --> src/config/error.rs:9:9
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub mod SRV { /// Dev-facing errors
[INFO] [stderr]   |         ^^^ help: convert the identifier to snake case: `srv`
[INFO] [stderr] 
[INFO] [stderr] warning: `api-rust` (bin "api-rust" test) generated 13 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/api_rust-871fb79775eaceb3)
[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" "97841cee4fb79666e0450ea8188f7de2c1c6d849fdc2afac41d8eb210c7b5659", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97841cee4fb79666e0450ea8188f7de2c1c6d849fdc2afac41d8eb210c7b5659", kill_on_drop: false }`
[INFO] [stdout] 97841cee4fb79666e0450ea8188f7de2c1c6d849fdc2afac41d8eb210c7b5659
