[INFO] fetching crate embassy-sync 0.8.0...
[INFO] testing embassy-sync-0.8.0 against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate embassy-sync 0.8.0 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate embassy-sync 0.8.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate embassy-sync 0.8.0
[INFO] tweaked toml for crates.io crate embassy-sync 0.8.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate embassy-sync 0.8.0 on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate embassy-sync 0.8.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 92abe3ad5757c1411c3a125e2be98a2f0b67f276b4b80c5430b3c9c3612fd914
[INFO] running `Command { std: "docker" "start" "92abe3ad5757c1411c3a125e2be98a2f0b67f276b4b80c5430b3c9c3612fd914", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "92abe3ad5757c1411c3a125e2be98a2f0b67f276b4b80c5430b3c9c3612fd914", kill_on_drop: false }`
[INFO] running `Command { std: "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" "92abe3ad5757c1411c3a125e2be98a2f0b67f276b4b80c5430b3c9c3612fd914" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "92abe3ad5757c1411c3a125e2be98a2f0b67f276b4b80c5430b3c9c3612fd914", kill_on_drop: false }`
[INFO] running `Command { std: "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" "92abe3ad5757c1411c3a125e2be98a2f0b67f276b4b80c5430b3c9c3612fd914" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling heapless v0.9.2
[INFO] [stderr]    Compiling hash32 v0.3.1
[INFO] [stderr]    Compiling embedded-io v0.7.1
[INFO] [stderr]    Compiling embassy-sync v0.8.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling embedded-io-async v0.7.0
[INFO] [stderr] warning: unused dependency `cfg-if`
[INFO] [stderr]  --> Cargo.toml:1:15
[INFO] [stderr]   |
[INFO] [stderr] 1 | [dependencies.cfg-if]
[INFO] [stderr]   |               ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `cfg-if`
[INFO] [stderr] warning: `embassy-sync` (manifest) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 2.31s
[INFO] running `Command { std: "docker" "inspect" "92abe3ad5757c1411c3a125e2be98a2f0b67f276b4b80c5430b3c9c3612fd914", kill_on_drop: false }`
[INFO] running `Command { std: "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" "92abe3ad5757c1411c3a125e2be98a2f0b67f276b4b80c5430b3c9c3612fd914" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling portable-atomic v1.13.1
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling target-triple v1.0.0
[INFO] [stderr]    Compiling winnow v1.0.0
[INFO] [stderr]    Compiling serde_spanned v1.0.4
[INFO] [stderr]    Compiling toml_datetime v1.0.1+spec-1.1.0
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling toml_writer v1.0.7+spec-1.1.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling critical-section v1.2.0
[INFO] [stderr]    Compiling futures-timer v3.0.3
[INFO] [stderr]    Compiling embassy-sync v0.8.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling toml_parser v1.0.10+spec-1.1.0
[INFO] [stderr]    Compiling static_cell v2.1.1
[INFO] [stderr]    Compiling toml v1.0.7+spec-1.1.0
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling pin-project-internal v1.1.11
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling pin-project v1.1.11
[INFO] [stderr]    Compiling trybuild v1.0.116
[INFO] [stderr]    Compiling futures-executor v0.3.32
[INFO] [stderr]    Compiling futures-test v0.3.32
[INFO] [stderr] warning: unused dependency `cfg-if`
[INFO] [stderr]  --> Cargo.toml:1:15
[INFO] [stderr]   |
[INFO] [stderr] 1 | [dependencies.cfg-if]
[INFO] [stderr]   |               ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `cfg-if`
[INFO] [stderr] warning: `embassy-sync` (manifest) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 51.45s
[INFO] running `Command { std: "docker" "inspect" "92abe3ad5757c1411c3a125e2be98a2f0b67f276b4b80c5430b3c9c3612fd914", kill_on_drop: false }`
[INFO] running `Command { std: "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" "92abe3ad5757c1411c3a125e2be98a2f0b67f276b4b80c5430b3c9c3612fd914" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: unused dependency `cfg-if`
[INFO] [stderr]  --> Cargo.toml:1:15
[INFO] [stderr]   |
[INFO] [stderr] 1 | [dependencies.cfg-if]
[INFO] [stderr]   |               ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `cfg-if`
[INFO] [stderr] warning: `embassy-sync` (manifest) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/embassy-sync/f56cefc00b68f43e/out/embassy_sync-f56cefc00b68f43e)
[INFO] [stdout] 
[INFO] [stdout] running 88 tests
[INFO] [stdout] test channel::tests::receiving_when_empty ... ok
[INFO] [stdout] test channel::tests::receiving_once_with_one_send ... ok
[INFO] [stdout] test channel::tests::cloning ... ok
[INFO] [stdout] test channel::tests::sending_once ... ok
[INFO] [stdout] test channel::tests::dynamic_dispatch_into ... ok
[INFO] [stdout] test channel::tests::receiver_receives_given_try_send_async ... ok
[INFO] [stdout] test channel::tests::simple_send_and_receive ... ok
[INFO] [stdout] test channel::tests::sending_when_full ... ok
[INFO] [stdout] test lazy_lock::tests::test_lazy_drop ... ok
[INFO] [stdout] test channel::tests::dynamic_dispatch_constructor ... ok
[INFO] [stdout] test lazy_lock::tests::test_lazy_lock_mutation ... ok
[INFO] [stdout] test once_lock::tests::once_lock_async ... ok
[INFO] [stdout] test once_lock::tests::once_lock_get_or_init ... ok
[INFO] [stdout] test once_lock::tests::once_lock_into_inner ... ok
[INFO] [stdout] test once_lock::tests::once_lock_take_init ... ok
[INFO] [stdout] test pipe::tests::dynamic_dispatch_pipe ... ok
[INFO] [stdout] test pipe::tests::read_buf ... ok
[INFO] [stdout] test channel::tests::sender_send_completes_if_capacity ... ok
[INFO] [stdout] test pipe::tests::receiver_receives_given_try_write_async ... ok
[INFO] [stdout] test pipe::tests::receiving_once_with_one_send ... ok
[INFO] [stdout] test pipe::tests::receiving_when_empty ... ok
[INFO] [stdout] test pipe::tests::sender_send_completes_if_capacity ... ok
[INFO] [stdout] test pipe::tests::simple_send_and_receive ... ok
[INFO] [stdout] test pipe::tests::writer_is_cloneable ... ok
[INFO] [stdout] test pipe::tests::writing_once ... ok
[INFO] [stdout] test lazy_lock::tests::test_lazy_lock ... ok
[INFO] [stdout] test pipe::tests::writing_when_full ... ok
[INFO] [stdout] test priority_channel::tests::cloning ... ok
[INFO] [stdout] test lazy_lock::tests::test_lazy_lock_into_inner ... ok
[INFO] [stdout] test mutex::tests::mapped_guard_releases_lock_when_dropped ... ok
[INFO] [stdout] test once_lock::tests::once_lock ... ok
[INFO] [stdout] test once_lock::tests::once_lock_static ... ok
[INFO] [stdout] test priority_channel::tests::receiving_when_empty ... ok
[INFO] [stdout] test priority_channel::tests::dynamic_dispatch ... ok
[INFO] [stdout] test priority_channel::tests::receiving_once_with_one_send ... ok
[INFO] [stdout] test priority_channel::tests::send_priority ... ok
[INFO] [stdout] test priority_channel::tests::sender_send_completes_if_capacity ... ok
[INFO] [stdout] test priority_channel::tests::sending_once ... ok
[INFO] [stdout] test priority_channel::tests::sending_when_full ... ok
[INFO] [stdout] test priority_channel::tests::receiver_receives_given_try_send_async ... ok
[INFO] [stdout] test priority_channel::tests::simple_send_and_receive ... ok
[INFO] [stdout] test pubsub::tests::all_subscribers_receive ... ok
[INFO] [stdout] test pubsub::tests::correct_available ... ok
[INFO] [stdout] test pubsub::tests::correct_len ... ok
[INFO] [stdout] test pubsub::tests::dyn_pub_sub_works ... ok
[INFO] [stdout] test pubsub::tests::lag_when_queue_full_on_immediate_publish ... ok
[INFO] [stdout] test pubsub::tests::limited_subs_and_pubs ... ok
[INFO] [stdout] test pubsub::tests::publisher_sink ... ok
[INFO] [stdout] test pubsub::tests::publisher_wait_on_full_queue ... ok
[INFO] [stdout] test pubsub::tests::skip_clone_for_last_message ... ok
[INFO] [stdout] test ring_buffer::tests::push_pop ... ok
[INFO] [stdout] test rwlock::tests::read_guard_releases_lock_when_dropped ... ok
[INFO] [stdout] test rwlock::tests::write_guard_releases_lock_when_dropped ... ok
[INFO] [stdout] test semaphore::tests::fair::acquire ... ok
[INFO] [stdout] test semaphore::tests::fair::acquire_all ... ok
[INFO] [stdout] test semaphore::tests::fair::contested ... ok
[INFO] [stdout] test semaphore::tests::fair::disarm ... ok
[INFO] [stdout] test semaphore::tests::fair::fairness ... ok
[INFO] [stdout] test semaphore::tests::fair::release ... ok
[INFO] [stdout] test semaphore::tests::fair::set ... ok
[INFO] [stdout] test semaphore::tests::fair::try_acquire ... ok
[INFO] [stdout] test semaphore::tests::greedy::acquire ... ok
[INFO] [stdout] test semaphore::tests::greedy::acquire_all ... ok
[INFO] [stdout] test semaphore::tests::greedy::disarm ... ok
[INFO] [stdout] test semaphore::tests::greedy::greedy ... ok
[INFO] [stdout] test semaphore::tests::greedy::release ... ok
[INFO] [stdout] test semaphore::tests::greedy::set ... ok
[INFO] [stdout] test pubsub::tests::empty_channel_when_last_subscriber_is_dropped ... ok
[INFO] [stdout] test semaphore::tests::greedy::try_acquire ... ok
[INFO] [stdout] test semaphore::tests::greedy::try_acquire_all ... ok
[INFO] [stdout] test watch::tests::all_try_get ... ok
[INFO] [stdout] test watch::tests::clone_senders ... ok
[INFO] [stdout] test watch::tests::contains_value ... ok
[INFO] [stdout] test watch::tests::convert_to_dyn ... ok
[INFO] [stdout] test watch::tests::dynamic_receiver_count ... ok
[INFO] [stdout] test watch::tests::max_receivers_drop ... ok
[INFO] [stdout] test watch::tests::multiple_receivers ... ok
[INFO] [stdout] test watch::tests::multiple_sends ... ok
[INFO] [stdout] test watch::tests::once_lock_like ... ok
[INFO] [stdout] test semaphore::tests::fair::try_acquire_all ... ok
[INFO] [stdout] test watch::tests::predicate_fn ... ok
[INFO] [stdout] test watch::tests::receive_after_create ... ok
[INFO] [stdout] test watch::tests::sender_modify ... ok
[INFO] [stdout] test semaphore::tests::greedy::contested ... ok
[INFO] [stdout] test watch::tests::use_dynamics ... ok
[INFO] [stdout] test semaphore::tests::fair::wakers ... ok
[INFO] [stdout] test channel::tests::senders_sends_wait_until_capacity ... ok
[INFO] [stdout] test priority_channel::tests::senders_sends_wait_until_capacity ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 88 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.52s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/ui.rs (/opt/rustwide/target/release/build/embassy-sync/e50bc92611a8afd9/out/ui-e50bc92611a8afd9)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]     Checking futures-core v0.3.32
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]     Checking futures-io v0.3.32
[INFO] [stderr]     Checking pin-project-lite v0.2.17
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]    Compiling heapless v0.9.2
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]    Compiling portable-atomic v1.13.1
[INFO] [stderr]     Checking futures-task v0.3.32
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling embassy-sync v0.8.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking embedded-io v0.7.1
[INFO] [stderr]     Checking hash32 v0.3.1
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]     Checking critical-section v1.2.0
[INFO] [stderr]     Checking futures-timer v3.0.3
[INFO] [stderr]     Checking embedded-io-async v0.7.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking static_cell v2.1.1
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling pin-project-internal v1.1.11
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking pin-project v1.1.11
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking futures-test v0.3.32
[INFO] [stderr]     Checking embassy-sync-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/embassy-sync)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.01s
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] test tests/ui/sync_impl/lazy_lock_function.rs ... mismatch
[INFO] [stdout] test ui ... FAILED
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stderr] EXPECTED:
[INFO] [stdout] failures:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stdout] 
[INFO] [stderr] error[E0277]: `*const u8` cannot be shared between threads safely
[INFO] [stdout] ---- ui stdout ----
[INFO] [stderr]   --> tests/ui/sync_impl/lazy_lock_function.rs:8:16
[INFO] [stdout] 
[INFO] [stderr]    |
[INFO] [stdout] thread 'ui' (867) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/run.rs:102:13:
[INFO] [stderr]  6 |     let closure_capturing_non_sync_variable = || unsafe { core::ptr::read(x_ptr) };
[INFO] [stdout] 1 of 3 tests failed
[INFO] [stderr]    |                                               -- within this `{closure@$DIR/tests/ui/sync_impl/lazy_lock_function.rs:6:47: 6:49}`
[INFO] [stdout] stack backtrace:
[INFO] [stderr]  7 |
[INFO] [stdout]    0:     0x5eb5e789cff1 - <<std[617be2ca0a6fd877]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt
[INFO] [stderr]  8 |     check_sync(LazyLock::new(closure_capturing_non_sync_variable));
[INFO] [stdout]    1:     0x5eb5e78b32da - core[a373ad73a504971]::fmt::write
[INFO] [stderr]    |     ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const u8` cannot be shared between threads safely
[INFO] [stdout]    2:     0x5eb5e78a183c - <alloc[2e1b2a31b91974c5]::vec::Vec<u8> as core[a373ad73a504971]::io::write::Write>::write_fmt
[INFO] [stderr]    |     |
[INFO] [stdout]    3:     0x5eb5e7876456 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0}
[INFO] [stderr]    |     required by a bound introduced by this call
[INFO] [stdout]    4:     0x5eb5e7894599 - std[617be2ca0a6fd877]::panicking::default_hook
[INFO] [stderr]    |
[INFO] [stdout]    5:     0x5eb5e782dba0 - test[aada8e7e76ba119b]::test_main_inner::{closure#0}
[INFO] [stderr]    = help: within `{closure@$DIR/tests/ui/sync_impl/lazy_lock_function.rs:6:47: 6:49}`, the trait `Sync` is not implemented for `*const u8`
[INFO] [stdout]    6:     0x5eb5e7894752 - std[617be2ca0a6fd877]::panicking::panic_with_hook
[INFO] [stderr]    = note: required because it appears within the type `&*const u8`
[INFO] [stdout]    7:     0x5eb5e7876502 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}
[INFO] [stderr] note: required because it's used within this closure
[INFO] [stdout]    8:     0x5eb5e786ed59 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace::<std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}, !>
[INFO] [stderr]   --> tests/ui/sync_impl/lazy_lock_function.rs:6:47
[INFO] [stdout]    9:     0x5eb5e787710d - __rustc[ea4f61d10b84890b]::rust_begin_unwind
[INFO] [stderr]    |
[INFO] [stdout]   10:     0x5eb5e78b3a4c - core[a373ad73a504971]::panicking::panic_fmt
[INFO] [stderr]  6 |     let closure_capturing_non_sync_variable = || unsafe { core::ptr::read(x_ptr) };
[INFO] [stdout]   11:     0x5eb5e777fc5b - <trybuild[c84d1b4ccdfed5b0]::Runner>::run
[INFO] [stderr]    |                                               ^^
[INFO] [stdout]   12:     0x5eb5e7782d70 - <trybuild[c84d1b4ccdfed5b0]::TestCases as core[a373ad73a504971]::ops::drop::Drop>::drop
[INFO] [stderr]    = note: required for `embassy_sync::lazy_lock::LazyLock<u8, {closure@$DIR/tests/ui/sync_impl/lazy_lock_function.rs:6:47: 6:49}>` to implement `Sync`
[INFO] [stdout]   13:     0x5eb5e777912e - <ui[4e9a45161a210660]::ui::{closure#0} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr] note: required by a bound in `check_sync`
[INFO] [stdout]   14:     0x5eb5e7820feb - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::<core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>>
[INFO] [stderr]   --> tests/ui/sync_impl/lazy_lock_function.rs:11:18
[INFO] [stdout]   15:     0x5eb5e782e1c5 - test[aada8e7e76ba119b]::run_test::{closure#0}
[INFO] [stderr]    |
[INFO] [stdout]   16:     0x5eb5e7827ab4 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace::<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>
[INFO] [stderr] 11 | fn check_sync<T: Sync>(_lazy_lock: T) {}
[INFO] [stdout]   17:     0x5eb5e7831252 - <std[617be2ca0a6fd877]::thread::lifecycle::spawn_unchecked<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stderr]    |                  ^^^^ required by this bound in `check_sync`
[INFO] [stdout]   18:     0x5eb5e789c24f - <std[617be2ca0a6fd877]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stdout]   19:     0x72123bedbdfa - <unknown>
[INFO] [stderr] 
[INFO] [stdout]   20:     0x72123bf6f3d4 - clone
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stdout]   21:                0x0 - <unknown>
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stdout] 
[INFO] [stderr] error[E0277]: `*const u8` cannot be shared between threads safely
[INFO] [stdout] 
[INFO] [stderr]   --> tests/ui/sync_impl/lazy_lock_function.rs:8:16
[INFO] [stdout] failures:
[INFO] [stderr]    |
[INFO] [stdout]     ui
[INFO] [stderr]  6 |     let closure_capturing_non_sync_variable = || unsafe { core::ptr::read(x_ptr) };
[INFO] [stdout] 
[INFO] [stderr]    |                                               -- within this `{closure@$DIR/tests/ui/sync_impl/lazy_lock_function.rs:6:47: 6:49}`
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 21.42s
[INFO] [stderr]  7 |
[INFO] [stdout] 
[INFO] [stderr]  8 |     check_sync(LazyLock::new(closure_capturing_non_sync_variable));
[INFO] [stderr]    |     ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const u8` cannot be shared between threads safely
[INFO] [stderr]    |     |
[INFO] [stderr]    |     required by a bound introduced by this call
[INFO] [stderr]    |
[INFO] [stderr]    = help: within `{closure@$DIR/tests/ui/sync_impl/lazy_lock_function.rs:6:47: 6:49}`, the trait `Sync` is not implemented for `*const u8`
[INFO] [stderr]    = note: required because it appears within the type `&*const u8`
[INFO] [stderr] note: required because `x_ptr` is used within this closure
[INFO] [stderr]   --> tests/ui/sync_impl/lazy_lock_function.rs:6:75
[INFO] [stderr]    |
[INFO] [stderr]  6 |     let closure_capturing_non_sync_variable = || unsafe { core::ptr::read(x_ptr) };
[INFO] [stderr]    |                                                                           ^^^^^
[INFO] [stderr]    = note: required for `embassy_sync::lazy_lock::LazyLock<u8, {closure@$DIR/tests/ui/sync_impl/lazy_lock_function.rs:6:47: 6:49}>` to implement `Sync`
[INFO] [stderr] note: required by a bound in `check_sync`
[INFO] [stderr]   --> tests/ui/sync_impl/lazy_lock_function.rs:11:18
[INFO] [stderr]    |
[INFO] [stderr] 11 | fn check_sync<T: Sync>(_lazy_lock: T) {}
[INFO] [stderr]    |                  ^^^^ required by this bound in `check_sync`
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/ui/sync_impl/lazy_lock_type.rs ... ok
[INFO] [stderr] test tests/ui/sync_impl/once_lock.rs ... ok
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] error: test failed, to rerun pass `--test ui`
[INFO] running `Command { std: "docker" "inspect" "92abe3ad5757c1411c3a125e2be98a2f0b67f276b4b80c5430b3c9c3612fd914", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92abe3ad5757c1411c3a125e2be98a2f0b67f276b4b80c5430b3c9c3612fd914", kill_on_drop: false }`
[INFO] [stdout] 92abe3ad5757c1411c3a125e2be98a2f0b67f276b4b80c5430b3c9c3612fd914
