[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 beta-2022-07-16 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 beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "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" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cceb8bf4aa60505073fb63c81bac8c08c4224b08b6461485ea9fb56525335451
[INFO] running `Command { std: "docker" "start" "-a" "cceb8bf4aa60505073fb63c81bac8c08c4224b08b6461485ea9fb56525335451", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cceb8bf4aa60505073fb63c81bac8c08c4224b08b6461485ea9fb56525335451", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cceb8bf4aa60505073fb63c81bac8c08c4224b08b6461485ea9fb56525335451", kill_on_drop: false }`
[INFO] [stdout] cceb8bf4aa60505073fb63c81bac8c08c4224b08b6461485ea9fb56525335451
[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" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 95341606ccf64773d33b9686bbd7a586ebf517fddbeac56971cfe0a869ad9f88
[INFO] running `Command { std: "docker" "start" "-a" "95341606ccf64773d33b9686bbd7a586ebf517fddbeac56971cfe0a869ad9f88", 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 futures-io 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-task 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 getrandom v0.1.14
[INFO] [stderr]    Compiling serde v1.0.105
[INFO] [stderr]    Compiling copyless v0.1.4
[INFO] [stderr]    Compiling itoa v0.4.5
[INFO] [stderr]    Compiling rustc-demangle v0.1.16
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling regex-syntax v0.6.17
[INFO] [stderr]    Compiling linked-hash-map v0.5.2
[INFO] [stderr]    Compiling ryu v1.0.3
[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 unicode-normalization v0.1.12
[INFO] [stderr]    Compiling http v0.2.1
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling miniz_oxide v0.3.6
[INFO] [stderr]    Compiling lru-cache v0.1.2
[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 backtrace-sys v0.1.35
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[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 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 url v2.1.1
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling parking_lot v0.10.0
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling regex v1.3.6
[INFO] [stderr]    Compiling chrono v0.4.11
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling backtrace v0.3.46
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling tokio v0.2.13
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling tokio-util v0.2.0
[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 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 failure_derive v0.1.7
[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 futures-util v0.3.4
[INFO] [stderr]    Compiling futures-executor v0.3.4
[INFO] [stderr]    Compiling h2 v0.2.3
[INFO] [stderr]    Compiling failure v0.1.7
[INFO] [stderr]    Compiling futures v0.3.4
[INFO] [stderr]    Compiling pin-project v0.4.8
[INFO] [stderr]    Compiling actix-service v1.0.5
[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 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-testing v1.0.0
[INFO] [stderr]    Compiling trust-dns-resolver v0.18.0-alpha.2
[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 `id` is never read
[INFO] [stdout]  --> src/server/route/user.rs:9:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Info {
[INFO] [stdout]   |        ---- field in this struct
[INFO] [stdout] 8 |   name: String,
[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 `ERRINTERNAL` is never used
[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 `ERRVALIDFAIL` is never used
[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 `ERRPERMDENIED` is never used
[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 `ERRAUTHFAIL` is never used
[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 `ERRTIMEOUT` is never used
[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 `ERRUNKNOWN` is never used
[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 `ERRTIMEOUT` is never used
[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: variants `InternalError` and `ValidationFailedError` are never constructed
[INFO] [stdout]   --> src/error.rs:10:3
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub enum ApiError {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 10 |   InternalError,
[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] 
[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: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2m 22s
[INFO] running `Command { std: "docker" "inspect" "95341606ccf64773d33b9686bbd7a586ebf517fddbeac56971cfe0a869ad9f88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "95341606ccf64773d33b9686bbd7a586ebf517fddbeac56971cfe0a869ad9f88", kill_on_drop: false }`
[INFO] [stdout] 95341606ccf64773d33b9686bbd7a586ebf517fddbeac56971cfe0a869ad9f88
[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" "+beta-2022-07-16" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 089ee8c481096b8275c0a9ef464f5168d1caa386d9208a59de9788f47fd70116
[INFO] running `Command { std: "docker" "start" "-a" "089ee8c481096b8275c0a9ef464f5168d1caa386d9208a59de9788f47fd70116", 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 `id` is never read
[INFO] [stdout]  --> src/server/route/user.rs:9:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Info {
[INFO] [stdout]   |        ---- field in this struct
[INFO] [stdout] 8 |   name: String,
[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 `ERRINTERNAL` is never used
[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 `ERRVALIDFAIL` is never used
[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 `ERRPERMDENIED` is never used
[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 `ERRAUTHFAIL` is never used
[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 `ERRTIMEOUT` is never used
[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 `ERRUNKNOWN` is never used
[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 `ERRTIMEOUT` is never used
[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: variants `InternalError` and `ValidationFailedError` are never constructed
[INFO] [stdout]   --> src/error.rs:10:3
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub enum ApiError {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 10 |   InternalError,
[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] 
[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: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 4.96s
[INFO] running `Command { std: "docker" "inspect" "089ee8c481096b8275c0a9ef464f5168d1caa386d9208a59de9788f47fd70116", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "089ee8c481096b8275c0a9ef464f5168d1caa386d9208a59de9788f47fd70116", kill_on_drop: false }`
[INFO] [stdout] 089ee8c481096b8275c0a9ef464f5168d1caa386d9208a59de9788f47fd70116
[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" "+beta-2022-07-16" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0fd39b964e646e16159d1add06332b3baaffbfc2dcb38db3f2e281e60b2cdd09
[INFO] running `Command { std: "docker" "start" "-a" "0fd39b964e646e16159d1add06332b3baaffbfc2dcb38db3f2e281e60b2cdd09", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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 `id` is never read
[INFO] [stderr]  --> src/server/route/user.rs:9:3
[INFO] [stderr]   |
[INFO] [stderr] 7 | struct Info {
[INFO] [stderr]   |        ---- field in this struct
[INFO] [stderr] 8 |   name: String,
[INFO] [stderr] 9 |   id: u32,
[INFO] [stderr]   |   ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `ERRINTERNAL` is never used
[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 `ERRVALIDFAIL` is never used
[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 `ERRPERMDENIED` is never used
[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 `ERRAUTHFAIL` is never used
[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 `ERRTIMEOUT` is never used
[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 `ERRUNKNOWN` is never used
[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 `ERRTIMEOUT` is never used
[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: variants `InternalError` and `ValidationFailedError` are never constructed
[INFO] [stderr]   --> src/error.rs:10:3
[INFO] [stderr]    |
[INFO] [stderr] 9  | pub enum ApiError {
[INFO] [stderr]    |          -------- variants in this enum
[INFO] [stderr] 10 |   InternalError,
[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] 
[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 12 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.59s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/api_rust-a1319a31b42a829e)
[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" "0fd39b964e646e16159d1add06332b3baaffbfc2dcb38db3f2e281e60b2cdd09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0fd39b964e646e16159d1add06332b3baaffbfc2dcb38db3f2e281e60b2cdd09", kill_on_drop: false }`
[INFO] [stdout] 0fd39b964e646e16159d1add06332b3baaffbfc2dcb38db3f2e281e60b2cdd09
