[INFO] fetching crate fast-able 1.18.5... [INFO] checking fast-able-1.18.5 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate fast-able 1.18.5 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate fast-able 1.18.5 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate fast-able 1.18.5 [INFO] tweaked toml for crates.io crate fast-able 1.18.5 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fast-able 1.18.5 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fast-able 1.18.5 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c47fc25d360e32717cf807fd6d9fbf58755944fe8fb5b9de8674c0a3aa7d59af [INFO] running `Command { std: "docker" "start" "-a" "c47fc25d360e32717cf807fd6d9fbf58755944fe8fb5b9de8674c0a3aa7d59af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c47fc25d360e32717cf807fd6d9fbf58755944fe8fb5b9de8674c0a3aa7d59af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c47fc25d360e32717cf807fd6d9fbf58755944fe8fb5b9de8674c0a3aa7d59af", kill_on_drop: false }` [INFO] [stdout] c47fc25d360e32717cf807fd6d9fbf58755944fe8fb5b9de8674c0a3aa7d59af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8c5178dfb830ab228f81caaf868e7393284648e7650a34c531578f24cd41a18 [INFO] running `Command { std: "docker" "start" "-a" "a8c5178dfb830ab228f81caaf868e7393284648e7650a34c531578f24cd41a18", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling futures-core v0.3.27 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling serde v1.0.157 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking crossbeam-channel v0.5.7 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tokio v1.26.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking spin v0.9.6 [INFO] [stderr] Checking kanal v0.1.0-pre8 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking arraystring v0.3.0 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.6 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking core_affinity v0.8.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking thingbuf v0.1.6 [INFO] [stderr] Checking fast-able v1.18.5 (/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)]` 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: 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)]` 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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vec2.rs:229:22 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn dirty_ref(&self) -> ReadGuardVec { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 229 | pub fn dirty_ref(&self) -> ReadGuardVec<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/high_speed_cache.rs:778:17 [INFO] [stdout] | [INFO] [stdout] 778 | pub fn iter(&self) -> HighSpeedCacheIter { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 778 | pub fn iter(&self) -> HighSpeedCacheIter<'_, T, LEN> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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)]` on by default [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)]` 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 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_one.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{error, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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)]` 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/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] 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] 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)]` on by default [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)]` 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] 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] 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] 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 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)]` 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 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rev` [INFO] [stdout] --> benches/bench_crossbeam.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | let (send, rev) = crossbeam::channel::unbounded(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rev` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [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] error[E0432]: unresolved import `fast_able::SyncHashMap` [INFO] [stdout] --> benches/bench_map.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fast_able::SyncHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `SyncHashMap` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 5 | use fast_able::map_hash::SyncHashMap; [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rt1` in this scope [INFO] [stdout] --> benches/bench_map.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | rt1.join(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rt2` in this scope [INFO] [stdout] --> benches/bench_map.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | rt2.join(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> benches/bench_map.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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 "test_wg") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fast-able` (test "btree") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `fast_able::SyncHashMapB` [INFO] [stdout] --> benches/bench_map_b.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fast_able::SyncHashMapB as SyncHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `SyncHashMapB` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 5 | use fast_able::map_hash::buckets::SyncHashMapB as SyncHashMap; [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fast-able` (test "hash_map") due to 1 previous error [INFO] [stdout] error[E0425]: cannot find function `unbounded` in module `channel_types` [INFO] [stdout] --> examples/channel_features_demo.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | let (tx, rx) = channel_types::unbounded::(); [INFO] [stdout] | ^^^^^^^^^ not found in `channel_types` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use fast_able::fast_thread_pool::unbounded; [INFO] [stdout] | [INFO] [stdout] 1 + use flume::unbounded; [INFO] [stdout] | [INFO] [stdout] 1 + use kanal::unbounded; [INFO] [stdout] | [INFO] [stdout] help: if you import `unbounded`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - let (tx, rx) = channel_types::unbounded::(); [INFO] [stdout] 35 + let (tx, rx) = unbounded::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fast-able` (bench "bench_map") due to 3 previous errors; 1 warning emitted [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> benches/bench_map_b.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> benches/bench_map_b.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fast_able::SyncVec` [INFO] [stdout] --> benches/bench_rw_vec.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fast_able::SyncVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `SyncVec` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 3 | use fast_able::vec::SyncVec; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `unbounded` in module `channel_types` [INFO] [stdout] --> src/fast_thread_pool/test_channel_features.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | let (tx, rx) = channel_types::unbounded::(); [INFO] [stdout] | ^^^^^^^^^ not found in `channel_types` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 3 + use crate::fast_thread_pool::unbounded; [INFO] [stdout] | [INFO] [stdout] 3 + use flume::unbounded; [INFO] [stdout] | [INFO] [stdout] 3 + use kanal::unbounded; [INFO] [stdout] | [INFO] [stdout] help: if you import `unbounded`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 10 - let (tx, rx) = channel_types::unbounded::(); [INFO] [stdout] 10 + let (tx, rx) = unbounded::(); [INFO] [stdout] | [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)]` 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: 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: 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fast-able` (example "channel_features_demo") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> benches/bench_rw_vec.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | 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)]` 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 `fast-able` (bench "bench_map_b") due to 1 previous error; 2 warnings emitted [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] [stderr] error: could not compile `fast-able` (bench "bench_rw_vec") due to 1 previous error; 1 warning emitted [INFO] [stderr] error: could not compile `fast-able` (test "vec") due to 2 previous errors [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)]` 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)]` 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)]` 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] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fast-able` (lib test) due to 1 previous error; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a8c5178dfb830ab228f81caaf868e7393284648e7650a34c531578f24cd41a18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8c5178dfb830ab228f81caaf868e7393284648e7650a34c531578f24cd41a18", kill_on_drop: false }` [INFO] [stdout] a8c5178dfb830ab228f81caaf868e7393284648e7650a34c531578f24cd41a18