[INFO] fetching crate fast-able 1.18.6... [INFO] testing fast-able-1.18.6 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate fast-able 1.18.6 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate fast-able 1.18.6 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate fast-able 1.18.6 [INFO] tweaked toml for crates.io crate fast-able 1.18.6 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fast-able 1.18.6 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fast-able 1.18.6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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 arraystring v0.3.0 [INFO] [stderr] Downloaded thingbuf v0.1.6 [INFO] [stderr] Downloaded core_affinity v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 064584a5ca3f0badd7e9c92445555d818d70dd6600f9ac4818c46d0865911b71 [INFO] running `Command { std: "docker" "start" "-a" "064584a5ca3f0badd7e9c92445555d818d70dd6600f9ac4818c46d0865911b71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "064584a5ca3f0badd7e9c92445555d818d70dd6600f9ac4818c46d0865911b71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "064584a5ca3f0badd7e9c92445555d818d70dd6600f9ac4818c46d0865911b71", kill_on_drop: false }` [INFO] [stdout] 064584a5ca3f0badd7e9c92445555d818d70dd6600f9ac4818c46d0865911b71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1b974578903ef7e8ae7e106adccd157c602613537fe8b5015c270f7e8e30f8f [INFO] running `Command { std: "docker" "start" "-a" "b1b974578903ef7e8ae7e106adccd157c602613537fe8b5015c270f7e8e30f8f", kill_on_drop: false }` [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-core v0.3.27 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling arraystring v0.3.0 [INFO] [stderr] Compiling core_affinity v0.8.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling kanal v0.1.1 [INFO] [stderr] Compiling spin v0.10.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling crossbeam-channel v0.5.7 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling thingbuf v0.1.6 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling fast-able v1.18.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `parking_lot::ReentrantMutexGuard` [INFO] [stdout] --> src/map_hash.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use parking_lot::ReentrantMutexGuard; [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 imports: `EINVAL`, `EPERM`, and `ESRCH` [INFO] [stdout] --> src/fast_thread_pool/pool.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | use libc::{EINVAL, EPERM, ESRCH, SCHED_RR, sched_param, sched_setscheduler}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/fast_thread_pool/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use channel_types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `unbounded` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 17 | pub use task_executor::*; [INFO] [stdout] | ---------------- but the name `unbounded` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `channel_types::*` [INFO] [stdout] --> src/fast_thread_pool/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use channel_types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/fast_thread_pool/utils.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | io::{Error, ErrorKind, Read, Seek, SeekFrom, Write}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arraystring::error` [INFO] [stdout] --> src/fast_thread_pool/utils.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use arraystring::error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/cache.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{sync::Arc, thread::JoinHandle, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/cache_queue.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fast_thread_pool/utils.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | let mut start_index = (last_index + 1) % all_cores.len(); [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: variable does not need to be mutable [INFO] [stdout] --> src/fast_thread_pool/utils.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 248 | let mut start_index = (last_index + 1) % all_cores.len(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_default_bounded_capacity` is never used [INFO] [stdout] --> src/fast_thread_pool/task_executor.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn get_default_bounded_capacity() -> usize { [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 `read_linux_system_cpu_cores` is never used [INFO] [stdout] --> src/fast_thread_pool/utils.rs:296:4 [INFO] [stdout] | [INFO] [stdout] 296 | fn read_linux_system_cpu_cores() -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_cpu_range` is never used [INFO] [stdout] --> src/fast_thread_pool/utils.rs:306:4 [INFO] [stdout] | [INFO] [stdout] 306 | fn parse_cpu_range(content: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `useed` is never read [INFO] [stdout] --> src/cache_queue.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct CacheQueue { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | useed: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vec2.rs:229:22 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn dirty_ref(&self) -> ReadGuardVec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 229 | pub fn dirty_ref(&self) -> ReadGuardVec<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/high_speed_cache.rs:778:17 [INFO] [stdout] | [INFO] [stdout] 778 | pub fn iter(&self) -> HighSpeedCacheIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 778 | pub fn iter(&self) -> HighSpeedCacheIter<'_, T, LEN> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/high_speed_cache.rs:788:21 [INFO] [stdout] | [INFO] [stdout] 788 | pub fn iter_mut(&mut self) -> HighSpeedCacheIterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 788 | pub fn iter_mut(&mut self) -> HighSpeedCacheIterMut<'_, T, LEN> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/bin/test_bounded_executor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::info; [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: `CoreId` [INFO] [stdout] --> src/bin/test_bounded_executor.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use core_affinity::{get_core_ids, CoreId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `info` [INFO] [stdout] --> src/bin/test_core_affinity.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{error, info}; [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: `fs::OpenOptions` [INFO] [stdout] --> src/bin/test_core_affinity.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs, fs::OpenOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `info` [INFO] [stdout] --> src/bin/test_core_affinity_one.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{error, info}; [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: `fs::OpenOptions` [INFO] [stdout] --> src/bin/test_core_affinity_one.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs, fs::OpenOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `core1` [INFO] [stdout] --> src/bin/test_core_affinity_one.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let core1 = use_last_core2("测试11多核心", 10); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_core1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.65s [INFO] running `Command { std: "docker" "inspect" "b1b974578903ef7e8ae7e106adccd157c602613537fe8b5015c270f7e8e30f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1b974578903ef7e8ae7e106adccd157c602613537fe8b5015c270f7e8e30f8f", kill_on_drop: false }` [INFO] [stdout] b1b974578903ef7e8ae7e106adccd157c602613537fe8b5015c270f7e8e30f8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02630c5783bb9b81af9379b49db7baaa0a627d54591db0f16a08069446305021 [INFO] running `Command { std: "docker" "start" "-a" "02630c5783bb9b81af9379b49db7baaa0a627d54591db0f16a08069446305021", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling tokio v1.26.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling fast-able v1.18.6 (/opt/rustwide/workdir) [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stdout] warning: unused import: `parking_lot::ReentrantMutexGuard` [INFO] [stdout] --> src/map_hash.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use parking_lot::ReentrantMutexGuard; [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 imports: `EINVAL`, `EPERM`, and `ESRCH` [INFO] [stdout] --> src/fast_thread_pool/pool.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | use libc::{EINVAL, EPERM, ESRCH, SCHED_RR, sched_param, sched_setscheduler}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/fast_thread_pool/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use channel_types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `unbounded` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 17 | pub use task_executor::*; [INFO] [stdout] | ---------------- but the name `unbounded` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `channel_types::*` [INFO] [stdout] --> src/fast_thread_pool/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use channel_types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/fast_thread_pool/utils.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | io::{Error, ErrorKind, Read, Seek, SeekFrom, Write}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arraystring::error` [INFO] [stdout] --> src/fast_thread_pool/utils.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use arraystring::error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/cache.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{sync::Arc, thread::JoinHandle, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/cache_queue.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fast_thread_pool/utils.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | let mut start_index = (last_index + 1) % all_cores.len(); [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: variable does not need to be mutable [INFO] [stdout] --> src/fast_thread_pool/utils.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 248 | let mut start_index = (last_index + 1) % all_cores.len(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_default_bounded_capacity` is never used [INFO] [stdout] --> src/fast_thread_pool/task_executor.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn get_default_bounded_capacity() -> usize { [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 `read_linux_system_cpu_cores` is never used [INFO] [stdout] --> src/fast_thread_pool/utils.rs:296:4 [INFO] [stdout] | [INFO] [stdout] 296 | fn read_linux_system_cpu_cores() -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_cpu_range` is never used [INFO] [stdout] --> src/fast_thread_pool/utils.rs:306:4 [INFO] [stdout] | [INFO] [stdout] 306 | fn parse_cpu_range(content: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `useed` is never read [INFO] [stdout] --> src/cache_queue.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct CacheQueue { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | useed: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vec2.rs:229:22 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn dirty_ref(&self) -> ReadGuardVec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 229 | pub fn dirty_ref(&self) -> ReadGuardVec<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/high_speed_cache.rs:778:17 [INFO] [stdout] | [INFO] [stdout] 778 | pub fn iter(&self) -> HighSpeedCacheIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 778 | pub fn iter(&self) -> HighSpeedCacheIter<'_, T, LEN> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/high_speed_cache.rs:788:21 [INFO] [stdout] | [INFO] [stdout] 788 | pub fn iter_mut(&mut self) -> HighSpeedCacheIterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 788 | pub fn iter_mut(&mut self) -> HighSpeedCacheIterMut<'_, T, LEN> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/bin/test_bounded_executor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::info; [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: `CoreId` [INFO] [stdout] --> src/bin/test_bounded_executor.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use core_affinity::{get_core_ids, CoreId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `info` [INFO] [stdout] --> src/bin/test_core_affinity.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{error, info}; [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: `fs::OpenOptions` [INFO] [stdout] --> src/bin/test_core_affinity.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs, fs::OpenOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `info` [INFO] [stdout] --> src/bin/test_core_affinity_one.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{error, info}; [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: `fs::OpenOptions` [INFO] [stdout] --> src/bin/test_core_affinity_one.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs, fs::OpenOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `core1` [INFO] [stdout] --> src/bin/test_core_affinity_one.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let core1 = use_last_core2("测试11多核心", 10); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_core1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dark_std` [INFO] [stdout] --> tests/btree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dark_std::sync::SyncBtreeMap; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `dark_std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dark_std`, use `cargo add dark_std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dark_std` [INFO] [stdout] --> tests/hash_map.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dark_std::sync::SyncHashMap; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `dark_std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dark_std`, use `cargo add dark_std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fast-able` (test "btree") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/bin/test_bounded_executor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::info; [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: `CoreId` [INFO] [stdout] --> src/bin/test_bounded_executor.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use core_affinity::{get_core_ids, CoreId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `info` [INFO] [stdout] --> src/bin/test_core_affinity.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{error, info}; [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: `fs::OpenOptions` [INFO] [stdout] --> src/bin/test_core_affinity.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs, fs::OpenOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `info` [INFO] [stdout] --> src/bin/test_core_affinity_one.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{error, info}; [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: `fs::OpenOptions` [INFO] [stdout] --> src/bin/test_core_affinity_one.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs, fs::OpenOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `core1` [INFO] [stdout] --> src/bin/test_core_affinity_one.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let core1 = use_last_core2("测试11多核心", 10); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_core1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dark_std` [INFO] [stdout] --> tests/vec.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dark_std::sync::SyncVec; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `dark_std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dark_std`, use `cargo add dark_std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dark_std` [INFO] [stdout] --> tests/test_wg.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dark_std::sync::WaitGroup; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `dark_std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dark_std`, use `cargo add dark_std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fast-able` (test "hash_map") due to 1 previous error [INFO] [stderr] error: could not compile `fast-able` (test "test_wg") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `dark_std` [INFO] [stdout] --> tests/vec.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dark_std::sync_vec; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `dark_std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dark_std`, use `cargo add dark_std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parking_lot::ReentrantMutexGuard` [INFO] [stdout] --> src/map_hash.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use parking_lot::ReentrantMutexGuard; [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 imports: `EINVAL`, `EPERM`, and `ESRCH` [INFO] [stdout] --> src/fast_thread_pool/pool.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | use libc::{EINVAL, EPERM, ESRCH, SCHED_RR, sched_param, sched_setscheduler}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/fast_thread_pool/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use channel_types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `unbounded` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 17 | pub use task_executor::*; [INFO] [stdout] | ---------------- but the name `unbounded` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `channel_types::*` [INFO] [stdout] --> src/fast_thread_pool/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use channel_types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/fast_thread_pool/utils.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | io::{Error, ErrorKind, Read, Seek, SeekFrom, Write}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arraystring::error` [INFO] [stdout] --> src/fast_thread_pool/utils.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use arraystring::error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fast-able` (test "vec") due to 2 previous errors [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/cache.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{sync::Arc, thread::JoinHandle, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/cache_queue.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Demo_高频数据` should have an upper camel case name [INFO] [stdout] --> src/high_speed_cache.rs:886:12 [INFO] [stdout] | [INFO] [stdout] 886 | struct Demo_高频数据 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Demo高频数据` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/fast_thread_pool/pool.rs:454:5 [INFO] [stdout] | [INFO] [stdout] 433 | / loop { [INFO] [stdout] 434 | | for i in 0..100 { [INFO] [stdout] 435 | | // std::thread::sleep(std::time::Duration::from_micros(i % 50)); [INFO] [stdout] 436 | | let time_hs = std::time::Instant::now(); [INFO] [stdout] ... | [INFO] [stdout] 452 | | std::thread::sleep(std::time::Duration::from_micros(110)); [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 454 | std::thread::sleep(std::time::Duration::from_secs(9999)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/fast_thread_pool/mod.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 93 | / loop { [INFO] [stdout] 94 | | for i in 0..100 { [INFO] [stdout] 95 | | let time_hs = std::time::Instant::now(); [INFO] [stdout] 96 | | let count = count.clone(); [INFO] [stdout] ... | [INFO] [stdout] 110 | | std::thread::sleep(std::time::Duration::from_micros(110)); [INFO] [stdout] 111 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 112 | std::thread::sleep(std::time::Duration::from_secs(9999)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/fast_thread_pool/mod.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 138 | / loop { [INFO] [stdout] 139 | | for _ in 0..500 { [INFO] [stdout] 140 | | let time_hs = std::time::Instant::now(); [INFO] [stdout] 141 | | pool.spawn_blocking(move || { [INFO] [stdout] ... | [INFO] [stdout] 153 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 154 | std::thread::sleep(std::time::Duration::from_secs(9999)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/statis.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | for i in 0..10000_0000 { [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: unused variable: `i` [INFO] [stdout] --> src/statis.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | for i in 0..10000_0000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/statis.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | for i in 0..10000_0000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_c` [INFO] [stdout] --> src/fast_thread_pool/test.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let pool_c = pool.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fast_thread_pool/utils.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | let mut start_index = (last_index + 1) % all_cores.len(); [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: variable does not need to be mutable [INFO] [stdout] --> src/fast_thread_pool/utils.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 248 | let mut start_index = (last_index + 1) % all_cores.len(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/fast_thread_pool/mod.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | for i in 0..100 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_default_bounded_capacity` is never used [INFO] [stdout] --> src/fast_thread_pool/task_executor.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn get_default_bounded_capacity() -> usize { [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 `read_linux_system_cpu_cores` is never used [INFO] [stdout] --> src/fast_thread_pool/utils.rs:296:4 [INFO] [stdout] | [INFO] [stdout] 296 | fn read_linux_system_cpu_cores() -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_cpu_range` is never used [INFO] [stdout] --> src/fast_thread_pool/utils.rs:306:4 [INFO] [stdout] | [INFO] [stdout] 306 | fn parse_cpu_range(content: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `useed` is never read [INFO] [stdout] --> src/cache_queue.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct CacheQueue { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | useed: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vec2.rs:229:22 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn dirty_ref(&self) -> ReadGuardVec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 229 | pub fn dirty_ref(&self) -> ReadGuardVec<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/statis.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | rt.join(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 52 | let _ = rt.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/statis.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | rt2.join(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | let _ = rt2.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/statis.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | rt3.join(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = rt3.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `statis_v` should have an upper case name [INFO] [stdout] --> src/fast_thread_pool/mod.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | static statis_v: once_cell::sync::Lazy = [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 128 - static statis_v: once_cell::sync::Lazy = [INFO] [stdout] 128 + static STATIS_V: once_cell::sync::Lazy = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `thread_lite` should have an upper case name [INFO] [stdout] --> src/fast_thread_pool/mod.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | static thread_lite: once_cell::sync::Lazy = [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 131 - static thread_lite: once_cell::sync::Lazy = [INFO] [stdout] 131 + static THREAD_LITE: once_cell::sync::Lazy = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `statis_v` should have an upper case name [INFO] [stdout] --> src/fast_thread_pool/test.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | static statis_v: Lazy = [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 38 - static statis_v: Lazy = [INFO] [stdout] 38 + static STATIS_V: Lazy = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `statis_v` should have an upper case name [INFO] [stdout] --> src/fast_thread_pool/test.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | static statis_v: Lazy = [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 113 - static statis_v: Lazy = [INFO] [stdout] 113 + static STATIS_V: Lazy = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `thread_lite` should have an upper case name [INFO] [stdout] --> src/fast_thread_pool/test.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | static thread_lite: Lazy = Lazy::new(|| ThreadPoolLite::new()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 122 - static thread_lite: Lazy = Lazy::new(|| ThreadPoolLite::new()); [INFO] [stdout] 122 + static THREAD_LITE: Lazy = Lazy::new(|| ThreadPoolLite::new()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/high_speed_cache.rs:778:17 [INFO] [stdout] | [INFO] [stdout] 778 | pub fn iter(&self) -> HighSpeedCacheIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 778 | pub fn iter(&self) -> HighSpeedCacheIter<'_, T, LEN> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/high_speed_cache.rs:788:21 [INFO] [stdout] | [INFO] [stdout] 788 | pub fn iter_mut(&mut self) -> HighSpeedCacheIterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 788 | pub fn iter_mut(&mut self) -> HighSpeedCacheIterMut<'_, T, LEN> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/thread_channel.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | S.send(1); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 43 | let _ = S.send(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/thread_channel.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | S.send(2); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | let _ = S.send(2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/thread_channel.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | S.send(3); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = S.send(3); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/thread_channel.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | S.send(4); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = S.send(4); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "02630c5783bb9b81af9379b49db7baaa0a627d54591db0f16a08069446305021", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02630c5783bb9b81af9379b49db7baaa0a627d54591db0f16a08069446305021", kill_on_drop: false }` [INFO] [stdout] 02630c5783bb9b81af9379b49db7baaa0a627d54591db0f16a08069446305021