[INFO] fetching crate ratchjob 0.1.6... [INFO] testing ratchjob-0.1.6 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate ratchjob 0.1.6 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate ratchjob 0.1.6 [INFO] finished tweaking crates.io crate ratchjob 0.1.6 [INFO] tweaked toml for crates.io crate ratchjob 0.1.6 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ratchjob 0.1.6 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ratchjob 0.1.6 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87ca6c3536b22a7745849904078542d9f209446b1bd6be4a711a17b00e900998 [INFO] running `Command { std: "docker" "start" "-a" "87ca6c3536b22a7745849904078542d9f209446b1bd6be4a711a17b00e900998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87ca6c3536b22a7745849904078542d9f209446b1bd6be4a711a17b00e900998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87ca6c3536b22a7745849904078542d9f209446b1bd6be4a711a17b00e900998", kill_on_drop: false }` [INFO] [stdout] 87ca6c3536b22a7745849904078542d9f209446b1bd6be4a711a17b00e900998 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21e405cab491ad98444567d8b6bd7cac3227ea6f59cb596a618969d1ddbebfd0 [INFO] running `Command { std: "docker" "start" "-a" "21e405cab491ad98444567d8b6bd7cac3227ea6f59cb596a618969d1ddbebfd0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rust-embed-utils v7.8.1 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling binrw_derive v0.13.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling inventory v0.1.11 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling binrw v0.13.3 [INFO] [stderr] Compiling jiff v0.2.14 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling lodepng v3.11.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling winnow v0.6.26 [INFO] [stderr] Compiling bcrypt v0.15.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling sysinfo v0.30.13 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling if-addrs v0.13.4 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling inner-mem-cache v0.1.7 [INFO] [stderr] Compiling ratelimiter-rs v0.1.5 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling inventory-impl v0.1.11 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling bean_factory_derive v0.1.4 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ghost v0.1.19 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling actix_derive v0.6.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling rust-embed-impl v6.8.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling uuid-macro-internal v1.17.0 [INFO] [stderr] Compiling rust-embed v6.8.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling ratchjob-web-dist-wrap v0.1.5 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling actix-multipart-derive v0.6.1 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling ratchjob v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling actix v0.13.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_plain v1.0.2 [INFO] [stderr] Compiling async-raft-ext v0.6.3 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling captcha v0.0.9 [INFO] [stderr] Compiling bean_factory v0.1.4 [INFO] [stderr] Compiling cron v0.15.0 [INFO] [stderr] Compiling env_logger_timezone_fmt v0.1.1 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.12 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling actix-multipart v0.6.2 [INFO] [stdout] warning: unused import: `crate::common::byte_utils::id_to_bin` [INFO] [stdout] --> src/app/core.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::byte_utils::id_to_bin; [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: `JOB_TABLE_NAME` [INFO] [stdout] --> src/app/core.rs:9:67 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::common::constant::{APP_INFO_TABLE_NAME, EMPTY_ARC_STR, JOB_TABLE_NAME}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `now_millis` [INFO] [stdout] --> src/app/core.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::common::datetime_utils::{now_millis, now_second_u32}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/app/core.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/cache/actor_model.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::app::model::AppInfo` [INFO] [stdout] --> src/cache/core.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::app::model::AppInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppInfoDo` [INFO] [stdout] --> src/cache/core.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::pb::data_object::{AppInfoDo, CacheItemDo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::job::model::enum_type::PastDueStrategy::Default` [INFO] [stdout] --> src/cache/core.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::job::model::enum_type::PastDueStrategy::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemCache` [INFO] [stdout] --> src/cache/core.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | use inner_mem_cache::{MemCache, TimeoutSet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/cache/core.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Args` and `ValueEnum` [INFO] [stdout] --> src/cli.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{Args, Parser, Subcommand, ValueEnum}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/common/cron_utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CacheManagerRaftReq` and `SetInfo` [INFO] [stdout] --> src/console/middle/login_middle.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | CacheManagerLocalReq, CacheManagerRaftReq, CacheManagerRaftResult, SetInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `now_millis_i64` [INFO] [stdout] --> src/console/middle/login_middle.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::common::datetime_utils::{now_millis_i64, now_second_i32, now_second_u32}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::raft::store::ClientRequest` [INFO] [stdout] --> src/console/middle/login_middle.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::raft::store::ClientRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserDto` [INFO] [stdout] --> src/console/middle/login_middle.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::user::model::{UserDto, UserInfo}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::model::privilege::PrivilegeGroup` [INFO] [stdout] --> src/console/model/app/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::common::model::privilege::PrivilegeGroup; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppKey` [INFO] [stdout] --> src/console/v1/app_api.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::app::model::{AppKey, AppManagerRaftReq, AppManagerReq, AppManagerResult, RegisterType}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::header` [INFO] [stdout] --> src/console/v1/cluster_api.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{http::header, web, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskHistoryManagerReq` and `TaskHistoryManagerResult` [INFO] [stdout] --> src/console/v1/job_api.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | TaskHistoryManagerReq, TaskHistoryManagerResult, TaskManagerReq, TriggerItem, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `now_second_u32` [INFO] [stdout] --> src/console/v1/login_api.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::common::datetime_utils::{now_second_i32, now_second_u32}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grpc::PayloadUtils` [INFO] [stdout] --> src/console/v1/metrics_api.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::grpc::PayloadUtils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grpc::payload_utils::PayloadUtils` [INFO] [stdout] --> src/grpc/handler/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::grpc::payload_utils::PayloadUtils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SEQUENCE_TABLE_NAME` [INFO] [stdout] --> src/job/core.rs:2:68 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::common::constant::{JOB_TABLE_NAME, JOB_TASK_TABLE_NAME, SEQUENCE_TABLE_NAME}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::task::model::actor_model::TaskHistoryManagerReq` [INFO] [stdout] --> src/job/core.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::task::model::actor_model::TaskHistoryManagerReq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::task::task_history::TaskHistoryManager` [INFO] [stdout] --> src/job/core.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::task::task_history::TaskHistoryManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/job/core.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeSet` [INFO] [stdout] --> src/job/job_index.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{BTreeMap, BTreeSet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetricsQuery` [INFO] [stdout] --> src/metrics/core.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | MetricsItem, MetricsQuery, MetricsRecord, MetricsRequest, MetricsResponse, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `XxlApiResult` and `xxl_api_empty_success` [INFO] [stdout] --> src/openapi/v1/app_api.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::openapi::xxljob::model::{xxl_api_empty_success, XxlApiResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/openapi/v1/job_api.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppManagerReq` [INFO] [stdout] --> src/openapi/xxljob/server_api.rs:1:70 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::app::model::{AppInstanceParam, AppKey, AppManagerRaftReq, AppManagerReq}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schedule::model::actor_model::ScheduleManagerRaftReq` [INFO] [stdout] --> src/openapi/xxljob/server_api.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::schedule::model::actor_model::ScheduleManagerRaftReq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::task::model::actor_model::TaskManagerReq` [INFO] [stdout] --> src/openapi/xxljob/server_api.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::task::model::actor_model::TaskManagerReq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::log` [INFO] [stdout] --> src/openapi/xxljob/server_api.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use log::log; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RouterResponse` [INFO] [stdout] --> src/raft/cluster/node_manager.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::raft::cluster::model::{RouterRequest, RouterResponse, VoteChangeRequest, VoteInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schedule::model::actor_model::ScheduleManagerRaftReq` [INFO] [stdout] --> src/raft/cluster/node_manager.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::schedule::model::actor_model::ScheduleManagerRaftReq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grpc::handler::RAFT_ROUTE_REQUEST` [INFO] [stdout] --> src/raft/cluster/route.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::grpc::handler::RAFT_ROUTE_REQUEST; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grpc::PayloadUtils` [INFO] [stdout] --> src/raft/cluster/route.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{grpc::PayloadUtils, raft::network::factory::RaftClusterRequestSender}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClientWriteResponse` [INFO] [stdout] --> src/raft/cluster/route.rs:11:48 [INFO] [stdout] | [INFO] [stdout] 11 | use async_raft_ext::raft::{ClientWriteRequest, ClientWriteResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JOB_TABLE_NAME`, `JOB_TASK_HISTORY_TABLE_NAME`, `JOB_TASK_RUNNING_TABLE_NAME`, `JOB_TASK_TABLE_NAME`, and `SEQUENCE_TABLE_NAME` [INFO] [stdout] --> src/raft/store/raftapply.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | JOB_TABLE_NAME, JOB_TASK_HISTORY_TABLE_NAME, JOB_TASK_RUNNING_TABLE_NAME, JOB_TASK_TABLE_NAME, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | SEQUENCE_TABLE_NAME, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClientRequest` [INFO] [stdout] --> src/raft/store/raftapply.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::raft::store::{ClientRequest, ClientResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClusterInnerNode` [INFO] [stdout] --> src/raft/store/raftindex.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::raft::cluster::node_manager::{ClusterInnerNode, ClusterNodeManager, NodeManageRequest}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JOB_TASK_TABLE_NAME` [INFO] [stdout] --> src/schedule/core.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | JOB_TASK_RUNNING_TABLE_NAME, JOB_TASK_TABLE_NAME, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_datetime_millis` [INFO] [stdout] --> src/schedule/core.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | get_datetime_by_second, get_datetime_millis, get_local_offset, now_millis, now_millis_i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JobManagerReq` [INFO] [stdout] --> src/schedule/core.rs:11:57 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::job::model::actor_model::{JobManagerRaftReq, JobManagerReq}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::cookie::time::macros::datetime` [INFO] [stdout] --> src/schedule/core.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use actix_web::cookie::time::macros::datetime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::anyhow` [INFO] [stdout] --> src/schedule/core.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use anyhow::anyhow; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Local`, `NaiveDateTime`, `Offset`, `TimeZone`, and `Utc` [INFO] [stdout] --> src/schedule/core.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | use chrono::{DateTime, FixedOffset, Local, NaiveDateTime, Offset, TimeZone, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::TryFutureExt` [INFO] [stdout] --> src/schedule/core.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use futures_util::TryFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::datetime_utils::now_second_u32` [INFO] [stdout] --> src/schedule/model/finish_mark.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::common::datetime_utils::now_second_u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bean_factory::bean` [INFO] [stdout] --> src/sequence/core.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use bean_factory::bean; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RaftAddrRouter` [INFO] [stdout] --> src/sequence/mod.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::raft::cluster::route::{RaftAddrRouter, RaftRequestRoute}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::raft::RatchRaft` [INFO] [stdout] --> src/sequence/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::raft::RatchRaft; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sequence::core::SequenceDbManager` [INFO] [stdout] --> src/sequence/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::sequence::core::SequenceDbManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_raft_ext::raft::ClientWriteRequest` [INFO] [stdout] --> src/sequence/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use async_raft_ext::raft::ClientWriteRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Weak` [INFO] [stdout] --> src/sequence/mod.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | use std::sync::{Arc, Weak}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JobManagerReq` [INFO] [stdout] --> src/task/core.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::job::model::actor_model::{JobManagerRaftReq, JobManagerReq}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TaskCallBackParam` [INFO] [stdout] --> src/task/core.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::task::model::task::{JobTaskInfo, TaskCallBackParam, TaskWrap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/task/model/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TaskCallBackParam` [INFO] [stdout] --> src/task/model/actor_model.rs:4:45 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::task::model::task::{JobTaskInfo, TaskCallBackParam}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::job::model::actor_model::JobManagerRaftReq` [INFO] [stdout] --> src/task/request_actor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::job::model::actor_model::JobManagerRaftReq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::raft::cluster::route::RaftRequestRoute` [INFO] [stdout] --> src/task/request_actor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::raft::cluster::route::RaftRequestRoute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::raft::store::ClientRequest` [INFO] [stdout] --> src/task/request_actor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::raft::store::ClientRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple variant `app::model::AppManagerReq::RegisterAppInstance` [INFO] [stdout] --> src/app/core.rs:413:28 [INFO] [stdout] | [INFO] [stdout] 413 | AppManagerReq::RegisterAppInstance(key, addr) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple variant `app::model::AppManagerReq::UnregisterAppInstance` [INFO] [stdout] --> src/app/core.rs:420:28 [INFO] [stdout] | [INFO] [stdout] 420 | AppManagerReq::UnregisterAppInstance(key, addr) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated variant `raft::store::ClientResponse::ScheduleReq` [INFO] [stdout] --> src/raft/store/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | ScheduleReq { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/console/v1/job_api.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | let mut param = param.to_param(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/console/v1/user_api.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | Ok(r) => Ok(HttpResponse::Ok().json(ApiResult::success(Some(true)))), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/openapi/v1/job_api.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | mut param: JobParam, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/sequence/mod.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | let v = simple_sequence.next_id(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 64 | let _v = simple_sequence.next_id(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `LOG_DATA_BUF_SIZE` [INFO] [stdout] | [INFO] [stdout] 64 - let v = simple_sequence.next_id(); [INFO] [stdout] 64 + let raft::store::raftlog::LOG_DATA_BUF_SIZE = simple_sequence.next_id(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/sequence/mod.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | let v = simple_sequence.next_id(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 75 | let _v = simple_sequence.next_id(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `LOG_DATA_BUF_SIZE` [INFO] [stdout] | [INFO] [stdout] 75 - let v = simple_sequence.next_id(); [INFO] [stdout] 75 + let raft::store::raftlog::LOG_DATA_BUF_SIZE = simple_sequence.next_id(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `registry_success` is assigned to, but never used [INFO] [stdout] --> src/task/request_client.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut registry_success = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_registry_success` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `registry_success` is never read [INFO] [stdout] --> src/task/request_client.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | registry_success = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `app::model::AppManagerReq::RegisterAppInstance::0` [INFO] [stdout] --> src/app/core.rs:413:48 [INFO] [stdout] | [INFO] [stdout] 413 | AppManagerReq::RegisterAppInstance(key, addr) => { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `app::model::AppManagerReq::RegisterAppInstance::1` [INFO] [stdout] --> src/app/core.rs:413:53 [INFO] [stdout] | [INFO] [stdout] 413 | AppManagerReq::RegisterAppInstance(key, addr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `app::model::AppManagerReq::UnregisterAppInstance::0` [INFO] [stdout] --> src/app/core.rs:420:50 [INFO] [stdout] | [INFO] [stdout] 420 | AppManagerReq::UnregisterAppInstance(key, addr) => { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `app::model::AppManagerReq::UnregisterAppInstance::1` [INFO] [stdout] --> src/app/core.rs:420:55 [INFO] [stdout] | [INFO] [stdout] 420 | AppManagerReq::UnregisterAppInstance(key, addr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs2::FileExt` [INFO] [stdout] --> src/raft/store/raftindex.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | use fs2::FileExt; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix::prelude` [INFO] [stdout] --> src/raft/cluster/route.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use actix::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::task::SpawnExt` [INFO] [stdout] --> src/schedule/batch_call.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures_util::task::SpawnExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_code` [INFO] [stdout] --> src/grpc/payload_utils.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn build_error_payload(error_code: u16, error_msg: String) -> Payload { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/sequence/mod.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | ctx: &mut Self::Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/task/core.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | .then(|result, act, ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xxl_request_header` [INFO] [stdout] --> src/task/core.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let xxl_request_header = self.xxl_request_header.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xxl_request_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/task/core.rs:473:27 [INFO] [stdout] | [INFO] [stdout] 473 | fn started(&mut self, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/task/request_actor.rs:98:27 [INFO] [stdout] | [INFO] [stdout] 98 | fn started(&mut self, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/task/task_history.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | fn started(&mut self, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove` is never used [INFO] [stdout] --> src/app/app_index.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 50 | impl AppIndex { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub(crate) fn remove( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `app` is never read [INFO] [stdout] --> src/grpc/handler/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct InvokerHandler { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 24 | app: Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `share_data` is never read [INFO] [stdout] --> src/grpc/server.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RequestServerImpl { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 9 | pub(crate) share_data: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, and `remove` are never used [INFO] [stdout] --> src/job/job_index.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 72 | impl JobIndex { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 73 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub(crate) fn insert( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub(crate) fn remove( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> src/raft/cluster/node_manager.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 46 | impl ClusterInnerNode { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 47 | pub(crate) fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_retry_time` is never read [INFO] [stdout] --> src/schedule/core.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct ScheduleManager { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | last_retry_time: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `do_run_task` is never used [INFO] [stdout] --> src/task/core.rs:452:14 [INFO] [stdout] | [INFO] [stdout] 46 | impl TaskManager { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 452 | async fn do_run_task( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `disable_no_auth_console_index` is never used [INFO] [stdout] --> src/web_config.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | async fn disable_no_auth_console_index() -> impl Responder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/app/model.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn to_do(&self) -> AppInfoDo { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn to_do(&self) -> AppInfoDo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/app/model.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn to_do(&self) -> AppInstanceDo { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | pub fn to_do(&self) -> AppInstanceDo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/http_utils.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_lossy_string_body(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_lossy_string_body(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/job/model/job.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn to_do(&self) -> JobDo { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | pub fn to_do(&self) -> JobDo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft/store/model.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn to_record_do(&self) -> LogRecord { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn to_record_do(&self) -> LogRecord<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft/store/model.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn to_record_do(&self) -> SnapshotHeader { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn to_record_do(&self) -> SnapshotHeader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft/store/model.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn to_record_do(&self) -> LogSnapshotItem { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 173 | pub fn to_record_do(&self) -> LogSnapshotItem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft/store/model.rs:221:25 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn to_record_do(&self) -> RaftIndex { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 221 | pub fn to_record_do(&self) -> RaftIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/task/model/task.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn to_do(&self) -> JobTaskDo { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 91 | pub fn to_do(&self) -> JobTaskDo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/user/model.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn to_do(&self) -> UserInfoDo { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn to_do(&self) -> UserInfoDo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratchjob::openapi::openapi_config` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use ratchjob::openapi::openapi_config; [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: `std::ops::Deref` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 05s [INFO] running `Command { std: "docker" "inspect" "21e405cab491ad98444567d8b6bd7cac3227ea6f59cb596a618969d1ddbebfd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21e405cab491ad98444567d8b6bd7cac3227ea6f59cb596a618969d1ddbebfd0", kill_on_drop: false }` [INFO] [stdout] 21e405cab491ad98444567d8b6bd7cac3227ea6f59cb596a618969d1ddbebfd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53f200ea8db5ae75166051e6ba9b6f27b82ec41bf48bb84b8a31a6e21abdf7cb [INFO] running `Command { std: "docker" "start" "-a" "53f200ea8db5ae75166051e6ba9b6f27b82ec41bf48bb84b8a31a6e21abdf7cb", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::common::byte_utils::id_to_bin` [INFO] [stdout] --> src/app/core.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::byte_utils::id_to_bin; [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: `JOB_TABLE_NAME` [INFO] [stdout] --> src/app/core.rs:9:67 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::common::constant::{APP_INFO_TABLE_NAME, EMPTY_ARC_STR, JOB_TABLE_NAME}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `now_millis` [INFO] [stdout] --> src/app/core.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::common::datetime_utils::{now_millis, now_second_u32}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/app/core.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/cache/actor_model.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::app::model::AppInfo` [INFO] [stdout] --> src/cache/core.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::app::model::AppInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppInfoDo` [INFO] [stdout] --> src/cache/core.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::pb::data_object::{AppInfoDo, CacheItemDo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::job::model::enum_type::PastDueStrategy::Default` [INFO] [stdout] --> src/cache/core.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::job::model::enum_type::PastDueStrategy::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemCache` [INFO] [stdout] --> src/cache/core.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | use inner_mem_cache::{MemCache, TimeoutSet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/cache/core.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Args` and `ValueEnum` [INFO] [stdout] --> src/cli.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{Args, Parser, Subcommand, ValueEnum}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/common/cron_utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CacheManagerRaftReq` and `SetInfo` [INFO] [stdout] --> src/console/middle/login_middle.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | CacheManagerLocalReq, CacheManagerRaftReq, CacheManagerRaftResult, SetInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `now_millis_i64` [INFO] [stdout] --> src/console/middle/login_middle.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::common::datetime_utils::{now_millis_i64, now_second_i32, now_second_u32}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::raft::store::ClientRequest` [INFO] [stdout] --> src/console/middle/login_middle.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::raft::store::ClientRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserDto` [INFO] [stdout] --> src/console/middle/login_middle.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::user::model::{UserDto, UserInfo}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::model::privilege::PrivilegeGroup` [INFO] [stdout] --> src/console/model/app/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::common::model::privilege::PrivilegeGroup; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppKey` [INFO] [stdout] --> src/console/v1/app_api.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::app::model::{AppKey, AppManagerRaftReq, AppManagerReq, AppManagerResult, RegisterType}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::header` [INFO] [stdout] --> src/console/v1/cluster_api.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{http::header, web, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskHistoryManagerReq` and `TaskHistoryManagerResult` [INFO] [stdout] --> src/console/v1/job_api.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | TaskHistoryManagerReq, TaskHistoryManagerResult, TaskManagerReq, TriggerItem, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `now_second_u32` [INFO] [stdout] --> src/console/v1/login_api.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::common::datetime_utils::{now_second_i32, now_second_u32}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grpc::PayloadUtils` [INFO] [stdout] --> src/console/v1/metrics_api.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::grpc::PayloadUtils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grpc::payload_utils::PayloadUtils` [INFO] [stdout] --> src/grpc/handler/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::grpc::payload_utils::PayloadUtils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SEQUENCE_TABLE_NAME` [INFO] [stdout] --> src/job/core.rs:2:68 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::common::constant::{JOB_TABLE_NAME, JOB_TASK_TABLE_NAME, SEQUENCE_TABLE_NAME}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::task::model::actor_model::TaskHistoryManagerReq` [INFO] [stdout] --> src/job/core.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::task::model::actor_model::TaskHistoryManagerReq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::task::task_history::TaskHistoryManager` [INFO] [stdout] --> src/job/core.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::task::task_history::TaskHistoryManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/job/core.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeSet` [INFO] [stdout] --> src/job/job_index.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{BTreeMap, BTreeSet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetricsQuery` [INFO] [stdout] --> src/metrics/core.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | MetricsItem, MetricsQuery, MetricsRecord, MetricsRequest, MetricsResponse, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `XxlApiResult` and `xxl_api_empty_success` [INFO] [stdout] --> src/openapi/v1/app_api.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::openapi::xxljob::model::{xxl_api_empty_success, XxlApiResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/openapi/v1/job_api.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppManagerReq` [INFO] [stdout] --> src/openapi/xxljob/server_api.rs:1:70 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::app::model::{AppInstanceParam, AppKey, AppManagerRaftReq, AppManagerReq}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schedule::model::actor_model::ScheduleManagerRaftReq` [INFO] [stdout] --> src/openapi/xxljob/server_api.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::schedule::model::actor_model::ScheduleManagerRaftReq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::task::model::actor_model::TaskManagerReq` [INFO] [stdout] --> src/openapi/xxljob/server_api.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::task::model::actor_model::TaskManagerReq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::log` [INFO] [stdout] --> src/openapi/xxljob/server_api.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use log::log; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RouterResponse` [INFO] [stdout] --> src/raft/cluster/node_manager.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::raft::cluster::model::{RouterRequest, RouterResponse, VoteChangeRequest, VoteInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schedule::model::actor_model::ScheduleManagerRaftReq` [INFO] [stdout] --> src/raft/cluster/node_manager.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::schedule::model::actor_model::ScheduleManagerRaftReq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grpc::handler::RAFT_ROUTE_REQUEST` [INFO] [stdout] --> src/raft/cluster/route.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::grpc::handler::RAFT_ROUTE_REQUEST; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grpc::PayloadUtils` [INFO] [stdout] --> src/raft/cluster/route.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{grpc::PayloadUtils, raft::network::factory::RaftClusterRequestSender}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClientWriteResponse` [INFO] [stdout] --> src/raft/cluster/route.rs:11:48 [INFO] [stdout] | [INFO] [stdout] 11 | use async_raft_ext::raft::{ClientWriteRequest, ClientWriteResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JOB_TABLE_NAME`, `JOB_TASK_HISTORY_TABLE_NAME`, `JOB_TASK_RUNNING_TABLE_NAME`, `JOB_TASK_TABLE_NAME`, and `SEQUENCE_TABLE_NAME` [INFO] [stdout] --> src/raft/store/raftapply.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | JOB_TABLE_NAME, JOB_TASK_HISTORY_TABLE_NAME, JOB_TASK_RUNNING_TABLE_NAME, JOB_TASK_TABLE_NAME, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | SEQUENCE_TABLE_NAME, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClientRequest` [INFO] [stdout] --> src/raft/store/raftapply.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::raft::store::{ClientRequest, ClientResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClusterInnerNode` [INFO] [stdout] --> src/raft/store/raftindex.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::raft::cluster::node_manager::{ClusterInnerNode, ClusterNodeManager, NodeManageRequest}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JOB_TASK_TABLE_NAME` [INFO] [stdout] --> src/schedule/core.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | JOB_TASK_RUNNING_TABLE_NAME, JOB_TASK_TABLE_NAME, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_datetime_millis` [INFO] [stdout] --> src/schedule/core.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | get_datetime_by_second, get_datetime_millis, get_local_offset, now_millis, now_millis_i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JobManagerReq` [INFO] [stdout] --> src/schedule/core.rs:11:57 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::job::model::actor_model::{JobManagerRaftReq, JobManagerReq}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::cookie::time::macros::datetime` [INFO] [stdout] --> src/schedule/core.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use actix_web::cookie::time::macros::datetime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::anyhow` [INFO] [stdout] --> src/schedule/core.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use anyhow::anyhow; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Local`, `NaiveDateTime`, `Offset`, `TimeZone`, and `Utc` [INFO] [stdout] --> src/schedule/core.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | use chrono::{DateTime, FixedOffset, Local, NaiveDateTime, Offset, TimeZone, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::TryFutureExt` [INFO] [stdout] --> src/schedule/core.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use futures_util::TryFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::datetime_utils::now_second_u32` [INFO] [stdout] --> src/schedule/model/finish_mark.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::common::datetime_utils::now_second_u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bean_factory::bean` [INFO] [stdout] --> src/sequence/core.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use bean_factory::bean; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RaftAddrRouter` [INFO] [stdout] --> src/sequence/mod.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::raft::cluster::route::{RaftAddrRouter, RaftRequestRoute}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::raft::RatchRaft` [INFO] [stdout] --> src/sequence/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::raft::RatchRaft; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sequence::core::SequenceDbManager` [INFO] [stdout] --> src/sequence/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::sequence::core::SequenceDbManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_raft_ext::raft::ClientWriteRequest` [INFO] [stdout] --> src/sequence/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use async_raft_ext::raft::ClientWriteRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Weak` [INFO] [stdout] --> src/sequence/mod.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | use std::sync::{Arc, Weak}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JobManagerReq` [INFO] [stdout] --> src/task/core.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::job::model::actor_model::{JobManagerRaftReq, JobManagerReq}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TaskCallBackParam` [INFO] [stdout] --> src/task/core.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::task::model::task::{JobTaskInfo, TaskCallBackParam, TaskWrap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/task/model/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TaskCallBackParam` [INFO] [stdout] --> src/task/model/actor_model.rs:4:45 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::task::model::task::{JobTaskInfo, TaskCallBackParam}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::job::model::actor_model::JobManagerRaftReq` [INFO] [stdout] --> src/task/request_actor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::job::model::actor_model::JobManagerRaftReq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::raft::cluster::route::RaftRequestRoute` [INFO] [stdout] --> src/task/request_actor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::raft::cluster::route::RaftRequestRoute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::raft::store::ClientRequest` [INFO] [stdout] --> src/task/request_actor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::raft::store::ClientRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple variant `app::model::AppManagerReq::RegisterAppInstance` [INFO] [stdout] --> src/app/core.rs:413:28 [INFO] [stdout] | [INFO] [stdout] 413 | AppManagerReq::RegisterAppInstance(key, addr) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple variant `app::model::AppManagerReq::UnregisterAppInstance` [INFO] [stdout] --> src/app/core.rs:420:28 [INFO] [stdout] | [INFO] [stdout] 420 | AppManagerReq::UnregisterAppInstance(key, addr) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated variant `raft::store::ClientResponse::ScheduleReq` [INFO] [stdout] --> src/raft/store/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | ScheduleReq { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/console/v1/job_api.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | let mut param = param.to_param(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/console/v1/user_api.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | Ok(r) => Ok(HttpResponse::Ok().json(ApiResult::success(Some(true)))), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/openapi/v1/job_api.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | mut param: JobParam, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/sequence/mod.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | let v = simple_sequence.next_id(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 64 | let _v = simple_sequence.next_id(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `LOG_DATA_BUF_SIZE` [INFO] [stdout] | [INFO] [stdout] 64 - let v = simple_sequence.next_id(); [INFO] [stdout] 64 + let raft::store::raftlog::LOG_DATA_BUF_SIZE = simple_sequence.next_id(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/sequence/mod.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | let v = simple_sequence.next_id(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 75 | let _v = simple_sequence.next_id(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `LOG_DATA_BUF_SIZE` [INFO] [stdout] | [INFO] [stdout] 75 - let v = simple_sequence.next_id(); [INFO] [stdout] 75 + let raft::store::raftlog::LOG_DATA_BUF_SIZE = simple_sequence.next_id(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `registry_success` is assigned to, but never used [INFO] [stdout] --> src/task/request_client.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut registry_success = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_registry_success` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `registry_success` is never read [INFO] [stdout] --> src/task/request_client.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | registry_success = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `app::model::AppManagerReq::RegisterAppInstance::0` [INFO] [stdout] --> src/app/core.rs:413:48 [INFO] [stdout] | [INFO] [stdout] 413 | AppManagerReq::RegisterAppInstance(key, addr) => { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `app::model::AppManagerReq::RegisterAppInstance::1` [INFO] [stdout] --> src/app/core.rs:413:53 [INFO] [stdout] | [INFO] [stdout] 413 | AppManagerReq::RegisterAppInstance(key, addr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `app::model::AppManagerReq::UnregisterAppInstance::0` [INFO] [stdout] --> src/app/core.rs:420:50 [INFO] [stdout] | [INFO] [stdout] 420 | AppManagerReq::UnregisterAppInstance(key, addr) => { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `app::model::AppManagerReq::UnregisterAppInstance::1` [INFO] [stdout] --> src/app/core.rs:420:55 [INFO] [stdout] | [INFO] [stdout] 420 | AppManagerReq::UnregisterAppInstance(key, addr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs2::FileExt` [INFO] [stdout] --> src/raft/store/raftindex.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | use fs2::FileExt; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix::prelude` [INFO] [stdout] --> src/raft/cluster/route.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use actix::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::task::SpawnExt` [INFO] [stdout] --> src/schedule/batch_call.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures_util::task::SpawnExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_code` [INFO] [stdout] --> src/grpc/payload_utils.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn build_error_payload(error_code: u16, error_msg: String) -> Payload { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/sequence/mod.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | ctx: &mut Self::Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/task/core.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | .then(|result, act, ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xxl_request_header` [INFO] [stdout] --> src/task/core.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let xxl_request_header = self.xxl_request_header.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xxl_request_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/task/core.rs:473:27 [INFO] [stdout] | [INFO] [stdout] 473 | fn started(&mut self, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/task/request_actor.rs:98:27 [INFO] [stdout] | [INFO] [stdout] 98 | fn started(&mut self, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/task/task_history.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | fn started(&mut self, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove` is never used [INFO] [stdout] --> src/app/app_index.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 50 | impl AppIndex { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub(crate) fn remove( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `app` is never read [INFO] [stdout] --> src/grpc/handler/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct InvokerHandler { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 24 | app: Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `share_data` is never read [INFO] [stdout] --> src/grpc/server.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RequestServerImpl { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 9 | pub(crate) share_data: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, and `remove` are never used [INFO] [stdout] --> src/job/job_index.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 72 | impl JobIndex { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 73 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub(crate) fn insert( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub(crate) fn remove( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> src/raft/cluster/node_manager.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 46 | impl ClusterInnerNode { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 47 | pub(crate) fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_retry_time` is never read [INFO] [stdout] --> src/schedule/core.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct ScheduleManager { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | last_retry_time: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `do_run_task` is never used [INFO] [stdout] --> src/task/core.rs:452:14 [INFO] [stdout] | [INFO] [stdout] 46 | impl TaskManager { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 452 | async fn do_run_task( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `disable_no_auth_console_index` is never used [INFO] [stdout] --> src/web_config.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | async fn disable_no_auth_console_index() -> impl Responder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/app/model.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn to_do(&self) -> AppInfoDo { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn to_do(&self) -> AppInfoDo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/app/model.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn to_do(&self) -> AppInstanceDo { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | pub fn to_do(&self) -> AppInstanceDo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/http_utils.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_lossy_string_body(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_lossy_string_body(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/job/model/job.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn to_do(&self) -> JobDo { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | pub fn to_do(&self) -> JobDo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft/store/model.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn to_record_do(&self) -> LogRecord { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn to_record_do(&self) -> LogRecord<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft/store/model.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn to_record_do(&self) -> SnapshotHeader { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn to_record_do(&self) -> SnapshotHeader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft/store/model.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn to_record_do(&self) -> LogSnapshotItem { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 173 | pub fn to_record_do(&self) -> LogSnapshotItem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft/store/model.rs:221:25 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn to_record_do(&self) -> RaftIndex { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 221 | pub fn to_record_do(&self) -> RaftIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/task/model/task.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn to_do(&self) -> JobTaskDo { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 91 | pub fn to_do(&self) -> JobTaskDo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ratchjob v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/user/model.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn to_do(&self) -> UserInfoDo { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn to_do(&self) -> UserInfoDo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratchjob::openapi::openapi_config` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use ratchjob::openapi::openapi_config; [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: `std::ops::Deref` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::byte_utils::id_to_bin` [INFO] [stdout] --> src/app/core.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::byte_utils::id_to_bin; [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: `JOB_TABLE_NAME` [INFO] [stdout] --> src/app/core.rs:9:67 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::common::constant::{APP_INFO_TABLE_NAME, EMPTY_ARC_STR, JOB_TABLE_NAME}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `now_millis` [INFO] [stdout] --> src/app/core.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::common::datetime_utils::{now_millis, now_second_u32}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/app/core.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/cache/actor_model.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::app::model::AppInfo` [INFO] [stdout] --> src/cache/core.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::app::model::AppInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppInfoDo` [INFO] [stdout] --> src/cache/core.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::pb::data_object::{AppInfoDo, CacheItemDo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::job::model::enum_type::PastDueStrategy::Default` [INFO] [stdout] --> src/cache/core.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::job::model::enum_type::PastDueStrategy::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemCache` [INFO] [stdout] --> src/cache/core.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | use inner_mem_cache::{MemCache, TimeoutSet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/cache/core.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Args` and `ValueEnum` [INFO] [stdout] --> src/cli.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{Args, Parser, Subcommand, ValueEnum}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/common/cron_utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CacheManagerRaftReq` and `SetInfo` [INFO] [stdout] --> src/console/middle/login_middle.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | CacheManagerLocalReq, CacheManagerRaftReq, CacheManagerRaftResult, SetInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `now_millis_i64` [INFO] [stdout] --> src/console/middle/login_middle.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::common::datetime_utils::{now_millis_i64, now_second_i32, now_second_u32}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::raft::store::ClientRequest` [INFO] [stdout] --> src/console/middle/login_middle.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::raft::store::ClientRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserDto` [INFO] [stdout] --> src/console/middle/login_middle.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::user::model::{UserDto, UserInfo}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::model::privilege::PrivilegeGroup` [INFO] [stdout] --> src/console/model/app/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::common::model::privilege::PrivilegeGroup; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppKey` [INFO] [stdout] --> src/console/v1/app_api.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::app::model::{AppKey, AppManagerRaftReq, AppManagerReq, AppManagerResult, RegisterType}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::header` [INFO] [stdout] --> src/console/v1/cluster_api.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{http::header, web, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TaskHistoryManagerReq` and `TaskHistoryManagerResult` [INFO] [stdout] --> src/console/v1/job_api.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | TaskHistoryManagerReq, TaskHistoryManagerResult, TaskManagerReq, TriggerItem, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `now_second_u32` [INFO] [stdout] --> src/console/v1/login_api.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::common::datetime_utils::{now_second_i32, now_second_u32}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grpc::PayloadUtils` [INFO] [stdout] --> src/console/v1/metrics_api.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::grpc::PayloadUtils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grpc::payload_utils::PayloadUtils` [INFO] [stdout] --> src/grpc/handler/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::grpc::payload_utils::PayloadUtils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SEQUENCE_TABLE_NAME` [INFO] [stdout] --> src/job/core.rs:2:68 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::common::constant::{JOB_TABLE_NAME, JOB_TASK_TABLE_NAME, SEQUENCE_TABLE_NAME}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::task::model::actor_model::TaskHistoryManagerReq` [INFO] [stdout] --> src/job/core.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::task::model::actor_model::TaskHistoryManagerReq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::task::task_history::TaskHistoryManager` [INFO] [stdout] --> src/job/core.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::task::task_history::TaskHistoryManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/job/core.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeSet` [INFO] [stdout] --> src/job/job_index.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{BTreeMap, BTreeSet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetricsQuery` [INFO] [stdout] --> src/metrics/core.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | MetricsItem, MetricsQuery, MetricsRecord, MetricsRequest, MetricsResponse, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `XxlApiResult` and `xxl_api_empty_success` [INFO] [stdout] --> src/openapi/v1/app_api.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::openapi::xxljob::model::{xxl_api_empty_success, XxlApiResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/openapi/v1/job_api.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppManagerReq` [INFO] [stdout] --> src/openapi/xxljob/server_api.rs:1:70 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::app::model::{AppInstanceParam, AppKey, AppManagerRaftReq, AppManagerReq}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schedule::model::actor_model::ScheduleManagerRaftReq` [INFO] [stdout] --> src/openapi/xxljob/server_api.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::schedule::model::actor_model::ScheduleManagerRaftReq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::task::model::actor_model::TaskManagerReq` [INFO] [stdout] --> src/openapi/xxljob/server_api.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::task::model::actor_model::TaskManagerReq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::log` [INFO] [stdout] --> src/openapi/xxljob/server_api.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use log::log; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RouterResponse` [INFO] [stdout] --> src/raft/cluster/node_manager.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::raft::cluster::model::{RouterRequest, RouterResponse, VoteChangeRequest, VoteInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schedule::model::actor_model::ScheduleManagerRaftReq` [INFO] [stdout] --> src/raft/cluster/node_manager.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::schedule::model::actor_model::ScheduleManagerRaftReq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grpc::handler::RAFT_ROUTE_REQUEST` [INFO] [stdout] --> src/raft/cluster/route.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::grpc::handler::RAFT_ROUTE_REQUEST; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grpc::PayloadUtils` [INFO] [stdout] --> src/raft/cluster/route.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{grpc::PayloadUtils, raft::network::factory::RaftClusterRequestSender}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClientWriteResponse` [INFO] [stdout] --> src/raft/cluster/route.rs:11:48 [INFO] [stdout] | [INFO] [stdout] 11 | use async_raft_ext::raft::{ClientWriteRequest, ClientWriteResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JOB_TABLE_NAME`, `JOB_TASK_HISTORY_TABLE_NAME`, `JOB_TASK_RUNNING_TABLE_NAME`, `JOB_TASK_TABLE_NAME`, and `SEQUENCE_TABLE_NAME` [INFO] [stdout] --> src/raft/store/raftapply.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | JOB_TABLE_NAME, JOB_TASK_HISTORY_TABLE_NAME, JOB_TASK_RUNNING_TABLE_NAME, JOB_TASK_TABLE_NAME, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | SEQUENCE_TABLE_NAME, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClientRequest` [INFO] [stdout] --> src/raft/store/raftapply.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::raft::store::{ClientRequest, ClientResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClusterInnerNode` [INFO] [stdout] --> src/raft/store/raftindex.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::raft::cluster::node_manager::{ClusterInnerNode, ClusterNodeManager, NodeManageRequest}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JOB_TASK_TABLE_NAME` [INFO] [stdout] --> src/schedule/core.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | JOB_TASK_RUNNING_TABLE_NAME, JOB_TASK_TABLE_NAME, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_datetime_millis` [INFO] [stdout] --> src/schedule/core.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | get_datetime_by_second, get_datetime_millis, get_local_offset, now_millis, now_millis_i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JobManagerReq` [INFO] [stdout] --> src/schedule/core.rs:11:57 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::job::model::actor_model::{JobManagerRaftReq, JobManagerReq}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::cookie::time::macros::datetime` [INFO] [stdout] --> src/schedule/core.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use actix_web::cookie::time::macros::datetime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::anyhow` [INFO] [stdout] --> src/schedule/core.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use anyhow::anyhow; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Local`, `NaiveDateTime`, `Offset`, `TimeZone`, and `Utc` [INFO] [stdout] --> src/schedule/core.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | use chrono::{DateTime, FixedOffset, Local, NaiveDateTime, Offset, TimeZone, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::TryFutureExt` [INFO] [stdout] --> src/schedule/core.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use futures_util::TryFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::datetime_utils::now_second_u32` [INFO] [stdout] --> src/schedule/model/finish_mark.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::common::datetime_utils::now_second_u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bean_factory::bean` [INFO] [stdout] --> src/sequence/core.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use bean_factory::bean; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RaftAddrRouter` [INFO] [stdout] --> src/sequence/mod.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::raft::cluster::route::{RaftAddrRouter, RaftRequestRoute}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::raft::RatchRaft` [INFO] [stdout] --> src/sequence/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::raft::RatchRaft; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sequence::core::SequenceDbManager` [INFO] [stdout] --> src/sequence/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::sequence::core::SequenceDbManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_raft_ext::raft::ClientWriteRequest` [INFO] [stdout] --> src/sequence/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use async_raft_ext::raft::ClientWriteRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Weak` [INFO] [stdout] --> src/sequence/mod.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | use std::sync::{Arc, Weak}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JobManagerReq` [INFO] [stdout] --> src/task/core.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::job::model::actor_model::{JobManagerRaftReq, JobManagerReq}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TaskCallBackParam` [INFO] [stdout] --> src/task/core.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::task::model::task::{JobTaskInfo, TaskCallBackParam, TaskWrap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/task/model/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TaskCallBackParam` [INFO] [stdout] --> src/task/model/actor_model.rs:4:45 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::task::model::task::{JobTaskInfo, TaskCallBackParam}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::job::model::actor_model::JobManagerRaftReq` [INFO] [stdout] --> src/task/request_actor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::job::model::actor_model::JobManagerRaftReq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::raft::cluster::route::RaftRequestRoute` [INFO] [stdout] --> src/task/request_actor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::raft::cluster::route::RaftRequestRoute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::raft::store::ClientRequest` [INFO] [stdout] --> src/task/request_actor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::raft::store::ClientRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple variant `app::model::AppManagerReq::RegisterAppInstance` [INFO] [stdout] --> src/app/core.rs:413:28 [INFO] [stdout] | [INFO] [stdout] 413 | AppManagerReq::RegisterAppInstance(key, addr) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple variant `app::model::AppManagerReq::UnregisterAppInstance` [INFO] [stdout] --> src/app/core.rs:420:28 [INFO] [stdout] | [INFO] [stdout] 420 | AppManagerReq::UnregisterAppInstance(key, addr) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated variant `raft::store::ClientResponse::ScheduleReq` [INFO] [stdout] --> src/raft/store/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | ScheduleReq { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/console/v1/job_api.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | let mut param = param.to_param(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/console/v1/user_api.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | Ok(r) => Ok(HttpResponse::Ok().json(ApiResult::success(Some(true)))), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/openapi/v1/job_api.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | mut param: JobParam, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/sequence/mod.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | let v = simple_sequence.next_id(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 64 | let _v = simple_sequence.next_id(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `LOG_DATA_BUF_SIZE` [INFO] [stdout] | [INFO] [stdout] 64 - let v = simple_sequence.next_id(); [INFO] [stdout] 64 + let raft::store::raftlog::LOG_DATA_BUF_SIZE = simple_sequence.next_id(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/sequence/mod.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | let v = simple_sequence.next_id(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 75 | let _v = simple_sequence.next_id(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `LOG_DATA_BUF_SIZE` [INFO] [stdout] | [INFO] [stdout] 75 - let v = simple_sequence.next_id(); [INFO] [stdout] 75 + let raft::store::raftlog::LOG_DATA_BUF_SIZE = simple_sequence.next_id(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `registry_success` is assigned to, but never used [INFO] [stdout] --> src/task/request_client.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut registry_success = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_registry_success` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `registry_success` is never read [INFO] [stdout] --> src/task/request_client.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | registry_success = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `app::model::AppManagerReq::RegisterAppInstance::0` [INFO] [stdout] --> src/app/core.rs:413:48 [INFO] [stdout] | [INFO] [stdout] 413 | AppManagerReq::RegisterAppInstance(key, addr) => { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `app::model::AppManagerReq::RegisterAppInstance::1` [INFO] [stdout] --> src/app/core.rs:413:53 [INFO] [stdout] | [INFO] [stdout] 413 | AppManagerReq::RegisterAppInstance(key, addr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `app::model::AppManagerReq::UnregisterAppInstance::0` [INFO] [stdout] --> src/app/core.rs:420:50 [INFO] [stdout] | [INFO] [stdout] 420 | AppManagerReq::UnregisterAppInstance(key, addr) => { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `app::model::AppManagerReq::UnregisterAppInstance::1` [INFO] [stdout] --> src/app/core.rs:420:55 [INFO] [stdout] | [INFO] [stdout] 420 | AppManagerReq::UnregisterAppInstance(key, addr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead [INFO] [stdout] --> src/common/cron_utils.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | &FixedOffset::east(8 * 3600), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead [INFO] [stdout] --> src/common/cron_utils.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | &FixedOffset::east(8 * 3600), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs2::FileExt` [INFO] [stdout] --> src/raft/store/raftindex.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | use fs2::FileExt; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix::prelude` [INFO] [stdout] --> src/raft/cluster/route.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use actix::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::task::SpawnExt` [INFO] [stdout] --> src/schedule/batch_call.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures_util::task::SpawnExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_code` [INFO] [stdout] --> src/grpc/payload_utils.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn build_error_payload(error_code: u16, error_msg: String) -> Payload { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/sequence/mod.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | ctx: &mut Self::Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/task/core.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | .then(|result, act, ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xxl_request_header` [INFO] [stdout] --> src/task/core.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let xxl_request_header = self.xxl_request_header.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xxl_request_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/task/core.rs:473:27 [INFO] [stdout] | [INFO] [stdout] 473 | fn started(&mut self, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/task/request_actor.rs:98:27 [INFO] [stdout] | [INFO] [stdout] 98 | fn started(&mut self, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/task/task_history.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | fn started(&mut self, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove` is never used [INFO] [stdout] --> src/app/app_index.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 50 | impl AppIndex { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub(crate) fn remove( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `app` is never read [INFO] [stdout] --> src/grpc/handler/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct InvokerHandler { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 24 | app: Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `share_data` is never read [INFO] [stdout] --> src/grpc/server.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RequestServerImpl { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 9 | pub(crate) share_data: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, and `remove` are never used [INFO] [stdout] --> src/job/job_index.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 72 | impl JobIndex { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 73 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub(crate) fn insert( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub(crate) fn remove( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> src/raft/cluster/node_manager.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 46 | impl ClusterInnerNode { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 47 | pub(crate) fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_retry_time` is never read [INFO] [stdout] --> src/schedule/core.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct ScheduleManager { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | last_retry_time: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `do_run_task` is never used [INFO] [stdout] --> src/task/core.rs:452:14 [INFO] [stdout] | [INFO] [stdout] 46 | impl TaskManager { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 452 | async fn do_run_task( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `disable_no_auth_console_index` is never used [INFO] [stdout] --> src/web_config.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | async fn disable_no_auth_console_index() -> impl Responder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/app/model.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn to_do(&self) -> AppInfoDo { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn to_do(&self) -> AppInfoDo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/app/model.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn to_do(&self) -> AppInstanceDo { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | pub fn to_do(&self) -> AppInstanceDo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/http_utils.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_lossy_string_body(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_lossy_string_body(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/job/model/job.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn to_do(&self) -> JobDo { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | pub fn to_do(&self) -> JobDo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft/store/model.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn to_record_do(&self) -> LogRecord { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn to_record_do(&self) -> LogRecord<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft/store/model.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn to_record_do(&self) -> SnapshotHeader { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn to_record_do(&self) -> SnapshotHeader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft/store/model.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn to_record_do(&self) -> LogSnapshotItem { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 173 | pub fn to_record_do(&self) -> LogSnapshotItem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft/store/model.rs:221:25 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn to_record_do(&self) -> RaftIndex { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 221 | pub fn to_record_do(&self) -> RaftIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/task/model/task.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn to_do(&self) -> JobTaskDo { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 91 | pub fn to_do(&self) -> JobTaskDo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/user/model.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn to_do(&self) -> UserInfoDo { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn to_do(&self) -> UserInfoDo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 26.16s [INFO] running `Command { std: "docker" "inspect" "53f200ea8db5ae75166051e6ba9b6f27b82ec41bf48bb84b8a31a6e21abdf7cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53f200ea8db5ae75166051e6ba9b6f27b82ec41bf48bb84b8a31a6e21abdf7cb", kill_on_drop: false }` [INFO] [stdout] 53f200ea8db5ae75166051e6ba9b6f27b82ec41bf48bb84b8a31a6e21abdf7cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 848938ac333885f8e86820549943713a55c60921f053ff4a827d6dada33891c1 [INFO] running `Command { std: "docker" "start" "-a" "848938ac333885f8e86820549943713a55c60921f053ff4a827d6dada33891c1", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::common::byte_utils::id_to_bin` [INFO] [stderr] --> src/app/core.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::common::byte_utils::id_to_bin; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `JOB_TABLE_NAME` [INFO] [stderr] --> src/app/core.rs:9:67 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::common::constant::{APP_INFO_TABLE_NAME, EMPTY_ARC_STR, JOB_TABLE_NAME}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `now_millis` [INFO] [stderr] --> src/app/core.rs:10:37 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::common::datetime_utils::{now_millis, now_second_u32}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `BTreeMap` [INFO] [stderr] --> src/app/core.rs:21:24 [INFO] [stderr] | [INFO] [stderr] 21 | use std::collections::{BTreeMap, HashMap}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/cache/actor_model.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::app::model::AppInfo` [INFO] [stderr] --> src/cache/core.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::app::model::AppInfo; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `AppInfoDo` [INFO] [stderr] --> src/cache/core.rs:8:38 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::common::pb::data_object::{AppInfoDo, CacheItemDo}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::job::model::enum_type::PastDueStrategy::Default` [INFO] [stderr] --> src/cache/core.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::job::model::enum_type::PastDueStrategy::Default; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `MemCache` [INFO] [stderr] --> src/cache/core.rs:15:23 [INFO] [stderr] | [INFO] [stderr] 15 | use inner_mem_cache::{MemCache, TimeoutSet}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/cache/core.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Args` and `ValueEnum` [INFO] [stderr] --> src/cli.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use clap::{Args, Parser, Subcommand, ValueEnum}; [INFO] [stderr] | ^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::SystemTime` [INFO] [stderr] --> src/common/cron_utils.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::time::SystemTime; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CacheManagerRaftReq` and `SetInfo` [INFO] [stderr] --> src/console/middle/login_middle.rs:6:27 [INFO] [stderr] | [INFO] [stderr] 6 | CacheManagerLocalReq, CacheManagerRaftReq, CacheManagerRaftResult, SetInfo, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `now_millis_i64` [INFO] [stderr] --> src/console/middle/login_middle.rs:10:37 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::common::datetime_utils::{now_millis_i64, now_second_i32, now_second_u32}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::raft::store::ClientRequest` [INFO] [stderr] --> src/console/middle/login_middle.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use crate::raft::store::ClientRequest; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `UserDto` [INFO] [stderr] --> src/console/middle/login_middle.rs:15:26 [INFO] [stderr] | [INFO] [stderr] 15 | use crate::user::model::{UserDto, UserInfo}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::common::model::privilege::PrivilegeGroup` [INFO] [stderr] --> src/console/model/app/mod.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::common::model::privilege::PrivilegeGroup; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `AppKey` [INFO] [stderr] --> src/console/v1/app_api.rs:1:25 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::app::model::{AppKey, AppManagerRaftReq, AppManagerReq, AppManagerResult, RegisterType}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `http::header` [INFO] [stderr] --> src/console/v1/cluster_api.rs:7:17 [INFO] [stderr] | [INFO] [stderr] 7 | use actix_web::{http::header, web, HttpResponse, Responder}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TaskHistoryManagerReq` and `TaskHistoryManagerResult` [INFO] [stderr] --> src/console/v1/job_api.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | TaskHistoryManagerReq, TaskHistoryManagerResult, TaskManagerReq, TriggerItem, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `now_second_u32` [INFO] [stderr] --> src/console/v1/login_api.rs:16:53 [INFO] [stderr] | [INFO] [stderr] 16 | use crate::common::datetime_utils::{now_second_i32, now_second_u32}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::grpc::PayloadUtils` [INFO] [stderr] --> src/console/v1/metrics_api.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::grpc::PayloadUtils; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::grpc::payload_utils::PayloadUtils` [INFO] [stderr] --> src/grpc/handler/mod.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::grpc::payload_utils::PayloadUtils; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `SEQUENCE_TABLE_NAME` [INFO] [stderr] --> src/job/core.rs:2:68 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::common::constant::{JOB_TABLE_NAME, JOB_TASK_TABLE_NAME, SEQUENCE_TABLE_NAME}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::task::model::actor_model::TaskHistoryManagerReq` [INFO] [stderr] --> src/job/core.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use crate::task::model::actor_model::TaskHistoryManagerReq; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::task::task_history::TaskHistoryManager` [INFO] [stderr] --> src/job/core.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use crate::task::task_history::TaskHistoryManager; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `HashMap` [INFO] [stderr] --> src/job/core.rs:22:34 [INFO] [stderr] | [INFO] [stderr] 22 | use std::collections::{BTreeMap, HashMap}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `BTreeSet` [INFO] [stderr] --> src/job/job_index.rs:3:34 [INFO] [stderr] | [INFO] [stderr] 3 | use std::collections::{BTreeMap, BTreeSet}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `MetricsQuery` [INFO] [stderr] --> src/metrics/core.rs:9:18 [INFO] [stderr] | [INFO] [stderr] 9 | MetricsItem, MetricsQuery, MetricsRecord, MetricsRequest, MetricsResponse, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `XxlApiResult` and `xxl_api_empty_success` [INFO] [stderr] --> src/openapi/v1/app_api.rs:7:37 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::openapi::xxljob::model::{xxl_api_empty_success, XxlApiResult}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::future::Future` [INFO] [stderr] --> src/openapi/v1/job_api.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use std::future::Future; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `AppManagerReq` [INFO] [stderr] --> src/openapi/xxljob/server_api.rs:1:70 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::app::model::{AppInstanceParam, AppKey, AppManagerRaftReq, AppManagerReq}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::schedule::model::actor_model::ScheduleManagerRaftReq` [INFO] [stderr] --> src/openapi/xxljob/server_api.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::schedule::model::actor_model::ScheduleManagerRaftReq; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::task::model::actor_model::TaskManagerReq` [INFO] [stderr] --> src/openapi/xxljob/server_api.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::task::model::actor_model::TaskManagerReq; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `log::log` [INFO] [stderr] --> src/openapi/xxljob/server_api.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use log::log; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `RouterResponse` [INFO] [stderr] --> src/raft/cluster/node_manager.rs:3:50 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::raft::cluster::model::{RouterRequest, RouterResponse, VoteChangeRequest, VoteInfo}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::schedule::model::actor_model::ScheduleManagerRaftReq` [INFO] [stderr] --> src/raft/cluster/node_manager.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::schedule::model::actor_model::ScheduleManagerRaftReq; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::grpc::handler::RAFT_ROUTE_REQUEST` [INFO] [stderr] --> src/raft/cluster/route.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::grpc::handler::RAFT_ROUTE_REQUEST; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `grpc::PayloadUtils` [INFO] [stderr] --> src/raft/cluster/route.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::{grpc::PayloadUtils, raft::network::factory::RaftClusterRequestSender}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ClientWriteResponse` [INFO] [stderr] --> src/raft/cluster/route.rs:11:48 [INFO] [stderr] | [INFO] [stderr] 11 | use async_raft_ext::raft::{ClientWriteRequest, ClientWriteResponse}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `JOB_TABLE_NAME`, `JOB_TASK_HISTORY_TABLE_NAME`, `JOB_TASK_RUNNING_TABLE_NAME`, `JOB_TASK_TABLE_NAME`, and `SEQUENCE_TABLE_NAME` [INFO] [stderr] --> src/raft/store/raftapply.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | JOB_TABLE_NAME, JOB_TASK_HISTORY_TABLE_NAME, JOB_TASK_RUNNING_TABLE_NAME, JOB_TASK_TABLE_NAME, [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 16 | SEQUENCE_TABLE_NAME, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ClientRequest` [INFO] [stderr] --> src/raft/store/raftapply.rs:21:26 [INFO] [stderr] | [INFO] [stderr] 21 | use crate::raft::store::{ClientRequest, ClientResponse}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ClusterInnerNode` [INFO] [stderr] --> src/raft/store/raftindex.rs:20:42 [INFO] [stderr] | [INFO] [stderr] 20 | use crate::raft::cluster::node_manager::{ClusterInnerNode, ClusterNodeManager, NodeManageRequest}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `JOB_TASK_TABLE_NAME` [INFO] [stderr] --> src/schedule/core.rs:4:34 [INFO] [stderr] | [INFO] [stderr] 4 | JOB_TASK_RUNNING_TABLE_NAME, JOB_TASK_TABLE_NAME, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_datetime_millis` [INFO] [stderr] --> src/schedule/core.rs:7:29 [INFO] [stderr] | [INFO] [stderr] 7 | get_datetime_by_second, get_datetime_millis, get_local_offset, now_millis, now_millis_i64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `JobManagerReq` [INFO] [stderr] --> src/schedule/core.rs:11:57 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::job::model::actor_model::{JobManagerRaftReq, JobManagerReq}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web::cookie::time::macros::datetime` [INFO] [stderr] --> src/schedule/core.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | use actix_web::cookie::time::macros::datetime; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `anyhow::anyhow` [INFO] [stderr] --> src/schedule/core.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | use anyhow::anyhow; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DateTime`, `Local`, `NaiveDateTime`, `Offset`, `TimeZone`, and `Utc` [INFO] [stderr] --> src/schedule/core.rs:37:14 [INFO] [stderr] | [INFO] [stderr] 37 | use chrono::{DateTime, FixedOffset, Local, NaiveDateTime, Offset, TimeZone, Utc}; [INFO] [stderr] | ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures_util::TryFutureExt` [INFO] [stderr] --> src/schedule/core.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | use futures_util::TryFutureExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::common::datetime_utils::now_second_u32` [INFO] [stderr] --> src/schedule/model/finish_mark.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::common::datetime_utils::now_second_u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bean_factory::bean` [INFO] [stderr] --> src/sequence/core.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use bean_factory::bean; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `RaftAddrRouter` [INFO] [stderr] --> src/sequence/mod.rs:5:35 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::raft::cluster::route::{RaftAddrRouter, RaftRequestRoute}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::raft::RatchRaft` [INFO] [stderr] --> src/sequence/mod.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::raft::RatchRaft; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::sequence::core::SequenceDbManager` [INFO] [stderr] --> src/sequence/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::sequence::core::SequenceDbManager; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `async_raft_ext::raft::ClientWriteRequest` [INFO] [stderr] --> src/sequence/mod.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use async_raft_ext::raft::ClientWriteRequest; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Weak` [INFO] [stderr] --> src/sequence/mod.rs:16:22 [INFO] [stderr] | [INFO] [stderr] 16 | use std::sync::{Arc, Weak}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `JobManagerReq` [INFO] [stderr] --> src/task/core.rs:9:57 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::job::model::actor_model::{JobManagerRaftReq, JobManagerReq}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `TaskCallBackParam` [INFO] [stderr] --> src/task/core.rs:25:45 [INFO] [stderr] | [INFO] [stderr] 25 | use crate::task::model::task::{JobTaskInfo, TaskCallBackParam, TaskWrap}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/task/model/mod.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `TaskCallBackParam` [INFO] [stderr] --> src/task/model/actor_model.rs:4:45 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::task::model::task::{JobTaskInfo, TaskCallBackParam}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::job::model::actor_model::JobManagerRaftReq` [INFO] [stderr] --> src/task/request_actor.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::job::model::actor_model::JobManagerRaftReq; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::raft::cluster::route::RaftRequestRoute` [INFO] [stderr] --> src/task/request_actor.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::raft::cluster::route::RaftRequestRoute; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::raft::store::ClientRequest` [INFO] [stderr] --> src/task/request_actor.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::raft::store::ClientRequest; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated tuple variant `app::model::AppManagerReq::RegisterAppInstance` [INFO] [stderr] --> src/app/core.rs:413:28 [INFO] [stderr] | [INFO] [stderr] 413 | AppManagerReq::RegisterAppInstance(key, addr) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated tuple variant `app::model::AppManagerReq::UnregisterAppInstance` [INFO] [stderr] --> src/app/core.rs:420:28 [INFO] [stderr] | [INFO] [stderr] 420 | AppManagerReq::UnregisterAppInstance(key, addr) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated variant `raft::store::ClientResponse::ScheduleReq` [INFO] [stderr] --> src/raft/store/mod.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | ScheduleReq { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/console/v1/job_api.rs:161:9 [INFO] [stderr] | [INFO] [stderr] 161 | let mut param = param.to_param(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> src/console/v1/user_api.rs:179:12 [INFO] [stderr] | [INFO] [stderr] 179 | Ok(r) => Ok(HttpResponse::Ok().json(ApiResult::success(Some(true)))), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/openapi/v1/job_api.rs:96:5 [INFO] [stderr] | [INFO] [stderr] 96 | mut param: JobParam, [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/sequence/mod.rs:64:25 [INFO] [stderr] | [INFO] [stderr] 64 | let v = simple_sequence.next_id(); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 64 | let _v = simple_sequence.next_id(); [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `LOG_DATA_BUF_SIZE` [INFO] [stderr] | [INFO] [stderr] 64 - let v = simple_sequence.next_id(); [INFO] [stderr] 64 + let raft::store::raftlog::LOG_DATA_BUF_SIZE = simple_sequence.next_id(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/sequence/mod.rs:75:25 [INFO] [stderr] | [INFO] [stderr] 75 | let v = simple_sequence.next_id(); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 75 | let _v = simple_sequence.next_id(); [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `LOG_DATA_BUF_SIZE` [INFO] [stderr] | [INFO] [stderr] 75 - let v = simple_sequence.next_id(); [INFO] [stderr] 75 + let raft::store::raftlog::LOG_DATA_BUF_SIZE = simple_sequence.next_id(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable `registry_success` is assigned to, but never used [INFO] [stderr] --> src/task/request_client.rs:45:17 [INFO] [stderr] | [INFO] [stderr] 45 | let mut registry_success = false; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_registry_success` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `registry_success` is never read [INFO] [stderr] --> src/task/request_client.rs:62:17 [INFO] [stderr] | [INFO] [stderr] 62 | registry_success = true; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `app::model::AppManagerReq::RegisterAppInstance::0` [INFO] [stderr] --> src/app/core.rs:413:48 [INFO] [stderr] | [INFO] [stderr] 413 | AppManagerReq::RegisterAppInstance(key, addr) => { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `app::model::AppManagerReq::RegisterAppInstance::1` [INFO] [stderr] --> src/app/core.rs:413:53 [INFO] [stderr] | [INFO] [stderr] 413 | AppManagerReq::RegisterAppInstance(key, addr) => { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `app::model::AppManagerReq::UnregisterAppInstance::0` [INFO] [stderr] --> src/app/core.rs:420:50 [INFO] [stderr] | [INFO] [stderr] 420 | AppManagerReq::UnregisterAppInstance(key, addr) => { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `app::model::AppManagerReq::UnregisterAppInstance::1` [INFO] [stderr] --> src/app/core.rs:420:55 [INFO] [stderr] | [INFO] [stderr] 420 | AppManagerReq::UnregisterAppInstance(key, addr) => { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `fs2::FileExt` [INFO] [stderr] --> src/raft/store/raftindex.rs:120:13 [INFO] [stderr] | [INFO] [stderr] 120 | use fs2::FileExt; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix::prelude` [INFO] [stderr] --> src/raft/cluster/route.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use actix::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures_util::task::SpawnExt` [INFO] [stderr] --> src/schedule/batch_call.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use futures_util::task::SpawnExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `error_code` [INFO] [stderr] --> src/grpc/payload_utils.rs:7:32 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn build_error_payload(error_code: u16, error_msg: String) -> Payload { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_code` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/sequence/mod.rs:165:9 [INFO] [stderr] | [INFO] [stderr] 165 | ctx: &mut Self::Context, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/task/core.rs:114:33 [INFO] [stderr] | [INFO] [stderr] 114 | .then(|result, act, ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `xxl_request_header` [INFO] [stderr] --> src/task/core.rs:169:13 [INFO] [stderr] | [INFO] [stderr] 169 | let xxl_request_header = self.xxl_request_header.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xxl_request_header` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/task/core.rs:473:27 [INFO] [stderr] | [INFO] [stderr] 473 | fn started(&mut self, ctx: &mut Self::Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/task/request_actor.rs:98:27 [INFO] [stderr] | [INFO] [stderr] 98 | fn started(&mut self, ctx: &mut Self::Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/task/task_history.rs:54:27 [INFO] [stderr] | [INFO] [stderr] 54 | fn started(&mut self, ctx: &mut Self::Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: method `remove` is never used [INFO] [stderr] --> src/app/app_index.rs:66:19 [INFO] [stderr] | [INFO] [stderr] 50 | impl AppIndex { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 66 | pub(crate) fn remove( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `app` is never read [INFO] [stderr] --> src/grpc/handler/mod.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 23 | pub struct InvokerHandler { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 24 | app: Arc, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `share_data` is never read [INFO] [stderr] --> src/grpc/server.rs:9:16 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct RequestServerImpl { [INFO] [stderr] | ----------------- field in this struct [INFO] [stderr] 9 | pub(crate) share_data: Arc, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `insert`, and `remove` are never used [INFO] [stderr] --> src/job/job_index.rs:73:19 [INFO] [stderr] | [INFO] [stderr] 72 | impl JobIndex { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] 73 | pub(crate) fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 77 | pub(crate) fn insert( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 92 | pub(crate) fn remove( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_valid` is never used [INFO] [stderr] --> src/raft/cluster/node_manager.rs:47:19 [INFO] [stderr] | [INFO] [stderr] 46 | impl ClusterInnerNode { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] 47 | pub(crate) fn is_valid(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `last_retry_time` is never read [INFO] [stderr] --> src/schedule/core.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct ScheduleManager { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 64 | last_retry_time: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `do_run_task` is never used [INFO] [stderr] --> src/task/core.rs:452:14 [INFO] [stderr] | [INFO] [stderr] 46 | impl TaskManager { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 452 | async fn do_run_task( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `disable_no_auth_console_index` is never used [INFO] [stderr] --> src/web_config.rs:57:10 [INFO] [stderr] | [INFO] [stderr] 57 | async fn disable_no_auth_console_index() -> impl Responder { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/app/model.rs:79:18 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn to_do(&self) -> AppInfoDo { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 79 | pub fn to_do(&self) -> AppInfoDo<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/app/model.rs:148:18 [INFO] [stderr] | [INFO] [stderr] 148 | pub fn to_do(&self) -> AppInstanceDo { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 148 | pub fn to_do(&self) -> AppInstanceDo<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/common/http_utils.rs:17:34 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn get_lossy_string_body(&self) -> Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 17 | pub fn get_lossy_string_body(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/job/model/job.rs:137:18 [INFO] [stderr] | [INFO] [stderr] 137 | pub fn to_do(&self) -> JobDo { [INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 137 | pub fn to_do(&self) -> JobDo<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/raft/store/model.rs:83:25 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn to_record_do(&self) -> LogRecord { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 83 | pub fn to_record_do(&self) -> LogRecord<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/raft/store/model.rs:134:25 [INFO] [stderr] | [INFO] [stderr] 134 | pub fn to_record_do(&self) -> SnapshotHeader { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 134 | pub fn to_record_do(&self) -> SnapshotHeader<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/raft/store/model.rs:173:25 [INFO] [stderr] | [INFO] [stderr] 173 | pub fn to_record_do(&self) -> LogSnapshotItem { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 173 | pub fn to_record_do(&self) -> LogSnapshotItem<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/raft/store/model.rs:221:25 [INFO] [stderr] | [INFO] [stderr] 221 | pub fn to_record_do(&self) -> RaftIndex { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 221 | pub fn to_record_do(&self) -> RaftIndex<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/task/model/task.rs:91:18 [INFO] [stderr] | [INFO] [stderr] 91 | pub fn to_do(&self) -> JobTaskDo { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 91 | pub fn to_do(&self) -> JobTaskDo<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/user/model.rs:58:18 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn to_do(&self) -> UserInfoDo { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 58 | pub fn to_do(&self) -> UserInfoDo<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead [INFO] [stderr] --> src/common/cron_utils.rs:56:27 [INFO] [stderr] | [INFO] [stderr] 56 | &FixedOffset::east(8 * 3600), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead [INFO] [stderr] --> src/common/cron_utils.rs:62:27 [INFO] [stderr] | [INFO] [stderr] 62 | &FixedOffset::east(8 * 3600), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ratchjob` (lib) generated 106 warnings (run `cargo fix --lib -p ratchjob` to apply 78 suggestions) [INFO] [stderr] warning: `ratchjob` (lib test) generated 108 warnings (106 duplicates) [INFO] [stderr] warning: unused import: `ratchjob::openapi::openapi_config` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use ratchjob::openapi::openapi_config; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ops::Deref` [INFO] [stderr] --> src/main.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use std::ops::Deref; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ratchjob` (bin "ratchjob" test) generated 2 warnings (run `cargo fix --bin "ratchjob" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.68s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ratchjob-43724f2ecff3259b) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test common::cron_utils::tests::test_cron_util ... ok [INFO] [stdout] test common::pb::tests::data_to_job_do ... ok [INFO] [stdout] test metrics::model::tests::test_recalculate_from_histogram ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ratchjob-3286ce13eed85c87) [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] [stderr] Doc-tests ratchjob [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" "848938ac333885f8e86820549943713a55c60921f053ff4a827d6dada33891c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "848938ac333885f8e86820549943713a55c60921f053ff4a827d6dada33891c1", kill_on_drop: false }` [INFO] [stdout] 848938ac333885f8e86820549943713a55c60921f053ff4a827d6dada33891c1