[INFO] fetching crate rk-dashboard-webapi 0.0.2... [INFO] checking rk-dashboard-webapi-0.0.2 against try#6686ffcefca4f92a784e49c45d735f79c0d1effa for pr-114489 [INFO] extracting crate rk-dashboard-webapi 0.0.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate rk-dashboard-webapi 0.0.2 on toolchain 6686ffcefca4f92a784e49c45d735f79c0d1effa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6686ffcefca4f92a784e49c45d735f79c0d1effa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [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" "+6686ffcefca4f92a784e49c45d735f79c0d1effa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+6686ffcefca4f92a784e49c45d735f79c0d1effa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 162044f82c735928eed0fb2985ee5dee395739d8cfe6fb0dc978f1748ffcff9e [INFO] running `Command { std: "docker" "start" "-a" "162044f82c735928eed0fb2985ee5dee395739d8cfe6fb0dc978f1748ffcff9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "162044f82c735928eed0fb2985ee5dee395739d8cfe6fb0dc978f1748ffcff9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "162044f82c735928eed0fb2985ee5dee395739d8cfe6fb0dc978f1748ffcff9e", kill_on_drop: false }` [INFO] [stdout] 162044f82c735928eed0fb2985ee5dee395739d8cfe6fb0dc978f1748ffcff9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+6686ffcefca4f92a784e49c45d735f79c0d1effa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b4688826be784b6b4439df94978592b5b44fd7e94cb5cfbd4b857763bb93991 [INFO] running `Command { std: "docker" "start" "-a" "8b4688826be784b6b4439df94978592b5b44fd7e94cb5cfbd4b857763bb93991", kill_on_drop: false }` [INFO] [stderr] warning: 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] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Checking allocator-api2 v0.2.14 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.2 [INFO] [stderr] Compiling hashlink v0.8.3 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling sqlformat v0.2.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling curl-sys v0.4.63+curl-8.1.2 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking equivalent v1.0.0 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking rayon-core v1.11.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking terminal_size v0.2.6 [INFO] [stderr] Compiling axum v0.6.18 [INFO] [stderr] Compiling curl v0.4.44 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Checking winnow v0.4.7 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking clap_builder v4.3.8 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Checking matchit v0.7.0 [INFO] [stderr] Checking regex v1.8.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ouroboros_macro v0.15.6 [INFO] [stderr] Compiling bae v0.1.7 [INFO] [stderr] Compiling sea-strum_macros v0.23.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 tokio-stream v0.1.14 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Compiling axum-macros v0.3.7 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling sea-orm-macros v0.11.3 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling sqlx-rt v0.6.3 [INFO] [stderr] Checking pin-project v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Compiling sea-query-derive v0.3.0 [INFO] [stderr] Checking tungstenite v0.18.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking sea-strum v0.23.0 [INFO] [stderr] Checking ouroboros v0.15.6 [INFO] [stderr] Checking tower-http v0.4.0 [INFO] [stderr] Checking clap v4.3.8 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-tungstenite v0.18.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.3.19 [INFO] [stderr] Checking serde_json v1.0.96 [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Checking serde_spanned v0.6.3 [INFO] [stderr] Checking serde_path_to_error v0.1.11 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking sysinfo v0.29.2 [INFO] [stderr] Checking toml_edit v0.19.11 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking sqlx-core v0.6.3 [INFO] [stderr] Checking sea-query v0.28.5 [INFO] [stderr] Checking toml v0.7.5 [INFO] [stderr] Checking hyper v0.14.26 [INFO] [stderr] Compiling sqlx-macros v0.6.3 [INFO] [stderr] Checking sqlx v0.6.3 [INFO] [stderr] Checking sea-query-binder v0.3.1 [INFO] [stderr] Checking sea-orm v0.11.3 [INFO] [stderr] Checking rk-dashboard-webapi v0.0.2 (/opt/rustwide/workdir) [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)]` 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: 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] = note: `#[warn(dead_code)]` on by default [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: 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: 10 warnings emitted [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)]` 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] = note: `#[warn(dead_code)]` on by default [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: 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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.46s [INFO] running `Command { std: "docker" "inspect" "8b4688826be784b6b4439df94978592b5b44fd7e94cb5cfbd4b857763bb93991", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b4688826be784b6b4439df94978592b5b44fd7e94cb5cfbd4b857763bb93991", kill_on_drop: false }` [INFO] [stdout] 8b4688826be784b6b4439df94978592b5b44fd7e94cb5cfbd4b857763bb93991