[INFO] fetching crate gbench 1.0.1...
[INFO] testing gbench-1.0.1 against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] extracting crate gbench 1.0.1 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate gbench 1.0.1
[INFO] finished tweaking crates.io crate gbench 1.0.1
[INFO] tweaked toml for crates.io crate gbench 1.0.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate gbench 1.0.1 on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] running `"cargo" "+1.100.0-beta.13" "generate-lockfile" "--manifest-path" "Cargo.toml"`
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:8:12
[INFO] [stderr]    |
[INFO] [stderr]  8 | homepage = "https://github.com/maksimil/gbench"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 13 | repository = "https://github.com/maksimil/gbench"
[INFO] [stderr]    |              ------------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `gbench` (manifest) generated 1 warning
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 129653db93b409afcdf0464fd7d6ba6d78223587f8d93294788e06e859ddfb5b
[INFO] running `"docker" "start" "129653db93b409afcdf0464fd7d6ba6d78223587f8d93294788e06e859ddfb5b"`
[INFO] running `"docker" "inspect" "129653db93b409afcdf0464fd7d6ba6d78223587f8d93294788e06e859ddfb5b"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "129653db93b409afcdf0464fd7d6ba6d78223587f8d93294788e06e859ddfb5b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "129653db93b409afcdf0464fd7d6ba6d78223587f8d93294788e06e859ddfb5b"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "129653db93b409afcdf0464fd7d6ba6d78223587f8d93294788e06e859ddfb5b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:8:12
[INFO] [stderr]    |
[INFO] [stderr]  8 | homepage = "https://github.com/maksimil/gbench"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 13 | repository = "https://github.com/maksimil/gbench"
[INFO] [stderr]    |              ------------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `gbench` (manifest) generated 1 warning
[INFO] [stderr]    Compiling gbench v1.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/global.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |     unsafe { (&*GLOBAL_DATA.as_ptr()).program_begin }
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]    |
[INFO] [stdout] 40 - static mut GLOBAL_DATA: MaybeUninit<GlobalData> = MaybeUninit::uninit();
[INFO] [stdout] 40 + static GLOBAL_DATA: MaybeUninit<GlobalData> = MaybeUninit::uninit();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/global.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 |     unsafe { (&*GLOBAL_DATA.as_ptr()).queue_mutex.lock().unwrap() }
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]    |
[INFO] [stdout] 40 - static mut GLOBAL_DATA: MaybeUninit<GlobalData> = MaybeUninit::uninit();
[INFO] [stdout] 40 + static GLOBAL_DATA: MaybeUninit<GlobalData> = MaybeUninit::uninit();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/global.rs:93:32
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let _gd = mem::replace(&mut GLOBAL_DATA, MaybeUninit::uninit()).assume_init();
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let _gd = mem::replace(&raw mut GLOBAL_DATA, MaybeUninit::uninit()).assume_init();
[INFO] [stdout]    |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/global.rs:98:44
[INFO] [stdout]    |
[INFO] [stdout] 98 |     static TID: IdBorrow = unsafe { (&mut *GLOBAL_DATA.as_mut_ptr()).id_storage.gen() };
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1.11s
[INFO] running `"docker" "inspect" "129653db93b409afcdf0464fd7d6ba6d78223587f8d93294788e06e859ddfb5b"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "129653db93b409afcdf0464fd7d6ba6d78223587f8d93294788e06e859ddfb5b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:8:12
[INFO] [stderr]    |
[INFO] [stderr]  8 | homepage = "https://github.com/maksimil/gbench"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 13 | repository = "https://github.com/maksimil/gbench"
[INFO] [stderr]    |              ------------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `gbench` (manifest) generated 1 warning
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/global.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |     unsafe { (&*GLOBAL_DATA.as_ptr()).program_begin }
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]    |
[INFO] [stdout] 40 - static mut GLOBAL_DATA: MaybeUninit<GlobalData> = MaybeUninit::uninit();
[INFO] [stdout] 40 + static GLOBAL_DATA: MaybeUninit<GlobalData> = MaybeUninit::uninit();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling gbench v1.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/global.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 |     unsafe { (&*GLOBAL_DATA.as_ptr()).queue_mutex.lock().unwrap() }
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]    |
[INFO] [stdout] 40 - static mut GLOBAL_DATA: MaybeUninit<GlobalData> = MaybeUninit::uninit();
[INFO] [stdout] 40 + static GLOBAL_DATA: MaybeUninit<GlobalData> = MaybeUninit::uninit();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/global.rs:93:32
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let _gd = mem::replace(&mut GLOBAL_DATA, MaybeUninit::uninit()).assume_init();
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let _gd = mem::replace(&raw mut GLOBAL_DATA, MaybeUninit::uninit()).assume_init();
[INFO] [stdout]    |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/global.rs:98:44
[INFO] [stdout]    |
[INFO] [stdout] 98 |     static TID: IdBorrow = unsafe { (&mut *GLOBAL_DATA.as_mut_ptr()).id_storage.gen() };
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/global.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |     unsafe { (&*GLOBAL_DATA.as_ptr()).program_begin }
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]    |
[INFO] [stdout] 40 - static mut GLOBAL_DATA: MaybeUninit<GlobalData> = MaybeUninit::uninit();
[INFO] [stdout] 40 + static GLOBAL_DATA: MaybeUninit<GlobalData> = MaybeUninit::uninit();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/global.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 |     unsafe { (&*GLOBAL_DATA.as_ptr()).queue_mutex.lock().unwrap() }
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]    |
[INFO] [stdout] 40 - static mut GLOBAL_DATA: MaybeUninit<GlobalData> = MaybeUninit::uninit();
[INFO] [stdout] 40 + static GLOBAL_DATA: MaybeUninit<GlobalData> = MaybeUninit::uninit();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/global.rs:93:32
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let _gd = mem::replace(&mut GLOBAL_DATA, MaybeUninit::uninit()).assume_init();
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let _gd = mem::replace(&raw mut GLOBAL_DATA, MaybeUninit::uninit()).assume_init();
[INFO] [stdout]    |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/global.rs:98:44
[INFO] [stdout]    |
[INFO] [stdout] 98 |     static TID: IdBorrow = unsafe { (&mut *GLOBAL_DATA.as_mut_ptr()).id_storage.gen() };
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.35s
[INFO] running `"docker" "inspect" "129653db93b409afcdf0464fd7d6ba6d78223587f8d93294788e06e859ddfb5b"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "129653db93b409afcdf0464fd7d6ba6d78223587f8d93294788e06e859ddfb5b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--release"`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:8:12
[INFO] [stderr]    |
[INFO] [stderr]  8 | homepage = "https://github.com/maksimil/gbench"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 13 | repository = "https://github.com/maksimil/gbench"
[INFO] [stderr]    |              ------------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `gbench` (manifest) generated 1 warning
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/global.rs:70:17
[INFO] [stderr]    |
[INFO] [stderr] 70 |     unsafe { (&*GLOBAL_DATA.as_ptr()).program_begin }
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stderr]    |
[INFO] [stderr] 40 - static mut GLOBAL_DATA: MaybeUninit<GlobalData> = MaybeUninit::uninit();
[INFO] [stderr] 40 + static GLOBAL_DATA: MaybeUninit<GlobalData> = MaybeUninit::uninit();
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/global.rs:75:17
[INFO] [stderr]    |
[INFO] [stderr] 75 |     unsafe { (&*GLOBAL_DATA.as_ptr()).queue_mutex.lock().unwrap() }
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stderr]    |
[INFO] [stderr] 40 - static mut GLOBAL_DATA: MaybeUninit<GlobalData> = MaybeUninit::uninit();
[INFO] [stderr] 40 + static GLOBAL_DATA: MaybeUninit<GlobalData> = MaybeUninit::uninit();
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/global.rs:93:32
[INFO] [stderr]    |
[INFO] [stderr] 93 |         let _gd = mem::replace(&mut GLOBAL_DATA, MaybeUninit::uninit()).assume_init();
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] help: use `&raw mut` instead to create a raw pointer
[INFO] [stderr]    |
[INFO] [stderr] 93 |         let _gd = mem::replace(&raw mut GLOBAL_DATA, MaybeUninit::uninit()).assume_init();
[INFO] [stderr]    |                                 +++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/global.rs:98:44
[INFO] [stderr]    |
[INFO] [stderr] 98 |     static TID: IdBorrow = unsafe { (&mut *GLOBAL_DATA.as_mut_ptr()).id_storage.gen() };
[INFO] [stderr]    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `gbench` (lib) generated 4 warnings
[INFO] [stderr] warning: `gbench` (lib test) generated 4 warnings (4 duplicates)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/gbench/335b33ca7a06e999/out/gbench-335b33ca7a06e999)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests gbench
[INFO] [stdout] 
[INFO] [stdout] running 16 tests
[INFO] [stdout] test src/lib.rs - (line 55) ... FAILED
[INFO] [stdout] test src/lib.rs - count (line 359) ... FAILED
[INFO] [stdout] test src/lib.rs - count (line 344) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 82) ... FAILED
[INFO] [stdout] test src/lib.rs - instantiate (line 265) ... FAILED
[INFO] [stdout] test src/lib.rs - instantiate (line 230) ... FAILED
[INFO] [stdout] test src/lib.rs - instantiate (line 240) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 37) ... ok
[INFO] [stdout] test src/lib.rs - scope (line 160) ... FAILED
[INFO] [stdout] test src/lib.rs - log (line 310) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 15) ... ok
[INFO] [stdout] test src/lib.rs - instantiate (line 250) ... ok
[INFO] [stdout] test src/lib.rs - scope (line 176) ... FAILED
[INFO] [stdout] test src/lib.rs - log (line 315) ... FAILED
[INFO] [stdout] test src/writer.rs - writer::Writer (line 14) ... FAILED
[INFO] [stdout] test src/lib.rs - scope (line 166) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 55) stdout ----
[INFO] [stdout] error: no rules expected `,`
[INFO] [stdout]    --> src/lib.rs:62:47
[INFO] [stdout]     |
[INFO] [stdout]  62 |     instantiate!(ChromeTracing("target/bench"), CsvWriter("target/bench"));
[INFO] [stdout]     |                                               ^ no rules expected this token in macro call
[INFO] [stdout]     |
[INFO] [stdout] note: while trying to match meta-variable `$folder:expr`
[INFO] [stdout]    --> src/lib.rs:305:6
[INFO] [stdout]     |
[INFO] [stdout] 305 |     ($folder: expr) => {};
[INFO] [stdout]     |      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: no rules expected `"Actual value"`
[INFO] [stdout]    --> src/lib.rs:70:17
[INFO] [stdout]     |
[INFO] [stdout]  70 |                 "Actual value" => {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ no rules expected this token in macro call
[INFO] [stdout]     |
[INFO] [stdout] note: while trying to match meta-variable `$name:ident`
[INFO] [stdout]    --> src/lib.rs:412:6
[INFO] [stdout]     |
[INFO] [stdout] 412 |     ($name: ident => {$($argname: ident => $val: expr),*}) => {};
[INFO] [stdout]     |      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - count (line 359) stdout ----
[INFO] [stdout] error: missing `struct` for struct definition
[INFO] [stdout]    --> src/lib.rs:360:1
[INFO] [stdout]     |
[INFO] [stdout] 360 | Count {
[INFO] [stdout]     | ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: add `struct` here to parse `Count` as a struct
[INFO] [stdout]     |
[INFO] [stdout] 360 | struct Count {
[INFO] [stdout]     | ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - count (line 344) stdout ----
[INFO] [stdout] error: cannot find macro `count` in this scope
[INFO] [stdout]    --> src/lib.rs:346:1
[INFO] [stdout]     |
[INFO] [stdout] 346 | count!(
[INFO] [stdout]     | ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 82) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `imp` in this scope
[INFO] [stdout]    --> src/lib.rs:119:14
[INFO] [stdout]     |
[INFO] [stdout] 119 |         drop(imp);
[INFO] [stdout]     |              ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `join` in this scope
[INFO] [stdout]    --> src/lib.rs:125:14
[INFO] [stdout]     |
[INFO] [stdout] 125 |         drop(join);
[INFO] [stdout]     |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - instantiate (line 265) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `ginst` in this scope
[INFO] [stdout]    --> src/lib.rs:278:5
[INFO] [stdout]     |
[INFO] [stdout] 278 |     ginst.end();
[INFO] [stdout]     |     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - instantiate (line 230) stdout ----
[INFO] [stdout] error: cannot find macro `instantiate` in this scope
[INFO] [stdout]    --> src/lib.rs:232:1
[INFO] [stdout]     |
[INFO] [stdout] 232 | instantiate!(ChromeTracing("target/bench"));
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Instantiator` in this scope
[INFO] [stdout]    --> src/lib.rs:234:31
[INFO] [stdout]     |
[INFO] [stdout] 234 | let __gbench_instantiator__ = Instantiator::new(vec![Box::new(ChromeTracing("target/bench"))]);
[INFO] [stdout]     |                               ^^^^^^^^^^^^ use of undeclared type `Instantiator`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ChromeTracing` in this scope
[INFO] [stdout]    --> src/lib.rs:234:63
[INFO] [stdout]     |
[INFO] [stdout] 234 | let __gbench_instantiator__ = Instantiator::new(vec![Box::new(ChromeTracing("target/bench"))]);
[INFO] [stdout]     |                                                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - instantiate (line 240) stdout ----
[INFO] [stdout] error: cannot find macro `instantiate` in this scope
[INFO] [stdout]    --> src/lib.rs:241:1
[INFO] [stdout]     |
[INFO] [stdout] 241 | instantiate!(ginst | ChromeTracing("target/bench"));
[INFO] [stdout]     | ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Instantiator` in this scope
[INFO] [stdout]    --> src/lib.rs:243:13
[INFO] [stdout]     |
[INFO] [stdout] 243 | let ginst = Instantiator::new(vec![Box::new(ChromeTracing("target/bench"))]);
[INFO] [stdout]     |             ^^^^^^^^^^^^ use of undeclared type `Instantiator`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ChromeTracing` in this scope
[INFO] [stdout]    --> src/lib.rs:243:45
[INFO] [stdout]     |
[INFO] [stdout] 243 | let ginst = Instantiator::new(vec![Box::new(ChromeTracing("target/bench"))]);
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - scope (line 160) stdout ----
[INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon
[INFO] [stdout]    --> src/lib.rs:161:7
[INFO] [stdout]     |
[INFO] [stdout] 161 | scope!(main)
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: change the delimiters to curly braces
[INFO] [stdout]     |
[INFO] [stdout] 161 - scope!(main)
[INFO] [stdout] 161 + scope!{main}
[INFO] [stdout]     |
[INFO] [stdout] help: add a semicolon
[INFO] [stdout]     |
[INFO] [stdout] 161 | scope!(main);
[INFO] [stdout]     |             +
[INFO] [stdout] 
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]    --> src/lib.rs:163:1
[INFO] [stdout]     |
[INFO] [stdout] 163 | let main = TimeScope::new(format!("main"));
[INFO] [stdout]     | ^^^
[INFO] [stdout]     | |
[INFO] [stdout]     | `let` cannot be used for global variables
[INFO] [stdout]     | help: consider using `static` or `const` instead of `let`
[INFO] [stdout]     |
[INFO] [stdout]     = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - log (line 310) stdout ----
[INFO] [stdout] error: cannot find macro `log` in this scope
[INFO] [stdout]    --> src/lib.rs:312:1
[INFO] [stdout]     |
[INFO] [stdout] 312 | log!("A: {}", a);
[INFO] [stdout]     | ^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - scope (line 176) stdout ----
[INFO] [stdout] error: cannot find macro `scope` in this scope
[INFO] [stdout]    --> src/lib.rs:187:5
[INFO] [stdout]     |
[INFO] [stdout] 187 |     scope!(i2 | "Less important subtask");
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `scope` in this scope
[INFO] [stdout]    --> src/lib.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 182 |     scope!(i1 | "Important subtask");
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `scope` in this scope
[INFO] [stdout]    --> src/lib.rs:179:1
[INFO] [stdout]     |
[INFO] [stdout] 179 | scope!(imp | "An important task");
[INFO] [stdout]     | ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `imp` in this scope
[INFO] [stdout]    --> src/lib.rs:194:6
[INFO] [stdout]     |
[INFO] [stdout] 194 | drop(imp);
[INFO] [stdout]     |      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `do_work` in this scope
[INFO] [stdout]    --> src/lib.rs:183:5
[INFO] [stdout]     |
[INFO] [stdout] 183 |     do_work();
[INFO] [stdout]     |     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `do_other_work` in this scope
[INFO] [stdout]    --> src/lib.rs:188:5
[INFO] [stdout]     |
[INFO] [stdout] 188 |     do_other_work();
[INFO] [stdout]     |     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - log (line 315) stdout ----
[INFO] [stdout] error: expected expression, found `,`
[INFO] [stdout]    --> src/lib.rs:318:32
[INFO] [stdout]     |
[INFO] [stdout] 316 | Log {
[INFO] [stdout]     | --- while parsing this struct
[INFO] [stdout] 317 |     log: "A: 0",
[INFO] [stdout] 318 |     ts: /* event's timestamp */,
[INFO] [stdout]     |                                ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `,`
[INFO] [stdout]    --> src/lib.rs:319:43
[INFO] [stdout]     |
[INFO] [stdout] 316 | Log {
[INFO] [stdout]     | --- while parsing this struct
[INFO] [stdout] ...
[INFO] [stdout] 319 |     tid: /* event's thread of execution */,
[INFO] [stdout]     |                                           ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Log` in this scope
[INFO] [stdout]    --> src/lib.rs:316:1
[INFO] [stdout]     |
[INFO] [stdout] 316 | Log {
[INFO] [stdout]     | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/writer.rs - writer::Writer (line 14) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope
[INFO] [stdout]   --> src/writer.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Writer for QueueLogger {
[INFO] [stdout]    |      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `BenchData` in this scope
[INFO] [stdout]   --> src/writer.rs:18:30
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn end(&self, data: &Vec<BenchData>) {
[INFO] [stdout]    |                              ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl<BenchData> Writer for QueueLogger {
[INFO] [stdout]    |     +++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - scope (line 166) stdout ----
[INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon
[INFO] [stdout]    --> src/lib.rs:167:7
[INFO] [stdout]     |
[INFO] [stdout] 167 | scope!(main | "A {}", 0)
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: change the delimiters to curly braces
[INFO] [stdout]     |
[INFO] [stdout] 167 - scope!(main | "A {}", 0)
[INFO] [stdout] 167 + scope!{main | "A {}", 0}
[INFO] [stdout]     |
[INFO] [stdout] help: add a semicolon
[INFO] [stdout]     |
[INFO] [stdout] 167 | scope!(main | "A {}", 0);
[INFO] [stdout]     |                         +
[INFO] [stdout] 
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]    --> src/lib.rs:169:1
[INFO] [stdout]     |
[INFO] [stdout] 169 | let main = TimeScope::new(format!("A {}", 0));
[INFO] [stdout]     | ^^^
[INFO] [stdout]     | |
[INFO] [stdout]     | `let` cannot be used for global variables
[INFO] [stdout]     | help: consider using `static` or `const` instead of `let`
[INFO] [stdout]     |
[INFO] [stdout]     = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 55)
[INFO] [stdout]     src/lib.rs - (line 82)
[INFO] [stdout]     src/lib.rs - count (line 344)
[INFO] [stdout]     src/lib.rs - count (line 359)
[INFO] [stdout]     src/lib.rs - instantiate (line 230)
[INFO] [stdout]     src/lib.rs - instantiate (line 240)
[INFO] [stdout]     src/lib.rs - instantiate (line 265)
[INFO] [stdout]     src/lib.rs - log (line 310)
[INFO] [stdout]     src/lib.rs - log (line 315)
[INFO] [stdout]     src/lib.rs - scope (line 160)
[INFO] [stdout]     src/lib.rs - scope (line 166)
[INFO] [stdout]     src/lib.rs - scope (line 176)
[INFO] [stdout]     src/writer.rs - writer::Writer (line 14)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.72s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `"docker" "inspect" "129653db93b409afcdf0464fd7d6ba6d78223587f8d93294788e06e859ddfb5b"`
[INFO] running `"docker" "rm" "-f" "129653db93b409afcdf0464fd7d6ba6d78223587f8d93294788e06e859ddfb5b"`
[INFO] [stdout] 129653db93b409afcdf0464fd7d6ba6d78223587f8d93294788e06e859ddfb5b
