[INFO] fetching crate staticinit 1.0.0... [INFO] checking staticinit-1.0.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [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 ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 87 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cfg_aliases v0.1.1 (available: v0.2.1) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.5.1) [INFO] [stderr] Adding ctor v0.1.26 (available: v0.2.9) [INFO] [stderr] Adding parking_lot v0.11.2 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.8.6 (available: v0.9.10) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded double-checked-cell v2.1.0 [INFO] 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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4e94711f8151d7e0b7d449abbb4d793ed6a6d7189bf8e11cf32287af3a8c83b [INFO] running `Command { std: "docker" "start" "-a" "a4e94711f8151d7e0b7d449abbb4d793ed6a6d7189bf8e11cf32287af3a8c83b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4e94711f8151d7e0b7d449abbb4d793ed6a6d7189bf8e11cf32287af3a8c83b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4e94711f8151d7e0b7d449abbb4d793ed6a6d7189bf8e11cf32287af3a8c83b", kill_on_drop: false }` [INFO] [stdout] a4e94711f8151d7e0b7d449abbb4d793ed6a6d7189bf8e11cf32287af3a8c83b [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8424441f518f0bc68eb0e59ebb2c179ba90e9a6f77d35d41aed6ab3628ecf31f [INFO] running `Command { std: "docker" "start" "-a" "8424441f518f0bc68eb0e59ebb2c179ba90e9a6f77d35d41aed6ab3628ecf31f", kill_on_drop: false }` [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Compiling static_init_macro v1.0.2 [INFO] [stderr] Compiling staticinit v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_json v1.0.133 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking double-checked-cell v2.1.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Checking libc v0.2.164 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Checking criterion v0.3.6 [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] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> tests/bad_init_order.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 29 | fn panic_hook(p: &core::panic::PanicInfo<'_>) -> () { [INFO] [stdout] | --------------------------------------------------- found signature defined here [INFO] [stdout] ... [INFO] [stdout] 36 | std::panic::set_hook(Box::new(panic_hook)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `for<'a, 'b> fn(&'a PanicHookInfo<'b>) -> _` [INFO] [stdout] found function signature `fn(&PanicInfo<'_>) -> _` [INFO] [stdout] = note: required for the cast from `Box fn(&'a PanicInfo<'b>) {panic_hook}>` to `Box<(dyn for<'a, 'b> Fn(&'a PanicHookInfo<'b>) + Send + Sync + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> tests/bad_cyclic_thread_local_lazy.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 38 | fn panic_hook(p: &core::panic::PanicInfo<'_>) -> () { [INFO] [stdout] | --------------------------------------------------- found signature defined here [INFO] [stdout] ... [INFO] [stdout] 45 | std::panic::set_hook(Box::new(panic_hook)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `for<'a, 'b> fn(&'a PanicHookInfo<'b>) -> _` [INFO] [stdout] found function signature `fn(&PanicInfo<'_>) -> _` [INFO] [stdout] = note: required for the cast from `Box fn(&'a PanicInfo<'b>) {panic_hook}>` to `Box<(dyn for<'a, 'b> Fn(&'a PanicHookInfo<'b>) + Send + Sync + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0631`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0631`. [INFO] [stdout] [INFO] [stderr] error: could not compile `staticinit` (test "bad_init_order") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `staticinit` (test "bad_cyclic_thread_local_lazy") due to 1 previous error [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/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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0010]: allocations are not allowed in statics [INFO] [stdout] --> tests/lesser_lazy.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | 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[E0015]: cannot call non-const fn `slice::::into_vec::` in statics [INFO] [stdout] --> tests/lesser_lazy.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | 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 `std::sync::LazyLock::new(|| ...)` [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0010]: allocations are not allowed in statics [INFO] [stdout] --> tests/lesser_lazy.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | static PRE_INITED_NORMAL: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ allocation not allowed in statics [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `slice::::into_vec::` in statics [INFO] [stdout] --> tests/lesser_lazy.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | static PRE_INITED_NORMAL: Vec = vec![1,2]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `std::sync::LazyLock::new(|| ...)` [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_init` [INFO] [stdout] --> tests/primed_lesser_locked_lazy_drop.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use static_init::{dynamic, Uninit, Phase,destructor,constructor}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use staticinit::{dynamic, Uninit, Phase,destructor,constructor}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `staticinit` (test "lesser_lazy_finalize") due to 1 previous error [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/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] Some errors have detailed explanations: E0010, E0015, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0010`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_init` [INFO] [stdout] --> benches/multi_threaded/synchronised_bench.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use static_init::dynamic; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use staticinit::dynamic; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_init` [INFO] [stdout] --> benches/multi_threaded/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use static_init::{dynamic, Generator, GeneratorTolerance, Lazy, LockedLazy}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `static_init` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | use staticinit::{dynamic, Generator, GeneratorTolerance, Lazy, LockedLazy}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `staticinit` (test "lesser_lazy") due to 5 previous errors [INFO] [stderr] error: could not compile `staticinit` (test "locked_lazy_finalize") due to 1 previous error [INFO] [stdout] error[E0658]: `for` is not allowed in a `static` [INFO] [stdout] --> benches/multi_threaded/main.rs:760:17 [INFO] [stdout] | [INFO] [stdout] 760 | / for _ in 0..128 { [INFO] [stdout] 761 | | v.push(AtomicUsize::new(0)); [INFO] [stdout] 762 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 894 | heavy_bench! {heavy_mutlazy,LockedLazy, read_access, write_access} [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #87575 for more information [INFO] [stdout] = help: add `#![feature(const_for)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `heavy_bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `for` is not allowed in a `static` [INFO] [stdout] --> benches/multi_threaded/main.rs:760:17 [INFO] [stdout] | [INFO] [stdout] 760 | / for _ in 0..128 { [INFO] [stdout] 761 | | v.push(AtomicUsize::new(0)); [INFO] [stdout] 762 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 895 | heavy_bench! {heavy_rwmut,RwMut, read_access, write_access} [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #87575 for more information [INFO] [stdout] = help: add `#![feature(const_for)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `heavy_bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `for` is not allowed in a `static` [INFO] [stdout] --> benches/multi_threaded/main.rs:760:17 [INFO] [stdout] | [INFO] [stdout] 760 | / for _ in 0..128 { [INFO] [stdout] 761 | | v.push(AtomicUsize::new(0)); [INFO] [stdout] 762 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 897 | heavy_bench! {heavy_fast_mutlazy,LockedLazy, fast_read_access, fast_write_access} [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #87575 for more information [INFO] [stdout] = help: add `#![feature(const_for)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `heavy_bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `for` is not allowed in a `static` [INFO] [stdout] --> benches/multi_threaded/main.rs:760:17 [INFO] [stdout] | [INFO] [stdout] 760 | / for _ in 0..128 { [INFO] [stdout] 761 | | v.push(AtomicUsize::new(0)); [INFO] [stdout] 762 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 898 | heavy_bench! {heavy_fast_rwmut,RwMut, fast_read_access, fast_write_access} [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see issue #87575 for more information [INFO] [stdout] = help: add `#![feature(const_for)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] = note: this error originates in the macro `heavy_bench` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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 4 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `A` in the current scope [INFO] [stdout] --> tests/macro.rs:264:34 [INFO] [stdout] | [INFO] [stdout] 87 | struct A(i32); [INFO] [stdout] | -------- method `read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 264 | static L1: A = A::new(L0.read().0 + 1); [INFO] [stdout] | ^^^^ method not found in `A` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `read`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `serde_cbor::de::Read` [INFO] [stdout] candidate #2: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `staticinit` (bench "multi_threaded") due to 6 previous errors [INFO] [stderr] error: could not compile `staticinit` (test "macro") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "8424441f518f0bc68eb0e59ebb2c179ba90e9a6f77d35d41aed6ab3628ecf31f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8424441f518f0bc68eb0e59ebb2c179ba90e9a6f77d35d41aed6ab3628ecf31f", kill_on_drop: false }` [INFO] [stdout] 8424441f518f0bc68eb0e59ebb2c179ba90e9a6f77d35d41aed6ab3628ecf31f