[INFO] fetching crate staticinit 1.0.0... [INFO] checking staticinit-1.0.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate staticinit 1.0.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate staticinit 1.0.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate staticinit 1.0.0 [INFO] finished tweaking crates.io crate staticinit 1.0.0 [INFO] tweaked toml for crates.io crate staticinit 1.0.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 78 packages [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding cfg_aliases v0.1.1 (latest: v0.2.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.4) [INFO] [stderr] Adding criterion v0.3.6 (latest: v0.5.1) [INFO] [stderr] Adding criterion-plot v0.4.5 (latest: v0.5.0) [INFO] [stderr] Adding ctor v0.1.26 (latest: v0.2.7) [INFO] [stderr] Adding half v1.8.3 (latest: v2.4.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.12.1) [INFO] [stderr] Adding parking_lot v0.11.2 (latest: v0.12.1) [INFO] [stderr] Adding parking_lot_core v0.8.6 (latest: v0.9.9) [INFO] [stderr] Adding redox_syscall v0.2.16 (latest: v0.5.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.57) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded double-checked-cell v2.1.0 [INFO] [stderr] Downloaded static_init_macro v1.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b1935272e3560682d3b886932a64ca75cfa9e048b0b00fcc675766b08c767de [INFO] running `Command { std: "docker" "start" "-a" "6b1935272e3560682d3b886932a64ca75cfa9e048b0b00fcc675766b08c767de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b1935272e3560682d3b886932a64ca75cfa9e048b0b00fcc675766b08c767de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b1935272e3560682d3b886932a64ca75cfa9e048b0b00fcc675766b08c767de", kill_on_drop: false }` [INFO] [stdout] 6b1935272e3560682d3b886932a64ca75cfa9e048b0b00fcc675766b08c767de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e06e616751af1186ecfdcf71c07ab1f2153ecb2fc3d4edbe122f5fc9f3151c5e [INFO] running `Command { std: "docker" "start" "-a" "e06e616751af1186ecfdcf71c07ab1f2153ecb2fc3d4edbe122f5fc9f3151c5e", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling static_init_macro v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling staticinit v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking double-checked-cell v2.1.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stdout] warning: the item `Phase` is imported redundantly [INFO] [stdout] --> src/phase_locker/sync.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::phase::*; [INFO] [stdout] | --------------- the item `Phase` is already imported here [INFO] [stdout] 5 | use crate::{Phase, Phased}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Phase` is imported redundantly [INFO] [stdout] --> src/phase_locker/unsync.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::phase::*; [INFO] [stdout] | --------------- the item `Phase` is already imported here [INFO] [stdout] 3 | use crate::{Phase, Phased}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Phase` is imported redundantly [INFO] [stdout] --> src/phase_locker/sync.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::phase::*; [INFO] [stdout] | --------------- the item `Phase` is already imported here [INFO] [stdout] 5 | use crate::{Phase, Phased}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Phase` is imported redundantly [INFO] [stdout] --> src/phase_locker/unsync.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::phase::*; [INFO] [stdout] | --------------- the item `Phase` is already imported here [INFO] [stdout] 3 | use crate::{Phase, Phased}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `lock_mut` is never used [INFO] [stdout] --> src/lib.rs:388:8 [INFO] [stdout] | [INFO] [stdout] 364 | unsafe trait Sequentializer<'a, T: Sequential + 'a>: Sized + Phased { [INFO] [stdout] | -------------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 388 | fn lock_mut(target: &'a mut T) -> Self::WriteGuard; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `commit_phase` is never used [INFO] [stdout] --> src/phase_locker.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) unsafe trait PhaseGuard<'a, T: ?Sized + 'a> { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 41 | fn commit_phase(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lock_mut` and `phase` are never used [INFO] [stdout] --> src/phase_locker.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) unsafe trait PhaseLocker<'a, T: 'a> { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 71 | fn lock_mut(&'a mut self, value: &'a T) -> Self::WriteGuard; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn phase(&self) -> Phase; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/phase_locker/sync.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) struct MutexGuard<'a, T>(&'a mut T, Lock<'a>); [INFO] [stdout] | ---------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) struct MutexGuard<'a, T>(&'a mut T, ()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `phase` and `xor_phase` are never used [INFO] [stdout] --> src/phase_locker/sync.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 208 | impl<'a> Lock<'a> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn phase(&self) -> Phase { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn xor_phase(&self, xor: Phase) -> Phase { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lock_mut` is never used [INFO] [stdout] --> src/phase_locker/sync.rs:615:12 [INFO] [stdout] | [INFO] [stdout] 602 | impl SyncPhaseLocker { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 615 | pub fn lock_mut<'a, T: ?Sized>(&'a mut self, v: &'a T) -> SyncPhaseGuard<'_, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lock_mut` is never used [INFO] [stdout] --> src/phase_locker/unsync.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 216 | impl UnSyncPhaseLocker { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn lock_mut<'a, T: ?Sized>(&'a mut self, v: &'a T) -> UnSyncPhaseGuard<'_, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `lock_mut` is never used [INFO] [stdout] --> src/lib.rs:388:8 [INFO] [stdout] | [INFO] [stdout] 364 | unsafe trait Sequentializer<'a, T: Sequential + 'a>: Sized + Phased { [INFO] [stdout] | -------------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 388 | fn lock_mut(target: &'a mut T) -> Self::WriteGuard; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `commit_phase` is never used [INFO] [stdout] --> src/phase_locker.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) unsafe trait PhaseGuard<'a, T: ?Sized + 'a> { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 41 | fn commit_phase(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lock_mut` and `phase` are never used [INFO] [stdout] --> src/phase_locker.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) unsafe trait PhaseLocker<'a, T: 'a> { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 71 | fn lock_mut(&'a mut self, value: &'a T) -> Self::WriteGuard; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn phase(&self) -> Phase; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/phase_locker/sync.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) struct MutexGuard<'a, T>(&'a mut T, Lock<'a>); [INFO] [stdout] | ---------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) struct MutexGuard<'a, T>(&'a mut T, ()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `phase` and `xor_phase` are never used [INFO] [stdout] --> src/phase_locker/sync.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 208 | impl<'a> Lock<'a> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn phase(&self) -> Phase { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn xor_phase(&self, xor: Phase) -> Phase { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lock_mut` is never used [INFO] [stdout] --> src/phase_locker/sync.rs:615:12 [INFO] [stdout] | [INFO] [stdout] 602 | impl SyncPhaseLocker { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 615 | pub fn lock_mut<'a, T: ?Sized>(&'a mut self, v: &'a T) -> SyncPhaseGuard<'_, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lock_mut` is never used [INFO] [stdout] --> src/phase_locker/unsync.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 216 | impl UnSyncPhaseLocker { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn lock_mut<'a, T: ?Sized>(&'a mut self, v: &'a T) -> UnSyncPhaseGuard<'_, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stdout] error[E0432]: unresolved import `static_init` [INFO] [stdout] --> tests/lazy.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use static_init::{Lazy,LazyAccess,dynamic, Phase}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use staticinit::{Lazy,LazyAccess,dynamic, Phase}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_init` [INFO] [stdout] --> tests/locked_lazy.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use static_init::{LockedLazy,dynamic, Phase}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use staticinit::{LockedLazy,dynamic, Phase}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0010]: allocations are not allowed in statics [INFO] [stdout] --> tests/lazy.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | static NORMAL: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ allocation not allowed in statics [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0010]: allocations are not allowed in statics [INFO] [stdout] --> tests/locked_lazy.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | static mut NORMAL: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ allocation not allowed in statics [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `slice::::into_vec::` in statics [INFO] [stdout] --> tests/lazy.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | static NORMAL: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `slice::::into_vec::` in statics [INFO] [stdout] --> tests/locked_lazy.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | static mut NORMAL: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0010]: allocations are not allowed in statics [INFO] [stdout] --> tests/locked_lazy.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | static mut NORMAL1: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ allocation not allowed in statics [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `slice::::into_vec::` in statics [INFO] [stdout] --> tests/locked_lazy.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | static mut NORMAL1: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0010]: allocations are not allowed in statics [INFO] [stdout] --> tests/locked_lazy.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | static mut NORMAL2: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ allocation not allowed in statics [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `slice::::into_vec::` in statics [INFO] [stdout] --> tests/locked_lazy.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | static mut NORMAL2: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0010]: allocations are not allowed in statics [INFO] [stdout] --> tests/locked_lazy.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | static mut NORMAL3: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ allocation not allowed in statics [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `slice::::into_vec::` in statics [INFO] [stdout] --> tests/locked_lazy.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | static mut NORMAL3: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0010]: allocations are not allowed in statics [INFO] [stdout] --> tests/locked_lazy.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | static mut NORMAL4: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ allocation not allowed in statics [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `AtomicU32::fetch_add` in statics [INFO] [stdout] --> tests/lazy.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | if UNINIT_COUNT.fetch_add(1,Ordering::Relaxed) < 2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `slice::::into_vec::` in statics [INFO] [stdout] --> tests/locked_lazy.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | static mut NORMAL4: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0010]: allocations are not allowed in statics [INFO] [stdout] --> tests/lazy.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | vec![1,2] [INFO] [stdout] | ^^^^^^^^^ allocation not allowed in statics [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `slice::::into_vec::` in statics [INFO] [stdout] --> tests/lazy.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | vec![1,2] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `AtomicU32::fetch_add` in statics [INFO] [stdout] --> tests/locked_lazy.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | if UNINIT_COUNT.fetch_add(1,Ordering::Relaxed) < 2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `AtomicU32::fetch_add` in statics [INFO] [stdout] --> tests/lazy.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | UNINIT_ONCE_COUNT.fetch_add(1,Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0010]: allocations are not allowed in statics [INFO] [stdout] --> tests/locked_lazy.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | vec![1,2] [INFO] [stdout] | ^^^^^^^^^ allocation not allowed in statics [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `slice::::into_vec::` in statics [INFO] [stdout] --> tests/locked_lazy.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | vec![1,2] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0010]: allocations are not allowed in statics [INFO] [stdout] --> tests/lazy.rs:108:42 [INFO] [stdout] | [INFO] [stdout] 108 | static NORMAL_WITH_TOLERANCE: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ allocation not allowed in statics [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `slice::::into_vec::` in statics [INFO] [stdout] --> tests/lazy.rs:108:42 [INFO] [stdout] | [INFO] [stdout] 108 | static NORMAL_WITH_TOLERANCE: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `AtomicU32::fetch_add` in statics [INFO] [stdout] --> tests/locked_lazy.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | UNINIT_ONCE_COUNT.fetch_add(1,Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0010]: allocations are not allowed in statics [INFO] [stdout] --> tests/locked_lazy.rs:147:46 [INFO] [stdout] | [INFO] [stdout] 147 | static mut NORMAL_WITH_TOLERANCE: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ allocation not allowed in statics [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `slice::::into_vec::` in statics [INFO] [stdout] --> tests/locked_lazy.rs:147:46 [INFO] [stdout] | [INFO] [stdout] 147 | static mut NORMAL_WITH_TOLERANCE: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_init` [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use static_init::{dynamic, Phase,destructor,constructor}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use staticinit::{dynamic, Phase,destructor,constructor}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_init` [INFO] [stdout] --> benches/multi_threaded/synchronised_bench.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use static_init::dynamic; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use staticinit::dynamic; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_init` [INFO] [stdout] --> benches/multi_threaded/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use static_init::{dynamic, Generator, GeneratorTolerance, Lazy, LockedLazy}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | use staticinit::{dynamic, Generator, GeneratorTolerance, Lazy, LockedLazy}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_init` [INFO] [stdout] --> tests/lesser_locked_lazy.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use static_init::{dynamic, Phase,constructor}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use staticinit::{dynamic, Phase,constructor}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | assert!(NORMAL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0010, E0015, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0010`. [INFO] [stdout] [INFO] [stdout] error[E0658]: `for` is not allowed in a `static` [INFO] [stdout] --> benches/multi_threaded/main.rs:760:17 [INFO] [stdout] | [INFO] [stdout] 760 | / for _ in 0..128 { [INFO] [stdout] 761 | | v.push(AtomicUsize::new(0)); [INFO] [stdout] 762 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 894 | heavy_bench! {heavy_mutlazy,LockedLazy, read_access, write_access} [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #87575 for more information [INFO] [stdout] = help: add `#![feature(const_for)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-03-29; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `heavy_bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `for` is not allowed in a `static` [INFO] [stdout] --> benches/multi_threaded/main.rs:760:17 [INFO] [stdout] | [INFO] [stdout] 760 | / for _ in 0..128 { [INFO] [stdout] 761 | | v.push(AtomicUsize::new(0)); [INFO] [stdout] 762 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 895 | heavy_bench! {heavy_rwmut,RwMut, read_access, write_access} [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #87575 for more information [INFO] [stdout] = help: add `#![feature(const_for)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-03-29; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `heavy_bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `for` is not allowed in a `static` [INFO] [stdout] --> benches/multi_threaded/main.rs:760:17 [INFO] [stdout] | [INFO] [stdout] 760 | / for _ in 0..128 { [INFO] [stdout] 761 | | v.push(AtomicUsize::new(0)); [INFO] [stdout] 762 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 897 | heavy_bench! {heavy_fast_mutlazy,LockedLazy, fast_read_access, fast_write_access} [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #87575 for more information [INFO] [stdout] = help: add `#![feature(const_for)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-03-29; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `heavy_bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0010]: allocations are not allowed in statics [INFO] [stdout] --> tests/lesser_locked_lazy.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | static mut NORMAL: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ allocation not allowed in statics [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `for` is not allowed in a `static` [INFO] [stdout] --> benches/multi_threaded/main.rs:760:17 [INFO] [stdout] | [INFO] [stdout] 760 | / for _ in 0..128 { [INFO] [stdout] 761 | | v.push(AtomicUsize::new(0)); [INFO] [stdout] 762 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 898 | heavy_bench! {heavy_fast_rwmut,RwMut, fast_read_access, fast_write_access} [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #87575 for more information [INFO] [stdout] = help: add `#![feature(const_for)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-03-29; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `heavy_bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `A::new` in statics [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | static mut NORMAL: A = A::new(33); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `staticinit` (test "lazy") due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0015]: cannot call non-const fn `B::new` in statics [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | static mut PRE_INITED_NORMAL: B = B::new(12); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `C::new` in statics [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:144:39 [INFO] [stdout] | [INFO] [stdout] 144 | static mut NORMAL_WITH_TOLERANCE: C = C::new(33); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `slice::::into_vec::` in statics [INFO] [stdout] --> tests/lesser_locked_lazy.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | static mut NORMAL: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_init` [INFO] [stdout] --> tests/primed_lesser_locked_lazy_drop.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use static_init::{dynamic, Uninit, Phase,destructor,constructor}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use staticinit::{dynamic, Uninit, Phase,destructor,constructor}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0010]: allocations are not allowed in statics [INFO] [stdout] --> tests/lesser_locked_lazy.rs:39:42 [INFO] [stdout] | [INFO] [stdout] 39 | static mut PRE_INITED_NORMAL: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ allocation not allowed in statics [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `slice::::into_vec::` in statics [INFO] [stdout] --> tests/lesser_locked_lazy.rs:39:42 [INFO] [stdout] | [INFO] [stdout] 39 | static mut PRE_INITED_NORMAL: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_init` [INFO] [stdout] --> tests/locked_lazy_drop.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use static_init::{dynamic, Phase,destructor}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use staticinit::{dynamic, Phase,destructor}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `staticinit` (bench "multi_threaded") due to 7 previous errors [INFO] [stdout] error[E0599]: no method named `phase` found for struct `A` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 6 | struct A(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 25 | assert!(NORMAL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `A` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INIT` in this scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy_drop.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | static mut NORMAL: A = match INIT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INIT` in this scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy_drop.rs:104:41 [INFO] [stdout] | [INFO] [stdout] 104 | static mut PRE_INITED_NORMAL: B = match INIT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INIT` in this scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy_drop.rs:171:45 [INFO] [stdout] | [INFO] [stdout] 171 | static mut NORMAL_WITH_TOLERANCE: C = match INIT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(NORMAL.phase(), Phase::INITIALIZED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `A::new` in statics [INFO] [stdout] --> tests/locked_lazy_drop.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | static mut NORMAL: A = A::new(33); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [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 `staticinit` (test "primed_lesser_locked_lazy_drop") due to 5 previous errors [INFO] [stdout] error[E0015]: cannot call non-const fn `AtomicU32::fetch_add` in statics [INFO] [stdout] --> tests/locked_lazy_drop.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | if UNINIT_COUNT.fetch_add(1,Ordering::Relaxed) < 2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `B::new` in statics [INFO] [stdout] --> tests/locked_lazy_drop.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | B::new(42) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `AtomicU32::fetch_add` in statics [INFO] [stdout] --> tests/locked_lazy_drop.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | UNINIT_ONCE_COUNT.fetch_add(1,Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `C::new` in statics [INFO] [stdout] --> tests/locked_lazy_drop.rs:198:39 [INFO] [stdout] | [INFO] [stdout] 198 | static mut NORMAL_WITH_TOLERANCE: C = C::new(33); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `D::new` in statics [INFO] [stdout] --> tests/locked_lazy_drop.rs:223:35 [INFO] [stdout] | [INFO] [stdout] 223 | static mut ATEMPT_AFTER_MAIN: D = D::new(33); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `D::new` in statics [INFO] [stdout] --> tests/locked_lazy_drop.rs:226:39 [INFO] [stdout] | [INFO] [stdout] 226 | static mut ATEMPT_AFTER_MAIN_TOL: D = D::new(33); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | assert!(NORMAL.try_read().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 27 | assert!(NORMAL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `A` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `A` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 6 | struct A(u32); [INFO] [stdout] | -------- method `try_read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 27 | assert!(NORMAL.try_read().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(*NORMAL.try_read().unwrap(),vec![1,2]); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------- method `try_read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 29 | assert!(NORMAL.try_read().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | assert!(NORMAL.try_write().is_err()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_write` found for struct `A` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 6 | struct A(u32); [INFO] [stdout] | -------- method `try_write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 29 | assert!(NORMAL.try_write().is_err()); [INFO] [stdout] | ^^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_write` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------- method `try_write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 31 | assert!(NORMAL.try_write().is_err()); [INFO] [stdout] | ^^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(*NORMAL.try_write().unwrap(),vec![1,2]); [INFO] [stdout] | ^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_try_read` found for struct `A` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 6 | struct A(u32); [INFO] [stdout] | -------- method `fast_try_read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 31 | assert!(NORMAL.fast_try_read().unwrap().is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | assert!(NORMAL.fast_try_read().unwrap().is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_try_read` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------- method `fast_try_read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 33 | assert!(NORMAL.fast_try_read().unwrap().is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(*NORMAL.fast_try_read().unwrap().unwrap(),vec![1,2]); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_try_write` found for struct `A` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 6 | struct A(u32); [INFO] [stdout] | -------- method `fast_try_write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 33 | assert!(NORMAL.fast_try_write().unwrap().is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `A` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 6 | struct A(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 35 | assert!(NORMAL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `A` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `A` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 6 | struct A(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 41 | assert!(NORMAL.phase() == Phase::INITIALIZED|Phase::REGISTERED); [INFO] [stdout] | ^^^^^ method not found in `A` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_try_write` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------- method `fast_try_write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 35 | assert!(NORMAL.fast_try_write().unwrap().is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 37 | assert!(NORMAL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `A` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_try_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | assert!(NORMAL.fast_try_write().unwrap().is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | assert!(NORMAL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `A` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 6 | struct A(u32); [INFO] [stdout] | -------- method `try_read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 43 | assert_eq!(NORMAL.try_read().unwrap().0, 33); [INFO] [stdout] | ^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------- method `read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 39 | assert_eq!(NORMAL.read().0, 33); [INFO] [stdout] | ^^^^ method not found in `A` [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 traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `serde_cbor::de::Read` [INFO] [stdout] candidate #2: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_try_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(*NORMAL.fast_try_write().unwrap().unwrap(),vec![1,2]); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | assert_eq!(NORMAL.read().len(), 2); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_write` found for struct `A` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 6 | struct A(u32); [INFO] [stdout] | -------- method `try_write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 45 | assert_eq!(NORMAL.try_write().unwrap().0, 33); [INFO] [stdout] | ^^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(*NORMAL.read(),vec![1,2]); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_try_read` found for struct `A` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 6 | struct A(u32); [INFO] [stdout] | -------- method `fast_try_read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 47 | assert_eq!(NORMAL.fast_try_read().unwrap().unwrap().0, 33); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 41 | assert_eq!(NORMAL.write().0, 33); [INFO] [stdout] | ^^^^^ method not found in `A` [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 traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `itoa::private::Sealed` [INFO] [stdout] candidate #3: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_try_write` found for struct `A` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 6 | struct A(u32); [INFO] [stdout] | -------- method `fast_try_write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 49 | assert_eq!(NORMAL.fast_try_write().unwrap().unwrap().0, 33); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `A` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 6 | struct A(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 51 | assert!(NORMAL.phase() == Phase::INITIALIZED|Phase::REGISTERED); [INFO] [stdout] | ^^^^^ method not found in `A` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_write` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------- method `fast_write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 43 | assert_eq!(NORMAL.fast_write().unwrap().0, 33); [INFO] [stdout] | ^^^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(NORMAL.write().len(), 2); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | NORMAL.write().push(3); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_read` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------- method `fast_read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 45 | assert_eq!(NORMAL.fast_read().unwrap().0, 33); [INFO] [stdout] | ^^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `A` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 6 | struct A(u32); [INFO] [stdout] | -------- method `read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 53 | assert_eq!(NORMAL.read().0, 33); [INFO] [stdout] | ^^^^ method not found in `A` [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 traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `serde_cbor::de::Read` [INFO] [stdout] candidate #2: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | assert_eq!(NORMAL.fast_read().unwrap().len(), 2); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_ref` with a similar name [INFO] [stdout] | [INFO] [stdout] 35 | assert_eq!(NORMAL.as_ref().unwrap().len(), 2); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_try_write` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------- method `fast_try_write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 47 | assert_eq!(NORMAL.fast_try_write().unwrap().unwrap().0, 33); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | NORMAL.try_write().unwrap().push(4); [INFO] [stdout] | ^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_try_read` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------- method `fast_try_read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 49 | assert_eq!(NORMAL.fast_try_read().unwrap().unwrap().0, 33); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | assert_eq!(NORMAL.fast_write().unwrap().len(), 2); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `A` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 6 | struct A(u32); [INFO] [stdout] | -------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 55 | NORMAL.write().0 = 12; [INFO] [stdout] | ^^^^^ method not found in `A` [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 traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `itoa::private::Sealed` [INFO] [stdout] candidate #3: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 51 | assert!(NORMAL.phase() == Phase::INITIALIZED|Phase::REGISTERED); [INFO] [stdout] | ^^^^^ method not found in `A` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_try_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | NORMAL.fast_try_write().unwrap().unwrap().push(5); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `A` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 6 | struct A(u32); [INFO] [stdout] | -------- method `read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 57 | assert_eq!(NORMAL.read().0, 12); [INFO] [stdout] | ^^^^ method not found in `A` [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 traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `serde_cbor::de::Read` [INFO] [stdout] candidate #2: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `B` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 67 | struct B(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 91 | assert!(PRE_INITED_NORMAL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `B` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------- method `try_read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 53 | assert_eq!(NORMAL.try_read().unwrap().0, 33); [INFO] [stdout] | ^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(*NORMAL.read(),vec![1,2,3,4,5]); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 55 | assert!(NORMAL.phase() == Phase::INITIALIZED|Phase::REGISTERED); [INFO] [stdout] | ^^^^^ method not found in `A` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | assert!(NORMAL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `B` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:93:31 [INFO] [stdout] | [INFO] [stdout] 67 | struct B(u32); [INFO] [stdout] | -------- method `try_read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 93 | assert!(PRE_INITED_NORMAL.try_read().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `B` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 67 | struct B(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 95 | assert!(PRE_INITED_NORMAL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `B` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | assert!(NORMAL.try_read().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(NORMAL1.write().len(), 2); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | assert!(NORMAL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | assert!(PRE_INITED_NORMAL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `B` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 67 | struct B(u32); [INFO] [stdout] | -------- method `read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 97 | assert_eq!(PRE_INITED_NORMAL.read().0, 12); [INFO] [stdout] | ^^^^ method not found in `B` [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 traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `serde_cbor::de::Read` [INFO] [stdout] candidate #2: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `B` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:99:31 [INFO] [stdout] | [INFO] [stdout] 67 | struct B(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 99 | assert!(PRE_INITED_NORMAL.phase() == Phase::INITIALIZED|Phase::REGISTERED); [INFO] [stdout] | ^^^^^ method not found in `B` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | assert_eq!(NORMAL2.fast_read().unwrap().len(), 2); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_ref` with a similar name [INFO] [stdout] | [INFO] [stdout] 41 | assert_eq!(NORMAL2.as_ref().unwrap().len(), 2); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | assert!(PRE_INITED_NORMAL.try_read().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 57 | NORMAL.write().0 = 12; [INFO] [stdout] | ^^^^^ method not found in `A` [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 traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `itoa::private::Sealed` [INFO] [stdout] candidate #3: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | assert!(PRE_INITED_NORMAL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `B` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:101:34 [INFO] [stdout] | [INFO] [stdout] 67 | struct B(u32); [INFO] [stdout] | -------- method `try_read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 101 | assert_eq!(PRE_INITED_NORMAL.try_read().unwrap().0,12); [INFO] [stdout] | ^^^^^^^^ method not found in `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `B` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 67 | struct B(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 103 | assert!(PRE_INITED_NORMAL.phase() == Phase::INITIALIZED|Phase::REGISTERED); [INFO] [stdout] | ^^^^^ method not found in `B` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------- method `read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 59 | assert_eq!(NORMAL.read().0, 12); [INFO] [stdout] | ^^^^ method not found in `A` [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 traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `serde_cbor::de::Read` [INFO] [stdout] candidate #2: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(PRE_INITED_NORMAL.read().len(), 2); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | assert_eq!(NORMAL3.fast_write().unwrap().len(), 2); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | assert!(PRE_INITED_NORMAL.phase() == Phase::INITIALIZED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `init` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | NORMAL4.init(); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `B` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:105:34 [INFO] [stdout] | [INFO] [stdout] 67 | struct B(u32); [INFO] [stdout] | -------- method `read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 105 | assert_eq!(PRE_INITED_NORMAL.read().0, 12); [INFO] [stdout] | ^^^^ method not found in `B` [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 traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `serde_cbor::de::Read` [INFO] [stdout] candidate #2: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | assert!(PRE_INITED_NORMAL.try_read().unwrap().len()==2); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_write` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------- method `fast_write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 61 | NORMAL.fast_write().unwrap().0 += 21; [INFO] [stdout] | ^^^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | assert!(PRE_INITED_NORMAL.phase() == Phase::INITIALIZED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | assert_eq!(NORMAL4.fast_try_read().unwrap().unwrap().len(), 2); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | assert!(NORMAL.phase() == Phase::INITIALIZED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------- method `read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 63 | assert_eq!(NORMAL.read().0, 33); [INFO] [stdout] | ^^^^ method not found in `A` [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 traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `serde_cbor::de::Read` [INFO] [stdout] candidate #2: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(*PRE_INITED_NORMAL.read(), vec![1,2]); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | assert!(NORMAL.try_read().unwrap().len()==2); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `B` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 67 | struct B(u32); [INFO] [stdout] | -------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 107 | PRE_INITED_NORMAL.write().0 = 33; [INFO] [stdout] | ^^^^^ method not found in `B` [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 traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `itoa::private::Sealed` [INFO] [stdout] candidate #3: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_try_write` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------- method `fast_try_write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 65 | NORMAL.fast_try_write().unwrap().unwrap().0 += 9; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `B` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 67 | struct B(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 112 | assert_eq!(PRE_INITED_NORMAL.phase(), Phase::INITIALIZED|Phase::REGISTERED); [INFO] [stdout] | ^^^^^ method not found in `B` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------- method `read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 67 | assert_eq!(NORMAL.read().0, 42); [INFO] [stdout] | ^^^^ method not found in `A` [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 traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `serde_cbor::de::Read` [INFO] [stdout] candidate #2: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | assert!(NORMAL.try_write().unwrap().len()==2); [INFO] [stdout] | ^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(*PRE_INITED_NORMAL.write(), vec![1,2]); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 110 | assert!(INIT_MAY_PANICK.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `B` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `B` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:114:34 [INFO] [stdout] | [INFO] [stdout] 67 | struct B(u32); [INFO] [stdout] | -------- method `try_read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 114 | assert_eq!(PRE_INITED_NORMAL.try_read().unwrap().0,33); [INFO] [stdout] | ^^^^^^^^ method not found in `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------- method `try_read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 112 | assert!(INIT_MAY_PANICK.try_read().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 114 | assert!(INIT_MAY_PANICK.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `B` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_try_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | assert!(NORMAL.fast_try_write().unwrap().unwrap().len()==2); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `B` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 67 | struct B(u32); [INFO] [stdout] | -------- method `read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 116 | assert_eq!(PRE_INITED_NORMAL.read().0,33); [INFO] [stdout] | ^^^^ method not found in `B` [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 traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `serde_cbor::de::Read` [INFO] [stdout] candidate #2: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------- method `read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 116 | assert!(catch_unwind(|| INIT_MAY_PANICK.read().0).is_err()); [INFO] [stdout] | ^^^^ method not found in `B` [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 traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `serde_cbor::de::Read` [INFO] [stdout] candidate #2: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | PRE_INITED_NORMAL.write().push(3); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `C` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:149:38 [INFO] [stdout] | [INFO] [stdout] 123 | struct C(u32); [INFO] [stdout] | -------- method `read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 149 | assert_eq!(NORMAL_WITH_TOLERANCE.read().0, 33); [INFO] [stdout] | ^^^^ method not found in `C` [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 traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `serde_cbor::de::Read` [INFO] [stdout] candidate #2: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:120:32 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 120 | assert_eq!(INIT_MAY_PANICK.phase(), Phase::REGISTERED | Phase::INITIALIZATION_PANICKED | Phase::INITIALIZATION_SKIPED); [INFO] [stdout] | ^^^^^ method not found in `B` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | assert_eq!(PRE_INITED_NORMAL.phase(), Phase::INITIALIZED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `C` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:151:35 [INFO] [stdout] | [INFO] [stdout] 123 | struct C(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 151 | assert!(NORMAL_WITH_TOLERANCE.phase() == Phase::INITIALIZED|Phase::REGISTERED); [INFO] [stdout] | ^^^^^ method not found in `C` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | assert!(NORMAL.fast_try_read().unwrap().unwrap().len()==2); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | assert!(NORMAL.phase() == Phase::INITIALIZED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:122:45 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------- method `read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 122 | assert!(catch_unwind(|| INIT_MAY_PANICK.read().0).is_err()); [INFO] [stdout] | ^^^^ method not found in `B` [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 traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `serde_cbor::de::Read` [INFO] [stdout] candidate #2: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | assert_eq!(*PRE_INITED_NORMAL.try_read().unwrap(),vec![1,2,3]); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `C` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:153:38 [INFO] [stdout] | [INFO] [stdout] 123 | struct C(u32); [INFO] [stdout] | -------- method `try_read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 153 | assert_eq!(NORMAL_WITH_TOLERANCE.try_read().unwrap().0, 33); [INFO] [stdout] | ^^^^^^^^ method not found in `C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:126:32 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 126 | assert_eq!(INIT_MAY_PANICK.phase(), Phase::REGISTERED | Phase::INITIALIZATION_PANICKED | Phase::INITIALIZATION_SKIPED); [INFO] [stdout] | ^^^^^ method not found in `B` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | assert_eq!(*NORMAL.read(), vec![1,2]); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `C` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:155:35 [INFO] [stdout] | [INFO] [stdout] 123 | struct C(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 155 | assert!(NORMAL_WITH_TOLERANCE.phase() == Phase::INITIALIZED|Phase::REGISTERED); [INFO] [stdout] | ^^^^^ method not found in `C` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 70 | assert_eq!(*PRE_INITED_NORMAL.read(),vec![1,2,3]); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:128:32 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------- method `read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 128 | assert_eq!(INIT_MAY_PANICK.read().0, 42); [INFO] [stdout] | ^^^^ method not found in `B` [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 traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `serde_cbor::de::Read` [INFO] [stdout] candidate #2: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 132 | assert!(INIT_MAY_PANICK.phase() == Phase::REGISTERED | Phase::INITIALIZED); [INFO] [stdout] | ^^^^^ method not found in `B` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `C` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:157:38 [INFO] [stdout] | [INFO] [stdout] 123 | struct C(u32); [INFO] [stdout] | -------- method `read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 157 | assert_eq!(NORMAL_WITH_TOLERANCE.read().0, 33); [INFO] [stdout] | ^^^^ method not found in `C` [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 traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `serde_cbor::de::Read` [INFO] [stdout] candidate #2: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:134:32 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------- method `try_read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 134 | assert_eq!(INIT_MAY_PANICK.try_read().unwrap().0,42); [INFO] [stdout] | ^^^^^^^^ method not found in `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 136 | assert!(INIT_MAY_PANICK.phase() == Phase::REGISTERED | Phase::INITIALIZED); [INFO] [stdout] | ^^^^^ method not found in `B` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | NORMAL.write().push(3); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 72 | assert_eq!(*PRE_INITED_NORMAL.write(),vec![1,2,3]); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0010, E0015, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0010`. [INFO] [stdout] [INFO] [stderr] error: could not compile `staticinit` (test "lesser_locked_lazy") due to 33 previous errors [INFO] [stdout] error[E0599]: no method named `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | assert_eq!(*NORMAL.read(), vec![1,2,3]); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | assert!(INIT_MAY_PANICK.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `C` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:159:38 [INFO] [stdout] | [INFO] [stdout] 123 | struct C(u32); [INFO] [stdout] | -------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 159 | assert_eq!(NORMAL_WITH_TOLERANCE.write().0, 33); [INFO] [stdout] | ^^^^^ method not found in `C` [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 traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `itoa::private::Sealed` [INFO] [stdout] candidate #3: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `staticinit` (test "lesser_locked_lazy_drop") due to 38 previous errors [INFO] [stdout] error[E0599]: no method named `write` found for struct `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 138 | assert_eq!(INIT_MAY_PANICK.write().0, 42); [INFO] [stdout] | ^^^^^ method not found in `B` [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 traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `itoa::private::Sealed` [INFO] [stdout] candidate #3: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | assert!(INIT_MAY_PANICK.try_read().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | assert!(INIT_MAY_PANICK.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:140:32 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------- method `read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 140 | assert_eq!(INIT_MAY_PANICK.read().0, 42); [INFO] [stdout] | ^^^^ method not found in `B` [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 traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `serde_cbor::de::Read` [INFO] [stdout] candidate #2: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 175 | assert!(UNINITIALIZABLE.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `C` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:177:29 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------- method `try_read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 177 | assert!(UNINITIALIZABLE.try_read().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:179:29 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 179 | assert!(UNINITIALIZABLE.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `C` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:86:45 [INFO] [stdout] | [INFO] [stdout] 86 | assert!(catch_unwind(|| INIT_MAY_PANICK.write().len()).is_err()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | assert_eq!(INIT_MAY_PANICK.phase(), Phase::INITIALIZATION_PANICKED | Phase::INITIALIZATION_SKIPED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:181:45 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------- method `read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 181 | assert!(catch_unwind(|| UNINITIALIZABLE.read().0).is_err()); [INFO] [stdout] | ^^^^ method not found in `C` [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 traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `serde_cbor::de::Read` [INFO] [stdout] candidate #2: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 185 | assert_eq!(UNINITIALIZABLE.phase(), Phase::REGISTERED | Phase::INITIALIZATION_PANICKED | Phase::INITIALIZATION_SKIPED); [INFO] [stdout] | ^^^^^ method not found in `C` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | assert!(catch_unwind(|| INIT_MAY_PANICK.read().len()).is_err()); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | assert_eq!(INIT_MAY_PANICK.phase(), Phase::INITIALIZATION_PANICKED | Phase::INITIALIZATION_SKIPED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_write` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------- method `fast_write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 187 | assert!(catch_unwind(|| UNINITIALIZABLE.fast_write().unwrap().0).is_err()); [INFO] [stdout] | ^^^^^^^^^^ method not found in `C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:191:32 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 191 | assert_eq!(UNINITIALIZABLE.phase(), Phase::REGISTERED | Phase::INITIALIZATION_PANICKED | Phase::INITIALIZATION_SKIPED); [INFO] [stdout] | ^^^^^ method not found in `C` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(INIT_MAY_PANICK.read().len(), 2); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:203:35 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 203 | assert!(NORMAL_WITH_TOLERANCE.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `C` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 102 | assert!(INIT_MAY_PANICK.phase() == Phase::INITIALIZED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:205:35 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------- method `try_read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 205 | assert!(NORMAL_WITH_TOLERANCE.try_read().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | assert!(INIT_MAY_PANICK.try_read().unwrap().len()==2); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 207 | assert!(NORMAL_WITH_TOLERANCE.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `C` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | assert!(INIT_MAY_PANICK.phase() == Phase::INITIALIZED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:209:38 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------- method `read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 209 | assert_eq!(NORMAL_WITH_TOLERANCE.read().0, 33); [INFO] [stdout] | ^^^^ method not found in `C` [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 traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `serde_cbor::de::Read` [INFO] [stdout] candidate #2: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:108:33 [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(*INIT_MAY_PANICK.read(), vec![1,2]); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:211:35 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 211 | assert!(NORMAL_WITH_TOLERANCE.phase() == Phase::INITIALIZED|Phase::REGISTERED); [INFO] [stdout] | ^^^^^ method not found in `C` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:213:38 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------- method `try_read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 213 | assert_eq!(NORMAL_WITH_TOLERANCE.try_read().unwrap().0, 33); [INFO] [stdout] | ^^^^^^^^ method not found in `C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:215:35 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 215 | assert!(NORMAL_WITH_TOLERANCE.phase() == Phase::INITIALIZED|Phase::REGISTERED); [INFO] [stdout] | ^^^^^ method not found in `C` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:217:38 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------- method `read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 217 | assert_eq!(NORMAL_WITH_TOLERANCE.read().0, 33); [INFO] [stdout] | ^^^^ method not found in `C` [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 traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `serde_cbor::de::Read` [INFO] [stdout] candidate #2: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 110 | assert_eq!(*INIT_MAY_PANICK.write(), vec![1,2]); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:124:29 [INFO] [stdout] | [INFO] [stdout] 124 | assert!(UNINITIALIZABLE.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:126:29 [INFO] [stdout] | [INFO] [stdout] 126 | assert!(UNINITIALIZABLE.try_read().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | assert!(UNINITIALIZABLE.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:219:38 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 219 | assert_eq!(NORMAL_WITH_TOLERANCE.write().0, 33); [INFO] [stdout] | ^^^^^ method not found in `C` [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 traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `itoa::private::Sealed` [INFO] [stdout] candidate #3: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `D` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:252:35 [INFO] [stdout] | [INFO] [stdout] 230 | struct D(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 252 | assert!(ATEMPT_AFTER_MAIN_TOL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `D` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:130:45 [INFO] [stdout] | [INFO] [stdout] 130 | assert!(catch_unwind(|| UNINITIALIZABLE.fast_read().unwrap().len()).is_err()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_ref` with a similar name [INFO] [stdout] | [INFO] [stdout] 130 | assert!(catch_unwind(|| UNINITIALIZABLE.as_ref().unwrap().len()).is_err()); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:134:32 [INFO] [stdout] | [INFO] [stdout] 134 | assert_eq!(UNINITIALIZABLE.phase(), Phase::INITIALIZATION_PANICKED | Phase::INITIALIZATION_SKIPED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `D` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:254:35 [INFO] [stdout] | [INFO] [stdout] 230 | struct D(u32); [INFO] [stdout] | -------- method `try_read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 254 | assert!(ATEMPT_AFTER_MAIN_TOL.try_read().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `D` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:256:35 [INFO] [stdout] | [INFO] [stdout] 230 | struct D(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 256 | assert!(ATEMPT_AFTER_MAIN_TOL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `D` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `D` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:258:38 [INFO] [stdout] | [INFO] [stdout] 230 | struct D(u32); [INFO] [stdout] | -------- method `read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 258 | assert_eq!(ATEMPT_AFTER_MAIN_TOL.read().0, 33); [INFO] [stdout] | ^^^^ method not found in `D` [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 traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `serde_cbor::de::Read` [INFO] [stdout] candidate #2: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `D` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:260:35 [INFO] [stdout] | [INFO] [stdout] 230 | struct D(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 260 | assert!(ATEMPT_AFTER_MAIN_TOL.phase() == Phase::INITIALIZED | Phase::REGISTRATION_REFUSED); [INFO] [stdout] | ^^^^^ method not found in `D` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:136:45 [INFO] [stdout] | [INFO] [stdout] 136 | assert!(catch_unwind(|| UNINITIALIZABLE.write().len()).is_err()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:140:32 [INFO] [stdout] | [INFO] [stdout] 140 | assert_eq!(UNINITIALIZABLE.phase(), Phase::INITIALIZATION_PANICKED | Phase::INITIALIZATION_SKIPED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `D` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:262:38 [INFO] [stdout] | [INFO] [stdout] 230 | struct D(u32); [INFO] [stdout] | -------- method `try_read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 262 | assert_eq!(ATEMPT_AFTER_MAIN_TOL.try_read().unwrap().0, 33); [INFO] [stdout] | ^^^^^^^^ method not found in `D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:152:35 [INFO] [stdout] | [INFO] [stdout] 152 | assert!(NORMAL_WITH_TOLERANCE.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `D` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:264:35 [INFO] [stdout] | [INFO] [stdout] 230 | struct D(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 264 | assert!(ATEMPT_AFTER_MAIN_TOL.phase() == Phase::INITIALIZED|Phase::REGISTRATION_REFUSED); [INFO] [stdout] | ^^^^^ method not found in `D` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `D` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:266:38 [INFO] [stdout] | [INFO] [stdout] 230 | struct D(u32); [INFO] [stdout] | -------- method `read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 266 | assert_eq!(ATEMPT_AFTER_MAIN_TOL.read().0, 33); [INFO] [stdout] | ^^^^ method not found in `D` [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 traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `serde_cbor::de::Read` [INFO] [stdout] candidate #2: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:154:35 [INFO] [stdout] | [INFO] [stdout] 154 | assert!(NORMAL_WITH_TOLERANCE.try_read().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:156:35 [INFO] [stdout] | [INFO] [stdout] 156 | assert!(NORMAL_WITH_TOLERANCE.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:158:38 [INFO] [stdout] | [INFO] [stdout] 158 | assert_eq!(NORMAL_WITH_TOLERANCE.read().len(), 2); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:160:35 [INFO] [stdout] | [INFO] [stdout] 160 | assert!(NORMAL_WITH_TOLERANCE.phase() == Phase::INITIALIZED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `D` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:268:38 [INFO] [stdout] | [INFO] [stdout] 230 | struct D(u32); [INFO] [stdout] | -------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 268 | assert_eq!(ATEMPT_AFTER_MAIN_TOL.write().0, 33); [INFO] [stdout] | ^^^^^ method not found in `D` [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 traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `itoa::private::Sealed` [INFO] [stdout] candidate #3: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:162:38 [INFO] [stdout] | [INFO] [stdout] 162 | assert_eq!(NORMAL_WITH_TOLERANCE.try_read().unwrap().len(), 2); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `D` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:272:31 [INFO] [stdout] | [INFO] [stdout] 230 | struct D(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 272 | assert!(ATEMPT_AFTER_MAIN.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `D` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:164:35 [INFO] [stdout] | [INFO] [stdout] 164 | assert!(NORMAL_WITH_TOLERANCE.phase() == Phase::INITIALIZED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `D` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:274:31 [INFO] [stdout] | [INFO] [stdout] 230 | struct D(u32); [INFO] [stdout] | -------- method `try_read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 274 | assert!(ATEMPT_AFTER_MAIN.try_read().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `D` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:276:31 [INFO] [stdout] | [INFO] [stdout] 230 | struct D(u32); [INFO] [stdout] | -------- method `phase` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 276 | assert!(ATEMPT_AFTER_MAIN.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `D` [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 traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::LazyAccess` [INFO] [stdout] candidate #2: `staticinit::Phased` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 70 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `staticinit` (test "locked_lazy_drop") due to 71 previous errors [INFO] [stdout] error[E0599]: no method named `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:166:39 [INFO] [stdout] | [INFO] [stdout] 166 | assert_eq!(*NORMAL_WITH_TOLERANCE.write(), vec![1,2]); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:168:38 [INFO] [stdout] | [INFO] [stdout] 168 | assert_eq!(NORMAL_WITH_TOLERANCE.read().len(), 2); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 70 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0010, E0015, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0010`. [INFO] [stdout] [INFO] [stderr] error: could not compile `staticinit` (test "locked_lazy") due to 71 previous errors [INFO] running `Command { std: "docker" "inspect" "e06e616751af1186ecfdcf71c07ab1f2153ecb2fc3d4edbe122f5fc9f3151c5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e06e616751af1186ecfdcf71c07ab1f2153ecb2fc3d4edbe122f5fc9f3151c5e", kill_on_drop: false }` [INFO] [stdout] e06e616751af1186ecfdcf71c07ab1f2153ecb2fc3d4edbe122f5fc9f3151c5e [INFO] checking staticinit-1.0.0 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate staticinit 1.0.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate staticinit 1.0.0 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate staticinit 1.0.0 [INFO] finished tweaking crates.io crate staticinit 1.0.0 [INFO] tweaked toml for crates.io crate staticinit 1.0.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db0419a9461352972799499ed0c2f5ca9e1679ec909f06bbbdbd9fcd428f7f71 [INFO] running `Command { std: "docker" "start" "-a" "db0419a9461352972799499ed0c2f5ca9e1679ec909f06bbbdbd9fcd428f7f71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db0419a9461352972799499ed0c2f5ca9e1679ec909f06bbbdbd9fcd428f7f71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db0419a9461352972799499ed0c2f5ca9e1679ec909f06bbbdbd9fcd428f7f71", kill_on_drop: false }` [INFO] [stdout] db0419a9461352972799499ed0c2f5ca9e1679ec909f06bbbdbd9fcd428f7f71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 195332512e8800ac592933e742720c3478c8f879f4cda71f9aaae18607ee5f4c [INFO] running `Command { std: "docker" "start" "-a" "195332512e8800ac592933e742720c3478c8f879f4cda71f9aaae18607ee5f4c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "195332512e8800ac592933e742720c3478c8f879f4cda71f9aaae18607ee5f4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "195332512e8800ac592933e742720c3478c8f879f4cda71f9aaae18607ee5f4c", kill_on_drop: false }` [INFO] [stdout] 195332512e8800ac592933e742720c3478c8f879f4cda71f9aaae18607ee5f4c