[INFO] fetching crate staticinit 1.0.0... [INFO] testing staticinit-1.0.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate staticinit 1.0.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate staticinit 1.0.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded static_init_macro v1.0.2 [INFO] [stderr] Downloaded crossbeam v0.8.1 [INFO] [stderr] Downloaded cfg_aliases v0.1.1 [INFO] [stderr] Downloaded double-checked-cell v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e01298783ce49eb42bc48182496feb33720dd1a05136777ba4309fbbb8e0383f [INFO] running `Command { std: "docker" "start" "-a" "e01298783ce49eb42bc48182496feb33720dd1a05136777ba4309fbbb8e0383f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e01298783ce49eb42bc48182496feb33720dd1a05136777ba4309fbbb8e0383f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e01298783ce49eb42bc48182496feb33720dd1a05136777ba4309fbbb8e0383f", kill_on_drop: false }` [INFO] [stdout] e01298783ce49eb42bc48182496feb33720dd1a05136777ba4309fbbb8e0383f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a34f43fc177fd2c6881bd7229a011d8fbb3d853bc9ea0d8f0873307fe29c468f [INFO] running `Command { std: "docker" "start" "-a" "a34f43fc177fd2c6881bd7229a011d8fbb3d853bc9ea0d8f0873307fe29c468f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling static_init_macro v1.0.2 [INFO] [stderr] Compiling staticinit v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.78s [INFO] running `Command { std: "docker" "inspect" "a34f43fc177fd2c6881bd7229a011d8fbb3d853bc9ea0d8f0873307fe29c468f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a34f43fc177fd2c6881bd7229a011d8fbb3d853bc9ea0d8f0873307fe29c468f", kill_on_drop: false }` [INFO] [stdout] a34f43fc177fd2c6881bd7229a011d8fbb3d853bc9ea0d8f0873307fe29c468f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7220d019bf37c0e624cfc12e7fc90bb845732e4f3af7fd39cc34fc18e65364c [INFO] running `Command { std: "docker" "start" "-a" "a7220d019bf37c0e624cfc12e7fc90bb845732e4f3af7fd39cc34fc18e65364c", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling ctor v0.1.22 [INFO] [stderr] Compiling staticinit v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling double-checked-cell v2.1.0 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling criterion v0.3.5 [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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use staticinit::{LazyAccess,dynamic, Phase, Finaly,destructor,constructor}; [INFO] [stdout] | ~~~~~~~~~~ [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/lesser_locked_lazy_finalize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use static_init::{dynamic, Phase, Finaly,destructor,constructor}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use staticinit::{dynamic, Phase, Finaly,destructor,constructor}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/lesser_locked_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_locked_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_locked_lazy_finalize.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_finalize.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_finalize.rs:86:3 [INFO] [stdout] | [INFO] [stdout] 86 | #[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_locked_lazy_finalize.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_finalize.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_finalize.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | #[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: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `staticinit` due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[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[E0432]: unresolved import `super::constructor` [INFO] [stdout] --> tests/macro.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | use super::constructor; [INFO] [stdout] | ^^^^^^^----------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `destructor` [INFO] [stdout] | no `constructor` in the root [INFO] [stdout] [INFO] [stdout] [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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use staticinit::{dynamic, Phase,constructor}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_init` [INFO] [stdout] --> tests/lesser_lazy.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use static_init::{LazyAccess,dynamic, Phase,constructor}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use staticinit::{LazyAccess,dynamic, Phase,constructor}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_init` [INFO] [stdout] --> tests/locked_lazy.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use static_init::{LockedLazy,dynamic, Phase}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use staticinit::{LockedLazy,dynamic, Phase}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_init` [INFO] [stdout] --> tests/lesser_locked_lazy_drop.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use static_init::{dynamic, Phase,destructor,constructor}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use staticinit::{dynamic, Phase,destructor,constructor}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_init` [INFO] [stdout] --> tests/locked_lazy_drop.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use static_init::{dynamic, Phase,destructor}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use staticinit::{dynamic, Phase,destructor}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `destructor` in this scope [INFO] [stdout] --> tests/macro.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[destructor(0)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::destructor [INFO] [stdout] staticinit::destructor [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 `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 `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_drop.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[dynamic(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 find attribute `destructor` in this scope [INFO] [stdout] --> tests/macro.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[destructor(1)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::destructor [INFO] [stdout] staticinit::destructor [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 `dynamic` [INFO] [stdout] --> tests/lesser_lazy.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[dynamic] [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 `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 `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 `destructor` [INFO] [stdout] --> tests/locked_lazy_drop.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 find attribute `destructor` in this scope [INFO] [stdout] --> tests/macro.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[destructor(100)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::destructor [INFO] [stdout] staticinit::destructor [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/lesser_lazy.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[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/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 `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 `destructor` [INFO] [stdout] --> tests/locked_lazy_drop.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: 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: 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/lesser_lazy.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[dynamic] [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 find attribute `constructor` in this scope [INFO] [stdout] --> tests/macro.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | #[constructor(200)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::constructor [INFO] [stdout] staticinit::constructor [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/locked_lazy_drop.rs:99:3 [INFO] [stdout] | [INFO] [stdout] 99 | #[dynamic(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 `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 `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 `constructor` [INFO] [stdout] --> tests/lesser_lazy.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[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_drop.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[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: cannot find attribute `constructor` in this scope [INFO] [stdout] --> tests/macro.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | #[constructor(1)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::constructor [INFO] [stdout] staticinit::constructor [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/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/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: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/locked_lazy_drop.rs:166:3 [INFO] [stdout] | [INFO] [stdout] 166 | #[dynamic(lazy,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: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/locked_lazy_drop.rs:197:3 [INFO] [stdout] | [INFO] [stdout] 197 | #[dynamic(lazy,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: cannot find attribute `constructor` in this scope [INFO] [stdout] --> tests/macro.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 53 | #[constructor(0)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::constructor [INFO] [stdout] staticinit::constructor [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_drop.rs:222:3 [INFO] [stdout] | [INFO] [stdout] 222 | #[dynamic(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] --> 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: cannot determine resolution for the attribute macro `constructor` [INFO] [stdout] --> tests/macro.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[constructor] [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_drop.rs:225:3 [INFO] [stdout] | [INFO] [stdout] 225 | #[dynamic(lazy,drop,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 find attribute `dynamic` in this scope [INFO] [stdout] --> tests/macro.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 113 | #[dynamic(0)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `destructor` [INFO] [stdout] --> tests/locked_lazy_drop.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 `destructor` [INFO] [stdout] --> tests/locked_lazy_drop.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 find attribute `dynamic` in this scope [INFO] [stdout] --> tests/macro.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | #[dynamic(0)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `constructor` in this scope [INFO] [stdout] --> tests/macro.rs:120:7 [INFO] [stdout] | [INFO] [stdout] 120 | #[constructor] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::constructor [INFO] [stdout] staticinit::constructor [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/macro.rs:132:3 [INFO] [stdout] | [INFO] [stdout] 132 | #[dynamic(0)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/macro.rs:135:3 [INFO] [stdout] | [INFO] [stdout] 135 | #[dynamic(20)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [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: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/macro.rs:138:3 [INFO] [stdout] | [INFO] [stdout] 138 | #[dynamic(10)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/macro.rs:141:3 [INFO] [stdout] | [INFO] [stdout] 141 | #[dynamic(init = 20)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/macro.rs:144:3 [INFO] [stdout] | [INFO] [stdout] 144 | #[dynamic(init = 10)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/macro.rs:147:3 [INFO] [stdout] | [INFO] [stdout] 147 | #[dynamic(init = 5, drop)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/macro.rs:150:3 [INFO] [stdout] | [INFO] [stdout] 150 | #[dynamic(drop_only = 0)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/macro.rs:153:3 [INFO] [stdout] | [INFO] [stdout] 153 | #[dynamic(init = 2, drop = 10)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/macro.rs:263:11 [INFO] [stdout] | [INFO] [stdout] 263 | #[dynamic(lazy)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/macro.rs:266:11 [INFO] [stdout] | [INFO] [stdout] 266 | #[dynamic(lazy)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/macro.rs:269:11 [INFO] [stdout] | [INFO] [stdout] 269 | #[dynamic(finalize)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/macro.rs:272:11 [INFO] [stdout] | [INFO] [stdout] 272 | #[dynamic(lesser_lazy, finalize)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/macro.rs:275:11 [INFO] [stdout] | [INFO] [stdout] 275 | #[dynamic(lazy,prime)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/macro.rs:281:11 [INFO] [stdout] | [INFO] [stdout] 281 | #[dynamic(lazy,prime, drop)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Finaly` in this scope [INFO] [stdout] --> tests/macro.rs:99:6 [INFO] [stdout] | [INFO] [stdout] 99 | impl Finaly for A { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 10 | use staticinit::Finaly; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Uninit` in this scope [INFO] [stdout] --> tests/macro.rs:104:6 [INFO] [stdout] | [INFO] [stdout] 104 | impl Uninit for A { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 10 | use staticinit::Uninit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INIT` in this scope [INFO] [stdout] --> tests/macro.rs:276:36 [INFO] [stdout] | [INFO] [stdout] 276 | static mut L4: i32 = 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/macro.rs:282:34 [INFO] [stdout] | [INFO] [stdout] 282 | static mut L5: A = match INIT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_init` [INFO] [stdout] --> tests/primed_lesser_locked_lazy_drop.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use static_init::{dynamic, Uninit, Phase,destructor,constructor}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use staticinit::{dynamic, Uninit, Phase,destructor,constructor}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/primed_lesser_locked_lazy_drop.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[dynamic(prime,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/primed_lesser_locked_lazy_drop.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[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/primed_lesser_locked_lazy_drop.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 76 | #[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/primed_lesser_locked_lazy_drop.rs:98:3 [INFO] [stdout] | [INFO] [stdout] 98 | #[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/primed_lesser_locked_lazy_drop.rs:103:3 [INFO] [stdout] | [INFO] [stdout] 103 | #[dynamic(prime,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/primed_lesser_locked_lazy_drop.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | #[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/primed_lesser_locked_lazy_drop.rs:164:3 [INFO] [stdout] | [INFO] [stdout] 164 | #[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/primed_lesser_locked_lazy_drop.rs:170:3 [INFO] [stdout] | [INFO] [stdout] 170 | #[dynamic(prime,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[E0432]: unresolved import `static_init` [INFO] [stdout] --> tests/primed_locked_lazy_drop.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use static_init::{dynamic, Phase,destructor, Uninit}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use staticinit::{dynamic, Phase,destructor, Uninit}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_init` [INFO] [stdout] --> tests/lesser_locked_lazy.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use static_init::{dynamic, Phase,constructor}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use staticinit::{dynamic, Phase,constructor}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/primed_locked_lazy_drop.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[dynamic(lazy,prime,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] --> tests/lesser_locked_lazy.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[dynamic] [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.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[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/primed_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.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | #[dynamic] [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.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | #[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/primed_locked_lazy_drop.rs:104:3 [INFO] [stdout] | [INFO] [stdout] 104 | #[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/primed_locked_lazy_drop.rs:111:3 [INFO] [stdout] | [INFO] [stdout] 111 | #[dynamic(lazy, prime, 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/primed_locked_lazy_drop.rs:178:3 [INFO] [stdout] | [INFO] [stdout] 178 | #[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/primed_locked_lazy_drop.rs:185:3 [INFO] [stdout] | [INFO] [stdout] 185 | #[dynamic(lazy,prime,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: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/primed_locked_lazy_drop.rs:218:3 [INFO] [stdout] | [INFO] [stdout] 218 | #[dynamic(lazy,prime,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: cannot determine resolution for the attribute macro `dynamic` [INFO] [stdout] --> tests/primed_locked_lazy_drop.rs:247:3 [INFO] [stdout] | [INFO] [stdout] 247 | #[dynamic(lazy,prime,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] --> tests/primed_locked_lazy_drop.rs:254:3 [INFO] [stdout] | [INFO] [stdout] 254 | #[dynamic(lazy,prime,drop,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/primed_locked_lazy_drop.rs:277:3 [INFO] [stdout] | [INFO] [stdout] 277 | #[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/primed_locked_lazy_drop.rs:282:3 [INFO] [stdout] | [INFO] [stdout] 282 | #[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 find attribute `destructor` in this scope [INFO] [stdout] --> tests/initialization.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | #[destructor(10)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::destructor [INFO] [stdout] staticinit::destructor [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | make_test!(lazy, acc0, lazy); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | make_test!(lazy, acc0, lazy); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `constructor` in this scope [INFO] [stdout] --> tests/initialization.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | #[constructor(10)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | make_test!(lazy, acc0, lazy); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::constructor [INFO] [stdout] staticinit::constructor [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | make_test!(lazy, acc0, lazy); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | make_test!(lesser_lazy, acc0, lazy); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | make_test!(lesser_lazy, acc0, lazy); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `constructor` in this scope [INFO] [stdout] --> tests/initialization.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | #[constructor(10)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | make_test!(lesser_lazy, acc0, lazy); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::constructor [INFO] [stdout] staticinit::constructor [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0432, E0463. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | make_test!(lesser_lazy, acc0, lazy); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | make_test!(lazy_finalize, acc0, lazy finalize); //F:3 [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | make_test!(lazy_finalize, acc0, lazy finalize); //F:3 [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `constructor` in this scope [INFO] [stdout] --> tests/initialization.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | #[constructor(10)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | make_test!(lazy_finalize, acc0, lazy finalize); //F:3 [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::constructor [INFO] [stdout] staticinit::constructor [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | make_test!(lazy_finalize, acc0, lazy finalize); //F:3 [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | make_test!(lesser_lazy_finalize, acc0, lesser_lazy finalize); //F:3 [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | make_test!(lesser_lazy_finalize, acc0, lesser_lazy finalize); //F:3 [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `constructor` in this scope [INFO] [stdout] --> tests/initialization.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | #[constructor(10)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | make_test!(lesser_lazy_finalize, acc0, lesser_lazy finalize); //F:3 [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::constructor [INFO] [stdout] staticinit::constructor [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INIT` in this scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy_drop.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | static mut NORMAL: A = match INIT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | make_test!(lesser_lazy_finalize, acc0, lesser_lazy finalize); //F:3 [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INIT` in this scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy_drop.rs:104:41 [INFO] [stdout] | [INFO] [stdout] 104 | static mut PRE_INITED_NORMAL: B = match INIT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INIT` in this scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy_drop.rs:171:45 [INFO] [stdout] | [INFO] [stdout] 171 | static mut NORMAL_WITH_TOLERANCE: C = match INIT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | make_test!(mut_lazy, accr, lazy, mut); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | make_test!(mut_lazy, accr, lazy, mut); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `constructor` in this scope [INFO] [stdout] --> tests/initialization.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | #[constructor(10)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | make_test!(mut_lazy, accr, lazy, mut); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::constructor [INFO] [stdout] staticinit::constructor [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | make_test!(mut_lazy, accr, lazy, mut); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | make_test!(lesser_mut_lazy, accr, lazy, mut); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INIT` in this scope [INFO] [stdout] --> tests/primed_locked_lazy_drop.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | static mut NORMAL: A = match INIT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | make_test!(lesser_mut_lazy, accr, lazy, mut); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INIT` in this scope [INFO] [stdout] --> tests/primed_locked_lazy_drop.rs:112:39 [INFO] [stdout] | [INFO] [stdout] 112 | static mut INIT_MAY_PANICK: B = match INIT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INIT` in this scope [INFO] [stdout] --> tests/primed_locked_lazy_drop.rs:186:39 [INFO] [stdout] | [INFO] [stdout] 186 | static mut UNINITIALIZABLE: C = 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_drop.rs:219:45 [INFO] [stdout] | [INFO] [stdout] 219 | static mut NORMAL_WITH_TOLERANCE: C = 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_drop.rs:248:41 [INFO] [stdout] | [INFO] [stdout] 248 | static mut ATEMPT_AFTER_MAIN: D = match INIT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `constructor` in this scope [INFO] [stdout] --> tests/initialization.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | #[constructor(10)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | make_test!(lesser_mut_lazy, accr, lazy, mut); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::constructor [INFO] [stdout] staticinit::constructor [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INIT` in this scope [INFO] [stdout] --> tests/primed_locked_lazy_drop.rs:255:45 [INFO] [stdout] | [INFO] [stdout] 255 | static mut ATEMPT_AFTER_MAIN_TOL: D = match INIT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | make_test!(lesser_mut_lazy, accr, lazy, mut); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | make_test!(mut_lazy_finalize, accr, lazy finalize, mut); //F:3 [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | make_test!(mut_lazy_finalize, accr, lazy finalize, mut); //F:3 [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `constructor` in this scope [INFO] [stdout] --> tests/initialization.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | #[constructor(10)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | make_test!(mut_lazy_finalize, accr, lazy finalize, mut); //F:3 [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::constructor [INFO] [stdout] staticinit::constructor [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | make_test!(mut_lazy_finalize, accr, lazy finalize, mut); //F:3 [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | make_test!(lesser_mut_lazy_finalize, accr, lesser_lazy finalize, mut); //F:3 [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | make_test!(lesser_mut_lazy_finalize, accr, lesser_lazy finalize, mut); //F:3 [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `constructor` in this scope [INFO] [stdout] --> tests/initialization.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | #[constructor(10)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | make_test!(lesser_mut_lazy_finalize, accr, lesser_lazy finalize, mut); //F:3 [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::constructor [INFO] [stdout] staticinit::constructor [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [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: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | make_test!(lesser_mut_lazy_finalize, accr, lesser_lazy finalize, mut); //F:3 [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | make_test!(mut_lazy_drop, accr, lazy drop, mut); //D:3 [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | make_test!(mut_lazy_drop, accr, lazy drop, mut); //D:3 [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(NORMAL.phase(), Phase::INITIALIZED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `constructor` in this scope [INFO] [stdout] --> tests/initialization.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | #[constructor(10)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | make_test!(mut_lazy_drop, accr, lazy drop, mut); //D:3 [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::constructor [INFO] [stdout] staticinit::constructor [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [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: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: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | make_test!(mut_lazy_drop, accr, lazy drop, mut); //D:3 [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | make_test!(lesser_mut_lazy_drop, accr, lesser_lazy drop, mut); //D:3 [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | make_test!(lesser_mut_lazy_drop, accr, lesser_lazy drop, mut); //D:3 [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `constructor` in this scope [INFO] [stdout] --> tests/initialization.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | #[constructor(10)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | make_test!(lesser_mut_lazy_drop, accr, lesser_lazy drop, mut); //D:3 [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::constructor [INFO] [stdout] staticinit::constructor [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dynamic` in this scope [INFO] [stdout] --> tests/initialization.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | #[dynamic($($att),*)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | make_test!(lesser_mut_lazy_drop, accr, lesser_lazy drop, mut); //D:3 [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] static_init_macro::dynamic [INFO] [stdout] staticinit::dynamic [INFO] [stdout] = note: this error originates in the macro `make_test` (in Nightly builds, run with -Z macro-backtrace for more info) [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[E0405]: cannot find trait `Finaly` in this scope [INFO] [stdout] --> tests/initialization.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl Finaly for A { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 12 | use staticinit::Finaly; [INFO] [stdout] | [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 `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 `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: aborting due to 43 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------------- method `phase` not found for this [INFO] [stdout] ... [INFO] [stdout] 27 | assert!(NORMAL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `A` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::Phased` [INFO] [stdout] candidate #2: `staticinit::LazyAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(*NORMAL.try_read().unwrap(),vec![1,2]); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_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 `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 `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[E0432]: unresolved import `static_init` [INFO] [stdout] --> tests/lazy.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use static_init::{Lazy,LazyAccess,dynamic, Phase}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use staticinit::{Lazy,LazyAccess,dynamic, Phase}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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[E0599]: no method named `try_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(*NORMAL.try_write().unwrap(),vec![1,2]); [INFO] [stdout] | ^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------------- method `try_read` not found for this [INFO] [stdout] ... [INFO] [stdout] 29 | assert!(NORMAL.try_read().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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[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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use staticinit::{dynamic, Phase}; [INFO] [stdout] | ~~~~~~~~~~ [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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use staticinit::{dynamic, Phase, Finaly,destructor}; [INFO] [stdout] | ~~~~~~~~~~ [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/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 `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 `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 `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[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: 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: 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] 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: 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: 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[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: 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 `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[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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use staticinit::{LazyAccess,dynamic, Phase, Finaly,destructor}; [INFO] [stdout] | ~~~~~~~~~~ [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[E0599]: no method named `fast_try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(*NORMAL.fast_try_read().unwrap().unwrap(),vec![1,2]); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | assert!(NORMAL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_write` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------------- method `try_write` not found for this [INFO] [stdout] ... [INFO] [stdout] 31 | assert!(NORMAL.try_write().is_err()); [INFO] [stdout] | ^^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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: 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 `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 `fast_try_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(*NORMAL.fast_try_write().unwrap().unwrap(),vec![1,2]); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 `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 `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[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[E0599]: no method named `fast_try_read` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------------- method `fast_try_read` not found for this [INFO] [stdout] ... [INFO] [stdout] 33 | assert!(NORMAL.fast_try_read().unwrap().is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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[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 `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(*NORMAL.read(),vec![1,2]); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(NORMAL.write().len(), 2); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | NORMAL.write().push(3); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_try_write` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------------- method `fast_try_write` not found for this [INFO] [stdout] ... [INFO] [stdout] 35 | assert!(NORMAL.fast_try_write().unwrap().is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [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] For more information about this error, try `rustc --explain E0432`. [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 `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 `try_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | NORMAL.try_write().unwrap().push(4); [INFO] [stdout] | ^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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/locked_lazy_drop.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------------- method `phase` not found for this [INFO] [stdout] ... [INFO] [stdout] 37 | assert!(NORMAL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `A` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::Phased` [INFO] [stdout] candidate #2: `staticinit::LazyAccess` [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 `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 `fast_try_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | NORMAL.fast_try_write().unwrap().unwrap().push(5); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `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 `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 `read` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 39 | assert_eq!(NORMAL.read().0, 33); [INFO] [stdout] | ^^^^ method not found in `A` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `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 `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(*NORMAL.read(),vec![1,2,3,4,5]); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `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 `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 `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] candidate #4: `itoa::private::Sealed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | assert_eq!(NORMAL3.fast_write().unwrap().len(), 2); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | assert_eq!(PRE_INITED_NORMAL.phase(), Phase::INITIALIZED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `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_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | assert_eq!(*PRE_INITED_NORMAL.try_read().unwrap(),vec![1,2,3]); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 41 | assert_eq!(NORMAL.write().0, 33); [INFO] [stdout] | ^^^^^ method not found in `A` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::io::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `itoa::Integer` [INFO] [stdout] candidate #4: `itoa::private::Sealed` [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 `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_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 `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 70 | assert_eq!(*PRE_INITED_NORMAL.read(),vec![1,2,3]); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_write` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------------- method `fast_write` not found for this [INFO] [stdout] ... [INFO] [stdout] 43 | assert_eq!(NORMAL.fast_write().unwrap().0, 33); [INFO] [stdout] | ^^^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `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 `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 `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 `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 72 | assert_eq!(*PRE_INITED_NORMAL.write(),vec![1,2,3]); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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 `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 `fast_read` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------------- method `fast_read` not found for this [INFO] [stdout] ... [INFO] [stdout] 45 | assert_eq!(NORMAL.fast_read().unwrap().0, 33); [INFO] [stdout] | ^^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | assert!(NORMAL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `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 `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 `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | assert!(NORMAL.try_read().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `fast_try_write` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------------- method `fast_try_write` not found for this [INFO] [stdout] ... [INFO] [stdout] 47 | assert_eq!(NORMAL.fast_try_write().unwrap().unwrap().0, 33); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `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 `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 `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | assert!(NORMAL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `fast_try_read` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------------- method `fast_try_read` not found for this [INFO] [stdout] ... [INFO] [stdout] 49 | assert_eq!(NORMAL.fast_try_read().unwrap().unwrap().0, 33); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | assert!(PRE_INITED_NORMAL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `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 `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 `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 `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | assert!(PRE_INITED_NORMAL.try_read().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------------- method `phase` not found for this [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 `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 `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 `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 `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_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 `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 `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | assert!(PRE_INITED_NORMAL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `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 `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 `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 `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 `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(PRE_INITED_NORMAL.read().len(), 2); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | assert_eq!(*NORMAL.read(), vec![1,2]); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `try_read` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------------- method `try_read` not found for this [INFO] [stdout] ... [INFO] [stdout] 53 | assert_eq!(NORMAL.try_read().unwrap().0, 33); [INFO] [stdout] | ^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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: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 `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/lesser_locked_lazy.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | assert!(PRE_INITED_NORMAL.phase() == Phase::INITIALIZED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `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 `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 `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | assert!(PRE_INITED_NORMAL.try_read().unwrap().len()==2); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------------- method `phase` not found for this [INFO] [stdout] ... [INFO] [stdout] 55 | assert!(NORMAL.phase() == Phase::INITIALIZED|Phase::REGISTERED); [INFO] [stdout] | ^^^^^ method not found in `A` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::Phased` [INFO] [stdout] candidate #2: `staticinit::LazyAccess` [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 `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 `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 `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | assert!(PRE_INITED_NORMAL.phase() == Phase::INITIALIZED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(*PRE_INITED_NORMAL.read(), vec![1,2]); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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] candidate #4: `itoa::private::Sealed` [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 `write` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 57 | NORMAL.write().0 = 12; [INFO] [stdout] | ^^^^^ method not found in `A` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::io::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `itoa::Integer` [INFO] [stdout] candidate #4: `itoa::private::Sealed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(*PRE_INITED_NORMAL.write(), vec![1,2]); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `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 `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 `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[E0599]: no method named `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/lesser_locked_lazy.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | PRE_INITED_NORMAL.write().push(3); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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: aborting due to 32 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [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 `read` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 59 | assert_eq!(NORMAL.read().0, 12); [INFO] [stdout] | ^^^^ method not found in `A` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] candidate #2: `serde_cbor::de::Read` [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 `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] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_write` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------------- method `fast_write` not found for this [INFO] [stdout] ... [INFO] [stdout] 61 | NORMAL.fast_write().unwrap().0 += 21; [INFO] [stdout] | ^^^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `read` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 63 | assert_eq!(NORMAL.read().0, 33); [INFO] [stdout] | ^^^^ method not found in `A` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `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 `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: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 `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 `fast_try_write` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------------- method `fast_try_write` not found for this [INFO] [stdout] ... [INFO] [stdout] 65 | NORMAL.fast_try_write().unwrap().unwrap().0 += 9; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `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 `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | assert_eq!(*NORMAL.read(), vec![1,2,3]); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | assert!(INIT_MAY_PANICK.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | assert!(INIT_MAY_PANICK.try_read().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | assert!(INIT_MAY_PANICK.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:86:45 [INFO] [stdout] | [INFO] [stdout] 86 | assert!(catch_unwind(|| INIT_MAY_PANICK.write().len()).is_err()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | assert_eq!(INIT_MAY_PANICK.phase(), Phase::INITIALIZATION_PANICKED | Phase::INITIALIZATION_SKIPED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `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 `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 `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 `read` found for struct `A` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 7 | struct A(u32); [INFO] [stdout] | -------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 67 | assert_eq!(NORMAL.read().0, 42); [INFO] [stdout] | ^^^^ method not found in `A` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `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/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 `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 `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 `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 `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 `phase` found for struct `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------------- method `phase` not found for this [INFO] [stdout] ... [INFO] [stdout] 110 | assert!(INIT_MAY_PANICK.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `B` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::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/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 `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 `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_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: 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 `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 102 | assert!(INIT_MAY_PANICK.phase() == Phase::INITIALIZED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `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 `try_read` found for struct `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------------- method `try_read` not found for this [INFO] [stdout] ... [INFO] [stdout] 112 | assert!(INIT_MAY_PANICK.try_read().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `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 `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 `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 `phase` found for struct `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------------- method `phase` not found for this [INFO] [stdout] ... [INFO] [stdout] 114 | assert!(INIT_MAY_PANICK.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `B` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::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: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 `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 `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:108:33 [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(*INIT_MAY_PANICK.read(), vec![1,2]); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `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 `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 `read` found for struct `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 116 | assert!(catch_unwind(|| INIT_MAY_PANICK.read().0).is_err()); [INFO] [stdout] | ^^^^ method not found in `B` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `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 `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 `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 `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 `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 `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 `phase` found for struct `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:120:32 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------------- method `phase` not found for this [INFO] [stdout] ... [INFO] [stdout] 120 | assert_eq!(INIT_MAY_PANICK.phase(), Phase::REGISTERED | Phase::INITIALIZATION_PANICKED | Phase::INITIALIZATION_SKIPED); [INFO] [stdout] | ^^^^^ method not found in `B` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::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_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 `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 `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 `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 `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] candidate #4: `itoa::private::Sealed` [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 `read` found for struct `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:122:45 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 122 | assert!(catch_unwind(|| INIT_MAY_PANICK.read().0).is_err()); [INFO] [stdout] | ^^^^ method not found in `B` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `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: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: 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 `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 `phase` found for struct `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:126:32 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------------- method `phase` not found for this [INFO] [stdout] ... [INFO] [stdout] 126 | assert_eq!(INIT_MAY_PANICK.phase(), Phase::REGISTERED | Phase::INITIALIZATION_PANICKED | Phase::INITIALIZATION_SKIPED); [INFO] [stdout] | ^^^^^ method not found in `B` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::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_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:134:32 [INFO] [stdout] | [INFO] [stdout] 134 | assert_eq!(UNINITIALIZABLE.phase(), Phase::INITIALIZATION_PANICKED | Phase::INITIALIZATION_SKIPED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `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/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 `read` found for struct `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:128:32 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 128 | assert_eq!(INIT_MAY_PANICK.read().0, 42); [INFO] [stdout] | ^^^^ method not found in `B` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] candidate #2: `serde_cbor::de::Read` [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: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/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 `phase` found for struct `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------------- method `phase` not found for this [INFO] [stdout] ... [INFO] [stdout] 132 | assert!(INIT_MAY_PANICK.phase() == Phase::REGISTERED | Phase::INITIALIZED); [INFO] [stdout] | ^^^^^ method not found in `B` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::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/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 `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 `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 `try_read` found for struct `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:134:32 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------------- method `try_read` not found for this [INFO] [stdout] ... [INFO] [stdout] 134 | assert_eq!(INIT_MAY_PANICK.try_read().unwrap().0,42); [INFO] [stdout] | ^^^^^^^^ method not found in `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `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 `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 `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------------- method `phase` not found for this [INFO] [stdout] ... [INFO] [stdout] 136 | assert!(INIT_MAY_PANICK.phase() == Phase::REGISTERED | Phase::INITIALIZED); [INFO] [stdout] | ^^^^^ method not found in `B` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::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_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 `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:158:38 [INFO] [stdout] | [INFO] [stdout] 158 | assert_eq!(NORMAL_WITH_TOLERANCE.read().len(), 2); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/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 `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/locked_lazy.rs:160:35 [INFO] [stdout] | [INFO] [stdout] 160 | assert!(NORMAL_WITH_TOLERANCE.phase() == Phase::INITIALIZED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 138 | assert_eq!(INIT_MAY_PANICK.write().0, 42); [INFO] [stdout] | ^^^^^ method not found in `B` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::io::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `itoa::Integer` [INFO] [stdout] candidate #4: `itoa::private::Sealed` [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 `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/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 `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 `B` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:140:32 [INFO] [stdout] | [INFO] [stdout] 78 | struct B(u32); [INFO] [stdout] | -------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 140 | assert_eq!(INIT_MAY_PANICK.read().0, 42); [INFO] [stdout] | ^^^^ method not found in `B` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `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/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: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 `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 `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------------- method `phase` not found for this [INFO] [stdout] ... [INFO] [stdout] 175 | assert!(UNINITIALIZABLE.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `C` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::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/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 `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 `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:177:29 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------------- method `try_read` not found for this [INFO] [stdout] ... [INFO] [stdout] 177 | assert!(UNINITIALIZABLE.try_read().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 `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 `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 `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:179:29 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------------- method `phase` not found for this [INFO] [stdout] ... [INFO] [stdout] 179 | assert!(UNINITIALIZABLE.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `C` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::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_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 `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 `read` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:181:45 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 181 | assert!(catch_unwind(|| UNINITIALIZABLE.read().0).is_err()); [INFO] [stdout] | ^^^^ method not found in `C` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `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 `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------------- method `phase` not found for this [INFO] [stdout] ... [INFO] [stdout] 185 | assert_eq!(UNINITIALIZABLE.phase(), Phase::REGISTERED | Phase::INITIALIZATION_PANICKED | Phase::INITIALIZATION_SKIPED); [INFO] [stdout] | ^^^^^ method not found in `C` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::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: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 `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 `fast_write` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------------- method `fast_write` not found for this [INFO] [stdout] ... [INFO] [stdout] 187 | assert!(catch_unwind(|| UNINITIALIZABLE.fast_write().unwrap().0).is_err()); [INFO] [stdout] | ^^^^^^^^^^ method not found in `C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:191:32 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------------- method `phase` not found for this [INFO] [stdout] ... [INFO] [stdout] 191 | assert_eq!(UNINITIALIZABLE.phase(), Phase::REGISTERED | Phase::INITIALIZATION_PANICKED | Phase::INITIALIZATION_SKIPED); [INFO] [stdout] | ^^^^^ method not found in `C` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::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_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 `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 `phase` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:203:35 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------------- method `phase` not found for this [INFO] [stdout] ... [INFO] [stdout] 203 | assert!(NORMAL_WITH_TOLERANCE.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `C` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::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: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 `try_read` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:205:35 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------------- method `try_read` not found for this [INFO] [stdout] ... [INFO] [stdout] 205 | assert!(NORMAL_WITH_TOLERANCE.try_read().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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[E0599]: no method named `phase` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------------- method `phase` not found for this [INFO] [stdout] ... [INFO] [stdout] 207 | assert!(NORMAL_WITH_TOLERANCE.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `C` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::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_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 `read` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:209:38 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 209 | assert_eq!(NORMAL_WITH_TOLERANCE.read().0, 33); [INFO] [stdout] | ^^^^ method not found in `C` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] candidate #2: `serde_cbor::de::Read` [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 `phase` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:211:35 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------------- method `phase` not found for this [INFO] [stdout] ... [INFO] [stdout] 211 | assert!(NORMAL_WITH_TOLERANCE.phase() == Phase::INITIALIZED|Phase::REGISTERED); [INFO] [stdout] | ^^^^^ method not found in `C` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::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_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 `try_read` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:213:38 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------------- method `try_read` not found for this [INFO] [stdout] ... [INFO] [stdout] 213 | assert_eq!(NORMAL_WITH_TOLERANCE.try_read().unwrap().0, 33); [INFO] [stdout] | ^^^^^^^^ method not found in `C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `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 `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:215:35 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------------- method `phase` not found for this [INFO] [stdout] ... [INFO] [stdout] 215 | assert!(NORMAL_WITH_TOLERANCE.phase() == Phase::INITIALIZED|Phase::REGISTERED); [INFO] [stdout] | ^^^^^ method not found in `C` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::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_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 `read` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:217:38 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 217 | assert_eq!(NORMAL_WITH_TOLERANCE.read().0, 33); [INFO] [stdout] | ^^^^ method not found in `C` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] candidate #2: `serde_cbor::de::Read` [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[E0599]: no method named `write` found for struct `C` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:219:38 [INFO] [stdout] | [INFO] [stdout] 145 | struct C(u32); [INFO] [stdout] | -------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 219 | assert_eq!(NORMAL_WITH_TOLERANCE.write().0, 33); [INFO] [stdout] | ^^^^^ method not found in `C` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::io::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `itoa::Integer` [INFO] [stdout] candidate #4: `itoa::private::Sealed` [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] [stdout] error[E0599]: no method named `phase` found for struct `D` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:252:35 [INFO] [stdout] | [INFO] [stdout] 230 | struct D(u32); [INFO] [stdout] | -------------- method `phase` not found for this [INFO] [stdout] ... [INFO] [stdout] 252 | assert!(ATEMPT_AFTER_MAIN_TOL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `D` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::Phased` [INFO] [stdout] candidate #2: `staticinit::LazyAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `D` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:254:35 [INFO] [stdout] | [INFO] [stdout] 230 | struct D(u32); [INFO] [stdout] | -------------- method `try_read` not found for this [INFO] [stdout] ... [INFO] [stdout] 254 | assert!(ATEMPT_AFTER_MAIN_TOL.try_read().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `D` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:256:35 [INFO] [stdout] | [INFO] [stdout] 230 | struct D(u32); [INFO] [stdout] | -------------- method `phase` not found for this [INFO] [stdout] ... [INFO] [stdout] 256 | assert!(ATEMPT_AFTER_MAIN_TOL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `D` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::Phased` [INFO] [stdout] candidate #2: `staticinit::LazyAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `D` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:258:38 [INFO] [stdout] | [INFO] [stdout] 230 | struct D(u32); [INFO] [stdout] | -------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 258 | assert_eq!(ATEMPT_AFTER_MAIN_TOL.read().0, 33); [INFO] [stdout] | ^^^^ method not found in `D` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `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 `D` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:260:35 [INFO] [stdout] | [INFO] [stdout] 230 | struct D(u32); [INFO] [stdout] | -------------- method `phase` not found for this [INFO] [stdout] ... [INFO] [stdout] 260 | assert!(ATEMPT_AFTER_MAIN_TOL.phase() == Phase::INITIALIZED | Phase::REGISTRATION_REFUSED); [INFO] [stdout] | ^^^^^ method not found in `D` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::Phased` [INFO] [stdout] candidate #2: `staticinit::LazyAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `D` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:262:38 [INFO] [stdout] | [INFO] [stdout] 230 | struct D(u32); [INFO] [stdout] | -------------- method `try_read` not found for this [INFO] [stdout] ... [INFO] [stdout] 262 | assert_eq!(ATEMPT_AFTER_MAIN_TOL.try_read().unwrap().0, 33); [INFO] [stdout] | ^^^^^^^^ method not found in `D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `D` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:264:35 [INFO] [stdout] | [INFO] [stdout] 230 | struct D(u32); [INFO] [stdout] | -------------- method `phase` not found for this [INFO] [stdout] ... [INFO] [stdout] 264 | assert!(ATEMPT_AFTER_MAIN_TOL.phase() == Phase::INITIALIZED|Phase::REGISTRATION_REFUSED); [INFO] [stdout] | ^^^^^ method not found in `D` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::Phased` [INFO] [stdout] candidate #2: `staticinit::LazyAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `D` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:266:38 [INFO] [stdout] | [INFO] [stdout] 230 | struct D(u32); [INFO] [stdout] | -------------- method `read` not found for this [INFO] [stdout] ... [INFO] [stdout] 266 | assert_eq!(ATEMPT_AFTER_MAIN_TOL.read().0, 33); [INFO] [stdout] | ^^^^ method not found in `D` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] candidate #2: `serde_cbor::de::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `D` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:268:38 [INFO] [stdout] | [INFO] [stdout] 230 | struct D(u32); [INFO] [stdout] | -------------- method `write` not found for this [INFO] [stdout] ... [INFO] [stdout] 268 | assert_eq!(ATEMPT_AFTER_MAIN_TOL.write().0, 33); [INFO] [stdout] | ^^^^^ method not found in `D` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::io::Write` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `itoa::Integer` [INFO] [stdout] candidate #4: `itoa::private::Sealed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `D` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:272:31 [INFO] [stdout] | [INFO] [stdout] 230 | struct D(u32); [INFO] [stdout] | -------------- method `phase` not found for this [INFO] [stdout] ... [INFO] [stdout] 272 | assert!(ATEMPT_AFTER_MAIN.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `D` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::Phased` [INFO] [stdout] candidate #2: `staticinit::LazyAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `D` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:274:31 [INFO] [stdout] | [INFO] [stdout] 230 | struct D(u32); [INFO] [stdout] | -------------- method `try_read` not found for this [INFO] [stdout] ... [INFO] [stdout] 274 | assert!(ATEMPT_AFTER_MAIN.try_read().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `D` in the current scope [INFO] [stdout] --> tests/locked_lazy_drop.rs:276:31 [INFO] [stdout] | [INFO] [stdout] 230 | struct D(u32); [INFO] [stdout] | -------------- method `phase` not found for this [INFO] [stdout] ... [INFO] [stdout] 276 | assert!(ATEMPT_AFTER_MAIN.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `D` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `phase`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `staticinit::Phased` [INFO] [stdout] candidate #2: `staticinit::LazyAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 74 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a7220d019bf37c0e624cfc12e7fc90bb845732e4f3af7fd39cc34fc18e65364c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7220d019bf37c0e624cfc12e7fc90bb845732e4f3af7fd39cc34fc18e65364c", kill_on_drop: false }` [INFO] [stdout] a7220d019bf37c0e624cfc12e7fc90bb845732e4f3af7fd39cc34fc18e65364c