[INFO] fetching crate eventbus 0.5.1...
[INFO] testing eventbus-0.5.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] extracting crate eventbus 0.5.1 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate eventbus 0.5.1
[INFO] finished tweaking crates.io crate eventbus 0.5.1
[INFO] tweaked toml for crates.io crate eventbus 0.5.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate eventbus 0.5.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 54 packages to latest compatible versions
[INFO] [stderr]       Adding criterion v0.2.11 (available: v0.7.0)
[INFO] [stderr]       Adding itertools v0.7.11 (available: v0.14.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded anymap v0.12.1
[INFO] [stderr]   Downloaded cast v0.2.7
[INFO] [stderr]   Downloaded itertools v0.7.11
[INFO] [stderr]   Downloaded itertools v0.8.2
[INFO] [stderr]   Downloaded criterion v0.2.11
[INFO] [stderr]   Downloaded rand_xoshiro v0.1.0
[INFO] [stderr]   Downloaded criterion-plot v0.3.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bb0ccd729dfbb9eb28cfcc5e9bd42f6c5a190acb1de705fd19b9d1f3c779feda
[INFO] running `Command { std: "docker" "start" "-a" "bb0ccd729dfbb9eb28cfcc5e9bd42f6c5a190acb1de705fd19b9d1f3c779feda", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bb0ccd729dfbb9eb28cfcc5e9bd42f6c5a190acb1de705fd19b9d1f3c779feda", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb0ccd729dfbb9eb28cfcc5e9bd42f6c5a190acb1de705fd19b9d1f3c779feda", kill_on_drop: false }`
[INFO] [stdout] bb0ccd729dfbb9eb28cfcc5e9bd42f6c5a190acb1de705fd19b9d1f3c779feda
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6176740eceec5d3940d9242410a0dd664ea75d5d7952627ae06ef12edd40cb7f
[INFO] running `Command { std: "docker" "start" "-a" "6176740eceec5d3940d9242410a0dd664ea75d5d7952627ae06ef12edd40cb7f", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling anymap v0.12.1
[INFO] [stderr]    Compiling itertools v0.7.11
[INFO] [stderr]    Compiling eventbus v0.5.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:160:24
[INFO] [stdout]     |
[INFO] [stdout] 160 | use std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:274:30
[INFO] [stdout]     |
[INFO] [stdout] 274 | static BUS_ID: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout] 274 - static BUS_ID: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout] 274 + static BUS_ID: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:173:28
[INFO] [stdout]     |
[INFO] [stdout] 173 |     use std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:188:46
[INFO] [stdout]     |
[INFO] [stdout] 188 |         static EVENT_ID_COUNT: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout] 188 -         static EVENT_ID_COUNT: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout] 188 +         static EVENT_ID_COUNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:180:54
[INFO] [stdout]     |
[INFO] [stdout] 180 |         static ref EVENT_ID_MAP: Mutex<::anymap::Map<::anymap::any::Any + Send + Sync>> = Mutex::new(::anymap::Map::new());
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 180 |         static ref EVENT_ID_MAP: Mutex<::anymap::Map<dyn (::anymap::any::Any + Send + Sync)>> = Mutex::new(::anymap::Map::new());
[INFO] [stdout]     |                                                      +++++                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `dropper` is never read
[INFO] [stdout]    --> src/lib.rs:135:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct EventBus {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] 134 |     id: usize,
[INFO] [stdout] 135 |     dropper: Mutex<LinkedList<Box<dyn Fn(usize) + Send + Sync>>>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.57s
[INFO] running `Command { std: "docker" "inspect" "6176740eceec5d3940d9242410a0dd664ea75d5d7952627ae06ef12edd40cb7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6176740eceec5d3940d9242410a0dd664ea75d5d7952627ae06ef12edd40cb7f", kill_on_drop: false }`
[INFO] [stdout] 6176740eceec5d3940d9242410a0dd664ea75d5d7952627ae06ef12edd40cb7f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a168fe4df79fba4a9a66bd906cf7125de440070d5ea4fb3cdc7410347cd69786
[INFO] running `Command { std: "docker" "start" "-a" "a168fe4df79fba4a9a66bd906cf7125de440070d5ea4fb3cdc7410347cd69786", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling semver v1.0.27
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling itertools v0.8.2
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:160:24
[INFO] [stdout]     |
[INFO] [stdout] 160 | use std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:274:30
[INFO] [stdout]     |
[INFO] [stdout] 274 | static BUS_ID: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout] 274 - static BUS_ID: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout] 274 + static BUS_ID: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:173:28
[INFO] [stdout]     |
[INFO] [stdout] 173 |     use std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:188:46
[INFO] [stdout]     |
[INFO] [stdout] 188 |         static EVENT_ID_COUNT: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout] 188 -         static EVENT_ID_COUNT: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout] 188 +         static EVENT_ID_COUNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:180:54
[INFO] [stdout]     |
[INFO] [stdout] 180 |         static ref EVENT_ID_MAP: Mutex<::anymap::Map<::anymap::any::Any + Send + Sync>> = Mutex::new(::anymap::Map::new());
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 180 |         static ref EVENT_ID_MAP: Mutex<::anymap::Map<dyn (::anymap::any::Any + Send + Sync)>> = Mutex::new(::anymap::Map::new());
[INFO] [stdout]     |                                                      +++++                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `dropper` is never read
[INFO] [stdout]    --> src/lib.rs:135:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct EventBus {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] 134 |     id: usize,
[INFO] [stdout] 135 |     dropper: Mutex<LinkedList<Box<dyn Fn(usize) + Send + Sync>>>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand_xoshiro v0.1.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]    Compiling csv-core v0.1.13
[INFO] [stderr]    Compiling criterion-plot v0.3.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling csv v1.4.0
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion v0.2.11
[INFO] [stderr]    Compiling eventbus v0.5.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/useful_testing.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     register_hook!(&event_bus, 0, MyEvent, add_handler);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/useful_testing.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     register_hook!(&event_bus, 0, MyEvent, add_handler);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/useful_testing.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/useful_testing.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/useful_testing.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/useful_testing.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/useful_testing.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     post_event!(&event_bus, &mut event, dyn DynEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/useful_testing.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     post_event!(&event_bus, &mut event, dyn DynEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/useful_testing.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     post_event!(&event_bus, &mut event, dyn DynEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/useful_testing.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     post_event!(&event_bus, &mut event, dyn DynEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/useful_testing.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     register_hook!(&event_bus, 1, MyEvent, no_handler);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/useful_testing.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     register_hook!(&event_bus, 1, MyEvent, no_handler);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/useful_testing.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/useful_testing.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/useful_testing.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/useful_testing.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/useful_testing.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/useful_testing.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/useful_testing.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/useful_testing.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:160:24
[INFO] [stdout]     |
[INFO] [stdout] 160 | use std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:274:30
[INFO] [stdout]     |
[INFO] [stdout] 274 | static BUS_ID: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout] 274 - static BUS_ID: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout] 274 + static BUS_ID: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:173:28
[INFO] [stdout]     |
[INFO] [stdout] 173 |     use std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:188:46
[INFO] [stdout]     |
[INFO] [stdout] 188 |         static EVENT_ID_COUNT: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout] 188 -         static EVENT_ID_COUNT: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stdout] 188 +         static EVENT_ID_COUNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:31:88
[INFO] [stdout]     |
[INFO] [stdout]  31 |                 static EVENT_ID: ::std::sync::atomic::AtomicUsize = std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stdout]     |                                                                                        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 330 |         register_hook!(&event_bus, 0, MyEvent, add_handler);
[INFO] [stdout]     |         --------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout]  31 -                 static EVENT_ID: ::std::sync::atomic::AtomicUsize = std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stdout]  31 +                 static EVENT_ID: ::std::sync::atomic::AtomicUsize = std::sync::atomic::AtomicUsize::new(0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:32:70
[INFO] [stdout]     |
[INFO] [stdout]  32 |                 static EVENT_ID_INIT: ::std::sync::Once = std::sync::ONCE_INIT;
[INFO] [stdout]     |                                                                      ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 330 |         register_hook!(&event_bus, 0, MyEvent, add_handler);
[INFO] [stdout]     |         --------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout]  32 -                 static EVENT_ID_INIT: ::std::sync::Once = std::sync::ONCE_INIT;
[INFO] [stdout]  32 +                 static EVENT_ID_INIT: ::std::sync::Once = std::sync::Once::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:59:92
[INFO] [stdout]     |
[INFO] [stdout]  59 |                 static CANCELLABLE: ::std::sync::atomic::AtomicBool = ::std::sync::atomic::ATOMIC_BOOL_INIT;
[INFO] [stdout]     |                                                                                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 333 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]     |         -------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout]  59 -                 static CANCELLABLE: ::std::sync::atomic::AtomicBool = ::std::sync::atomic::ATOMIC_BOOL_INIT;
[INFO] [stdout]  59 +                 static CANCELLABLE: ::std::sync::atomic::AtomicBool = ::std::sync::atomic::AtomicBool::new(false);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:60:75
[INFO] [stdout]     |
[INFO] [stdout]  60 |                 static CANCELLABLE_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stdout]     |                                                                           ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 333 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]     |         -------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout]  60 -                 static CANCELLABLE_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stdout]  60 +                 static CANCELLABLE_INIT: ::std::sync::Once = ::std::sync::Once::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:73:94
[INFO] [stdout]     |
[INFO] [stdout]  73 |                     static EVENT_ID: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stdout]     |                                                                                              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 333 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]     |         -------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout]  73 -                     static EVENT_ID: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stdout]  73 +                     static EVENT_ID: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::AtomicUsize::new(0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:74:76
[INFO] [stdout]     |
[INFO] [stdout]  74 |                     static EVENT_ID_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stdout]     |                                                                            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 333 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]     |         -------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout]  74 -                     static EVENT_ID_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stdout]  74 +                     static EVENT_ID_INIT: ::std::sync::Once = ::std::sync::Once::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:59:92
[INFO] [stdout]     |
[INFO] [stdout]  59 |                 static CANCELLABLE: ::std::sync::atomic::AtomicBool = ::std::sync::atomic::ATOMIC_BOOL_INIT;
[INFO] [stdout]     |                                                                                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 334 |         post_event!(&event_bus, &mut event, dyn DynEvent);
[INFO] [stdout]     |         ------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout]  59 -                 static CANCELLABLE: ::std::sync::atomic::AtomicBool = ::std::sync::atomic::ATOMIC_BOOL_INIT;
[INFO] [stdout]  59 +                 static CANCELLABLE: ::std::sync::atomic::AtomicBool = ::std::sync::atomic::AtomicBool::new(false);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:60:75
[INFO] [stdout]     |
[INFO] [stdout]  60 |                 static CANCELLABLE_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stdout]     |                                                                           ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 334 |         post_event!(&event_bus, &mut event, dyn DynEvent);
[INFO] [stdout]     |         ------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout]  60 -                 static CANCELLABLE_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stdout]  60 +                 static CANCELLABLE_INIT: ::std::sync::Once = ::std::sync::Once::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:73:94
[INFO] [stdout]     |
[INFO] [stdout]  73 |                     static EVENT_ID: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stdout]     |                                                                                              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 334 |         post_event!(&event_bus, &mut event, dyn DynEvent);
[INFO] [stdout]     |         ------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout]  73 -                     static EVENT_ID: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stdout]  73 +                     static EVENT_ID: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::AtomicUsize::new(0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:74:76
[INFO] [stdout]     |
[INFO] [stdout]  74 |                     static EVENT_ID_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stdout]     |                                                                            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 334 |         post_event!(&event_bus, &mut event, dyn DynEvent);
[INFO] [stdout]     |         ------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout]  74 -                     static EVENT_ID_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stdout]  74 +                     static EVENT_ID_INIT: ::std::sync::Once = ::std::sync::Once::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:31:88
[INFO] [stdout]     |
[INFO] [stdout]  31 |                 static EVENT_ID: ::std::sync::atomic::AtomicUsize = std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stdout]     |                                                                                        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 336 |         register_hook!(&event_bus, 1, MyEvent, no_handler);
[INFO] [stdout]     |         -------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout]  31 -                 static EVENT_ID: ::std::sync::atomic::AtomicUsize = std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stdout]  31 +                 static EVENT_ID: ::std::sync::atomic::AtomicUsize = std::sync::atomic::AtomicUsize::new(0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:32:70
[INFO] [stdout]     |
[INFO] [stdout]  32 |                 static EVENT_ID_INIT: ::std::sync::Once = std::sync::ONCE_INIT;
[INFO] [stdout]     |                                                                      ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 336 |         register_hook!(&event_bus, 1, MyEvent, no_handler);
[INFO] [stdout]     |         -------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout]  32 -                 static EVENT_ID_INIT: ::std::sync::Once = std::sync::ONCE_INIT;
[INFO] [stdout]  32 +                 static EVENT_ID_INIT: ::std::sync::Once = std::sync::Once::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:59:92
[INFO] [stdout]     |
[INFO] [stdout]  59 |                 static CANCELLABLE: ::std::sync::atomic::AtomicBool = ::std::sync::atomic::ATOMIC_BOOL_INIT;
[INFO] [stdout]     |                                                                                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 337 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]     |         -------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout]  59 -                 static CANCELLABLE: ::std::sync::atomic::AtomicBool = ::std::sync::atomic::ATOMIC_BOOL_INIT;
[INFO] [stdout]  59 +                 static CANCELLABLE: ::std::sync::atomic::AtomicBool = ::std::sync::atomic::AtomicBool::new(false);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:60:75
[INFO] [stdout]     |
[INFO] [stdout]  60 |                 static CANCELLABLE_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stdout]     |                                                                           ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 337 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]     |         -------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout]  60 -                 static CANCELLABLE_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stdout]  60 +                 static CANCELLABLE_INIT: ::std::sync::Once = ::std::sync::Once::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:73:94
[INFO] [stdout]     |
[INFO] [stdout]  73 |                     static EVENT_ID: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stdout]     |                                                                                              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 337 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]     |         -------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout]  73 -                     static EVENT_ID: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stdout]  73 +                     static EVENT_ID: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::AtomicUsize::new(0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:74:76
[INFO] [stdout]     |
[INFO] [stdout]  74 |                     static EVENT_ID_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stdout]     |                                                                            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 337 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]     |         -------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout]  74 -                     static EVENT_ID_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stdout]  74 +                     static EVENT_ID_INIT: ::std::sync::Once = ::std::sync::Once::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:59:92
[INFO] [stdout]     |
[INFO] [stdout]  59 |                 static CANCELLABLE: ::std::sync::atomic::AtomicBool = ::std::sync::atomic::ATOMIC_BOOL_INIT;
[INFO] [stdout]     |                                                                                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 340 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]     |         -------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout]  59 -                 static CANCELLABLE: ::std::sync::atomic::AtomicBool = ::std::sync::atomic::ATOMIC_BOOL_INIT;
[INFO] [stdout]  59 +                 static CANCELLABLE: ::std::sync::atomic::AtomicBool = ::std::sync::atomic::AtomicBool::new(false);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:60:75
[INFO] [stdout]     |
[INFO] [stdout]  60 |                 static CANCELLABLE_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stdout]     |                                                                           ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 340 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]     |         -------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout]  60 -                 static CANCELLABLE_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stdout]  60 +                 static CANCELLABLE_INIT: ::std::sync::Once = ::std::sync::Once::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]    --> src/lib.rs:73:94
[INFO] [stdout]     |
[INFO] [stdout]  73 |                     static EVENT_ID: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stdout]     |                                                                                              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 340 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]     |         -------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout]  73 -                     static EVENT_ID: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stdout]  73 +                     static EVENT_ID: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::AtomicUsize::new(0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]    --> src/lib.rs:74:76
[INFO] [stdout]     |
[INFO] [stdout]  74 |                     static EVENT_ID_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stdout]     |                                                                            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 340 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]     |         -------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]     |
[INFO] [stdout]  74 -                     static EVENT_ID_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stdout]  74 +                     static EVENT_ID_INIT: ::std::sync::Once = ::std::sync::Once::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:180:54
[INFO] [stdout]     |
[INFO] [stdout] 180 |         static ref EVENT_ID_MAP: Mutex<::anymap::Map<::anymap::any::Any + Send + Sync>> = Mutex::new(::anymap::Map::new());
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 180 |         static ref EVENT_ID_MAP: Mutex<::anymap::Map<dyn (::anymap::any::Any + Send + Sync)>> = Mutex::new(::anymap::Map::new());
[INFO] [stdout]     |                                                      +++++                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/basic_usage.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     register_hook!(&event_bus, 0, MyEvent, add_handler);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/basic_usage.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     register_hook!(&event_bus, 0, MyEvent, add_handler);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/basic_usage.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/basic_usage.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/basic_usage.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/basic_usage.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/basic_usage.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     register_hook!(&event_bus, 1, MyEvent, no_handler);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/basic_usage.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     register_hook!(&event_bus, 1, MyEvent, no_handler);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/basic_usage.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/basic_usage.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/basic_usage.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/basic_usage.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/basic_usage.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/basic_usage.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/basic_usage.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/basic_usage.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:62:40
[INFO] [stdout]     |
[INFO] [stdout]  62 |                     CANCELLABLE.store(<$crate::Event>::cancellable(event), std::sync::atomic::Ordering::Relaxed);
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 333 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]     |         -------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:62:40
[INFO] [stdout]     |
[INFO] [stdout]  62 |                     CANCELLABLE.store(<$crate::Event>::cancellable(event), std::sync::atomic::Ordering::Relaxed);
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 334 |         post_event!(&event_bus, &mut event, dyn DynEvent);
[INFO] [stdout]     |         ------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:62:40
[INFO] [stdout]     |
[INFO] [stdout]  62 |                     CANCELLABLE.store(<$crate::Event>::cancellable(event), std::sync::atomic::Ordering::Relaxed);
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 337 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]     |         -------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:62:40
[INFO] [stdout]     |
[INFO] [stdout]  62 |                     CANCELLABLE.store(<$crate::Event>::cancellable(event), std::sync::atomic::Ordering::Relaxed);
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 340 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]     |         -------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]  --> tests/dyn_events.rs:8:25
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn set_i(&mut self, i32);
[INFO] [stdout]   |                         ^^^ help: try naming the parameter or explicitly ignoring it: `_: i32`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]   = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]   = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused logical operation that must be used
[INFO] [stdout]   --> tests/useful_testing.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused logical operation that must be used
[INFO] [stdout]   --> tests/useful_testing.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     post_event!(&event_bus, &mut event, dyn DynEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused logical operation that must be used
[INFO] [stdout]   --> tests/useful_testing.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused logical operation that must be used
[INFO] [stdout]   --> tests/useful_testing.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/dyn_events.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     register_hook!(&event_bus, 0, dyn MyEvent, add_handler);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/dyn_events.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     register_hook!(&event_bus, 0, dyn MyEvent, add_handler);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/dyn_events.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/dyn_events.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/dyn_events.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/dyn_events.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/dyn_events.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |     register_hook!(&event_bus, 1, dyn MyEvent, no_handler);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/dyn_events.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |     register_hook!(&event_bus, 1, dyn MyEvent, no_handler);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/dyn_events.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/dyn_events.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/dyn_events.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/dyn_events.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/dyn_events.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/dyn_events.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> tests/dyn_events.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/dyn_events.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> tests/dyn_events.rs:26:24
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn add_handler(e: &mut MyEvent) {
[INFO] [stdout]    |                        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn add_handler(e: &mut dyn MyEvent) {
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> tests/dyn_events.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn no_handler(e: &mut MyEvent) {
[INFO] [stdout]    |                       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn no_handler(e: &mut dyn MyEvent) {
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `dropper` is never read
[INFO] [stdout]    --> src/lib.rs:135:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct EventBus {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] 134 |     id: usize,
[INFO] [stdout] 135 |     dropper: Mutex<LinkedList<Box<dyn Fn(usize) + Send + Sync>>>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused logical operation that must be used
[INFO] [stdout]   --> tests/basic_usage.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused logical operation that must be used
[INFO] [stdout]   --> tests/basic_usage.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused logical operation that must be used
[INFO] [stdout]   --> tests/basic_usage.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused logical operation that must be used
[INFO] [stdout]    --> src/lib.rs:97:17
[INFO] [stdout]     |
[INFO] [stdout]  97 |                 cancellable && <_ as $crate::Event>::cancelled(event)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stdout] ...
[INFO] [stdout] 333 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]     |         -------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 333 |         let _ = post_event!(&event_bus, &mut event, MyEvent);;
[INFO] [stdout]     |         +++++++                                             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused logical operation that must be used
[INFO] [stdout]    --> src/lib.rs:97:17
[INFO] [stdout]     |
[INFO] [stdout]  97 |                 cancellable && <_ as $crate::Event>::cancelled(event)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stdout] ...
[INFO] [stdout] 334 |         post_event!(&event_bus, &mut event, dyn DynEvent);
[INFO] [stdout]     |         ------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 334 |         let _ = post_event!(&event_bus, &mut event, dyn DynEvent);;
[INFO] [stdout]     |         +++++++                                                  +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused logical operation that must be used
[INFO] [stdout]    --> src/lib.rs:97:17
[INFO] [stdout]     |
[INFO] [stdout]  97 |                 cancellable && <_ as $crate::Event>::cancelled(event)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stdout] ...
[INFO] [stdout] 337 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]     |         -------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 337 |         let _ = post_event!(&event_bus, &mut event, MyEvent);;
[INFO] [stdout]     |         +++++++                                             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused logical operation that must be used
[INFO] [stdout]    --> src/lib.rs:97:17
[INFO] [stdout]     |
[INFO] [stdout]  97 |                 cancellable && <_ as $crate::Event>::cancelled(event)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stdout] ...
[INFO] [stdout] 340 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stdout]     |         -------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 340 |         let _ = post_event!(&event_bus, &mut event, MyEvent);;
[INFO] [stdout]     |         +++++++                                             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused logical operation that must be used
[INFO] [stdout]   --> tests/dyn_events.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused logical operation that must be used
[INFO] [stdout]   --> tests/dyn_events.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused logical operation that must be used
[INFO] [stdout]   --> tests/dyn_events.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 17.84s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.11
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "a168fe4df79fba4a9a66bd906cf7125de440070d5ea4fb3cdc7410347cd69786", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a168fe4df79fba4a9a66bd906cf7125de440070d5ea4fb3cdc7410347cd69786", kill_on_drop: false }`
[INFO] [stdout] a168fe4df79fba4a9a66bd906cf7125de440070d5ea4fb3cdc7410347cd69786
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4c7e91d05480f7dee87916dacdd210a81b48655a8efeaa51ac69fd6002fec57f
[INFO] running `Command { std: "docker" "start" "-a" "4c7e91d05480f7dee87916dacdd210a81b48655a8efeaa51ac69fd6002fec57f", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]    --> src/lib.rs:160:24
[INFO] [stderr]     |
[INFO] [stderr] 160 | use std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]    --> src/lib.rs:274:30
[INFO] [stderr]     |
[INFO] [stderr] 274 | static BUS_ID: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]     |
[INFO] [stderr] 274 - static BUS_ID: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stderr] 274 + static BUS_ID: AtomicUsize = AtomicUsize::new(0);
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]    --> src/lib.rs:173:28
[INFO] [stderr]     |
[INFO] [stderr] 173 |     use std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]    --> src/lib.rs:188:46
[INFO] [stderr]     |
[INFO] [stderr] 188 |         static EVENT_ID_COUNT: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stderr]     |                                              ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]     |
[INFO] [stderr] 188 -         static EVENT_ID_COUNT: AtomicUsize = ATOMIC_USIZE_INIT;
[INFO] [stderr] 188 +         static EVENT_ID_COUNT: AtomicUsize = AtomicUsize::new(0);
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/lib.rs:180:54
[INFO] [stderr]     |
[INFO] [stderr] 180 |         static ref EVENT_ID_MAP: Mutex<::anymap::Map<::anymap::any::Any + Send + Sync>> = Mutex::new(::anymap::Map::new());
[INFO] [stderr]     |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 180 |         static ref EVENT_ID_MAP: Mutex<::anymap::Map<dyn (::anymap::any::Any + Send + Sync)>> = Mutex::new(::anymap::Map::new());
[INFO] [stderr]     |                                                      +++++                                +
[INFO] [stderr] 
[INFO] [stderr] warning: field `dropper` is never read
[INFO] [stderr]    --> src/lib.rs:135:5
[INFO] [stderr]     |
[INFO] [stderr] 133 | pub struct EventBus {
[INFO] [stderr]     |            -------- field in this struct
[INFO] [stderr] 134 |     id: usize,
[INFO] [stderr] 135 |     dropper: Mutex<LinkedList<Box<dyn Fn(usize) + Send + Sync>>>,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `eventbus` (lib) generated 6 warnings (run `cargo fix --lib -p eventbus` to apply 3 suggestions)
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/basic_usage.rs:27:5
[INFO] [stderr]    |
[INFO] [stderr] 27 |     register_hook!(&event_bus, 0, MyEvent, add_handler);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]    = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> tests/basic_usage.rs:27:5
[INFO] [stderr]    |
[INFO] [stderr] 27 |     register_hook!(&event_bus, 0, MyEvent, add_handler);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/basic_usage.rs:30:5
[INFO] [stderr]    |
[INFO] [stderr] 30 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> tests/basic_usage.rs:30:5
[INFO] [stderr]    |
[INFO] [stderr] 30 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/basic_usage.rs:30:5
[INFO] [stderr]    |
[INFO] [stderr] 30 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/basic_usage.rs:32:5
[INFO] [stderr]    |
[INFO] [stderr] 32 |     register_hook!(&event_bus, 1, MyEvent, no_handler);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> tests/basic_usage.rs:32:5
[INFO] [stderr]    |
[INFO] [stderr] 32 |     register_hook!(&event_bus, 1, MyEvent, no_handler);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/basic_usage.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 33 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> tests/basic_usage.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 33 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/basic_usage.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 33 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/basic_usage.rs:36:5
[INFO] [stderr]    |
[INFO] [stderr] 36 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> tests/basic_usage.rs:36:5
[INFO] [stderr]    |
[INFO] [stderr] 36 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/basic_usage.rs:36:5
[INFO] [stderr]    |
[INFO] [stderr] 36 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused logical operation that must be used
[INFO] [stderr]   --> tests/basic_usage.rs:30:5
[INFO] [stderr]    |
[INFO] [stderr] 30 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused logical operation that must be used
[INFO] [stderr]   --> tests/basic_usage.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 33 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused logical operation that must be used
[INFO] [stderr]   --> tests/basic_usage.rs:36:5
[INFO] [stderr]    |
[INFO] [stderr] 36 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]    --> src/lib.rs:31:88
[INFO] [stderr]     |
[INFO] [stderr]  31 |                 static EVENT_ID: ::std::sync::atomic::AtomicUsize = std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stderr]     |                                                                                        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 330 |         register_hook!(&event_bus, 0, MyEvent, add_handler);
[INFO] [stderr]     |         --------------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]     |
[INFO] [stderr]  31 -                 static EVENT_ID: ::std::sync::atomic::AtomicUsize = std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stderr]  31 +                 static EVENT_ID: ::std::sync::atomic::AtomicUsize = std::sync::atomic::AtomicUsize::new(0);
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]    --> src/lib.rs:32:70
[INFO] [stderr]     |
[INFO] [stderr]  32 |                 static EVENT_ID_INIT: ::std::sync::Once = std::sync::ONCE_INIT;
[INFO] [stderr]     |                                                                      ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 330 |         register_hook!(&event_bus, 0, MyEvent, add_handler);
[INFO] [stderr]     |         --------------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]     |
[INFO] [stderr]  32 -                 static EVENT_ID_INIT: ::std::sync::Once = std::sync::ONCE_INIT;
[INFO] [stderr]  32 +                 static EVENT_ID_INIT: ::std::sync::Once = std::sync::Once::new();
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stderr]    --> src/lib.rs:59:92
[INFO] [stderr]     |
[INFO] [stderr]  59 |                 static CANCELLABLE: ::std::sync::atomic::AtomicBool = ::std::sync::atomic::ATOMIC_BOOL_INIT;
[INFO] [stderr]     |                                                                                            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 333 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]     |         -------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]     |
[INFO] [stderr]  59 -                 static CANCELLABLE: ::std::sync::atomic::AtomicBool = ::std::sync::atomic::ATOMIC_BOOL_INIT;
[INFO] [stderr]  59 +                 static CANCELLABLE: ::std::sync::atomic::AtomicBool = ::std::sync::atomic::AtomicBool::new(false);
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]    --> src/lib.rs:60:75
[INFO] [stderr]     |
[INFO] [stderr]  60 |                 static CANCELLABLE_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stderr]     |                                                                           ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 333 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]     |         -------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]     |
[INFO] [stderr]  60 -                 static CANCELLABLE_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stderr]  60 +                 static CANCELLABLE_INIT: ::std::sync::Once = ::std::sync::Once::new();
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]    --> src/lib.rs:73:94
[INFO] [stderr]     |
[INFO] [stderr]  73 |                     static EVENT_ID: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stderr]     |                                                                                              ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 333 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]     |         -------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]     |
[INFO] [stderr]  73 -                     static EVENT_ID: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stderr]  73 +                     static EVENT_ID: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::AtomicUsize::new(0);
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]    --> src/lib.rs:74:76
[INFO] [stderr]     |
[INFO] [stderr]  74 |                     static EVENT_ID_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stderr]     |                                                                            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 333 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]     |         -------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]     |
[INFO] [stderr]  74 -                     static EVENT_ID_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stderr]  74 +                     static EVENT_ID_INIT: ::std::sync::Once = ::std::sync::Once::new();
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stderr]    --> src/lib.rs:59:92
[INFO] [stderr]     |
[INFO] [stderr]  59 |                 static CANCELLABLE: ::std::sync::atomic::AtomicBool = ::std::sync::atomic::ATOMIC_BOOL_INIT;
[INFO] [stderr]     |                                                                                            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 334 |         post_event!(&event_bus, &mut event, dyn DynEvent);
[INFO] [stderr]     |         ------------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]     |
[INFO] [stderr]  59 -                 static CANCELLABLE: ::std::sync::atomic::AtomicBool = ::std::sync::atomic::ATOMIC_BOOL_INIT;
[INFO] [stderr]  59 +                 static CANCELLABLE: ::std::sync::atomic::AtomicBool = ::std::sync::atomic::AtomicBool::new(false);
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]    --> src/lib.rs:60:75
[INFO] [stderr]     |
[INFO] [stderr]  60 |                 static CANCELLABLE_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stderr]     |                                                                           ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 334 |         post_event!(&event_bus, &mut event, dyn DynEvent);
[INFO] [stderr]     |         ------------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]     |
[INFO] [stderr]  60 -                 static CANCELLABLE_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stderr]  60 +                 static CANCELLABLE_INIT: ::std::sync::Once = ::std::sync::Once::new();
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]    --> src/lib.rs:73:94
[INFO] [stderr]     |
[INFO] [stderr]  73 |                     static EVENT_ID: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stderr]     |                                                                                              ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 334 |         post_event!(&event_bus, &mut event, dyn DynEvent);
[INFO] [stderr]     |         ------------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]     |
[INFO] [stderr]  73 -                     static EVENT_ID: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stderr]  73 +                     static EVENT_ID: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::AtomicUsize::new(0);
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]    --> src/lib.rs:74:76
[INFO] [stderr]     |
[INFO] [stderr]  74 |                     static EVENT_ID_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stderr]     |                                                                            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 334 |         post_event!(&event_bus, &mut event, dyn DynEvent);
[INFO] [stderr]     |         ------------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]     |
[INFO] [stderr]  74 -                     static EVENT_ID_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stderr]  74 +                     static EVENT_ID_INIT: ::std::sync::Once = ::std::sync::Once::new();
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]    --> src/lib.rs:31:88
[INFO] [stderr]     |
[INFO] [stderr]  31 |                 static EVENT_ID: ::std::sync::atomic::AtomicUsize = std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stderr]     |                                                                                        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 336 |         register_hook!(&event_bus, 1, MyEvent, no_handler);
[INFO] [stderr]     |         -------------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]     |
[INFO] [stderr]  31 -                 static EVENT_ID: ::std::sync::atomic::AtomicUsize = std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stderr]  31 +                 static EVENT_ID: ::std::sync::atomic::AtomicUsize = std::sync::atomic::AtomicUsize::new(0);
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]    --> src/lib.rs:32:70
[INFO] [stderr]     |
[INFO] [stderr]  32 |                 static EVENT_ID_INIT: ::std::sync::Once = std::sync::ONCE_INIT;
[INFO] [stderr]     |                                                                      ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 336 |         register_hook!(&event_bus, 1, MyEvent, no_handler);
[INFO] [stderr]     |         -------------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]     |
[INFO] [stderr]  32 -                 static EVENT_ID_INIT: ::std::sync::Once = std::sync::ONCE_INIT;
[INFO] [stderr]  32 +                 static EVENT_ID_INIT: ::std::sync::Once = std::sync::Once::new();
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stderr]    --> src/lib.rs:59:92
[INFO] [stderr]     |
[INFO] [stderr]  59 |                 static CANCELLABLE: ::std::sync::atomic::AtomicBool = ::std::sync::atomic::ATOMIC_BOOL_INIT;
[INFO] [stderr]     |                                                                                            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 337 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]     |         -------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]     |
[INFO] [stderr]  59 -                 static CANCELLABLE: ::std::sync::atomic::AtomicBool = ::std::sync::atomic::ATOMIC_BOOL_INIT;
[INFO] [stderr]  59 +                 static CANCELLABLE: ::std::sync::atomic::AtomicBool = ::std::sync::atomic::AtomicBool::new(false);
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]    --> src/lib.rs:60:75
[INFO] [stderr]     |
[INFO] [stderr]  60 |                 static CANCELLABLE_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stderr]     |                                                                           ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 337 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]     |         -------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]     |
[INFO] [stderr]  60 -                 static CANCELLABLE_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stderr]  60 +                 static CANCELLABLE_INIT: ::std::sync::Once = ::std::sync::Once::new();
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]    --> src/lib.rs:73:94
[INFO] [stderr]     |
[INFO] [stderr]  73 |                     static EVENT_ID: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stderr]     |                                                                                              ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 337 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]     |         -------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]     |
[INFO] [stderr]  73 -                     static EVENT_ID: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stderr]  73 +                     static EVENT_ID: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::AtomicUsize::new(0);
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]    --> src/lib.rs:74:76
[INFO] [stderr]     |
[INFO] [stderr]  74 |                     static EVENT_ID_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stderr]     |                                                                            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 337 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]     |         -------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]     |
[INFO] [stderr]  74 -                     static EVENT_ID_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stderr]  74 +                     static EVENT_ID_INIT: ::std::sync::Once = ::std::sync::Once::new();
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stderr]    --> src/lib.rs:59:92
[INFO] [stderr]     |
[INFO] [stderr]  59 |                 static CANCELLABLE: ::std::sync::atomic::AtomicBool = ::std::sync::atomic::ATOMIC_BOOL_INIT;
[INFO] [stderr]     |                                                                                            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 340 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]     |         -------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]     |
[INFO] [stderr]  59 -                 static CANCELLABLE: ::std::sync::atomic::AtomicBool = ::std::sync::atomic::ATOMIC_BOOL_INIT;
[INFO] [stderr]  59 +                 static CANCELLABLE: ::std::sync::atomic::AtomicBool = ::std::sync::atomic::AtomicBool::new(false);
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]    --> src/lib.rs:60:75
[INFO] [stderr]     |
[INFO] [stderr]  60 |                 static CANCELLABLE_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stderr]     |                                                                           ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 340 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]     |         -------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]     |
[INFO] [stderr]  60 -                 static CANCELLABLE_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stderr]  60 +                 static CANCELLABLE_INIT: ::std::sync::Once = ::std::sync::Once::new();
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]    --> src/lib.rs:73:94
[INFO] [stderr]     |
[INFO] [stderr]  73 |                     static EVENT_ID: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stderr]     |                                                                                              ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 340 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]     |         -------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]     |
[INFO] [stderr]  73 -                     static EVENT_ID: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::ATOMIC_USIZE_INIT;
[INFO] [stderr]  73 +                     static EVENT_ID: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::AtomicUsize::new(0);
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]    --> src/lib.rs:74:76
[INFO] [stderr]     |
[INFO] [stderr]  74 |                     static EVENT_ID_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stderr]     |                                                                            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 340 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]     |         -------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]     |
[INFO] [stderr]  74 -                     static EVENT_ID_INIT: ::std::sync::Once = ::std::sync::ONCE_INIT;
[INFO] [stderr]  74 +                     static EVENT_ID_INIT: ::std::sync::Once = ::std::sync::Once::new();
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/lib.rs:62:40
[INFO] [stderr]     |
[INFO] [stderr]  62 |                     CANCELLABLE.store(<$crate::Event>::cancellable(event), std::sync::atomic::Ordering::Relaxed);
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 333 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]     |         -------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/lib.rs:62:40
[INFO] [stderr]     |
[INFO] [stderr]  62 |                     CANCELLABLE.store(<$crate::Event>::cancellable(event), std::sync::atomic::Ordering::Relaxed);
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 334 |         post_event!(&event_bus, &mut event, dyn DynEvent);
[INFO] [stderr]     |         ------------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/lib.rs:62:40
[INFO] [stderr]     |
[INFO] [stderr]  62 |                     CANCELLABLE.store(<$crate::Event>::cancellable(event), std::sync::atomic::Ordering::Relaxed);
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 337 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]     |         -------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/lib.rs:62:40
[INFO] [stderr]     |
[INFO] [stderr]  62 |                     CANCELLABLE.store(<$crate::Event>::cancellable(event), std::sync::atomic::Ordering::Relaxed);
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 340 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]     |         -------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused logical operation that must be used
[INFO] [stderr]    --> src/lib.rs:97:17
[INFO] [stderr]     |
[INFO] [stderr]  97 |                 cancellable && <_ as $crate::Event>::cancelled(event)
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stderr] ...
[INFO] [stderr] 333 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]     |         -------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 333 |         let _ = post_event!(&event_bus, &mut event, MyEvent);;
[INFO] [stderr]     |         +++++++                                             +
[INFO] [stderr] 
[INFO] [stderr] warning: unused logical operation that must be used
[INFO] [stderr]    --> src/lib.rs:97:17
[INFO] [stderr]     |
[INFO] [stderr]  97 |                 cancellable && <_ as $crate::Event>::cancelled(event)
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stderr] ...
[INFO] [stderr] 334 |         post_event!(&event_bus, &mut event, dyn DynEvent);
[INFO] [stderr]     |         ------------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 334 |         let _ = post_event!(&event_bus, &mut event, dyn DynEvent);;
[INFO] [stderr]     |         +++++++                                                  +
[INFO] [stderr] 
[INFO] [stderr] warning: unused logical operation that must be used
[INFO] [stderr]    --> src/lib.rs:97:17
[INFO] [stderr]     |
[INFO] [stderr]  97 |                 cancellable && <_ as $crate::Event>::cancelled(event)
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stderr] ...
[INFO] [stderr] 337 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]     |         -------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 337 |         let _ = post_event!(&event_bus, &mut event, MyEvent);;
[INFO] [stderr]     |         +++++++                                             +
[INFO] [stderr] 
[INFO] [stderr] warning: unused logical operation that must be used
[INFO] [stderr]    --> src/lib.rs:97:17
[INFO] [stderr]     |
[INFO] [stderr]  97 |                 cancellable && <_ as $crate::Event>::cancelled(event)
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stderr] ...
[INFO] [stderr] 340 |         post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]     |         -------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 340 |         let _ = post_event!(&event_bus, &mut event, MyEvent);;
[INFO] [stderr]     |         +++++++                                             +
[INFO] [stderr] 
[INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stderr]  --> tests/dyn_events.rs:8:25
[INFO] [stderr]   |
[INFO] [stderr] 8 |     fn set_i(&mut self, i32);
[INFO] [stderr]   |                         ^^^ help: try naming the parameter or explicitly ignoring it: `_: i32`
[INFO] [stderr]   |
[INFO] [stderr]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stderr]   = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stderr]   = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/dyn_events.rs:42:5
[INFO] [stderr]    |
[INFO] [stderr] 42 |     register_hook!(&event_bus, 0, dyn MyEvent, add_handler);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]    = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> tests/dyn_events.rs:42:5
[INFO] [stderr]    |
[INFO] [stderr] 42 |     register_hook!(&event_bus, 0, dyn MyEvent, add_handler);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/dyn_events.rs:45:5
[INFO] [stderr]    |
[INFO] [stderr] 45 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> tests/dyn_events.rs:45:5
[INFO] [stderr]    |
[INFO] [stderr] 45 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/dyn_events.rs:45:5
[INFO] [stderr]    |
[INFO] [stderr] 45 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/dyn_events.rs:47:5
[INFO] [stderr]    |
[INFO] [stderr] 47 |     register_hook!(&event_bus, 1, dyn MyEvent, no_handler);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> tests/dyn_events.rs:47:5
[INFO] [stderr]    |
[INFO] [stderr] 47 |     register_hook!(&event_bus, 1, dyn MyEvent, no_handler);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/dyn_events.rs:48:5
[INFO] [stderr]    |
[INFO] [stderr] 48 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> tests/dyn_events.rs:48:5
[INFO] [stderr]    |
[INFO] [stderr] 48 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/dyn_events.rs:48:5
[INFO] [stderr]    |
[INFO] [stderr] 48 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/dyn_events.rs:51:5
[INFO] [stderr]    |
[INFO] [stderr] 51 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> tests/dyn_events.rs:51:5
[INFO] [stderr]    |
[INFO] [stderr] 51 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/dyn_events.rs:51:5
[INFO] [stderr]    |
[INFO] [stderr] 51 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> tests/dyn_events.rs:26:24
[INFO] [stderr]    |
[INFO] [stderr] 26 | fn add_handler(e: &mut MyEvent) {
[INFO] [stderr]    |                        ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 26 | fn add_handler(e: &mut dyn MyEvent) {
[INFO] [stderr]    |                        +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> tests/dyn_events.rs:32:23
[INFO] [stderr]    |
[INFO] [stderr] 32 | fn no_handler(e: &mut MyEvent) {
[INFO] [stderr]    |                       ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 32 | fn no_handler(e: &mut dyn MyEvent) {
[INFO] [stderr]    |                       +++
[INFO] [stderr] 
[INFO] [stderr] warning: unused logical operation that must be used
[INFO] [stderr]   --> tests/dyn_events.rs:45:5
[INFO] [stderr]    |
[INFO] [stderr] 45 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused logical operation that must be used
[INFO] [stderr]   --> tests/dyn_events.rs:48:5
[INFO] [stderr]    |
[INFO] [stderr] 48 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused logical operation that must be used
[INFO] [stderr]   --> tests/dyn_events.rs:51:5
[INFO] [stderr]    |
[INFO] [stderr] 51 |     post_event!(&event_bus, &mut event, dyn MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/useful_testing.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 33 |     register_hook!(&event_bus, 0, MyEvent, add_handler);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]    = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> tests/useful_testing.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 33 |     register_hook!(&event_bus, 0, MyEvent, add_handler);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/useful_testing.rs:36:5
[INFO] [stderr]    |
[INFO] [stderr] 36 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> tests/useful_testing.rs:36:5
[INFO] [stderr]    |
[INFO] [stderr] 36 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/useful_testing.rs:36:5
[INFO] [stderr]    |
[INFO] [stderr] 36 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/useful_testing.rs:37:5
[INFO] [stderr]    |
[INFO] [stderr] 37 |     post_event!(&event_bus, &mut event, dyn DynEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> tests/useful_testing.rs:37:5
[INFO] [stderr]    |
[INFO] [stderr] 37 |     post_event!(&event_bus, &mut event, dyn DynEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/useful_testing.rs:37:5
[INFO] [stderr]    |
[INFO] [stderr] 37 |     post_event!(&event_bus, &mut event, dyn DynEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/useful_testing.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 |     register_hook!(&event_bus, 1, MyEvent, no_handler);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> tests/useful_testing.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 |     register_hook!(&event_bus, 1, MyEvent, no_handler);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `register_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/useful_testing.rs:40:5
[INFO] [stderr]    |
[INFO] [stderr] 40 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> tests/useful_testing.rs:40:5
[INFO] [stderr]    |
[INFO] [stderr] 40 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/useful_testing.rs:40:5
[INFO] [stderr]    |
[INFO] [stderr] 40 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/useful_testing.rs:43:5
[INFO] [stderr]    |
[INFO] [stderr] 43 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> tests/useful_testing.rs:43:5
[INFO] [stderr]    |
[INFO] [stderr] 43 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> tests/useful_testing.rs:43:5
[INFO] [stderr]    |
[INFO] [stderr] 43 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused logical operation that must be used
[INFO] [stderr]   --> tests/useful_testing.rs:36:5
[INFO] [stderr]    |
[INFO] [stderr] 36 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused logical operation that must be used
[INFO] [stderr]   --> tests/useful_testing.rs:37:5
[INFO] [stderr]    |
[INFO] [stderr] 37 |     post_event!(&event_bus, &mut event, dyn DynEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused logical operation that must be used
[INFO] [stderr]   --> tests/useful_testing.rs:40:5
[INFO] [stderr]    |
[INFO] [stderr] 40 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused logical operation that must be used
[INFO] [stderr]   --> tests/useful_testing.rs:43:5
[INFO] [stderr]    |
[INFO] [stderr] 43 |     post_event!(&event_bus, &mut event, MyEvent);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `post_event` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `eventbus` (test "basic_usage") generated 19 warnings (3 duplicates)
[INFO] [stderr] warning: `eventbus` (lib test) generated 34 warnings (6 duplicates) (run `cargo fix --lib -p eventbus --tests` to apply 20 suggestions)
[INFO] [stderr] warning: `eventbus` (test "dyn_events") generated 22 warnings (3 duplicates) (run `cargo fix --test "dyn_events" -p eventbus` to apply 3 suggestions)
[INFO] [stderr] warning: `eventbus` (test "useful_testing") generated 24 warnings (4 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.11
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/eventbus-29f5181bb417b584)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test useful_test::test_usage_internal ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/basic_usage.rs (/opt/rustwide/target/debug/deps/basic_usage-94ccadd6724aa800)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test test_basic_usage ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/dyn_events.rs (/opt/rustwide/target/debug/deps/dyn_events-639920c240ba8940)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test test_dyn_usage ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/useful_testing.rs (/opt/rustwide/target/debug/deps/useful_testing-b175df6b74893ff7)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test test_usage_external ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests eventbus
[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] running `Command { std: "docker" "inspect" "4c7e91d05480f7dee87916dacdd210a81b48655a8efeaa51ac69fd6002fec57f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c7e91d05480f7dee87916dacdd210a81b48655a8efeaa51ac69fd6002fec57f", kill_on_drop: false }`
[INFO] [stdout] 4c7e91d05480f7dee87916dacdd210a81b48655a8efeaa51ac69fd6002fec57f
