[INFO] fetching crate staticinit 1.0.0... [INFO] checking staticinit-1.0.0 against master#0599f3403366d9c57f0625e6de3af214b5042a90 for pr-87710 [INFO] extracting crate staticinit 1.0.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate staticinit 1.0.0 on toolchain 0599f3403366d9c57f0625e6de3af214b5042a90 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0599f3403366d9c57f0625e6de3af214b5042a90" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0599f3403366d9c57f0625e6de3af214b5042a90" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0599f3403366d9c57f0625e6de3af214b5042a90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+0599f3403366d9c57f0625e6de3af214b5042a90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] aa7b5404f95f19cc7150ad088d686118bd6c44da4de54c07c07cd27f61764a8b [INFO] running `Command { std: "docker" "start" "-a" "aa7b5404f95f19cc7150ad088d686118bd6c44da4de54c07c07cd27f61764a8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa7b5404f95f19cc7150ad088d686118bd6c44da4de54c07c07cd27f61764a8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa7b5404f95f19cc7150ad088d686118bd6c44da4de54c07c07cd27f61764a8b", kill_on_drop: false }` [INFO] [stdout] aa7b5404f95f19cc7150ad088d686118bd6c44da4de54c07c07cd27f61764a8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+0599f3403366d9c57f0625e6de3af214b5042a90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3485ffc4b9f36e6f9e8bab366e0090b4db8509e7af7cefcab0fb09b02b3ee5d1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3485ffc4b9f36e6f9e8bab366e0090b4db8509e7af7cefcab0fb09b02b3ee5d1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking libc v0.2.100 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling static_init_macro v1.0.1 [INFO] [stderr] Compiling staticinit v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking double-checked-cell v2.1.0 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.129 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Checking criterion v0.3.5 [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] [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] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> benches/multi_threaded/synchronised_bench.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | #[dynamic(0)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> benches/multi_threaded/main.rs:547:3 [INFO] [stdout] | [INFO] [stdout] 547 | #[dynamic(lesser_lazy)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> benches/multi_threaded/main.rs:550:3 [INFO] [stdout] | [INFO] [stdout] 550 | #[dynamic(lesser_lazy)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> benches/multi_threaded/main.rs:553:3 [INFO] [stdout] | [INFO] [stdout] 553 | #[dynamic(lesser_lazy, drop)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> benches/multi_threaded/main.rs:757:15 [INFO] [stdout] | [INFO] [stdout] 757 | #[dynamic(0)] [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: import resolution is stuck, try simplifying macro imports [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: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> benches/multi_threaded/main.rs:757:15 [INFO] [stdout] | [INFO] [stdout] 757 | #[dynamic(0)] [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: import resolution is stuck, try simplifying macro imports [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: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> benches/multi_threaded/main.rs:757:15 [INFO] [stdout] | [INFO] [stdout] 757 | #[dynamic(0)] [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: import resolution is stuck, try simplifying macro imports [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: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> benches/multi_threaded/main.rs:757:15 [INFO] [stdout] | [INFO] [stdout] 757 | #[dynamic(0)] [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: import resolution is stuck, try simplifying macro imports [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[E0432]: unresolved import `static_init` [INFO] [stdout] --> tests/lesser_lazy_finalize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use static_init::{LazyAccess,dynamic, Phase, Finaly,destructor,constructor}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/lesser_lazy_finalize.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[dynamic(finalize)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `constructor` [INFO] [stdout] --> tests/lesser_lazy_finalize.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[constructor(10)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `destructor` [INFO] [stdout] --> tests/lesser_lazy_finalize.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | #[destructor(10)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `destructor` [INFO] [stdout] --> tests/lesser_lazy_finalize.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | #[destructor(10)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/lesser_lazy_finalize.rs:72:3 [INFO] [stdout] | [INFO] [stdout] 72 | #[dynamic(finalize)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `constructor` [INFO] [stdout] --> tests/lesser_lazy_finalize.rs:75:3 [INFO] [stdout] | [INFO] [stdout] 75 | #[constructor(10)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `destructor` [INFO] [stdout] --> tests/lesser_lazy_finalize.rs:124:3 [INFO] [stdout] | [INFO] [stdout] 124 | #[destructor(10)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/lesser_lazy_finalize.rs:130:3 [INFO] [stdout] | [INFO] [stdout] 130 | #[dynamic(finalize,try_init_once)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_init` [INFO] [stdout] --> tests/locked_lazy_finalize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use static_init::{dynamic, Phase, Finaly,destructor}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/locked_lazy_finalize.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[dynamic(lazy,finalize)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `destructor` [INFO] [stdout] --> tests/locked_lazy_finalize.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | #[destructor(10)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `destructor` [INFO] [stdout] --> tests/locked_lazy_finalize.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 92 | #[destructor(10)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/locked_lazy_finalize.rs:99:3 [INFO] [stdout] | [INFO] [stdout] 99 | #[dynamic(lazy, finalize)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `destructor` [INFO] [stdout] --> tests/locked_lazy_finalize.rs:159:3 [INFO] [stdout] | [INFO] [stdout] 159 | #[destructor(10)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/locked_lazy_finalize.rs:166:3 [INFO] [stdout] | [INFO] [stdout] 166 | #[dynamic(lazy,finalize,try_init_once)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/locked_lazy_finalize.rs:197:3 [INFO] [stdout] | [INFO] [stdout] 197 | #[dynamic(lazy,finalize,try_init_once)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/locked_lazy_finalize.rs:222:3 [INFO] [stdout] | [INFO] [stdout] 222 | #[dynamic(lazy,finalize)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/locked_lazy_finalize.rs:225:3 [INFO] [stdout] | [INFO] [stdout] 225 | #[dynamic(lazy,finalize,tolerate_leak)]//never droped [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[dynamic(drop)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `destructor` [INFO] [stdout] --> tests/locked_lazy_finalize.rs:244:3 [INFO] [stdout] | [INFO] [stdout] 244 | #[destructor(100)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `constructor` [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[constructor(10)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `destructor` [INFO] [stdout] --> tests/locked_lazy_finalize.rs:249:3 [INFO] [stdout] | [INFO] [stdout] 249 | #[destructor(10)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `destructor` [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | #[destructor(10)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `destructor` [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 81 | #[destructor(10)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:86:3 [INFO] [stdout] | [INFO] [stdout] 86 | #[dynamic(drop)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `constructor` [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:89:3 [INFO] [stdout] | [INFO] [stdout] 89 | #[constructor(10)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `destructor` [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:137:3 [INFO] [stdout] | [INFO] [stdout] 137 | #[destructor(10)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | #[dynamic(drop,try_init_once)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `staticinit` due to 10 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `static_init` [INFO] [stdout] --> tests/primed_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] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[dynamic(prime)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `constructor` [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | #[constructor(10)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 53 | #[dynamic(prime)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `constructor` [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:59:3 [INFO] [stdout] | [INFO] [stdout] 59 | #[constructor(10)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `static_init` [INFO] [stdout] --> tests/initialization.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate static_init; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_init` [INFO] [stdout] --> tests/primed_locked_lazy.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use static_init::{dynamic, Phase}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/primed_locked_lazy.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[dynamic(lazy,prime)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/primed_locked_lazy.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[dynamic(lazy,prime)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/primed_locked_lazy.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[dynamic(lazy,prime)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/primed_locked_lazy.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[dynamic(lazy,prime)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/primed_locked_lazy.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[dynamic(lazy,prime)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/primed_locked_lazy.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[dynamic(lazy,prime)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/primed_locked_lazy.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[dynamic(lazy,prime)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/primed_locked_lazy.rs:108:3 [INFO] [stdout] | [INFO] [stdout] 108 | #[dynamic(lazy,prime)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/primed_locked_lazy.rs:166:3 [INFO] [stdout] | [INFO] [stdout] 166 | #[dynamic(lazy,prime, try_init_once)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/primed_locked_lazy.rs:208:3 [INFO] [stdout] | [INFO] [stdout] 208 | #[dynamic(lazy,prime,try_init_once)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INIT` in this scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | static mut NORMAL: Vec = 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.rs:54:48 [INFO] [stdout] | [INFO] [stdout] 54 | static mut PRE_INITED_NORMAL: Vec = match INIT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [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] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/lazy.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[dynamic(lazy)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/lazy.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[dynamic(lazy)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/lazy.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 76 | #[dynamic(lazy,try_init_once)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/lazy.rs:107:3 [INFO] [stdout] | [INFO] [stdout] 107 | #[dynamic(lazy,try_init_once)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INIT` in this scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | static mut NORMAL: Vec = 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_locked_lazy.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | static mut NORMAL1: Vec = 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_locked_lazy.rs:16:38 [INFO] [stdout] | [INFO] [stdout] 16 | static mut NORMAL2: Vec = 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_locked_lazy.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | static mut NORMAL3: Vec = 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_locked_lazy.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | static mut NORMAL4: Vec = 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_locked_lazy.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | static mut NORMAL5: Vec = 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_locked_lazy.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | static mut NORMAL6: Vec = 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_locked_lazy.rs:109:46 [INFO] [stdout] | [INFO] [stdout] 109 | static mut INIT_MAY_PANICK: Vec = 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_locked_lazy.rs:167:46 [INFO] [stdout] | [INFO] [stdout] 167 | static mut UNINITIALIZABLE: Vec = 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_locked_lazy.rs:209:52 [INFO] [stdout] | [INFO] [stdout] 209 | static mut NORMAL_WITH_TOLERANCE: Vec = match INIT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `static_init` [INFO] [stdout] --> tests/macro.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate static_init; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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:25:20 [INFO] [stdout] | [INFO] [stdout] 6 | struct A(u32); [INFO] [stdout] | -------------- method `phase` not found for this [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::Phased` [INFO] [stdout] candidate #2: `staticinit::LazyAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_init` [INFO] [stdout] --> tests/lazy_finalize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use static_init::{LazyAccess,dynamic, Phase, Finaly,destructor}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/lazy_finalize.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[dynamic(lazy,finalize)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `destructor` [INFO] [stdout] --> tests/lazy_finalize.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | #[destructor(10)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `destructor` [INFO] [stdout] --> tests/lazy_finalize.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 68 | #[destructor(10)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/lazy_finalize.rs:75:3 [INFO] [stdout] | [INFO] [stdout] 75 | #[dynamic(lazy, finalize)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `destructor` [INFO] [stdout] --> tests/lazy_finalize.rs:135:3 [INFO] [stdout] | [INFO] [stdout] 135 | #[destructor(10)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/lazy_finalize.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | #[dynamic(lazy,finalize,try_init_once)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/lazy_finalize.rs:174:3 [INFO] [stdout] | [INFO] [stdout] 174 | #[dynamic(lazy,finalize,try_init_once)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/lazy_finalize.rs:199:3 [INFO] [stdout] | [INFO] [stdout] 199 | #[dynamic(lazy,finalize)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/lazy_finalize.rs:202:3 [INFO] [stdout] | [INFO] [stdout] 202 | #[dynamic(lazy,finalize,tolerate_leak)]//never droped [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `destructor` [INFO] [stdout] --> tests/lazy_finalize.rs:221:3 [INFO] [stdout] | [INFO] [stdout] 221 | #[destructor(100)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `destructor` [INFO] [stdout] --> tests/lazy_finalize.rs:226:3 [INFO] [stdout] | [INFO] [stdout] 226 | #[destructor(10)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/locked_lazy.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[dynamic(lazy)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/locked_lazy.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[dynamic(lazy)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/locked_lazy.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[dynamic(lazy)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/locked_lazy.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[dynamic(lazy)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/locked_lazy.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[dynamic(lazy)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/locked_lazy.rs:69:3 [INFO] [stdout] | [INFO] [stdout] 69 | #[dynamic(lazy)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/locked_lazy.rs:115:3 [INFO] [stdout] | [INFO] [stdout] 115 | #[dynamic(lazy,try_init_once)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/locked_lazy.rs:146:3 [INFO] [stdout] | [INFO] [stdout] 146 | #[dynamic(lazy,try_init_once)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(NORMAL.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 `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 [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_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 [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_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | 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 `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | 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 `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | assert!(NORMAL.try_read().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/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 [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 `try_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | 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 `try_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | assert!(NORMAL.try_write().is_err()); [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 [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 `fast_try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | 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 `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | 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 `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 [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::Phased` [INFO] [stdout] candidate #2: `staticinit::LazyAccess` [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/primed_locked_lazy.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | 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 `fast_try_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | 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 `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 [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::Phased` [INFO] [stdout] candidate #2: `staticinit::LazyAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `primed_read_non_initializing` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(NORMAL.primed_read_non_initializing().unwrap_err().len(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `primed_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(*NORMAL.primed_write().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/lesser_locked_lazy_drop.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 6 | struct A(u32); [INFO] [stdout] | -------------- method `try_read` not found for this [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 `primed_write_non_initializing` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | assert_eq!(NORMAL.primed_write_non_initializing().unwrap_err().len(), 0); [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/primed_locked_lazy.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | assert!(NORMAL.phase().is_empty()); [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 [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 `primed_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(*NORMAL.primed_read().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:47:23 [INFO] [stdout] | [INFO] [stdout] 6 | struct A(u32); [INFO] [stdout] | -------------- method `fast_try_read` not found for this [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 `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(NORMAL.read().len(), 2); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `primed_write_non_initializing` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(*NORMAL.primed_write_non_initializing().unwrap(),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: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[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 [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 `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | assert_eq!(NORMAL.write().len(), 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: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 `primed_read_non_initializing` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(*NORMAL.primed_read_non_initializing().unwrap(),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 `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 [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::Phased` [INFO] [stdout] candidate #2: `staticinit::LazyAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `primed_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | assert_eq!(NORMAL.primed_read().unwrap().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 `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 `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 [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: `std::io::Read` [INFO] [stdout] candidate #2: `serde_cbor::de::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | 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 `primed_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | assert_eq!(NORMAL.primed_write().unwrap().len(), 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 `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 `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 [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: `std::io::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `itoa::Integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | 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 `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(NORMAL.fast_read().unwrap().len(), 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 `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 `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 [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: `std::io::Read` [INFO] [stdout] candidate #2: `serde_cbor::de::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/primed_lesser_locked_lazy.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | 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_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | 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 `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 `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 [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::Phased` [INFO] [stdout] candidate #2: `staticinit::LazyAccess` [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/primed_lesser_locked_lazy.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | 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 `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(NORMAL1.write().len(), 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_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 [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 `fast_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | assert_eq!(NORMAL2.fast_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 `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 [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::Phased` [INFO] [stdout] candidate #2: `staticinit::LazyAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | 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 `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 `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 [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: `std::io::Read` [INFO] [stdout] candidate #2: `serde_cbor::de::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | 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/primed_lesser_locked_lazy.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | assert!(NORMAL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [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] | ^^^^^^^^^ 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/lesser_locked_lazy_drop.rs:99:31 [INFO] [stdout] | [INFO] [stdout] 67 | struct B(u32); [INFO] [stdout] | -------------- method `phase` not found for this [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::Phased` [INFO] [stdout] candidate #2: `staticinit::LazyAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `init` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | NORMAL4.init(); [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/primed_lesser_locked_lazy.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | assert!(NORMAL.try_read().is_err()); [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: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 `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 [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 `primed_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | assert_eq!(NORMAL5.primed_read().unwrap().len(), 2); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `primed_read_non_initializing` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(NORMAL.primed_read_non_initializing().unwrap_err().len(),0); [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 `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 [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::Phased` [INFO] [stdout] candidate #2: `staticinit::LazyAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `primed_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | assert_eq!(NORMAL6.primed_write().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:105:34 [INFO] [stdout] | [INFO] [stdout] 67 | struct B(u32); [INFO] [stdout] | -------------- method `read` not found for this [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: `std::io::Read` [INFO] [stdout] candidate #2: `serde_cbor::de::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:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | assert_eq!(NORMAL2.fast_read().unwrap().len(), 2); [INFO] [stdout] | ^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `primed_write_non_initializing` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(NORMAL.primed_write_non_initializing().unwrap_err().len(),0); [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/primed_locked_lazy.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | assert!(NORMAL.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 `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 [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: `std::io::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `itoa::Integer` [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/primed_lesser_locked_lazy.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | 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 `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | 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 `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 [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::Phased` [INFO] [stdout] candidate #2: `staticinit::LazyAccess` [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 `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | 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_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | 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 `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 [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 `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | 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 `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 `fast_try_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | 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 [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: `std::io::Read` [INFO] [stdout] candidate #2: `serde_cbor::de::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | 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 `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 `fast_try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | 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 `primed_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(PRE_INITED_NORMAL.primed_read().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 `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 [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: `std::io::Read` [INFO] [stdout] candidate #2: `serde_cbor::de::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: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 `primed_read_non_initializing` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | assert_eq!(NORMAL.primed_read_non_initializing().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/primed_lesser_locked_lazy.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | 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 `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 [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::Phased` [INFO] [stdout] candidate #2: `staticinit::LazyAccess` [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 `primed_write_non_initializing` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | assert_eq!(NORMAL.primed_write_non_initializing().unwrap().len(), 2); [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 [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 `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 `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | 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 `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | assert!(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:155:35 [INFO] [stdout] | [INFO] [stdout] 123 | struct C(u32); [INFO] [stdout] | -------------- method `phase` not found for this [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::Phased` [INFO] [stdout] candidate #2: `staticinit::LazyAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | 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: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 `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 [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: `std::io::Read` [INFO] [stdout] candidate #2: `serde_cbor::de::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | 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 `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 `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:75:35 [INFO] [stdout] | [INFO] [stdout] 75 | 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 `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 [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: `std::io::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `itoa::Integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | 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 `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: aborting due to 42 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:77:35 [INFO] [stdout] | [INFO] [stdout] 77 | 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 `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 `primed_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | PRE_INITED_NORMAL.primed_write().unwrap().push(3); [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/primed_locked_lazy.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | 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/primed_lesser_locked_lazy.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | 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 `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 `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:86:35 [INFO] [stdout] | [INFO] [stdout] 86 | 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 `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | 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 `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 `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:88:35 [INFO] [stdout] | [INFO] [stdout] 88 | 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 `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 `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | 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 `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | assert_eq!(*PRE_INITED_NORMAL.write(),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: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: aborting due to 40 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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 `primed_read_non_initializing` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:125:32 [INFO] [stdout] | [INFO] [stdout] 125 | assert_eq!(INIT_MAY_PANICK.primed_read_non_initializing().unwrap_err().len(), 0); [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 `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:127:29 [INFO] [stdout] | [INFO] [stdout] 127 | 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 `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 `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:129:45 [INFO] [stdout] | [INFO] [stdout] 129 | 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: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 `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | INIT_MAY_PANICK.phase(), [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: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 `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:138:45 [INFO] [stdout] | [INFO] [stdout] 138 | 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: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 `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | INIT_MAY_PANICK.phase(), [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: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 `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 `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:147:32 [INFO] [stdout] | [INFO] [stdout] 147 | 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 `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | 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 `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 `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:153:29 [INFO] [stdout] | [INFO] [stdout] 153 | 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 `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/primed_locked_lazy.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | 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 `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 `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:157:33 [INFO] [stdout] | [INFO] [stdout] 157 | 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 `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 `primed_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:159:33 [INFO] [stdout] | [INFO] [stdout] 159 | assert_eq!(*INIT_MAY_PANICK.primed_read().unwrap(), vec![1, 2]); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Vec` [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] | ^^^^^^^^^ 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/primed_locked_lazy.rs:161:33 [INFO] [stdout] | [INFO] [stdout] 161 | 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: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 `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:177:29 [INFO] [stdout] | [INFO] [stdout] 177 | 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 `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 `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:179:29 [INFO] [stdout] | [INFO] [stdout] 179 | 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: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 `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 `primed_read_non_initializing` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:181:32 [INFO] [stdout] | [INFO] [stdout] 181 | assert_eq!(UNINITIALIZABLE.primed_read_non_initializing().unwrap_err().len(), 0); [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: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 `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | assert!(UNINITIALIZABLE.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 `fast_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:185:45 [INFO] [stdout] | [INFO] [stdout] 185 | assert!(catch_unwind(|| UNINITIALIZABLE.fast_read().unwrap().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: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 `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | UNINITIALIZABLE.phase(), [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: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 `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 `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 `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:194:45 [INFO] [stdout] | [INFO] [stdout] 194 | 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 `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[E0599]: no method named `primed_read_non_initializing` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:196:32 [INFO] [stdout] | [INFO] [stdout] 196 | assert_eq!(UNINITIALIZABLE.primed_read_non_initializing().unwrap_err().len(), 0); [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/primed_locked_lazy.rs:201:25 [INFO] [stdout] | [INFO] [stdout] 201 | UNINITIALIZABLE.phase(), [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 62 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:216:35 [INFO] [stdout] | [INFO] [stdout] 216 | 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 `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:218:35 [INFO] [stdout] | [INFO] [stdout] 218 | 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 `primed_read_non_initializing` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:220:38 [INFO] [stdout] | [INFO] [stdout] 220 | assert_eq!(NORMAL_WITH_TOLERANCE.primed_read_non_initializing().unwrap_err().len(), 0); [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/primed_locked_lazy.rs:222:35 [INFO] [stdout] | [INFO] [stdout] 222 | 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/primed_locked_lazy.rs:224:38 [INFO] [stdout] | [INFO] [stdout] 224 | 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/primed_locked_lazy.rs:226:35 [INFO] [stdout] | [INFO] [stdout] 226 | 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 `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:228:38 [INFO] [stdout] | [INFO] [stdout] 228 | 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 `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:230:35 [INFO] [stdout] | [INFO] [stdout] 230 | 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 `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:232:39 [INFO] [stdout] | [INFO] [stdout] 232 | 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/primed_locked_lazy.rs:234:38 [INFO] [stdout] | [INFO] [stdout] 234 | 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 86 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3485ffc4b9f36e6f9e8bab366e0090b4db8509e7af7cefcab0fb09b02b3ee5d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3485ffc4b9f36e6f9e8bab366e0090b4db8509e7af7cefcab0fb09b02b3ee5d1", kill_on_drop: false }` [INFO] [stdout] 3485ffc4b9f36e6f9e8bab366e0090b4db8509e7af7cefcab0fb09b02b3ee5d1