[INFO] cloning repository https://github.com/GuillaumeDIDIER/dendrobates-t-azureus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GuillaumeDIDIER/dendrobates-t-azureus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuillaumeDIDIER%2Fdendrobates-t-azureus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuillaumeDIDIER%2Fdendrobates-t-azureus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8edd90b6a3347703c84825276edc0f5f109e7d85 [INFO] checking GuillaumeDIDIER/dendrobates-t-azureus/8edd90b6a3347703c84825276edc0f5f109e7d85 against master#249595384b4589c71a00d622c4253f62c7f5ddbd for pr-127054 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuillaumeDIDIER%2Fdendrobates-t-azureus" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GuillaumeDIDIER/dendrobates-t-azureus on toolchain 249595384b4589c71a00d622c4253f62c7f5ddbd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+249595384b4589c71a00d622c4253f62c7f5ddbd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/GuillaumeDIDIER/dendrobates-t-azureus [INFO] finished tweaking git repo https://github.com/GuillaumeDIDIER/dendrobates-t-azureus [INFO] tweaked toml for git repo https://github.com/GuillaumeDIDIER/dendrobates-t-azureus written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/GuillaumeDIDIER/dendrobates-t-azureus 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" "+249595384b4589c71a00d622c4253f62c7f5ddbd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded volatile v0.4.4 [INFO] [stderr] Downloaded bootloader v0.9.29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+249595384b4589c71a00d622c4253f62c7f5ddbd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54eb549e7013904ed9ba060651f0290ebfc6e9ee0721d9974bb61c5595a49998 [INFO] running `Command { std: "docker" "start" "-a" "54eb549e7013904ed9ba060651f0290ebfc6e9ee0721d9974bb61c5595a49998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54eb549e7013904ed9ba060651f0290ebfc6e9ee0721d9974bb61c5595a49998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54eb549e7013904ed9ba060651f0290ebfc6e9ee0721d9974bb61c5595a49998", kill_on_drop: false }` [INFO] [stdout] 54eb549e7013904ed9ba060651f0290ebfc6e9ee0721d9974bb61c5595a49998 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+249595384b4589c71a00d622c4253f62c7f5ddbd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 202a04e91902d6e8fc323a11892add988009e47512ab2501ed07c55ada136454 [INFO] running `Command { std: "docker" "start" "-a" "202a04e91902d6e8fc323a11892add988009e47512ab2501ed07c55ada136454", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking volatile v0.4.4 [INFO] [stderr] Checking volatile v0.2.7 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking atomic v0.6.0 [INFO] [stderr] Checking turn_lock v0.1.0 (/opt/rustwide/workdir/turn_lock) [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling bootloader v0.9.29 [INFO] [stderr] Checking spin v0.9.0 [INFO] [stderr] Checking spinning_top v0.2.5 [INFO] [stderr] Checking linked_list_allocator v0.9.1 [INFO] [stderr] Checking x86_64 v0.15.1 [INFO] [stderr] Checking vga_buffer v0.1.0 (/opt/rustwide/workdir/vga_buffer) [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> turn_lock/src/lib.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | let t0 = v[0].wait(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cpuid v0.1.0 (/opt/rustwide/workdir/cpuid) [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking polling_serial v0.1.0 (/opt/rustwide/workdir/polling_serial) [INFO] [stderr] Checking cache_utils v0.1.0 (/opt/rustwide/workdir/cache_utils) [INFO] [stderr] Checking cache_side_channel v0.1.0 (/opt/rustwide/workdir/cache_side_channel) [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> cache_side_channel/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `unsafe_block_in_unsafe_fn` has been stable since 1.52.0 and no longer requires an attribute to enable [INFO] [stdout] --> cache_side_channel/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(unsafe_block_in_unsafe_fn)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> cache_side_channel/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `unsafe_block_in_unsafe_fn` has been stable since 1.52.0 and no longer requires an attribute to enable [INFO] [stdout] --> cache_side_channel/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(unsafe_block_in_unsafe_fn)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> cache_side_channel/src/table_side_channel.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Choose std or no-std but not both [INFO] [stdout] --> cache_utils/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / assert_cfg!( [INFO] [stdout] 12 | | all( [INFO] [stdout] 13 | | not(all(feature = "use_std", feature = "no_std")), [INFO] [stdout] 14 | | any(feature = "use_std", feature = "no_std") [INFO] [stdout] 15 | | ), [INFO] [stdout] 16 | | "Choose std or no-std but not both" [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_cfg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> cache_side_channel/src/table_side_channel.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | for i in 0..num_iteration { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/calibration.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use std::collections::HashMap; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/complex_addressing.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::vec::Vec; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/complex_addressing.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::collections::HashMap; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/complex_addressing.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::collections::HashSet; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/mmap.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::TryFrom; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/frequency.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::convert::TryInto; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/frequency.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::os::raw::{c_uint, c_ulong}; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::cmp::min; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::ptr::null_mut; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::vec::Vec; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/ip_tool.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::LinkedList; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/ip_tool.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ptr::copy_nonoverlapping; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/ip_tool.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Mutex; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/ip_tool.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::vec::Vec; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | use std::process::Command; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/lib.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | use std::str::from_utf8; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cache_side_channel/src/table_side_channel.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | mut addresses: &'b mut Vec<&'c mut T::Handle>, [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] error[E0432]: unresolved import `std` [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::thread; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> cache_side_channel/src/table_side_channel.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> cache_side_channel/src/table_side_channel.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | for i in 0..num_iteration { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cache_side_channel/src/table_side_channel.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | mut addresses: &'b mut Vec<&'c mut T::Handle>, [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Choose std or no-std but not both [INFO] [stdout] --> cache_utils/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / assert_cfg!( [INFO] [stdout] 12 | | all( [INFO] [stdout] 13 | | not(all(feature = "use_std", feature = "no_std")), [INFO] [stdout] 14 | | any(feature = "use_std", feature = "no_std") [INFO] [stdout] 15 | | ), [INFO] [stdout] 16 | | "Choose std or no-std but not both" [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_cfg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:228:25 [INFO] [stdout] | [INFO] [stdout] 228 | median: vec![0; operations.len()], [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:229:22 [INFO] [stdout] | [INFO] [stdout] 229 | min: vec![0; operations.len()], [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:230:22 [INFO] [stdout] | [INFO] [stdout] 230 | max: vec![0; operations.len()], [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:238:36 [INFO] [stdout] | [INFO] [stdout] 238 | let mut hist = vec![0; options.hist_params.bucket_number]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/calibration.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use std::collections::HashMap; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/calibration.rs:1261:9 [INFO] [stdout] | [INFO] [stdout] 1261 | use std::collections::HashMap; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/complex_addressing.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::vec::Vec; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/complex_addressing.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::collections::HashMap; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/complex_addressing.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::collections::HashSet; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/mmap.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::TryFrom; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/frequency.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::convert::TryInto; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/frequency.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::os::raw::{c_uint, c_ulong}; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::cmp::min; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::ptr::null_mut; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::vec::Vec; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/ip_tool.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::LinkedList; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/ip_tool.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ptr::copy_nonoverlapping; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/ip_tool.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Mutex; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/ip_tool.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::vec::Vec; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | use std::process::Command; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/lib.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | use std::str::from_utf8; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std` [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::thread; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:255:36 [INFO] [stdout] | [INFO] [stdout] 255 | let mut hist = vec![0; options.hist_params.bucket_number]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:271:28 [INFO] [stdout] | [INFO] [stdout] 271 | let mut sums = vec![0; operations.len()]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> cache_utils/src/ip_tool.rs:173:40 [INFO] [stdout] | [INFO] [stdout] 173 | ... pages: vec![new_page], [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> cache_utils/src/ip_tool.rs:163:48 [INFO] [stdout] | [INFO] [stdout] 163 | ... pages: vec![new_page], [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> cache_utils/src/ip_tool.rs:154:53 [INFO] [stdout] | [INFO] [stdout] 154 | ... let mut pages = vec![new_page]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/ip_tool.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | println!("relocate clflush {:p}, {}", (f.fun) as *const u8, r); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/ip_tool.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | println!("{:p}", f.fun as *const u8); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/ip_tool.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | println!("clflush {:p} : {}", p, unsafe { timed_clflush_template(p) }); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/ip_tool.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | println!("maccess {:p} : {}", p, unsafe { timed_maccess_template(p) }); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/ip_tool.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | println!("clflush function size : {}", size); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/ip_tool.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | println!("maccess function size : {}", size); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/ip_tool.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | println!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | println!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `print` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:329:17 [INFO] [stdout] | [INFO] [stdout] 329 | print!("{:x}, ", hash); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::print; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:228:25 [INFO] [stdout] | [INFO] [stdout] 228 | median: vec![0; operations.len()], [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `print` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:328:17 [INFO] [stdout] | [INFO] [stdout] 328 | print!("CSV: {},{},{:p}, ", main_core, helper_core, pointer); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::print; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:229:22 [INFO] [stdout] | [INFO] [stdout] 229 | min: vec![0; operations.len()], [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:320:21 [INFO] [stdout] | [INFO] [stdout] 320 | println!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:230:22 [INFO] [stdout] | [INFO] [stdout] 230 | max: vec![0; operations.len()], [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:315:21 [INFO] [stdout] | [INFO] [stdout] 315 | println!(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:238:36 [INFO] [stdout] | [INFO] [stdout] 238 | let mut hist = vec![0; options.hist_params.bucket_number]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `print` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:295:25 [INFO] [stdout] | [INFO] [stdout] 295 | print!(",{}", hist); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::print; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:255:36 [INFO] [stdout] | [INFO] [stdout] 255 | let mut hist = vec![0; options.hist_params.bucket_number]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `print` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 285 | print!("{}", from_bucket(j)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::print; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:271:28 [INFO] [stdout] | [INFO] [stdout] 271 | let mut sums = vec![0; operations.len()]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `print` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:284:21 [INFO] [stdout] | [INFO] [stdout] 284 | print!("{:x},", hash); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::print; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> cache_utils/src/ip_tool.rs:173:40 [INFO] [stdout] | [INFO] [stdout] 173 | ... pages: vec![new_page], [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `print` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:283:21 [INFO] [stdout] | [INFO] [stdout] 283 | print!("RESULT:{},{},{:p},", main_core, helper_core, pointer); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::print; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> cache_utils/src/ip_tool.rs:163:48 [INFO] [stdout] | [INFO] [stdout] 163 | ... pages: vec![new_page], [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | println!(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> cache_utils/src/ip_tool.rs:154:53 [INFO] [stdout] | [INFO] [stdout] 154 | ... let mut pages = vec![new_page]; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/ip_tool.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | println!("relocate clflush {:p}, {}", (f.fun) as *const u8, r); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `print` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | print!(" (hash: {:x})", hash); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::print; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/ip_tool.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | println!("{:p}", f.fun as *const u8); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `print` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | print!("Calibration for {:p}", pointer); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::print; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/ip_tool.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | println!("clflush {:p} : {}", p, unsafe { timed_clflush_template(p) }); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `eprintln` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | eprintln!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/ip_tool.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | println!("maccess {:p} : {}", p, unsafe { timed_maccess_template(p) }); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/ip_tool.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | println!("clflush function size : {}", size); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | println!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/ip_tool.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | println!("maccess function size : {}", size); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | println!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/ip_tool.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | println!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | println!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | println!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | println!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `print` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:329:17 [INFO] [stdout] | [INFO] [stdout] 329 | print!("{:x}, ", hash); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::print; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `print` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:328:17 [INFO] [stdout] | [INFO] [stdout] 328 | print!("CSV: {},{},{:p}, ", main_core, helper_core, pointer); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::print; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:320:21 [INFO] [stdout] | [INFO] [stdout] 320 | println!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:315:21 [INFO] [stdout] | [INFO] [stdout] 315 | println!(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `print` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:295:25 [INFO] [stdout] | [INFO] [stdout] 295 | print!(",{}", hist); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::print; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `print` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 285 | print!("{}", from_bucket(j)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::print; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `print` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:284:21 [INFO] [stdout] | [INFO] [stdout] 284 | print!("{:x},", hash); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::print; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `print` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:283:21 [INFO] [stdout] | [INFO] [stdout] 283 | print!("RESULT:{},{},{:p},", main_core, helper_core, pointer); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::print; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | println!(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `print` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | print!(" (hash: {:x})", hash); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::print; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `print` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | print!("Calibration for {:p}", pointer); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::print; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `eprintln` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | eprintln!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | println!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | println!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/ip_tool.rs:213:18 [INFO] [stdout] | [INFO] [stdout] 213 | unsafe { std::arch::x86_64::__cpuid(0) }; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::x86_64; [INFO] [stdout] | [INFO] [stdout] help: if you import `x86_64`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 213 - unsafe { std::arch::x86_64::__cpuid(0) }; [INFO] [stdout] 213 + unsafe { x86_64::__cpuid(0) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | println!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/ip_tool.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | std::mem::transmute::<*mut u8, unsafe extern "C" fn(*const u8) -> u64>(p) [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 3 + use core::mem; [INFO] [stdout] | [INFO] [stdout] help: if you import `mem`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 216 - std::mem::transmute::<*mut u8, unsafe extern "C" fn(*const u8) -> u64>(p) [INFO] [stdout] 216 + mem::transmute::<*mut u8, unsafe extern "C" fn(*const u8) -> u64>(p) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | println!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use vga_buffer::println; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/ip_tool.rs:230:18 [INFO] [stdout] | [INFO] [stdout] 230 | unsafe { std::ptr::write_bytes(p, 0xcc, self.size) }; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 3 + use crate::ptr; [INFO] [stdout] | [INFO] [stdout] 3 + use core::ptr; [INFO] [stdout] | [INFO] [stdout] help: if you import `ptr`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 230 - unsafe { std::ptr::write_bytes(p, 0xcc, self.size) }; [INFO] [stdout] 230 + unsafe { ptr::write_bytes(p, 0xcc, self.size) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/ip_tool.rs:213:18 [INFO] [stdout] | [INFO] [stdout] 213 | unsafe { std::arch::x86_64::__cpuid(0) }; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 3 + use core::arch::x86_64; [INFO] [stdout] | [INFO] [stdout] help: if you import `x86_64`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 213 - unsafe { std::arch::x86_64::__cpuid(0) }; [INFO] [stdout] 213 + unsafe { x86_64::__cpuid(0) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/ip_tool.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | std::mem::transmute::<*mut u8, unsafe extern "C" fn(*const u8) -> u64>(p) [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 3 + use core::mem; [INFO] [stdout] | [INFO] [stdout] help: if you import `mem`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 216 - std::mem::transmute::<*mut u8, unsafe extern "C" fn(*const u8) -> u64>(p) [INFO] [stdout] 216 + mem::transmute::<*mut u8, unsafe extern "C" fn(*const u8) -> u64>(p) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> cache_utils/src/ip_tool.rs:230:18 [INFO] [stdout] | [INFO] [stdout] 230 | unsafe { std::ptr::write_bytes(p, 0xcc, self.size) }; [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 3 + use crate::ptr; [INFO] [stdout] | [INFO] [stdout] 3 + use core::ptr; [INFO] [stdout] | [INFO] [stdout] help: if you import `ptr`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 230 - unsafe { std::ptr::write_bytes(p, 0xcc, self.size) }; [INFO] [stdout] 230 + unsafe { ptr::write_bytes(p, 0xcc, self.size) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument [INFO] [stdout] --> cache_utils/src/calibration.rs:1268:22 [INFO] [stdout] | [INFO] [stdout] 1268 | let output = map_values(input, |c| c.to_uppercase()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | takes 1 argument [INFO] [stdout] | expected closure that takes 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from` found for struct `NonZero` in the current scope [INFO] [stdout] --> cache_utils/src/mmap.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | NonZeroUsize::try_from(size * size_of::()).unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `NonZero` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `NonZero` consider using one of the following associated functions: [INFO] [stdout] NonZero::::new [INFO] [stdout] NonZero::::new_unchecked [INFO] [stdout] --> /rustc/249595384b4589c71a00d622c4253f62c7f5ddbd/library/core/src/num/nonzero.rs:355:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `TryFrom` which provides `try_from` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use core::convert::TryFrom; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 40 | NonZeroUsize::from(size * size_of::()).unwrap(), [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from` found for struct `NonZero` in the current scope [INFO] [stdout] --> cache_utils/src/mmap.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | NonZeroUsize::try_from(size * size_of::()).unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `NonZero` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `NonZero` consider using one of the following associated functions: [INFO] [stdout] NonZero::::new [INFO] [stdout] NonZero::::new_unchecked [INFO] [stdout] --> /rustc/249595384b4589c71a00d622c4253f62c7f5ddbd/library/core/src/num/nonzero.rs:355:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `TryFrom` which provides `try_from` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use core::convert::TryFrom; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 40 | NonZeroUsize::from(size * size_of::()).unwrap(), [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_into` found for type `i32` in the current scope [INFO] [stdout] --> cache_utils/src/frequency.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | match unsafe { sched_getcpu() }.try_into() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/249595384b4589c71a00d622c4253f62c7f5ddbd/library/core/src/convert/mod.rs:611:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `i32` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: 'core::convert::TryInto' is included in the prelude starting in Edition 2021 [INFO] [stdout] help: trait `TryInto` which provides `try_into` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use core::convert::TryInto; [INFO] [stdout] | [INFO] [stdout] help: there is a method `into` with a similar name [INFO] [stdout] | [INFO] [stdout] 27 | match unsafe { sched_getcpu() }.into() { [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_into` found for type `i32` in the current scope [INFO] [stdout] --> cache_utils/src/frequency.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | match unsafe { sched_getcpu() }.try_into() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/249595384b4589c71a00d622c4253f62c7f5ddbd/library/core/src/convert/mod.rs:611:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `i32` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: 'core::convert::TryInto' is included in the prelude starting in Edition 2021 [INFO] [stdout] help: trait `TryInto` which provides `try_into` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use core::convert::TryInto; [INFO] [stdout] | [INFO] [stdout] help: there is a method `into` with a similar name [INFO] [stdout] | [INFO] [stdout] 27 | match unsafe { sched_getcpu() }.into() { [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `wx_allocator` in the current scope [INFO] [stdout] --> cache_utils/src/ip_tool.rs:200:42 [INFO] [stdout] | [INFO] [stdout] 48 | / lazy_static! { [INFO] [stdout] 49 | | static ref wx_allocator: Mutex = Mutex::new(WXAllocator::new()); [INFO] [stdout] 50 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 200 | let mut allocator = wx_allocator.lock().unwrap(); [INFO] [stdout] | ^^^^ method not found in `wx_allocator` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `wx_allocator` in the current scope [INFO] [stdout] --> cache_utils/src/ip_tool.rs:231:42 [INFO] [stdout] | [INFO] [stdout] 48 | / lazy_static! { [INFO] [stdout] 49 | | static ref wx_allocator: Mutex = Mutex::new(WXAllocator::new()); [INFO] [stdout] 50 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 231 | let mut allocator = wx_allocator.lock().unwrap(); [INFO] [stdout] | ^^^^ method not found in `wx_allocator` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `wx_allocator` in the current scope [INFO] [stdout] --> cache_utils/src/ip_tool.rs:200:42 [INFO] [stdout] | [INFO] [stdout] 48 | / lazy_static! { [INFO] [stdout] 49 | | static ref wx_allocator: Mutex = Mutex::new(WXAllocator::new()); [INFO] [stdout] 50 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 200 | let mut allocator = wx_allocator.lock().unwrap(); [INFO] [stdout] | ^^^^ method not found in `wx_allocator` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `wx_allocator` in the current scope [INFO] [stdout] --> cache_utils/src/ip_tool.rs:231:42 [INFO] [stdout] | [INFO] [stdout] 48 | / lazy_static! { [INFO] [stdout] 49 | | static ref wx_allocator: Mutex = Mutex::new(WXAllocator::new()); [INFO] [stdout] 50 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 231 | let mut allocator = wx_allocator.lock().unwrap(); [INFO] [stdout] | ^^^^ method not found in `wx_allocator` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> cache_utils/src/calibrate_2t.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 61 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0593, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cache_utils` (lib test) due to 62 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 59 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cache_utils` (lib) due to 60 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "202a04e91902d6e8fc323a11892add988009e47512ab2501ed07c55ada136454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "202a04e91902d6e8fc323a11892add988009e47512ab2501ed07c55ada136454", kill_on_drop: false }` [INFO] [stdout] 202a04e91902d6e8fc323a11892add988009e47512ab2501ed07c55ada136454