[INFO] fetching crate staticinit 1.0.0... [INFO] checking staticinit-1.0.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] extracting crate staticinit 1.0.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate staticinit 1.0.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate staticinit 1.0.0 [INFO] finished tweaking crates.io crate staticinit 1.0.0 [INFO] tweaked toml for crates.io crate staticinit 1.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 78 packages [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding cfg_aliases v0.1.1 (latest: v0.2.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.4) [INFO] [stderr] Adding criterion v0.3.6 (latest: v0.5.1) [INFO] [stderr] Adding criterion-plot v0.4.5 (latest: v0.5.0) [INFO] [stderr] Adding ctor v0.1.26 (latest: v0.2.7) [INFO] [stderr] Adding half v1.8.3 (latest: v2.4.1) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.12.1) [INFO] [stderr] Adding parking_lot v0.11.2 (latest: v0.12.1) [INFO] [stderr] Adding parking_lot_core v0.8.6 (latest: v0.9.9) [INFO] [stderr] Adding redox_syscall v0.2.16 (latest: v0.5.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.58) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded double-checked-cell v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 722943b99c86d6828eb38859d5bf5affbc1f79fd2a7c380e6918face2e8960d7 [INFO] running `Command { std: "docker" "start" "-a" "722943b99c86d6828eb38859d5bf5affbc1f79fd2a7c380e6918face2e8960d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "722943b99c86d6828eb38859d5bf5affbc1f79fd2a7c380e6918face2e8960d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "722943b99c86d6828eb38859d5bf5affbc1f79fd2a7c380e6918face2e8960d7", kill_on_drop: false }` [INFO] [stdout] 722943b99c86d6828eb38859d5bf5affbc1f79fd2a7c380e6918face2e8960d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16ce068713878018f35c062d2fa80ed02de4702adbf5fba710a803249f64386b [INFO] running `Command { std: "docker" "start" "-a" "16ce068713878018f35c062d2fa80ed02de4702adbf5fba710a803249f64386b", kill_on_drop: false }` [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Compiling static_init_macro v1.0.2 [INFO] [stderr] Compiling staticinit v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking double-checked-cell v2.1.0 [INFO] [stderr] Checking libc v0.2.153 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Checking criterion v0.3.6 [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[E0432]: unresolved import `static_init` [INFO] [stdout] --> tests/lazy.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use static_init::{Lazy,LazyAccess,dynamic, Phase}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use staticinit::{Lazy,LazyAccess,dynamic, Phase}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_init` [INFO] [stdout] --> tests/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[E0425]: cannot find value `INIT` in this scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy_drop.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | static mut NORMAL: A = match INIT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INIT` in this scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy_drop.rs:104:41 [INFO] [stdout] | [INFO] [stdout] 104 | static mut PRE_INITED_NORMAL: B = match INIT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INIT` in this scope [INFO] [stdout] --> tests/primed_lesser_locked_lazy_drop.rs:171:45 [INFO] [stdout] | [INFO] [stdout] 171 | static mut NORMAL_WITH_TOLERANCE: C = match INIT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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[E0010]: allocations are not allowed in statics [INFO] [stdout] --> tests/lazy.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | static NORMAL: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ allocation not allowed in statics [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `staticinit` (test "primed_lesser_locked_lazy_drop") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[E0015]: cannot call non-const fn `slice::::into_vec::` in statics [INFO] [stdout] --> tests/lazy.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | static NORMAL: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `AtomicU32::fetch_add` in statics [INFO] [stdout] --> tests/lazy.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | if UNINIT_COUNT.fetch_add(1,Ordering::Relaxed) < 2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0010]: allocations are not allowed in statics [INFO] [stdout] --> tests/lazy.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | vec![1,2] [INFO] [stdout] | ^^^^^^^^^ allocation not allowed in statics [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `slice::::into_vec::` in statics [INFO] [stdout] --> tests/lazy.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | vec![1,2] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `AtomicU32::fetch_add` in statics [INFO] [stdout] --> tests/lazy.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | UNINIT_ONCE_COUNT.fetch_add(1,Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0010]: allocations are not allowed in statics [INFO] [stdout] --> tests/lazy.rs:108:42 [INFO] [stdout] | [INFO] [stdout] 108 | static NORMAL_WITH_TOLERANCE: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ allocation not allowed in statics [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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[E0015]: cannot call non-const fn `slice::::into_vec::` in statics [INFO] [stdout] --> tests/lazy.rs:108:42 [INFO] [stdout] | [INFO] [stdout] 108 | static NORMAL_WITH_TOLERANCE: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `staticinit` (test "initialization") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0010, E0015, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0010`. [INFO] [stdout] [INFO] [stderr] error: could not compile `staticinit` (test "lazy") due to 10 previous errors [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[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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_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] [stderr] error: could not compile `staticinit` (test "locked_lazy_finalize") due to 2 previous errors [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[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[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] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `staticinit` (test "primed_locked_lazy_drop") due to 8 previous errors [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_locked_lazy.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | assert!(NORMAL.try_write().is_err()); [INFO] [stdout] | ^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_try_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_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 `primed_read_non_initializing` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(NORMAL.primed_read_non_initializing().unwrap_err().len(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `primed_write_non_initializing` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | assert_eq!(NORMAL.primed_write_non_initializing().unwrap_err().len(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | assert!(NORMAL.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `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 `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 `primed_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | assert_eq!(NORMAL.primed_write().unwrap().len(), 2); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_ref` with a similar name [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(NORMAL.as_ref().unwrap().len(), 2); [INFO] [stdout] | ~~~~~~ [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 `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 `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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_ref` with a similar name [INFO] [stdout] | [INFO] [stdout] 73 | assert_eq!(NORMAL2.as_ref().unwrap().len(), 2); [INFO] [stdout] | ~~~~~~ [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 `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 `primed_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | assert_eq!(NORMAL5.primed_read().unwrap().len(), 2); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `primed_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 `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 `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 `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 `fast_try_write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | assert!(NORMAL.fast_try_write().unwrap().unwrap().len() == 2); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fast_try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | assert!(NORMAL.fast_try_read().unwrap().unwrap().len() == 2); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `primed_read_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 `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 `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 `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 `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | NORMAL.write().push(3); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | assert_eq!(*NORMAL.read(), vec![1, 2, 3]); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_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 `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 `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/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 `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:129:45 [INFO] [stdout] | [INFO] [stdout] 129 | assert!(catch_unwind(|| INIT_MAY_PANICK.write().len()).is_err()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | INIT_MAY_PANICK.phase(), [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:138:45 [INFO] [stdout] | [INFO] [stdout] 138 | assert!(catch_unwind(|| INIT_MAY_PANICK.read().len()).is_err()); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/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 `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:147:32 [INFO] [stdout] | [INFO] [stdout] 147 | assert_eq!(INIT_MAY_PANICK.read().len(), 2); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | assert!(INIT_MAY_PANICK.phase() == Phase::INITIALIZED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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 `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 `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 `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 `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 `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_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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_ref` with a similar name [INFO] [stdout] | [INFO] [stdout] 185 | assert!(catch_unwind(|| UNINITIALIZABLE.as_ref().unwrap().len()).is_err()); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/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 `primed_read_non_initializing` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:196:32 [INFO] [stdout] | [INFO] [stdout] 196 | assert_eq!(UNINITIALIZABLE.primed_read_non_initializing().unwrap_err().len(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:201:25 [INFO] [stdout] | [INFO] [stdout] 201 | UNINITIALIZABLE.phase(), [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:216:35 [INFO] [stdout] | [INFO] [stdout] 216 | assert!(NORMAL_WITH_TOLERANCE.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:218:35 [INFO] [stdout] | [INFO] [stdout] 218 | assert!(NORMAL_WITH_TOLERANCE.try_read().is_err()); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `primed_read_non_initializing` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:220:38 [INFO] [stdout] | [INFO] [stdout] 220 | assert_eq!(NORMAL_WITH_TOLERANCE.primed_read_non_initializing().unwrap_err().len(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:222:35 [INFO] [stdout] | [INFO] [stdout] 222 | assert!(NORMAL_WITH_TOLERANCE.phase().is_empty()); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:224:38 [INFO] [stdout] | [INFO] [stdout] 224 | assert_eq!(NORMAL_WITH_TOLERANCE.read().len(), 2); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:226:35 [INFO] [stdout] | [INFO] [stdout] 226 | assert!(NORMAL_WITH_TOLERANCE.phase() == Phase::INITIALIZED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:228:38 [INFO] [stdout] | [INFO] [stdout] 228 | assert_eq!(NORMAL_WITH_TOLERANCE.try_read().unwrap().len(), 2); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `phase` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:230:35 [INFO] [stdout] | [INFO] [stdout] 230 | assert!(NORMAL_WITH_TOLERANCE.phase() == Phase::INITIALIZED); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:232:39 [INFO] [stdout] | [INFO] [stdout] 232 | assert_eq!(*NORMAL_WITH_TOLERANCE.write(), vec![1, 2]); [INFO] [stdout] | ^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/primed_locked_lazy.rs:234:38 [INFO] [stdout] | [INFO] [stdout] 234 | assert_eq!(NORMAL_WITH_TOLERANCE.read().len(), 2); [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 76 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `staticinit` (test "primed_locked_lazy") due to 77 previous errors [INFO] running `Command { std: "docker" "inspect" "16ce068713878018f35c062d2fa80ed02de4702adbf5fba710a803249f64386b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16ce068713878018f35c062d2fa80ed02de4702adbf5fba710a803249f64386b", kill_on_drop: false }` [INFO] [stdout] 16ce068713878018f35c062d2fa80ed02de4702adbf5fba710a803249f64386b [INFO] checking staticinit-1.0.0 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-4 [INFO] extracting crate staticinit 1.0.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate staticinit 1.0.0 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate staticinit 1.0.0 [INFO] finished tweaking crates.io crate staticinit 1.0.0 [INFO] tweaked toml for crates.io crate staticinit 1.0.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 031d6412f2456f095e97c96eeaf8709f5861aee98199616c788406370fe85f1a [INFO] running `Command { std: "docker" "start" "-a" "031d6412f2456f095e97c96eeaf8709f5861aee98199616c788406370fe85f1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "031d6412f2456f095e97c96eeaf8709f5861aee98199616c788406370fe85f1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "031d6412f2456f095e97c96eeaf8709f5861aee98199616c788406370fe85f1a", kill_on_drop: false }` [INFO] [stdout] 031d6412f2456f095e97c96eeaf8709f5861aee98199616c788406370fe85f1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a80a6437cf296bd8f01008edfff3b838341f0749cf45abb2b1c802ad4867b772 [INFO] running `Command { std: "docker" "start" "-a" "a80a6437cf296bd8f01008edfff3b838341f0749cf45abb2b1c802ad4867b772", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "a80a6437cf296bd8f01008edfff3b838341f0749cf45abb2b1c802ad4867b772", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a80a6437cf296bd8f01008edfff3b838341f0749cf45abb2b1c802ad4867b772", kill_on_drop: false }` [INFO] [stdout] a80a6437cf296bd8f01008edfff3b838341f0749cf45abb2b1c802ad4867b772