[INFO] fetching crate common_uu 1.9.0... [INFO] testing common_uu-1.9.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate common_uu 1.9.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate common_uu 1.9.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate common_uu 1.9.0 [INFO] tweaked toml for crates.io crate common_uu 1.9.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate common_uu 1.9.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate common_uu 1.9.0 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mock_instant v0.6.0 [INFO] [stderr] Downloaded email_address v0.2.9 [INFO] [stderr] Downloaded thread-id v5.0.0 [INFO] [stderr] Downloaded sigchld v0.2.4 [INFO] [stderr] Downloaded os_pipe v1.2.2 [INFO] [stderr] Downloaded dtor-proc-macro v0.0.6 [INFO] [stderr] Downloaded ctor-proc-macro v0.0.6 [INFO] [stderr] Downloaded sluice v0.5.5 [INFO] [stderr] Downloaded enum-utils-from-str v0.1.2 [INFO] [stderr] Downloaded enum-utils v0.1.2 [INFO] [stderr] Downloaded ctor v0.5.0 [INFO] [stderr] Downloaded serde_derive_internals v0.25.0 [INFO] [stderr] Downloaded chumsky v0.9.3 [INFO] [stderr] Downloaded stacker v0.1.22 [INFO] [stderr] Downloaded castaway v0.1.2 [INFO] [stderr] Downloaded isahc v1.7.2 [INFO] [stderr] Downloaded polling v2.8.0 [INFO] [stderr] Downloaded psm v0.1.27 [INFO] [stderr] Downloaded dtor v0.1.0 [INFO] [stderr] Downloaded email-encoding v0.4.1 [INFO] [stderr] Downloaded quoted_printable v0.5.1 [INFO] [stderr] Downloaded log4rs v1.4.0 [INFO] [stderr] Downloaded shared_child v1.1.1 [INFO] [stderr] Downloaded curl-sys v0.4.83+curl-8.15.0 [INFO] [stderr] Downloaded lettre v0.11.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c75322e3af3e0c6c4bb79bee782b06e9ccf7d9bddfcb68ea2d9b73d581b3f9c [INFO] running `Command { std: "docker" "start" "-a" "3c75322e3af3e0c6c4bb79bee782b06e9ccf7d9bddfcb68ea2d9b73d581b3f9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c75322e3af3e0c6c4bb79bee782b06e9ccf7d9bddfcb68ea2d9b73d581b3f9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c75322e3af3e0c6c4bb79bee782b06e9ccf7d9bddfcb68ea2d9b73d581b3f9c", kill_on_drop: false }` [INFO] [stdout] 3c75322e3af3e0c6c4bb79bee782b06e9ccf7d9bddfcb68ea2d9b73d581b3f9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e28dfed6481c578bfd79286dabf5ae8b80ac8188a9fd3c4b544e3585c85464e [INFO] running `Command { std: "docker" "start" "-a" "4e28dfed6481c578bfd79286dabf5ae8b80ac8188a9fd3c4b544e3585c85464e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling curl-sys v0.4.83+curl-8.15.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling psm v0.1.27 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling stacker v0.1.22 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling curl v0.4.49 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling isahc v1.7.2 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling thread-id v5.0.0 [INFO] [stderr] Compiling hostname v0.4.1 [INFO] [stderr] Compiling chumsky v0.9.3 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling email-encoding v0.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling serde_spanned v1.0.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling enum-utils-from-str v0.1.2 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling quoted_printable v0.5.1 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling toml_writer v1.0.3 [INFO] [stderr] Compiling mock_instant v0.6.0 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling castaway v0.1.2 [INFO] [stderr] Compiling toml v0.9.7 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling enum-utils v0.1.2 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling log4rs v1.4.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling lettre v0.11.18 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling common_uu v1.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cell::UnsafeCell` [INFO] [stdout] --> src/exit_signal.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::UnsafeCell; [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: `crate::IResult` [INFO] [stdout] --> src/time_micros.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::IResult; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dev_or_prod` [INFO] [stdout] --> src/log4rs_mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{dev_or_prod, string::StringExentd, IResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tcp_mod::comm::TcpStreamExt` [INFO] [stdout] --> src/tcp_mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::tcp_mod::comm::TcpStreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `isahc::prelude::Configurable` [INFO] [stdout] --> src/req.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use isahc::prelude::Configurable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toml_read.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / /** [INFO] [stdout] 66 | | let mut hotwatch = Hotwatch::new().expect("Hotwatch failed to initialize."); [INFO] [stdout] 67 | | hotwatch.watch(toml_file_path, move |event: Event| { [INFO] [stdout] 68 | | if let Event::Write(path) = event { [INFO] [stdout] ... | [INFO] [stdout] 78 | | })?; [INFO] [stdout] 79 | | */ [INFO] [stdout] | |______^ [INFO] [stdout] 80 | [INFO] [stdout] 81 | / { [INFO] [stdout] 82 | | // 监听的配置文件 [INFO] [stdout] 83 | | let file_name = get_file_name(toml_file_path_str)?; [INFO] [stdout] ... | [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/time.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/time.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | let datetime = rng.gen_range(min..max); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/time.rs:160:32 [INFO] [stdout] | [INFO] [stdout] 160 | None => chrono::Local::today().naive_local(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Timelike` [INFO] [stdout] --> src/time_micros.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::Timelike; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/time_micros.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut ticks2 = 100000000000000000; [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: `send` [INFO] [stdout] --> src/toml_read.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | let (send, rev) = crossbeam::channel::bounded(10); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `toml_file_path` [INFO] [stdout] --> src/toml_read.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let toml_file_path = toml_file_path_str.to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_toml_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_client` is never used [INFO] [stdout] --> src/tcp_mod3.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | async fn handle_client Option, R: Req>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `server` is never used [INFO] [stdout] --> src/tcp_mod3.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | async fn server() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `client` is never used [INFO] [stdout] --> src/tcp_mod3.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | async fn client() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fromHmsS` should have a snake case name [INFO] [stdout] --> src/time_int.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn fromHmsS(hour: i32, minute: i32, second: i32, millisec: i32) -> IResult { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `from_hms_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fromInt9` should have a snake case name [INFO] [stdout] --> src/time_int.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn fromInt9(time9: i32) -> IResult { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `from_int9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mm_ss_SSS` should have a snake case name [INFO] [stdout] --> src/time_int.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let mm_ss_SSS = time9 % 1_00_00_000; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `mm_ss_sss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ss_SSS` should have a snake case name [INFO] [stdout] --> src/time_int.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let ss_SSS = mm_ss_SSS % 100_000; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ss_sss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fromInt9_safe` should have a snake case name [INFO] [stdout] --> src/time_int.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn fromInt9_safe(time9: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `from_int9_safe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fromLong17_safe` should have a snake case name [INFO] [stdout] --> src/time_int.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn fromLong17_safe(date_time: i64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `from_long17_safe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `TimeI32Const` should have a snake case name [INFO] [stdout] --> src/time_int.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | pub mod TimeI32Const { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `time_i32_const` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TicksPerSecond` should have an upper case name [INFO] [stdout] --> src/time_int.rs:204:15 [INFO] [stdout] | [INFO] [stdout] 204 | pub const TicksPerSecond: i32 = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TICKS_PER_SECOND` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TicksPerMinute` should have an upper case name [INFO] [stdout] --> src/time_int.rs:206:15 [INFO] [stdout] | [INFO] [stdout] 206 | pub const TicksPerMinute: i32 = TicksPerSecond * 60; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TICKS_PER_MINUTE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TicksPerHour` should have an upper case name [INFO] [stdout] --> src/time_int.rs:208:15 [INFO] [stdout] | [INFO] [stdout] 208 | pub const TicksPerHour: i32 = TicksPerMinute * 60; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `TICKS_PER_HOUR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TicksPerDay` should have an upper case name [INFO] [stdout] --> src/time_int.rs:210:15 [INFO] [stdout] | [INFO] [stdout] 210 | pub const TicksPerDay: i32 = TicksPerHour * 24; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `TICKS_PER_DAY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MinTicks` should have an upper case name [INFO] [stdout] --> src/time_int.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 213 | pub const MinTicks: i32 = 0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `MIN_TICKS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MaxTicks` should have an upper case name [INFO] [stdout] --> src/time_int.rs:216:15 [INFO] [stdout] | [INFO] [stdout] 216 | pub const MaxTicks: i32 = 86_399_999; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `MAX_TICKS` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.72s [INFO] running `Command { std: "docker" "inspect" "4e28dfed6481c578bfd79286dabf5ae8b80ac8188a9fd3c4b544e3585c85464e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e28dfed6481c578bfd79286dabf5ae8b80ac8188a9fd3c4b544e3585c85464e", kill_on_drop: false }` [INFO] [stdout] 4e28dfed6481c578bfd79286dabf5ae8b80ac8188a9fd3c4b544e3585c85464e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46c31577b4fe9a821502b4d95eaba054804b7a8365e58c85eccd841487a3e0a1 [INFO] running `Command { std: "docker" "start" "-a" "46c31577b4fe9a821502b4d95eaba054804b7a8365e58c85eccd841487a3e0a1", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::cell::UnsafeCell` [INFO] [stdout] --> src/exit_signal.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::UnsafeCell; [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: `crate::IResult` [INFO] [stdout] --> src/time_micros.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::IResult; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dev_or_prod` [INFO] [stdout] --> src/log4rs_mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{dev_or_prod, string::StringExentd, IResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tcp_mod::comm::TcpStreamExt` [INFO] [stdout] --> src/tcp_mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::tcp_mod::comm::TcpStreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `isahc::prelude::Configurable` [INFO] [stdout] --> src/req.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use isahc::prelude::Configurable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toml_read.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / /** [INFO] [stdout] 66 | | let mut hotwatch = Hotwatch::new().expect("Hotwatch failed to initialize."); [INFO] [stdout] 67 | | hotwatch.watch(toml_file_path, move |event: Event| { [INFO] [stdout] 68 | | if let Event::Write(path) = event { [INFO] [stdout] ... | [INFO] [stdout] 78 | | })?; [INFO] [stdout] 79 | | */ [INFO] [stdout] | |______^ [INFO] [stdout] 80 | [INFO] [stdout] 81 | / { [INFO] [stdout] 82 | | // 监听的配置文件 [INFO] [stdout] 83 | | let file_name = get_file_name(toml_file_path_str)?; [INFO] [stdout] ... | [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/time.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/time.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | let datetime = rng.gen_range(min..max); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/time.rs:160:32 [INFO] [stdout] | [INFO] [stdout] 160 | None => chrono::Local::today().naive_local(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Timelike` [INFO] [stdout] --> src/time_micros.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::Timelike; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/time_micros.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut ticks2 = 100000000000000000; [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: `send` [INFO] [stdout] --> src/toml_read.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | let (send, rev) = crossbeam::channel::bounded(10); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `toml_file_path` [INFO] [stdout] --> src/toml_read.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let toml_file_path = toml_file_path_str.to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_toml_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_client` is never used [INFO] [stdout] --> src/tcp_mod3.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | async fn handle_client Option, R: Req>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `server` is never used [INFO] [stdout] --> src/tcp_mod3.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | async fn server() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `client` is never used [INFO] [stdout] --> src/tcp_mod3.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | async fn client() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fromHmsS` should have a snake case name [INFO] [stdout] --> src/time_int.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn fromHmsS(hour: i32, minute: i32, second: i32, millisec: i32) -> IResult { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `from_hms_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fromInt9` should have a snake case name [INFO] [stdout] --> src/time_int.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn fromInt9(time9: i32) -> IResult { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `from_int9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mm_ss_SSS` should have a snake case name [INFO] [stdout] --> src/time_int.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let mm_ss_SSS = time9 % 1_00_00_000; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `mm_ss_sss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ss_SSS` should have a snake case name [INFO] [stdout] --> src/time_int.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let ss_SSS = mm_ss_SSS % 100_000; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ss_sss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fromInt9_safe` should have a snake case name [INFO] [stdout] --> src/time_int.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn fromInt9_safe(time9: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `from_int9_safe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fromLong17_safe` should have a snake case name [INFO] [stdout] --> src/time_int.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn fromLong17_safe(date_time: i64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `from_long17_safe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `TimeI32Const` should have a snake case name [INFO] [stdout] --> src/time_int.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | pub mod TimeI32Const { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `time_i32_const` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TicksPerSecond` should have an upper case name [INFO] [stdout] --> src/time_int.rs:204:15 [INFO] [stdout] | [INFO] [stdout] 204 | pub const TicksPerSecond: i32 = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TICKS_PER_SECOND` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TicksPerMinute` should have an upper case name [INFO] [stdout] --> src/time_int.rs:206:15 [INFO] [stdout] | [INFO] [stdout] 206 | pub const TicksPerMinute: i32 = TicksPerSecond * 60; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TICKS_PER_MINUTE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TicksPerHour` should have an upper case name [INFO] [stdout] --> src/time_int.rs:208:15 [INFO] [stdout] | [INFO] [stdout] 208 | pub const TicksPerHour: i32 = TicksPerMinute * 60; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `TICKS_PER_HOUR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TicksPerDay` should have an upper case name [INFO] [stdout] --> src/time_int.rs:210:15 [INFO] [stdout] | [INFO] [stdout] 210 | pub const TicksPerDay: i32 = TicksPerHour * 24; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `TICKS_PER_DAY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MinTicks` should have an upper case name [INFO] [stdout] --> src/time_int.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 213 | pub const MinTicks: i32 = 0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `MIN_TICKS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MaxTicks` should have an upper case name [INFO] [stdout] --> src/time_int.rs:216:15 [INFO] [stdout] | [INFO] [stdout] 216 | pub const MaxTicks: i32 = 86_399_999; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `MAX_TICKS` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling common_uu v1.9.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `lettre_email` [INFO] [stdout] --> examples/mail_demo.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate lettre_email; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `smtp` in `lettre` [INFO] [stdout] --> examples/mail_demo.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use lettre::smtp::authentication::Credentials; [INFO] [stdout] | ^^^^ could not find `smtp` in `lettre` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> examples/config_demo.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | let _watch = common_uu::toml_read::run_watch("./config/test.toml").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------- argument #2 of type `&mut Option>` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/toml_read.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn run_watch(toml_file_path_str: &str, map: &mut Option) -> IResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 10 | let _watch = common_uu::toml_read::run_watch("./config/test.toml", /* &mut Option> */).unwrap(); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `common_uu` (example "config_demo") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `hotwatch` [INFO] [stdout] --> examples/watch_demo.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use hotwatch::{Event, Hotwatch}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `hotwatch` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hotwatch`, use `cargo add hotwatch` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `lettre::SmtpClient` [INFO] [stdout] --> examples/mail_demo.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use lettre::{SmtpClient, SmtpTransport, Transport}; [INFO] [stdout] | ^^^^^^^^^^ no `SmtpClient` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `common_uu` (example "watch_demo") due to 1 previous error [INFO] [stdout] warning: unused import: `SmtpTransport` [INFO] [stdout] --> examples/mail_demo.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use lettre::{SmtpClient, SmtpTransport, Transport}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `common_uu` (example "mail_demo") due to 3 previous errors; 2 warnings emitted [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> examples/mail_demo.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `common_uu` (example "feishu") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/feishu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] 2 | common_uu::send_feishu_msg::send("测试", "https://open.feishu.cn/open-apis/bot/v2/hook/xxxx", "测试消息") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Result<(), Box>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<(), Box<(dyn std::error::Error + Send + Sync + 'static)>>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 2 | common_uu::send_feishu_msg::send("测试", "https://open.feishu.cn/open-apis/bot/v2/hook/xxxx", "测试消息"); [INFO] [stdout] | + [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result<(), Box<(dyn std::error::Error + Send + Sync + 'static)>>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 2 | common_uu::send_feishu_msg::send("测试", "https://open.feishu.cn/open-apis/bot/v2/hook/xxxx", "测试消息").expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `common_uu::restart` [INFO] [stdout] --> examples/restart.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use common_uu::{restart::{restart, Env}, get_arg, JsonVExentd}; [INFO] [stdout] | ^^^^^^^ could not find `restart` in `common_uu` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(feature = "use_restart")] [INFO] [stdout] | ----------------------- the item is gated behind the `use_restart` feature [INFO] [stdout] 58 | pub mod restart; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::UnsafeCell` [INFO] [stdout] --> src/exit_signal.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::UnsafeCell; [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: `crate::IResult` [INFO] [stdout] --> src/time_micros.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::IResult; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dev_or_prod` [INFO] [stdout] --> src/log4rs_mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{dev_or_prod, string::StringExentd, IResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `isahc::prelude::Configurable` [INFO] [stdout] --> src/req.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use isahc::prelude::Configurable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/toml_read.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / /** [INFO] [stdout] 66 | | let mut hotwatch = Hotwatch::new().expect("Hotwatch failed to initialize."); [INFO] [stdout] 67 | | hotwatch.watch(toml_file_path, move |event: Event| { [INFO] [stdout] 68 | | if let Event::Write(path) = event { [INFO] [stdout] ... | [INFO] [stdout] 78 | | })?; [INFO] [stdout] 79 | | */ [INFO] [stdout] | |______^ [INFO] [stdout] 80 | [INFO] [stdout] 81 | / { [INFO] [stdout] 82 | | // 监听的配置文件 [INFO] [stdout] 83 | | let file_name = get_file_name(toml_file_path_str)?; [INFO] [stdout] ... | [INFO] [stdout] 99 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `common_uu` (example "restart") due to 1 previous error [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/time.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/time.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | let datetime = rng.gen_range(min..max); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/time.rs:160:32 [INFO] [stdout] | [INFO] [stdout] 160 | None => chrono::Local::today().naive_local(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Timelike` [INFO] [stdout] --> src/time_micros.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::Timelike; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/time_micros.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut ticks2 = 100000000000000000; [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: `i` [INFO] [stdout] --> src/log4rs_mod.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | for i in 0..100 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [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/tcp_mod2.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | server_run(addrs.to_string(), |mut stream| { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send` [INFO] [stdout] --> src/toml_read.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | let (send, rev) = crossbeam::channel::bounded(10); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `toml_file_path` [INFO] [stdout] --> src/toml_read.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let toml_file_path = toml_file_path_str.to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_toml_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fromHmsS` should have a snake case name [INFO] [stdout] --> src/time_int.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn fromHmsS(hour: i32, minute: i32, second: i32, millisec: i32) -> IResult { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `from_hms_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fromInt9` should have a snake case name [INFO] [stdout] --> src/time_int.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn fromInt9(time9: i32) -> IResult { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `from_int9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mm_ss_SSS` should have a snake case name [INFO] [stdout] --> src/time_int.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let mm_ss_SSS = time9 % 1_00_00_000; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `mm_ss_sss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ss_SSS` should have a snake case name [INFO] [stdout] --> src/time_int.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let ss_SSS = mm_ss_SSS % 100_000; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ss_sss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fromInt9_safe` should have a snake case name [INFO] [stdout] --> src/time_int.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn fromInt9_safe(time9: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `from_int9_safe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fromLong17_safe` should have a snake case name [INFO] [stdout] --> src/time_int.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn fromLong17_safe(date_time: i64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `from_long17_safe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `TimeI32Const` should have a snake case name [INFO] [stdout] --> src/time_int.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | pub mod TimeI32Const { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `time_i32_const` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TicksPerSecond` should have an upper case name [INFO] [stdout] --> src/time_int.rs:204:15 [INFO] [stdout] | [INFO] [stdout] 204 | pub const TicksPerSecond: i32 = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TICKS_PER_SECOND` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TicksPerMinute` should have an upper case name [INFO] [stdout] --> src/time_int.rs:206:15 [INFO] [stdout] | [INFO] [stdout] 206 | pub const TicksPerMinute: i32 = TicksPerSecond * 60; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TICKS_PER_MINUTE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TicksPerHour` should have an upper case name [INFO] [stdout] --> src/time_int.rs:208:15 [INFO] [stdout] | [INFO] [stdout] 208 | pub const TicksPerHour: i32 = TicksPerMinute * 60; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `TICKS_PER_HOUR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TicksPerDay` should have an upper case name [INFO] [stdout] --> src/time_int.rs:210:15 [INFO] [stdout] | [INFO] [stdout] 210 | pub const TicksPerDay: i32 = TicksPerHour * 24; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `TICKS_PER_DAY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MinTicks` should have an upper case name [INFO] [stdout] --> src/time_int.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 213 | pub const MinTicks: i32 = 0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `MIN_TICKS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MaxTicks` should have an upper case name [INFO] [stdout] --> src/time_int.rs:216:15 [INFO] [stdout] | [INFO] [stdout] 216 | pub const MaxTicks: i32 = 86_399_999; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `MAX_TICKS` [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "46c31577b4fe9a821502b4d95eaba054804b7a8365e58c85eccd841487a3e0a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46c31577b4fe9a821502b4d95eaba054804b7a8365e58c85eccd841487a3e0a1", kill_on_drop: false }` [INFO] [stdout] 46c31577b4fe9a821502b4d95eaba054804b7a8365e58c85eccd841487a3e0a1