[INFO] fetching crate ioevent 0.1.0-rc.3... [INFO] testing ioevent-0.1.0-rc.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate ioevent 0.1.0-rc.3 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate ioevent 0.1.0-rc.3 [INFO] finished tweaking crates.io crate ioevent 0.1.0-rc.3 [INFO] tweaked toml for crates.io crate ioevent 0.1.0-rc.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ioevent 0.1.0-rc.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ioevent 0.1.0-rc.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded channels v0.13.0 [INFO] [stderr] Downloaded ioevent_macro v0.1.0-rc.3 [INFO] [stderr] Downloaded channels-serdes v0.2.1 [INFO] [stderr] Downloaded channels-macros v0.1.0 [INFO] [stderr] Downloaded channels-io v0.3.0 [INFO] [stderr] Downloaded channels-packet v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35f4900676d85508ef83caa0b5273be8b053347e834fc280e91e6576142826a9 [INFO] running `Command { std: "docker" "start" "-a" "35f4900676d85508ef83caa0b5273be8b053347e834fc280e91e6576142826a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35f4900676d85508ef83caa0b5273be8b053347e834fc280e91e6576142826a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35f4900676d85508ef83caa0b5273be8b053347e834fc280e91e6576142826a9", kill_on_drop: false }` [INFO] [stdout] 35f4900676d85508ef83caa0b5273be8b053347e834fc280e91e6576142826a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3af18850cf3f57611c47e09b9efb7722cac692eaff7fa25b42eabf6522426f31 [INFO] running `Command { std: "docker" "start" "-a" "3af18850cf3f57611c47e09b9efb7722cac692eaff7fa25b42eabf6522426f31", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling channels-io v0.3.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling channels-macros v0.1.0 [INFO] [stderr] Compiling channels-packet v0.2.0 [INFO] [stderr] Compiling channels v0.13.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling ioevent_macro v0.1.0-rc.3 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling channels-serdes v0.2.1 [INFO] [stderr] Compiling ioevent v0.1.0-rc.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/event.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 253 | #[derive(Hash, Eq, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 254 | pub struct Selector(pub fn(&EventData) -> bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.35s [INFO] running `Command { std: "docker" "inspect" "3af18850cf3f57611c47e09b9efb7722cac692eaff7fa25b42eabf6522426f31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3af18850cf3f57611c47e09b9efb7722cac692eaff7fa25b42eabf6522426f31", kill_on_drop: false }` [INFO] [stdout] 3af18850cf3f57611c47e09b9efb7722cac692eaff7fa25b42eabf6522426f31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d5774b9d44b8d077c5189af084213e2b9de4ecfc979c600061aa62db69e7da6 [INFO] running `Command { std: "docker" "start" "-a" "2d5774b9d44b8d077c5189af084213e2b9de4ecfc979c600061aa62db69e7da6", kill_on_drop: false }` [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/event.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 253 | #[derive(Hash, Eq, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 254 | pub struct Selector(pub fn(&EventData) -> bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ioevent v0.1.0-rc.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/event.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 253 | #[derive(Hash, Eq, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 254 | pub struct Selector(pub fn(&EventData) -> bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "2d5774b9d44b8d077c5189af084213e2b9de4ecfc979c600061aa62db69e7da6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d5774b9d44b8d077c5189af084213e2b9de4ecfc979c600061aa62db69e7da6", kill_on_drop: false }` [INFO] [stdout] 2d5774b9d44b8d077c5189af084213e2b9de4ecfc979c600061aa62db69e7da6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dd69baaff9358faabfa50883a291a326a4f10adf45a875d70f32be2a0d0f1137 [INFO] running `Command { std: "docker" "start" "-a" "dd69baaff9358faabfa50883a291a326a4f10adf45a875d70f32be2a0d0f1137", kill_on_drop: false }` [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/event.rs:254:21 [INFO] [stderr] | [INFO] [stderr] 253 | #[derive(Hash, Eq, PartialEq)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] 254 | pub struct Selector(pub fn(&EventData) -> bool); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `ioevent` (lib) generated 1 warning [INFO] [stderr] warning: `ioevent` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ioevent-e255c9a389a73d1d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests ioevent [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] [stdout] [INFO] [stdout] running 34 tests [INFO] [stdout] test src/bus.rs - bus::ShooterTicker (line 263) ... FAILED [INFO] [stdout] test src/../README.md - (line 48) ... FAILED [INFO] [stdout] test src/bus.rs - bus::Bus (line 413) ... FAILED [INFO] [stdout] test src/bus.rs - bus::EffectTicker (line 317) ... FAILED [INFO] [stdout] test src/bus.rs - bus::CloseHandle (line 562) ... FAILED [INFO] [stdout] test src/bus.rs - bus::UnsafeSendFuture (line 823) ... FAILED [INFO] [stdout] test src/../README.md - (line 82) ... FAILED [INFO] [stdout] test src/error.rs - error (line 18) ... FAILED [INFO] [stdout] test src/bus.rs - bus::CloseSignal (line 537) ... FAILED [INFO] [stdout] test src/bus.rs - bus::CenterTicker (line 68) ... FAILED [INFO] [stdout] test src/../README.md - (line 36) ... FAILED [INFO] [stdout] test src/../README.md - (line 66) ... FAILED [INFO] [stdout] test src/event.rs - event::EventData (line 52) ... FAILED [INFO] [stdout] test src/../README.md - (line 22) ... FAILED [INFO] [stdout] test src/../README.md - (line 92) ... FAILED [INFO] [stdout] test src/error.rs - error::TryFromEventError (line 47) ... FAILED [INFO] [stdout] test src/error.rs - error::BusRecvError (line 273) ... FAILED [INFO] [stdout] test src/bus.rs - bus::BusBuilder (line 677) ... FAILED [INFO] [stdout] test src/error.rs - error::CallSubscribeError (line 99) ... FAILED [INFO] [stdout] test src/util.rs - util::CenterError (line 119) ... FAILED [INFO] [stdout] test src/future.rs - future (line 8) ... FAILED [INFO] [stdout] test src/event.rs - event::Subscriber (line 83) ... FAILED [INFO] [stdout] test src/error.rs - error::BusSendError (line 216) ... FAILED [INFO] [stdout] test src/util.rs - util::create_subscriber (line 49) ... FAILED [INFO] [stdout] test src/bus.rs - bus::SubscribeTicker (line 154) ... FAILED [INFO] [stdout] test src/future.rs - future::SubscribeFutureRet (line 53) ... FAILED [INFO] [stdout] test src/util.rs - util::Result (line 74) ... FAILED [INFO] [stdout] test src/future.rs - future::FutureRet (line 34) ... FAILED [INFO] [stdout] test src/state.rs - state (line 17) ... FAILED [INFO] [stdout] test src/util.rs - util (line 10) ... FAILED [INFO] [stdout] test src/util.rs - util::CenterErrorIter (line 91) ... FAILED [INFO] [stdout] test src/bus.rs - bus (line 18) ... FAILED [INFO] [stdout] test src/event.rs - event::Event (line 210) ... ok [INFO] [stdout] test src/event.rs - event (line 17) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/bus.rs - bus::ShooterTicker (line 263) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ShooterTicker` in this scope [INFO] [stdout] --> src/bus.rs:267:26 [INFO] [stdout] | [INFO] [stdout] 7 | let mut shooter_ticker = ShooterTicker { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::bus::ShooterTicker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `receiver` in this scope [INFO] [stdout] --> src/bus.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 8 | rx: receiver, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/bus.rs:271:22 [INFO] [stdout] | [INFO] [stdout] 11 | shooter_ticker.tick(&state).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/bus.rs:271:29 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_bus_rs_263_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | shooter_ticker.tick(&state).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 48) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Subscribers` [INFO] [stdout] --> src/../README.md:50:19 [INFO] [stdout] | [INFO] [stdout] 4 | let subscribers = Subscribers::init(SUBSCRIBERS); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Subscribers` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::Subscribers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SUBSCRIBERS` in this scope [INFO] [stdout] --> src/../README.md:50:37 [INFO] [stdout] | [INFO] [stdout] 4 | let subscribers = Subscribers::init(SUBSCRIBERS); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BusBuilder` [INFO] [stdout] --> src/../README.md:51:19 [INFO] [stdout] | [INFO] [stdout] 5 | let mut builder = BusBuilder::new(subscribers); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `BusBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::BusBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IoPair` [INFO] [stdout] --> src/../README.md:52:18 [INFO] [stdout] | [INFO] [stdout] 6 | builder.add_pair(IoPair::stdio()); [INFO] [stdout] | ^^^^^^ use of undeclared type `IoPair` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::IoPair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `State` [INFO] [stdout] --> src/../README.md:56:13 [INFO] [stdout] | [INFO] [stdout] 10 | let state = State::new(AppState {}, effect_wright); [INFO] [stdout] | ^^^^^ use of undeclared type `State` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AppState` in this scope [INFO] [stdout] --> src/../README.md:56:24 [INFO] [stdout] | [INFO] [stdout] 10 | let state = State::new(AppState {}, effect_wright); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:57:56 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_48_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | bus.run(state, &|error| { eprintln!("{:?}", error); }).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bus.rs - bus::Bus (line 413) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `center_ticker` in this scope [INFO] [stdout] --> src/bus.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 8 | center_ticker, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `subscribe_ticker` in this scope [INFO] [stdout] --> src/bus.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 9 | subscribe_ticker, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `effect_ticker` in this scope [INFO] [stdout] --> src/bus.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 10 | effect_ticker, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sooter_ticker` in this scope [INFO] [stdout] --> src/bus.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 11 | sooter_ticker, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/bus.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 14 | bus.run(state, &handle_error).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `handle_error` in this scope [INFO] [stdout] --> src/bus.rs:424:17 [INFO] [stdout] | [INFO] [stdout] 14 | bus.run(state, &handle_error).await; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/bus.rs:424:31 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_bus_rs_413_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 14 | bus.run(state, &handle_error).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `ioevent::Bus<_, _, _>` has no field named `sooter_ticker` [INFO] [stdout] --> src/bus.rs:421:5 [INFO] [stdout] | [INFO] [stdout] 11 | sooter_ticker, [INFO] [stdout] | ^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 11 | shooter_ticker, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0560, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bus.rs - bus::EffectTicker (line 317) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `senders` in this scope [INFO] [stdout] --> src/bus.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 8 | tx: senders, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `receiver` in this scope [INFO] [stdout] --> src/bus.rs:323:15 [INFO] [stdout] | [INFO] [stdout] 9 | state_rx: receiver, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/bus.rs:326:22 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_bus_rs_317_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 12 | effect_ticker.tick().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bus.rs - bus::CloseHandle (line 562) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CloseHandle` in this scope [INFO] [stdout] --> src/bus.rs:566:14 [INFO] [stdout] | [INFO] [stdout] 7 | let handle = CloseHandle { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::bus::CloseHandle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `close_signal` in this scope [INFO] [stdout] --> src/bus.rs:567:5 [INFO] [stdout] | [INFO] [stdout] 8 | close_signal, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `future` in this scope [INFO] [stdout] --> src/bus.rs:568:5 [INFO] [stdout] | [INFO] [stdout] 9 | future, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/bus.rs:572:16 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_bus_rs_562_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 13 | handle.close().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bus.rs - bus::UnsafeSendFuture (line 823) stdout ---- [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnsafeSendFuture` in this scope [INFO] [stdout] --> src/bus.rs:828:21 [INFO] [stdout] | [INFO] [stdout] 8 | let unsafe_future = UnsafeSendFuture(future); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 82) stdout ---- [INFO] [stdout] error: cannot find attribute `procedure` in this scope [INFO] [stdout] --> src/../README.md:83:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[procedure] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::rpc::procedure; [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent_macro::procedure; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CallPrint` in this scope [INFO] [stdout] --> src/../README.md:84:33 [INFO] [stdout] | [INFO] [stdout] 4 | async fn print_handler(request: CallPrint) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for enum `Result` [INFO] [stdout] --> src/../README.md:84:47 [INFO] [stdout] | [INFO] [stdout] 4 | async fn print_handler(request: CallPrint) -> Result { [INFO] [stdout] | ^^^^^^ expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic arguments [INFO] [stdout] | [INFO] [stdout] 4 | async fn print_handler(request: CallPrint) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CallPrintResponse` in this scope [INFO] [stdout] --> src/../README.md:86:8 [INFO] [stdout] | [INFO] [stdout] 6 | Ok(CallPrintResponse(42)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/error.rs - error (line 18) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `event` in this scope [INFO] [stdout] --> src/error.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 8 | match event.try_into() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TryFromEventError` [INFO] [stdout] --> src/error.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 10 | Err(TryFromEventError::Deserialize(e)) => handle_deserialize_error(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TryFromEventError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::error::TryFromEventError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TryFromEventError` [INFO] [stdout] --> src/error.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 11 | Err(TryFromEventError::TagError(expected, actual)) => handle_tag_mismatch(expected, actual), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TryFromEventError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::error::TryFromEventError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `process_event` in this scope [INFO] [stdout] --> src/error.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 9 | Ok(event) => process_event(event), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle_deserialize_error` in this scope [INFO] [stdout] --> src/error.rs:25:47 [INFO] [stdout] | [INFO] [stdout] 10 | Err(TryFromEventError::Deserialize(e)) => handle_deserialize_error(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle_tag_mismatch` in this scope [INFO] [stdout] --> src/error.rs:26:59 [INFO] [stdout] | [INFO] [stdout] 11 | Err(TryFromEventError::TagError(expected, actual)) => handle_tag_mismatch(expected, actual), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle_other_error` in this scope [INFO] [stdout] --> src/error.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 12 | Err(e) => handle_other_error(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bus.rs - bus::CloseSignal (line 537) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `sender` in this scope [INFO] [stdout] --> src/bus.rs:541:32 [INFO] [stdout] | [INFO] [stdout] 7 | let close_signal = CloseSignal(sender); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseSignal` in this scope [INFO] [stdout] --> src/bus.rs:541:20 [INFO] [stdout] | [INFO] [stdout] 7 | let close_signal = CloseSignal(sender); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bus.rs - bus::CenterTicker (line 68) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CenterTicker` [INFO] [stdout] --> src/bus.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 7 | let mut center_ticker = CenterTicker::new(receivers); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CenterTicker` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::bus::CenterTicker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `receivers` in this scope [INFO] [stdout] --> src/bus.rs:72:43 [INFO] [stdout] | [INFO] [stdout] 7 | let mut center_ticker = CenterTicker::new(receivers); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 36) stdout ---- [INFO] [stdout] error: cannot find macro `create_subscriber` in this scope [INFO] [stdout] --> src/../README.md:43:49 [INFO] [stdout] | [INFO] [stdout] 9 | static SUBSCRIBERS: &[Subscriber] = &[create_subscriber!(handle_ping)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::create_subscriber; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `subscriber` in this scope [INFO] [stdout] --> src/../README.md:37:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[subscriber] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::subscriber; [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent_macro::subscriber; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/../README.md:38:29 [INFO] [stdout] | [INFO] [stdout] 4 | async fn handle_ping(state: State, event: Ping) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> src/../README.md:38:35 [INFO] [stdout] | [INFO] [stdout] 4 | async fn handle_ping(state: State, event: Ping) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4 | async fn handle_ping(state: State, event: Ping) -> Result { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ping` in this scope [INFO] [stdout] --> src/../README.md:38:53 [INFO] [stdout] | [INFO] [stdout] 4 | async fn handle_ping(state: State, event: Ping) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Pong` in this scope [INFO] [stdout] --> src/../README.md:39:24 [INFO] [stdout] | [INFO] [stdout] 5 | state.wright.emit(&Pong { timestamp: event.timestamp })?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Subscriber` in this scope [INFO] [stdout] --> src/../README.md:43:23 [INFO] [stdout] | [INFO] [stdout] 9 | static SUBSCRIBERS: &[Subscriber] = &[create_subscriber!(handle_ping)]; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::Subscriber; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> src/../README.md:43:34 [INFO] [stdout] | [INFO] [stdout] 9 | static SUBSCRIBERS: &[Subscriber] = &[create_subscriber!(handle_ping)]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for enum `Result` [INFO] [stdout] --> src/../README.md:38:62 [INFO] [stdout] | [INFO] [stdout] 4 | async fn handle_ping(state: State, event: Ping) -> Result { [INFO] [stdout] | ^^^^^^ expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic arguments [INFO] [stdout] | [INFO] [stdout] 4 | async fn handle_ping(state: State, event: Ping) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0422. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 66) stdout ---- [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/../README.md:75:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Deserialize, Serialize, Debug, ProcedureCall)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde::Deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/../README.md:75:23 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Deserialize, Serialize, Debug, ProcedureCall)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ProcedureCall` in this scope [INFO] [stdout] --> src/../README.md:75:41 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Deserialize, Serialize, Debug, ProcedureCall)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::rpc::ProcedureCall; [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent_macro::ProcedureCall; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/../README.md:68:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Deserialize, Serialize, Debug, ProcedureCall)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde::Deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/../README.md:68:23 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Deserialize, Serialize, Debug, ProcedureCall)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ProcedureCall` in this scope [INFO] [stdout] --> src/../README.md:68:41 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Deserialize, Serialize, Debug, ProcedureCall)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::rpc::ProcedureCall; [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent_macro::ProcedureCall; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `procedure` in this scope [INFO] [stdout] --> src/../README.md:69:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[procedure(path = "com::demo::my::CallPrint")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::rpc::procedure; [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent_macro::procedure; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ProcedureCallRequest` in this scope [INFO] [stdout] --> src/../README.md:71:6 [INFO] [stdout] | [INFO] [stdout] 7 | impl ProcedureCallRequest for CallPrint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::rpc::ProcedureCallRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ProcedureCallResponse` in this scope [INFO] [stdout] --> src/../README.md:77:6 [INFO] [stdout] | [INFO] [stdout] 13 | impl ProcedureCallResponse for CallPrintResponse {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::rpc::ProcedureCallResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/event.rs - event::EventData (line 52) stdout ---- [INFO] [stdout] error[E0560]: struct `EventData` has no field named `event` [INFO] [stdout] --> src/event.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 9 | event: "user.login".to_string(), [INFO] [stdout] | ^^^^^ `EventData` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `tag`, `payload` [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `EventData` has no field named `data` [INFO] [stdout] --> src/event.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 10 | data: Value::Text("user123".to_string()), [INFO] [stdout] | ^^^^ `EventData` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `tag`, `payload` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0560`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 22) stdout ---- [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/../README.md:29:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Deserialize, Serialize, Debug, Event)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde::Deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/../README.md:29:23 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Deserialize, Serialize, Debug, Event)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Event` in this scope [INFO] [stdout] --> src/../README.md:29:41 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Deserialize, Serialize, Debug, Event)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::Event; [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent_macro::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `event` in this scope [INFO] [stdout] --> src/../README.md:30:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[event(tag = "com::demo::my::Event")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/../README.md:23:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Deserialize, Serialize, Debug, Event)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde::Deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/../README.md:23:23 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Deserialize, Serialize, Debug, Event)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Event` in this scope [INFO] [stdout] --> src/../README.md:23:41 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Deserialize, Serialize, Debug, Event)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::Event; [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent_macro::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 92) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/../README.md:93:16 [INFO] [stdout] | [INFO] [stdout] 3 | let response = state.call(&CallPrint("Hello".to_string())).await?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:93:60 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_92_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 3 | let response = state.call(&CallPrint("Hello".to_string())).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CallPrint` in this scope [INFO] [stdout] --> src/../README.md:93:28 [INFO] [stdout] | [INFO] [stdout] 3 | let response = state.call(&CallPrint("Hello".to_string())).await?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/error.rs - error::TryFromEventError (line 47) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `event` in this scope [INFO] [stdout] --> src/error.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 7 | match event.try_into() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TryFromEventError` [INFO] [stdout] --> src/error.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 9 | Err(TryFromEventError::Deserialize(e)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TryFromEventError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::error::TryFromEventError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TryFromEventError` [INFO] [stdout] --> src/error.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 12 | Err(TryFromEventError::TagError(expected, actual)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TryFromEventError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::error::TryFromEventError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `process_event` in this scope [INFO] [stdout] --> src/error.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 8 | Ok(event) => process_event(event), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle_other_error` in this scope [INFO] [stdout] --> src/error.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 15 | Err(e) => handle_other_error(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/error.rs - error::BusRecvError (line 273) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `bus` in this scope [INFO] [stdout] --> src/error.rs:277:7 [INFO] [stdout] | [INFO] [stdout] 7 | match bus.receive_event() { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BusRecvError` [INFO] [stdout] --> src/error.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 9 | Err(BusRecvError::Recv(e)) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `BusRecvError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::error::BusRecvError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BusRecvError` [INFO] [stdout] --> src/error.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 12 | Err(BusRecvError::BoardcastRecv(e)) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `BusRecvError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::error::BusRecvError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `process_event` in this scope [INFO] [stdout] --> src/error.rs:278:18 [INFO] [stdout] | [INFO] [stdout] 8 | Ok(event) => process_event(event), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle_other_error` in this scope [INFO] [stdout] --> src/error.rs:285:15 [INFO] [stdout] | [INFO] [stdout] 15 | Err(e) => handle_other_error(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bus.rs - bus::BusBuilder (line 677) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `subscribers` in this scope [INFO] [stdout] --> src/bus.rs:681:35 [INFO] [stdout] | [INFO] [stdout] 7 | let mut builder = BusBuilder::new(subscribers); [INFO] [stdout] | ^^^^^^^^^^^ help: a tuple struct with a similar name exists (notice the capitalization): `Subscribers` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/event.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct Subscribers(pub &'static [InnerSubscribers]) [INFO] [stdout] | ------------------------- similarly named tuple struct `Subscribers` defined here [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `stdin` in this scope [INFO] [stdout] --> src/bus.rs:682:20 [INFO] [stdout] | [INFO] [stdout] 8 | builder.add_reader(stdin); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::stdin; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::io::stdin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `stdout` in this scope [INFO] [stdout] --> src/bus.rs:683:20 [INFO] [stdout] | [INFO] [stdout] 9 | builder.add_writer(stdout); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::stdout; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::io::stdout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_writer` found for struct `ioevent::BusBuilder` in the current scope [INFO] [stdout] --> src/bus.rs:683:9 [INFO] [stdout] | [INFO] [stdout] 9 | builder.add_writer(stdout); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `add_pair` with a similar name [INFO] [stdout] | [INFO] [stdout] 9 - builder.add_writer(stdout); [INFO] [stdout] 9 + builder.add_pair(stdout); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/error.rs - error::CallSubscribeError (line 99) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CallSubscribeError` [INFO] [stdout] --> src/error.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 9 | Err(CallSubscribeError::TryFrom(e)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `CallSubscribeError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::error::CallSubscribeError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CallSubscribeError` [INFO] [stdout] --> src/error.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 12 | Err(CallSubscribeError::SendEvent(e)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `CallSubscribeError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::error::CallSubscribeError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `subscribe_to_event` in this scope [INFO] [stdout] --> src/error.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 7 | match subscribe_to_event() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle_other_error` in this scope [INFO] [stdout] --> src/error.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 15 | Err(e) => handle_other_error(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util.rs - util::CenterError (line 119) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `center_error` in this scope [INFO] [stdout] --> src/util.rs:123:7 [INFO] [stdout] | [INFO] [stdout] 7 | match center_error { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CenterError` [INFO] [stdout] --> src/util.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 8 | CenterError::Left(e) => handle_send_error(e), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CenterError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::util::CenterError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CenterError` [INFO] [stdout] --> src/util.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 9 | CenterError::Right(e) => handle_recv_error(e), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CenterError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::util::CenterError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle_send_error` in this scope [INFO] [stdout] --> src/util.rs:124:29 [INFO] [stdout] | [INFO] [stdout] 8 | CenterError::Left(e) => handle_send_error(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle_recv_error` in this scope [INFO] [stdout] --> src/util.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 9 | CenterError::Right(e) => handle_recv_error(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future.rs - future (line 8) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `SubscribeFutureRet` in this scope [INFO] [stdout] --> src/future.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 7 | async fn handle_event(state: State<()>, event: EventData) -> SubscribeFutureRet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::future::SubscribeFutureRet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/event.rs - event::Subscriber (line 83) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `UserEvent` in this scope [INFO] [stdout] --> src/event.rs:88:53 [INFO] [stdout] | [INFO] [stdout] 8 | async fn handle_user_event(state: State<()>, event: UserEvent) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/error.rs - error::BusSendError (line 216) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `bus` in this scope [INFO] [stdout] --> src/error.rs:220:7 [INFO] [stdout] | [INFO] [stdout] 7 | match bus.send_event(&event) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `event` in this scope [INFO] [stdout] --> src/error.rs:220:23 [INFO] [stdout] | [INFO] [stdout] 7 | match bus.send_event(&event) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BusSendError` [INFO] [stdout] --> src/error.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 9 | Err(BusSendError::Send(e)) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `BusSendError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::error::BusSendError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BusSendError` [INFO] [stdout] --> src/error.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 12 | Err(BusSendError::Serialize(e)) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `BusSendError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::error::BusSendError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util.rs - util::create_subscriber (line 49) stdout ---- [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/util.rs:54:54 [INFO] [stdout] | [INFO] [stdout] 8 | async fn handle_user_event(state: &State<()>, event: &UserEvent) -> Result<(), CallSubscribeError> { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 7 ~ #[subscriber]<'a> [INFO] [stdout] 8 ~ async fn handle_user_event(state: &State<()>, event: &'a UserEvent) -> Result<(), CallSubscribeError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UserEvent` in this scope [INFO] [stdout] --> src/util.rs:54:55 [INFO] [stdout] | [INFO] [stdout] 8 | async fn handle_user_event(state: &State<()>, event: &UserEvent) -> Result<(), CallSubscribeError> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 13 | let subscriber = create_subscriber!(handle_user_event); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected fn pointer, found fn item [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `for<'a, 'b> fn(&'a ioevent::State<_>, &'b EventData) -> Pin<_>` [INFO] [stdout] found fn item `for<'a, 'b, 'c> fn(&'a &'b ioevent::State<()>, &'c EventData) -> Pin<_> {handle_user_event}` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/event.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | pub const fn new(f: SubscribeFn) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the macro `create_subscriber` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0308, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bus.rs - bus::SubscribeTicker (line 154) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `subscribers` in this scope [INFO] [stdout] --> src/bus.rs:159:11 [INFO] [stdout] | [INFO] [stdout] 8 | subs: subscribers, [INFO] [stdout] | ^^^^^^^^^^^ help: a tuple struct with a similar name exists (notice the capitalization): `Subscribers` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/event.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct Subscribers(pub &'static [InnerSubscribers]) [INFO] [stdout] | ------------------------- similarly named tuple struct `Subscribers` defined here [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `receiver` in this scope [INFO] [stdout] --> src/bus.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 9 | rx: receiver, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/bus.rs:163:24 [INFO] [stdout] | [INFO] [stdout] 12 | subscribe_ticker.tick(&state).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/bus.rs:163:31 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_bus_rs_154_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 12 | subscribe_ticker.tick(&state).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `err_queue` in initializer of `ioevent::SubscribeTicker<_>` [INFO] [stdout] --> src/bus.rs:158:28 [INFO] [stdout] | [INFO] [stdout] 7 | let mut subscribe_ticker = SubscribeTicker { [INFO] [stdout] | ^^^^^^^^^^^^^^^ missing `err_queue` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future.rs - future::SubscribeFutureRet (line 53) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `SubscribeFutureRet` in this scope [INFO] [stdout] --> src/future.rs:57:60 [INFO] [stdout] | [INFO] [stdout] 7 | async fn subscribe_to_event(_: State<()>, _: EventData) -> SubscribeFutureRet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::future::SubscribeFutureRet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util.rs - util::Result (line 74) stdout ---- [INFO] [stdout] error[E0107]: missing generics for enum `Result` [INFO] [stdout] --> src/util.rs:78:65 [INFO] [stdout] | [INFO] [stdout] 7 | async fn process_event(state: &State<()>, event: &EventData) -> Result { [INFO] [stdout] | ^^^^^^ expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic arguments [INFO] [stdout] | [INFO] [stdout] 7 | async fn process_event(state: &State<()>, event: &EventData) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/future.rs - future::FutureRet (line 34) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `FutureRet` in this scope [INFO] [stdout] --> src/future.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 7 | async fn create_future() -> FutureRet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/future/future.rs:37:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Future` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - async fn create_future() -> FutureRet { [INFO] [stdout] 7 + async fn create_future() -> Future { [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::future::FutureRet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/state.rs - state (line 17) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `app_state` in this scope [INFO] [stdout] --> src/state.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 8 | let state = State::new(app_state, effect_wright); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `effect_wright` in this scope [INFO] [stdout] --> src/state.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 8 | let state = State::new(app_state, effect_wright); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyEvent` in this scope [INFO] [stdout] --> src/state.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 11 | let event = state.wait_next::().await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/event.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | pub trait Event: Serialize + for<'ed> TryFrom<&'ed EventData, Error = TryFromEventError> { [INFO] [stdout] | ---------------------------------------------------------------------------------------- similarly named trait `Event` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 11 - let event = state.wait_next::().await?; [INFO] [stdout] 11 + let event = state.wait_next::().await?; [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_state_rs_17_0() { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `my_request` in this scope [INFO] [stdout] --> src/state.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 14 | let response = state.call(&my_request).await?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/state.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_state_rs_17_0() { [INFO] [stdout] | ------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | let event = state.wait_next::().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/state.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_state_rs_17_0() { [INFO] [stdout] | ------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 14 | let response = state.call(&my_request).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util.rs - util (line 10) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `MyEvent` in this scope [INFO] [stdout] --> src/util.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 9 | async fn handle_event(state: State<()>, event: MyEvent) -> Result { [INFO] [stdout] | ^^^^^^^ help: a trait with a similar name exists: `Event` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/event.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | pub trait Event: Serialize + for<'ed> TryFrom<&'ed EventData, Error = TryFromEventError> { [INFO] [stdout] | ---------------------------------------------------------------------------------------- similarly named trait `Event` defined here [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyEvent` in this scope [INFO] [stdout] --> src/util.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 8 | #[subscriber] [INFO] [stdout] | ------------- similarly named type alias `_Event` defined here [INFO] [stdout] 9 | async fn handle_event(state: State<()>, event: MyEvent) -> Result { [INFO] [stdout] | ^^^^^^^ help: a type alias with a similar name exists: `_Event` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util.rs - util::CenterErrorIter (line 91) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `center_error_iter` in this scope [INFO] [stdout] --> src/util.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 7 | for error in center_error_iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CenterError` [INFO] [stdout] --> src/util.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 9 | CenterError::Left(e) => handle_send_error(e), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CenterError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::util::CenterError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CenterError` [INFO] [stdout] --> src/util.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 10 | CenterError::Right(e) => handle_recv_error(e), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CenterError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use ioevent::util::CenterError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle_send_error` in this scope [INFO] [stdout] --> src/util.rs:97:33 [INFO] [stdout] | [INFO] [stdout] 9 | CenterError::Left(e) => handle_send_error(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle_recv_error` in this scope [INFO] [stdout] --> src/util.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 10 | CenterError::Right(e) => handle_recv_error(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bus.rs - bus (line 18) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `subscribers` in this scope [INFO] [stdout] --> src/bus.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 8 | let (_, bus) = BusBuilder::new(subscribers) [INFO] [stdout] | ^^^^^^^^^^^ help: a tuple struct with a similar name exists (notice the capitalization): `Subscribers` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/event.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct Subscribers(pub &'static [InnerSubscribers]) [INFO] [stdout] | ------------------------- similarly named tuple struct `Subscribers` defined here [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `stdin` in this scope [INFO] [stdout] --> src/bus.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 9 | .add_reader(stdin) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::stdin; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::io::stdin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `stdout` in this scope [INFO] [stdout] --> src/bus.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 10 | .add_writer(stdout) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::stdout; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::io::stdout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/bus.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 14 | bus.run(state, &handle_error).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `handle_error` in this scope [INFO] [stdout] --> src/bus.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 14 | bus.run(state, &handle_error).await; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/bus.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_bus_rs_18_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 14 | bus.run(state, &handle_error).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_writer` found for mutable reference `&mut ioevent::BusBuilder<_, _, _>` in the current scope [INFO] [stdout] --> src/bus.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 8 | let (_, bus) = BusBuilder::new(subscribers) [INFO] [stdout] | ________________- [INFO] [stdout] 9 | | .add_reader(stdin) [INFO] [stdout] 10 | | .add_writer(stdout) [INFO] [stdout] | |_____-^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `add_pair` with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - .add_writer(stdout) [INFO] [stdout] 10 + .add_pair(stdout) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 22) [INFO] [stdout] src/../README.md - (line 36) [INFO] [stdout] src/../README.md - (line 48) [INFO] [stdout] src/../README.md - (line 66) [INFO] [stdout] src/../README.md - (line 82) [INFO] [stdout] src/../README.md - (line 92) [INFO] [stdout] src/bus.rs - bus (line 18) [INFO] [stdout] src/bus.rs - bus::Bus (line 413) [INFO] [stdout] src/bus.rs - bus::BusBuilder (line 677) [INFO] [stdout] src/bus.rs - bus::CenterTicker (line 68) [INFO] [stdout] src/bus.rs - bus::CloseHandle (line 562) [INFO] [stdout] src/bus.rs - bus::CloseSignal (line 537) [INFO] [stdout] src/bus.rs - bus::EffectTicker (line 317) [INFO] [stdout] src/bus.rs - bus::ShooterTicker (line 263) [INFO] [stdout] src/bus.rs - bus::SubscribeTicker (line 154) [INFO] [stdout] src/bus.rs - bus::UnsafeSendFuture (line 823) [INFO] [stdout] src/error.rs - error (line 18) [INFO] [stdout] src/error.rs - error::BusRecvError (line 273) [INFO] [stdout] src/error.rs - error::BusSendError (line 216) [INFO] [stdout] src/error.rs - error::CallSubscribeError (line 99) [INFO] [stdout] src/error.rs - error::TryFromEventError (line 47) [INFO] [stdout] src/event.rs - event::EventData (line 52) [INFO] [stdout] src/event.rs - event::Subscriber (line 83) [INFO] [stdout] src/future.rs - future (line 8) [INFO] [stdout] src/future.rs - future::FutureRet (line 34) [INFO] [stdout] src/future.rs - future::SubscribeFutureRet (line 53) [INFO] [stdout] src/state.rs - state (line 17) [INFO] [stdout] src/util.rs - util (line 10) [INFO] [stdout] src/util.rs - util::CenterError (line 119) [INFO] [stdout] src/util.rs - util::CenterErrorIter (line 91) [INFO] [stdout] src/util.rs - util::Result (line 74) [INFO] [stdout] src/util.rs - util::create_subscriber (line 49) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 32 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.34s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.86s; merged doctests compilation took 0.51s [INFO] running `Command { std: "docker" "inspect" "dd69baaff9358faabfa50883a291a326a4f10adf45a875d70f32be2a0d0f1137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd69baaff9358faabfa50883a291a326a4f10adf45a875d70f32be2a0d0f1137", kill_on_drop: false }` [INFO] [stdout] dd69baaff9358faabfa50883a291a326a4f10adf45a875d70f32be2a0d0f1137