[INFO] fetching crate gTickCheckerRust 0.1.2... [INFO] checking gTickCheckerRust-0.1.2 against master#8a497b7181cad4ae66dbd6cc31042b69b6bd0df7 for pr-102474 [INFO] extracting crate gTickCheckerRust 0.1.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate gTickCheckerRust 0.1.2 on toolchain 8a497b7181cad4ae66dbd6cc31042b69b6bd0df7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gTickCheckerRust 0.1.2 [INFO] finished tweaking crates.io crate gTickCheckerRust 0.1.2 [INFO] tweaked toml for crates.io crate gTickCheckerRust 0.1.2 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate gTickCheckerRust 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded security-framework-sys v2.1.1 [INFO] [stderr] Downloaded parking_lot_core v0.8.2 [INFO] [stderr] Downloaded log4rs v0.13.0 [INFO] [stderr] Downloaded flate2 v1.0.14 [INFO] [stderr] Downloaded security-framework v2.1.1 [INFO] [stderr] Downloaded crossbeam v0.8.0 [INFO] [stderr] Downloaded memoffset v0.6.1 [INFO] [stderr] Downloaded generator v0.6.23 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.2 [INFO] [stderr] Downloaded flume v0.10.2 [INFO] [stderr] Downloaded crossterm v0.16.0 [INFO] [stderr] Downloaded colour v0.5.0 [INFO] [stderr] Downloaded libc v0.2.87 [INFO] [stderr] Downloaded grapeTimerR v0.1.6 [INFO] [stderr] Downloaded openssl-src v111.14.0+1.1.1j [INFO] [stderr] Downloaded simple-log v1.0.1 [INFO] [stderr] Downloaded isahc v1.1.0 [INFO] [stderr] Downloaded simple-error v0.2.3 [INFO] [stderr] Downloaded serde-value v0.6.0 [INFO] [stderr] Downloaded arc-swap v0.4.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e184a05f10840ae02642cb34c8b312068d6662d98b19ea9d76ea411146bf03ea [INFO] running `Command { std: "docker" "start" "-a" "e184a05f10840ae02642cb34c8b312068d6662d98b19ea9d76ea411146bf03ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e184a05f10840ae02642cb34c8b312068d6662d98b19ea9d76ea411146bf03ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e184a05f10840ae02642cb34c8b312068d6662d98b19ea9d76ea411146bf03ea", kill_on_drop: false }` [INFO] [stdout] e184a05f10840ae02642cb34c8b312068d6662d98b19ea9d76ea411146bf03ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c9c8ab3c92cb35c0c704f009f3c7f672f0a1a38d5a24ca60fb2e110bc7ae2c3 [INFO] running `Command { std: "docker" "start" "-a" "6c9c8ab3c92cb35c0c704f009f3c7f672f0a1a38d5a24ca60fb2e110bc7ae2c3", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.2 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling libnghttp2-sys v0.1.6+1.43.0 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling curl-sys v0.4.40+curl-7.75.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking arc-swap v0.4.8 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Compiling curl v0.4.34 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking crossbeam-queue v0.3.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking spinning_top v0.2.2 [INFO] [stderr] Compiling isahc v1.1.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking fastrand v1.4.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking sluice v0.5.4 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking crossbeam v0.8.0 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking simple-error v0.2.3 [INFO] [stderr] Checking serde-value v0.6.0 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking crossterm v0.16.0 [INFO] [stderr] Checking colour v0.5.0 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling tracing-attributes v0.1.13 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking tungstenite v0.13.0 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking flume v0.10.2 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking log4rs v0.13.0 [INFO] [stderr] Checking simple-log v1.0.1 [INFO] [stderr] Checking grapeTimerR v0.1.6 [INFO] [stderr] Checking gTickCheckerRust v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `toml::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use toml::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/action_http.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simple_error::*` [INFO] [stdout] --> src/action_http.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use simple_error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `executor_fail`, `executor_recover` [INFO] [stdout] --> src/action_http.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::action_do::{executor_fail, executor_recover}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::ActionConf` [INFO] [stdout] --> src/action_http.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::config::ActionConf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simple_error::*` [INFO] [stdout] --> src/action_tcp.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use simple_error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TlsConnectorBuilder` [INFO] [stdout] --> src/action_tcp.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use native_tls::{TlsConnectorBuilder,TlsConnector}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Sub` [INFO] [stdout] --> src/action_tcp.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toml::value::Array` [INFO] [stdout] --> src/config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use toml::value::Array; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simple_error::*` [INFO] [stdout] --> src/action_ping.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use simple_error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `executor_fail`, `executor_recover` [INFO] [stdout] --> src/action_ping.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::action_do::{executor_fail, executor_recover}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/action_ping.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | let ping_timeout:f32 = (task_conf.timeout as f32 / 1000f32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - let ping_timeout:f32 = (task_conf.timeout as f32 / 1000f32); [INFO] [stdout] 21 + let ping_timeout:f32 = task_conf.timeout as f32 / 1000f32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simple_error::*` [INFO] [stdout] --> src/action_ws.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use simple_error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::runtime` [INFO] [stdout] --> src/action_ws.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `connect`, `protocol::WebSocketConfig` [INFO] [stdout] --> src/action_ws.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use tungstenite::{connect, client, protocol::WebSocketConfig, Error}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simple_error::*` [INFO] [stdout] --> src/action_do.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use simple_error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpClientBuilder` [INFO] [stdout] --> src/action_do.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use isahc::{HttpClientBuilder,http::header::USER_AGENT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toml::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use toml::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/action_http.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simple_error::*` [INFO] [stdout] --> src/action_http.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use simple_error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `executor_fail`, `executor_recover` [INFO] [stdout] --> src/action_http.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::action_do::{executor_fail, executor_recover}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::ActionConf` [INFO] [stdout] --> src/action_http.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::config::ActionConf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simple_error::*` [INFO] [stdout] --> src/action_tcp.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use simple_error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TlsConnectorBuilder` [INFO] [stdout] --> src/action_tcp.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use native_tls::{TlsConnectorBuilder,TlsConnector}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Sub` [INFO] [stdout] --> src/action_tcp.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toml::value::Array` [INFO] [stdout] --> src/config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use toml::value::Array; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simple_error::*` [INFO] [stdout] --> src/action_ping.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use simple_error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `executor_fail`, `executor_recover` [INFO] [stdout] --> src/action_ping.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::action_do::{executor_fail, executor_recover}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/action_ping.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | let ping_timeout:f32 = (task_conf.timeout as f32 / 1000f32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - let ping_timeout:f32 = (task_conf.timeout as f32 / 1000f32); [INFO] [stdout] 21 + let ping_timeout:f32 = task_conf.timeout as f32 / 1000f32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simple_error::*` [INFO] [stdout] --> src/action_ws.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use simple_error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::runtime` [INFO] [stdout] --> src/action_ws.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `connect`, `protocol::WebSocketConfig` [INFO] [stdout] --> src/action_ws.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use tungstenite::{connect, client, protocol::WebSocketConfig, Error}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simple_error::*` [INFO] [stdout] --> src/action_do.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use simple_error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpClientBuilder` [INFO] [stdout] --> src/action_do.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use isahc::{HttpClientBuilder,http::header::USER_AGENT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/action_factory.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | Ok(x) => { Ok(()) } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ixd` [INFO] [stdout] --> src/action_factory.rs:95:50 [INFO] [stdout] | [INFO] [stdout] 95 | ... task.count,move |ixd| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ixd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/action_tcp.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | Ok(stream) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/action_tcp.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | Ok(r) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `async_rd` [INFO] [stdout] --> src/action_ws.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let async_rd = result_data.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_async_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/action_ws.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | Ok(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/action_do.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let r = if cfg!(target_os = "windows") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `glob_config` is never read [INFO] [stdout] --> src/main.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut glob_config = AppConfig{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/action_factory.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let mut action_trait = new_action(task)?; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/action_http.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let mut header_data = Arc::new(Mutex::new(String::new())); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/action_http.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut hd = header_data.clone(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/action_tcp.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | let mut stream = connector.connect(tHost,stream); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/action_factory.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | Ok(x) => { Ok(()) } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ixd` [INFO] [stdout] --> src/action_factory.rs:95:50 [INFO] [stdout] | [INFO] [stdout] 95 | ... task.count,move |ixd| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ixd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/action_tcp.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | Ok(stream) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/action_tcp.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | Ok(r) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/action_ws.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut r = connect_to_some_timeout( [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `async_rd` [INFO] [stdout] --> src/action_ws.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let async_rd = result_data.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_async_rd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/action_ws.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | Ok(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/action_do.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let r = if cfg!(target_os = "windows") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `glob_config` is never read [INFO] [stdout] --> src/main.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut glob_config = AppConfig{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/action_factory.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let mut action_trait = new_action(task)?; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `executor_isahc` is never used [INFO] [stdout] --> src/action_http.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn executor_isahc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_forever` is never used [INFO] [stdout] --> src/runtime.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn wait_forever() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `gTickCheckerRust` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `g_tick_checker_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/action_http.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let mut header_data = Arc::new(Mutex::new(String::new())); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/action_http.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut hd = header_data.clone(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | timer::init_schedule(timer_conf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `appCnf` should have a snake case name [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | for appCnf in glob_config.action { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `app_cnf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | spawn_action(&appCnf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/action_http.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | easy.max_redirections(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/action_http.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | easy.follow_location(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/action_http.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | easy.ssl_verify_peer(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/action_http.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | easy.ssl_verify_host(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/action_http.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | ... headers.append("User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36 TickChecker/1.0.0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/action_http.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | easy.http_headers(headers); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/action_http.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | easy.timeout(Duration::from_millis(task_conf.timeout as u64)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sockAddr` should have a snake case name [INFO] [stdout] --> src/action_tcp.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let sockAddr = SocketAddr::from_str(task_conf.target.as_str()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `sock_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `startTime` should have a snake case name [INFO] [stdout] --> src/action_tcp.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let startTime = chrono::Utc::now().time(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `executor_tcpTls` should have a snake case name [INFO] [stdout] --> src/action_tcp.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn executor_tcpTls(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `executor_tcp_tls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tHost` should have a snake case name [INFO] [stdout] --> src/action_tcp.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let tHost = task_conf.target.split(":").collect::>(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `t_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tHost` should have a snake case name [INFO] [stdout] --> src/action_tcp.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let tHost = tHost[0]; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `t_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `startTime` should have a snake case name [INFO] [stdout] --> src/action_tcp.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let startTime = chrono::Utc::now().time(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sockAddr` should have a snake case name [INFO] [stdout] --> src/action_tcp.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let sockAddr = SocketAddr::from_str(task_conf.target.as_str()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `sock_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/action_ping.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | if output.len() >= 0 && task_conf.output_result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `startTime` should have a snake case name [INFO] [stdout] --> src/action_ws.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let startTime = chrono::Utc::now().time(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `requestUri` should have a snake case name [INFO] [stdout] --> src/action_ws.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let requestUri = url.into_client_request().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `request_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/action_do.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | exec_http(data.target.as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/action_do.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | exec_command(data.target.as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/action_do.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | exec_http(data.target.as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/action_do.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | exec_command(data.target.as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/action_tcp.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | let mut stream = connector.connect(tHost,stream); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/action_ws.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut r = connect_to_some_timeout( [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `executor_isahc` is never used [INFO] [stdout] --> src/action_http.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn executor_isahc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_forever` is never used [INFO] [stdout] --> src/runtime.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn wait_forever() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `gTickCheckerRust` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `g_tick_checker_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | timer::init_schedule(timer_conf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `appCnf` should have a snake case name [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | for appCnf in glob_config.action { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `app_cnf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | spawn_action(&appCnf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/action_http.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | easy.max_redirections(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/action_http.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | easy.follow_location(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/action_http.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | easy.ssl_verify_peer(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/action_http.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | easy.ssl_verify_host(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/action_http.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | ... headers.append("User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36 TickChecker/1.0.0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/action_http.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | easy.http_headers(headers); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/action_http.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | easy.timeout(Duration::from_millis(task_conf.timeout as u64)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sockAddr` should have a snake case name [INFO] [stdout] --> src/action_tcp.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let sockAddr = SocketAddr::from_str(task_conf.target.as_str()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `sock_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `startTime` should have a snake case name [INFO] [stdout] --> src/action_tcp.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let startTime = chrono::Utc::now().time(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `executor_tcpTls` should have a snake case name [INFO] [stdout] --> src/action_tcp.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn executor_tcpTls(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `executor_tcp_tls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tHost` should have a snake case name [INFO] [stdout] --> src/action_tcp.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let tHost = task_conf.target.split(":").collect::>(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `t_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tHost` should have a snake case name [INFO] [stdout] --> src/action_tcp.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let tHost = tHost[0]; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `t_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `startTime` should have a snake case name [INFO] [stdout] --> src/action_tcp.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let startTime = chrono::Utc::now().time(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sockAddr` should have a snake case name [INFO] [stdout] --> src/action_tcp.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let sockAddr = SocketAddr::from_str(task_conf.target.as_str()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `sock_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/action_ping.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | if output.len() >= 0 && task_conf.output_result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `startTime` should have a snake case name [INFO] [stdout] --> src/action_ws.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let startTime = chrono::Utc::now().time(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `requestUri` should have a snake case name [INFO] [stdout] --> src/action_ws.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let requestUri = url.into_client_request().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `request_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/action_do.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | exec_http(data.target.as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/action_do.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | exec_command(data.target.as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/action_do.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | exec_http(data.target.as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/action_do.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | exec_command(data.target.as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "6c9c8ab3c92cb35c0c704f009f3c7f672f0a1a38d5a24ca60fb2e110bc7ae2c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c9c8ab3c92cb35c0c704f009f3c7f672f0a1a38d5a24ca60fb2e110bc7ae2c3", kill_on_drop: false }` [INFO] [stdout] 6c9c8ab3c92cb35c0c704f009f3c7f672f0a1a38d5a24ca60fb2e110bc7ae2c3