[INFO] fetching crate rk-dashboard-webapi 0.0.2...
[INFO] testing rk-dashboard-webapi-0.0.2 against 1.100.0-beta.1 for beta-1.100-2
[INFO] extracting crate rk-dashboard-webapi 0.0.2 into /workspace/builds/worker-1-tc2/source
[INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml
[INFO] started tweaking crates.io crate rk-dashboard-webapi 0.0.2
[INFO] finished tweaking crates.io crate rk-dashboard-webapi 0.0.2
[INFO] tweaked toml for crates.io crate rk-dashboard-webapi 0.0.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate rk-dashboard-webapi 0.0.2 on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rk-dashboard-webapi 0.0.2 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr] warning: `rk-dashboard-webapi` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c53086ce5c4530960f700bcffb93d4d0d5876869c5b06bac315274dadefa8351
[INFO] running `Command { std: "docker" "start" "c53086ce5c4530960f700bcffb93d4d0d5876869c5b06bac315274dadefa8351", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c53086ce5c4530960f700bcffb93d4d0d5876869c5b06bac315274dadefa8351", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c53086ce5c4530960f700bcffb93d4d0d5876869c5b06bac315274dadefa8351" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c53086ce5c4530960f700bcffb93d4d0d5876869c5b06bac315274dadefa8351", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c53086ce5c4530960f700bcffb93d4d0d5876869c5b06bac315274dadefa8351" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr] warning: `rk-dashboard-webapi` (manifest) generated 1 warning
[INFO] [stderr]    Compiling proc-macro2 v1.0.60
[INFO] [stderr]    Compiling unicode-ident v1.0.9
[INFO] [stderr]    Compiling quote v1.0.28
[INFO] [stderr]    Compiling libc v0.2.146
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling slab v0.4.8
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling log v0.4.19
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling serde v1.0.164
[INFO] [stderr]    Compiling itoa v1.0.6
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling syn v2.0.18
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling ahash v0.8.3
[INFO] [stderr]    Compiling tokio v1.28.2
[INFO] [stderr]    Compiling futures-io v0.3.28
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling rustls v0.20.8
[INFO] [stderr]    Compiling percent-encoding v2.3.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling allocator-api2 v0.2.14
[INFO] [stderr]    Compiling form_urlencoded v1.2.0
[INFO] [stderr]    Compiling tracing-core v0.1.31
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling ryu v1.0.13
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling rustversion v1.0.12
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling webpki v0.22.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling crossbeam-queue v0.3.8
[INFO] [stderr]    Compiling iana-time-zone v0.1.57
[INFO] [stderr]    Compiling libsqlite3-sys v0.24.2
[INFO] [stderr]    Compiling sct v0.7.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling hashbrown v0.14.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling base64 v0.21.2
[INFO] [stderr]    Compiling paste v1.0.12
[INFO] [stderr]    Compiling url v2.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.164
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling pin-project-internal v1.1.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.24
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling pin-project v1.1.0
[INFO] [stderr]    Compiling rustix v0.37.20
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling tokio-rustls v0.23.4
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling rustls-pemfile v1.0.2
[INFO] [stderr]    Compiling atoi v1.0.0
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling libz-sys v1.1.9
[INFO] [stderr]    Compiling openssl-sys v0.9.88
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling linux-raw-sys v0.3.8
[INFO] [stderr]    Compiling hashlink v0.8.3
[INFO] [stderr]    Compiling sqlformat v0.2.1
[INFO] [stderr]    Compiling futures-executor v0.3.28
[INFO] [stderr]    Compiling sqlx-rt v0.6.3
[INFO] [stderr]    Compiling tokio-stream v0.1.14
[INFO] [stderr]    Compiling futures-intrusive v0.4.2
[INFO] [stderr]    Compiling flume v0.10.14
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling chrono v0.4.26
[INFO] [stderr]    Compiling webpki-roots v0.22.6
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling async-trait v0.1.68
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling curl-sys v0.4.63+curl-8.1.2
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling tower-layer v0.3.2
[INFO] [stderr]    Compiling cpufeatures v0.2.7
[INFO] [stderr]    Compiling utf8parse v0.2.1
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]    Compiling sha1 v0.10.5
[INFO] [stderr]    Compiling anstyle-parse v0.2.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling is-terminal v0.4.7
[INFO] [stderr]    Compiling tokio-util v0.7.8
[INFO] [stderr]    Compiling sea-query-derive v0.3.0
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]    Compiling crossbeam-channel v0.5.8
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]    Compiling colorchoice v1.0.0
[INFO] [stderr]    Compiling equivalent v1.0.0
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling try-lock v0.2.4
[INFO] [stderr]    Compiling anstyle v1.0.1
[INFO] [stderr]    Compiling sqlx-core v0.6.3
[INFO] [stderr]    Compiling anstyle-query v1.0.0
[INFO] [stderr]    Compiling h2 v0.3.19
[INFO] [stderr]    Compiling ouroboros_macro v0.15.6
[INFO] [stderr]    Compiling tungstenite v0.18.0
[INFO] [stderr]    Compiling anstream v0.3.2
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling sea-query v0.28.5
[INFO] [stderr]    Compiling indexmap v2.0.0
[INFO] [stderr]    Compiling sea-strum_macros v0.23.0
[INFO] [stderr]    Compiling bae v0.1.7
[INFO] [stderr]    Compiling toml_datetime v0.6.3
[INFO] [stderr]    Compiling serde_spanned v0.6.3
[INFO] [stderr]    Compiling terminal_size v0.2.6
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling axum v0.6.18
[INFO] [stderr]    Compiling encoding_rs v0.8.32
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling anyhow v1.0.71
[INFO] [stderr]    Compiling clap_lex v0.5.0
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling curl v0.4.44
[INFO] [stderr]    Compiling aliasable v0.1.3
[INFO] [stderr]    Compiling winnow v0.4.7
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling unicode-width v0.1.10
[INFO] [stderr]    Compiling clap_builder v4.3.8
[INFO] [stderr]    Compiling ouroboros v0.15.6
[INFO] [stderr]    Compiling sea-strum v0.23.0
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling async-stream v0.3.5
[INFO] [stderr]    Compiling sea-orm-macros v0.11.3
[INFO] [stderr]    Compiling toml_edit v0.19.11
[INFO] [stderr]    Compiling rayon v1.7.0
[INFO] [stderr]    Compiling sqlx-macros v0.6.3
[INFO] [stderr]    Compiling hyper v0.14.26
[INFO] [stderr]    Compiling tokio-tungstenite v0.18.0
[INFO] [stderr]    Compiling tracing-log v0.1.3
[INFO] [stderr]    Compiling sharded-slab v0.1.4
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling sqlx v0.6.3
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling sea-query-binder v0.3.1
[INFO] [stderr]    Compiling tracing-serde v0.1.3
[INFO] [stderr]    Compiling serde_path_to_error v0.1.11
[INFO] [stderr]    Compiling clap_derive v4.3.2
[INFO] [stderr]    Compiling axum-macros v0.3.7
[INFO] [stderr]    Compiling futures v0.3.28
[INFO] [stderr]    Compiling aho-corasick v1.0.2
[INFO] [stderr]    Compiling thread_local v1.1.7
[INFO] [stderr]    Compiling matchit v0.7.0
[INFO] [stderr]    Compiling http-range-header v0.3.0
[INFO] [stderr]    Compiling regex-syntax v0.7.2
[INFO] [stderr]    Compiling tower-http v0.4.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.17
[INFO] [stderr]    Compiling clap v4.3.8
[INFO] [stderr]    Compiling sea-orm v0.11.3
[INFO] [stderr]    Compiling regex v1.8.4
[INFO] [stderr]    Compiling toml v0.7.5
[INFO] [stderr]    Compiling sysinfo v0.29.2
[INFO] [stderr]    Compiling termcolor v1.2.0
[INFO] [stderr]    Compiling rk-dashboard-webapi v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `RecordParams` is never constructed
[INFO] [stdout]  --> src/app/controllers/mod.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct RecordParams {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_disk_usage` is never used
[INFO] [stdout]   --> src/app/informers/disk_informer.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn get_disk_usage() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_network_info` is never used
[INFO] [stdout]  --> src/app/informers/network_informer.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn get_network_info() {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_os_support` is never used
[INFO] [stdout]  --> src/app/informers/sys_informer.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn check_os_support() -> anyhow::Result<[bool; 1]> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_sysinfo` is never used
[INFO] [stdout]  --> src/app/informers/sys_informer.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn get_all_sysinfo() {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_boot_time` is never used
[INFO] [stdout]   --> src/app/informers/sys_informer.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn get_boot_time() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_up_time` is never used
[INFO] [stdout]   --> src/app/informers/sys_informer.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn get_up_time() {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_users` is never used
[INFO] [stdout]   --> src/app/informers/sys_informer.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn get_users() {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_temperature_as_json` is never used
[INFO] [stdout]   --> src/app/informers/temperature_informer.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn get_temperature_as_json() -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `connection` is never read
[INFO] [stdout]  --> src/app/utils/db_state.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct AppState {
[INFO] [stdout]   |            -------- field in this struct
[INFO] [stdout] 5 |     pub connection: DatabaseConnection,
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `AppState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/server.rs:75:38
[INFO] [stdout]    |
[INFO] [stdout] 75 |     info!("Server type: {}", env_type.clone());
[INFO] [stdout]    |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/server.rs:76:43
[INFO] [stdout]    |
[INFO] [stdout] 76 |     info!("Database: {}", env_database_url.clone());
[INFO] [stdout]    |                                           ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 25s
[INFO] running `Command { std: "docker" "inspect" "c53086ce5c4530960f700bcffb93d4d0d5876869c5b06bac315274dadefa8351", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c53086ce5c4530960f700bcffb93d4d0d5876869c5b06bac315274dadefa8351" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr] warning: `rk-dashboard-webapi` (manifest) generated 1 warning
[INFO] [stderr]    Compiling rk-dashboard-webapi v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `RecordParams` is never constructed
[INFO] [stdout]  --> src/app/controllers/mod.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct RecordParams {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_disk_usage` is never used
[INFO] [stdout]   --> src/app/informers/disk_informer.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn get_disk_usage() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_network_info` is never used
[INFO] [stdout]  --> src/app/informers/network_informer.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn get_network_info() {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_os_support` is never used
[INFO] [stdout]  --> src/app/informers/sys_informer.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn check_os_support() -> anyhow::Result<[bool; 1]> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_sysinfo` is never used
[INFO] [stdout]  --> src/app/informers/sys_informer.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn get_all_sysinfo() {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_boot_time` is never used
[INFO] [stdout]   --> src/app/informers/sys_informer.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn get_boot_time() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_up_time` is never used
[INFO] [stdout]   --> src/app/informers/sys_informer.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn get_up_time() {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_users` is never used
[INFO] [stdout]   --> src/app/informers/sys_informer.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn get_users() {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_temperature_as_json` is never used
[INFO] [stdout]   --> src/app/informers/temperature_informer.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn get_temperature_as_json() -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `connection` is never read
[INFO] [stdout]  --> src/app/utils/db_state.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct AppState {
[INFO] [stdout]   |            -------- field in this struct
[INFO] [stdout] 5 |     pub connection: DatabaseConnection,
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `AppState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/server.rs:75:38
[INFO] [stdout]    |
[INFO] [stdout] 75 |     info!("Server type: {}", env_type.clone());
[INFO] [stdout]    |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/server.rs:76:43
[INFO] [stdout]    |
[INFO] [stdout] 76 |     info!("Database: {}", env_database_url.clone());
[INFO] [stdout]    |                                           ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/app/informers/memory_informer.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> src/app/informers/network_informer.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `star_platinum`
[INFO] [stdout]    --> src/server.rs:125:13
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let star_platinum = tokio::runtime::Builder::new_multi_thread()
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_star_platinum`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RecordParams` is never constructed
[INFO] [stdout]  --> src/app/controllers/mod.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct RecordParams {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_disk_usage` is never used
[INFO] [stdout]   --> src/app/informers/disk_informer.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn get_disk_usage() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_network_info` is never used
[INFO] [stdout]  --> src/app/informers/network_informer.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn get_network_info() {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_sysinfo` is never used
[INFO] [stdout]  --> src/app/informers/sys_informer.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn get_all_sysinfo() {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_boot_time` is never used
[INFO] [stdout]   --> src/app/informers/sys_informer.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn get_boot_time() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_up_time` is never used
[INFO] [stdout]   --> src/app/informers/sys_informer.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn get_up_time() {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_users` is never used
[INFO] [stdout]   --> src/app/informers/sys_informer.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn get_users() {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `connection` is never read
[INFO] [stdout]  --> src/app/utils/db_state.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct AppState {
[INFO] [stdout]   |            -------- field in this struct
[INFO] [stdout] 5 |     pub connection: DatabaseConnection,
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `AppState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/server.rs:75:38
[INFO] [stdout]    |
[INFO] [stdout] 75 |     info!("Server type: {}", env_type.clone());
[INFO] [stdout]    |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/server.rs:76:43
[INFO] [stdout]    |
[INFO] [stdout] 76 |     info!("Database: {}", env_database_url.clone());
[INFO] [stdout]    |                                           ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 8.61s
[INFO] running `Command { std: "docker" "inspect" "c53086ce5c4530960f700bcffb93d4d0d5876869c5b06bac315274dadefa8351", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c53086ce5c4530960f700bcffb93d4d0d5876869c5b06bac315274dadefa8351" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr] warning: `rk-dashboard-webapi` (manifest) generated 1 warning
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]   --> src/app/informers/memory_informer.rs:33:9
[INFO] [stderr]    |
[INFO] [stderr] 33 |     use super::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]  --> src/app/informers/network_informer.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 7 |     use super::*;
[INFO] [stderr]   |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `star_platinum`
[INFO] [stderr]    --> src/server.rs:125:13
[INFO] [stderr]     |
[INFO] [stderr] 125 |         let star_platinum = tokio::runtime::Builder::new_multi_thread()
[INFO] [stderr]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_star_platinum`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `RecordParams` is never constructed
[INFO] [stderr]  --> src/app/controllers/mod.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub struct RecordParams {
[INFO] [stderr]   |            ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_disk_usage` is never used
[INFO] [stderr]   --> src/app/informers/disk_informer.rs:29:8
[INFO] [stderr]    |
[INFO] [stderr] 29 | pub fn get_disk_usage() {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_network_info` is never used
[INFO] [stderr]  --> src/app/informers/network_informer.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub fn get_network_info() {
[INFO] [stderr]   |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_all_sysinfo` is never used
[INFO] [stderr]  --> src/app/informers/sys_informer.rs:8:8
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub fn get_all_sysinfo() {
[INFO] [stderr]   |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_boot_time` is never used
[INFO] [stderr]   --> src/app/informers/sys_informer.rs:12:8
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub fn get_boot_time() {
[INFO] [stderr]    |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_up_time` is never used
[INFO] [stderr]   --> src/app/informers/sys_informer.rs:16:8
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub fn get_up_time() {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_users` is never used
[INFO] [stderr]   --> src/app/informers/sys_informer.rs:20:8
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub fn get_users() {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `connection` is never read
[INFO] [stderr]  --> src/app/utils/db_state.rs:5:9
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub struct AppState {
[INFO] [stderr]   |            -------- field in this struct
[INFO] [stderr] 5 |     pub connection: DatabaseConnection,
[INFO] [stderr]   |         ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `AppState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/server.rs:75:38
[INFO] [stderr]    |
[INFO] [stderr] 75 |     info!("Server type: {}", env_type.clone());
[INFO] [stderr]    |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stderr]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/server.rs:76:43
[INFO] [stderr]    |
[INFO] [stderr] 76 |     info!("Database: {}", env_database_url.clone());
[INFO] [stderr]    |                                           ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stderr] 
[INFO] [stderr] warning: function `check_os_support` is never used
[INFO] [stderr]  --> src/app/informers/sys_informer.rs:3:8
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub fn check_os_support() -> anyhow::Result<[bool; 1]> {
[INFO] [stderr]   |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_temperature_as_json` is never used
[INFO] [stderr]   --> src/app/informers/temperature_informer.rs:25:8
[INFO] [stderr]    |
[INFO] [stderr] 25 | pub fn get_temperature_as_json() -> String {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rk-dashboard-webapi` (bin "rk-dashboard-webapi" test) generated 13 warnings (run `cargo fix --bin "rk-dashboard-webapi" -p rk-dashboard-webapi --tests` to apply 5 suggestions)
[INFO] [stderr] warning: `rk-dashboard-webapi` (bin "rk-dashboard-webapi") generated 12 warnings (10 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/rk-dashboard-webapi/47da258555169408/out/rk_dashboard_webapi-47da258555169408)
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stderr] error: the following required arguments were not provided:
[INFO] [stderr]   --config <CONFIG>
[INFO] [stderr] 
[INFO] [stderr] Usage: rk_dashboard_webapi-47da258555169408 --config <CONFIG>
[INFO] [stderr] 
[INFO] [stderr] For more information, try '--help'.
[INFO] [stdout] test app::informers::sys_informer::tests::test_check_os_is_supported ... ok
[INFO] [stdout] [0m[30m        
[INFO] [stdout] [0m[31m /$$$$$$$            /$$           /$$                               /$$$$$$$$ /$$                     /$$      
[INFO] [stdout] [0m[31m| $$__  $$          |__/          | $$                              | $$_____/| $$                    | $$      
[INFO] [stdout] [0m[33m| $$  \ $$  /$$$$$$  /$$ /$$$$$$$ | $$$$$$$   /$$$$$$  /$$  /$$  /$$| $$      | $$  /$$$$$$   /$$$$$$$| $$$$$$$ 
[INFO] [stdout] [0m[33m| $$$$$$$/ |____  $$| $$| $$__  $$| $$__  $$ /$$__  $$| $$ | $$ | $$| $$$$$   | $$ /$$__  $$ /$$_____/| $$__  $$
[INFO] [stdout] [0m[32m| $$__  $$  /$$$$$$$| $$| $$  \ $$| $$  \ $$| $$  \ $$| $$ | $$ | $$| $$__/   | $$| $$$$$$$$|  $$$$$$ | $$  \ $$
[INFO] [stdout] [0m[32m| $$  \ $$ /$$__  $$| $$| $$  | $$| $$  | $$| $$  | $$| $$ | $$ | $$| $$      | $$| $$_____/ \____  $$| $$  | $$
[INFO] [stdout] [0m[36m| $$  | $$ | $$$$$$$| $$| $$  | $$| $$$$$$$/|  $$$$$$/|  $$$$$/$$$$/| $$      | $$|  $$$$$$$ /$$$$$$$/| $$  | $$
[INFO] [stdout] [0m[34m|__/  |__/ \_______/|__/|__/  |__/|_______/  \______/  \_____/\___/ |__/      |__/ \_______/|_______/ |__/  |__/
[INFO] [stdout] [0m[35m                                       佛祖保佑 0 error 0 warning
[INFO] [stdout] [0m[37mtest app::utils::cli_helper::tests::test_print_credits ... ok
[INFO] [stderr] error: the following required arguments were not provided:
[INFO] [stderr]   --config <CONFIG>
[INFO] [stderr] 
[INFO] [stderr] Usage: rk_dashboard_webapi-47da258555169408 --config <CONFIG>
[INFO] [stderr] 
[INFO] [stderr] For more information, try '--help'.
[INFO] [stderr] error: test failed, to rerun pass `--bin rk-dashboard-webapi`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/rk-dashboard-webapi/47da258555169408/out/rk_dashboard_webapi-47da258555169408` (exit status: 2)
[INFO] [stderr] note: test exited abnormally; to see the full output pass --no-capture to the harness.
[INFO] running `Command { std: "docker" "inspect" "c53086ce5c4530960f700bcffb93d4d0d5876869c5b06bac315274dadefa8351", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c53086ce5c4530960f700bcffb93d4d0d5876869c5b06bac315274dadefa8351", kill_on_drop: false }`
[INFO] [stdout] c53086ce5c4530960f700bcffb93d4d0d5876869c5b06bac315274dadefa8351
