[INFO] fetching crate obsidian-scheduler 0.1.0... [INFO] testing obsidian-scheduler-0.1.0 against 1.91.0 for beta-1.92-2 [INFO] extracting crate obsidian-scheduler 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate obsidian-scheduler 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate obsidian-scheduler 0.1.0 [INFO] tweaked toml for crates.io crate obsidian-scheduler 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate obsidian-scheduler 0.1.0 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate obsidian-scheduler 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be91b4daa8b242706adaa64e135daea239cdcdfaa45267e89eb5ee1eddace96b [INFO] running `Command { std: "docker" "start" "-a" "be91b4daa8b242706adaa64e135daea239cdcdfaa45267e89eb5ee1eddace96b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be91b4daa8b242706adaa64e135daea239cdcdfaa45267e89eb5ee1eddace96b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be91b4daa8b242706adaa64e135daea239cdcdfaa45267e89eb5ee1eddace96b", kill_on_drop: false }` [INFO] [stdout] be91b4daa8b242706adaa64e135daea239cdcdfaa45267e89eb5ee1eddace96b [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95d1a9bf4f94775b825a624c8d5647543fe3d36a4f4b0824f415b5908719d901 [INFO] running `Command { std: "docker" "start" "-a" "95d1a9bf4f94775b825a624c8d5647543fe3d36a4f4b0824f415b5908719d901", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling obsidian-scheduler v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.93s [INFO] running `Command { std: "docker" "inspect" "95d1a9bf4f94775b825a624c8d5647543fe3d36a4f4b0824f415b5908719d901", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95d1a9bf4f94775b825a624c8d5647543fe3d36a4f4b0824f415b5908719d901", kill_on_drop: false }` [INFO] [stdout] 95d1a9bf4f94775b825a624c8d5647543fe3d36a4f4b0824f415b5908719d901 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7463e3395ae17a59c0000c83ff146d958d43b5794f9f7b8615b0aba7df251441 [INFO] running `Command { std: "docker" "start" "-a" "7463e3395ae17a59c0000c83ff146d958d43b5794f9f7b8615b0aba7df251441", kill_on_drop: false }` [INFO] [stderr] Compiling obsidian-scheduler v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "7463e3395ae17a59c0000c83ff146d958d43b5794f9f7b8615b0aba7df251441", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7463e3395ae17a59c0000c83ff146d958d43b5794f9f7b8615b0aba7df251441", kill_on_drop: false }` [INFO] [stdout] 7463e3395ae17a59c0000c83ff146d958d43b5794f9f7b8615b0aba7df251441 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 57763fda2403262e9a124ea61ed6233c5c010df29052e2e82e86b01a006d2bbf [INFO] running `Command { std: "docker" "start" "-a" "57763fda2403262e9a124ea61ed6233c5c010df29052e2e82e86b01a006d2bbf", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/obsidian_scheduler-4da4d606598794c0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests obsidian_scheduler [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test src/../README.md - (line 312) ... FAILED [INFO] [stdout] test src/callback/mod.rs - callback::CallbackTimer::start (line 240) ... FAILED [INFO] [stdout] test src/../README.md - (line 369) ... FAILED [INFO] [stdout] test src/../README.md - (line 239) ... FAILED [INFO] [stdout] test src/callback/mod.rs - callback::CallbackTimer::reset (line 365) ... FAILED [INFO] [stdout] test src/callback/mod.rs - callback::CallbackTimer::stop (line 322) ... FAILED [INFO] [stdout] test src/../README.md - (line 345) ... FAILED [INFO] [stdout] test src/callback/mod.rs - callback::TimerHandle::stop (line 66) ... FAILED [INFO] [stdout] test src/callback/mod.rs - callback::CallbackTimer::is_running (line 392) ... FAILED [INFO] [stdout] test src/callback/mod.rs - callback::CallbackTimer::new (line 170) ... FAILED [INFO] [stdout] test src/callback/mod.rs - callback::TimerHandle (line 34) ... FAILED [INFO] [stdout] test src/../README.md - (line 53) ... FAILED [INFO] [stdout] test src/../README.md - (line 163) ... FAILED [INFO] [stdout] test src/../README.md - (line 128) ... FAILED [INFO] [stdout] test src/callback/mod.rs - callback::CallbackTimer (line 118) ... FAILED [INFO] [stdout] test src/../README.md - (line 83) ... FAILED [INFO] [stdout] test src/../README.md - (line 330) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/../README.md - (line 312) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `SchedulerError` in this scope [INFO] [stdout] --> src/../README.md:315:41 [INFO] [stdout] | [INFO] [stdout] 5 | async fn start(&self) -> Result<(), SchedulerError>; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use obsidian_scheduler::error::SchedulerError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchedulerError` in this scope [INFO] [stdout] --> src/../README.md:318:40 [INFO] [stdout] | [INFO] [stdout] 8 | async fn stop(&self) -> Result<(), SchedulerError>; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use obsidian_scheduler::error::SchedulerError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchedulerError` in this scope [INFO] [stdout] --> src/../README.md:321:41 [INFO] [stdout] | [INFO] [stdout] 11 | async fn reset(&self) -> Result<(), SchedulerError>; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use obsidian_scheduler::error::SchedulerError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/callback/mod.rs - callback::CallbackTimer::start (line 240) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/callback/mod.rs:246:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/callback/mod.rs:247:1 [INFO] [stdout] | [INFO] [stdout] 9 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 369) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `RecvError` in this scope [INFO] [stdout] --> src/../README.md:376:20 [INFO] [stdout] | [INFO] [stdout] 9 | BroadcastError(RecvError), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpsc::RecvError; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::sync::broadcast::error::RecvError; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::sync::oneshot::error::RecvError; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::sync::watch::error::RecvError; [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/../README.md - (line 239) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `obsidian_scheduler::event` [INFO] [stdout] --> src/../README.md:241:25 [INFO] [stdout] | [INFO] [stdout] 4 | use obsidian_scheduler::event::EventTimer; [INFO] [stdout] | ^^^^^ could not find `event` in `obsidian_scheduler` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "event-timers")] [INFO] [stdout] | ------------------------ the item is gated behind the `event-timers` feature [INFO] [stdout] 7 | pub mod event; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/../README.md:244:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/../README.md:245:1 [INFO] [stdout] | [INFO] [stdout] 8 | async fn main() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/callback/mod.rs - callback::CallbackTimer::reset (line 365) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `your_crate` [INFO] [stdout] --> src/callback/mod.rs:366:5 [INFO] [stdout] | [INFO] [stdout] 3 | use your_crate::{Scheduler, SchedulerError}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/callback/mod.rs - callback::CallbackTimer::stop (line 322) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `callback_timer` in this scope [INFO] [stdout] --> src/callback/mod.rs:323:14 [INFO] [stdout] | [INFO] [stdout] 3 | let result = callback_timer.stop().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/callback/mod.rs:323:36 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_callback_mod_rs_322_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] 3 | let result = callback_timer.stop().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/../README.md - (line 345) stdout ---- [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/../README.md:348:5 [INFO] [stdout] | [INFO] [stdout] 5 | / pub fn new( [INFO] [stdout] 6 | | event_name: impl Into, [INFO] [stdout] 7 | | interval: tokio::time::Duration, [INFO] [stdout] 8 | | ) -> Result; [INFO] [stdout] | | ^ help: provide a definition for the function: `{ }` [INFO] [stdout] | |______________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/../README.md:354:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn subscribe(&self) -> broadcast::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/../README.md:357:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn get_timer_by_name(name: impl AsRef) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/../README.md:361:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn drop(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventTimer` in this scope [INFO] [stdout] --> src/../README.md:346:6 [INFO] [stdout] | [INFO] [stdout] 3 | impl EventTimer { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SchedulerError` in this scope [INFO] [stdout] --> src/../README.md:351:23 [INFO] [stdout] | [INFO] [stdout] 8 | ) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use obsidian_scheduler::error::SchedulerError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `broadcast` [INFO] [stdout] --> src/../README.md:354:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn subscribe(&self) -> broadcast::Receiver; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `broadcast` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `broadcast`, use `cargo add broadcast` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::sync::broadcast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventTimer` in this scope [INFO] [stdout] --> src/../README.md:357:63 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn get_timer_by_name(name: impl AsRef) -> Option; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | impl EventTimer { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/callback/mod.rs - callback::TimerHandle::stop (line 66) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/callback/mod.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/callback/mod.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 9 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/callback/mod.rs - callback::CallbackTimer::is_running (line 392) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `my_instance` in this scope [INFO] [stdout] --> src/callback/mod.rs:393:18 [INFO] [stdout] | [INFO] [stdout] 3 | let is_running = my_instance.is_running().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/callback/mod.rs:393:43 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_callback_mod_rs_392_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] 3 | let is_running = my_instance.is_running().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/callback/mod.rs - callback::CallbackTimer::new (line 170) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/callback/mod.rs:176:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/callback/mod.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 9 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/callback/mod.rs - callback::TimerHandle (line 34) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/callback/mod.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/callback/mod.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 9 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 53) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/../README.md:59:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/../README.md:60:1 [INFO] [stdout] | [INFO] [stdout] 9 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 163) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `obsidian_scheduler::event` [INFO] [stdout] --> src/../README.md:165:25 [INFO] [stdout] | [INFO] [stdout] 4 | use obsidian_scheduler::event::EventTimer; [INFO] [stdout] | ^^^^^ could not find `event` in `obsidian_scheduler` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "event-timers")] [INFO] [stdout] | ------------------------ the item is gated behind the `event-timers` feature [INFO] [stdout] 7 | pub mod event; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/../README.md:168:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `join` in `tokio` [INFO] [stdout] --> src/../README.md:224:20 [INFO] [stdout] | [INFO] [stdout] 63 | let _ = tokio::join!(task1, task2, task3); [INFO] [stdout] | ^^^^ could not find `join` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/../README.md:169:1 [INFO] [stdout] | [INFO] [stdout] 8 | async fn main() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] ---- src/../README.md - (line 128) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `obsidian_scheduler::event` [INFO] [stdout] --> src/../README.md:130:25 [INFO] [stdout] | [INFO] [stdout] 4 | use obsidian_scheduler::event::EventTimer; [INFO] [stdout] | ^^^^^ could not find `event` in `obsidian_scheduler` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "event-timers")] [INFO] [stdout] | ------------------------ the item is gated behind the `event-timers` feature [INFO] [stdout] 7 | pub mod event; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/../README.md:133:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/../README.md:134:1 [INFO] [stdout] | [INFO] [stdout] 8 | async fn main() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/callback/mod.rs - callback::CallbackTimer (line 118) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/callback/mod.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/callback/mod.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 9 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 83) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/../README.md:91:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/../README.md:92:1 [INFO] [stdout] | [INFO] [stdout] 11 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 330) stdout ---- [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/../README.md:333:5 [INFO] [stdout] | [INFO] [stdout] 5 | / pub fn new(callback: F, interval: Duration) -> Arc [INFO] [stdout] 6 | | where [INFO] [stdout] 7 | | F: Fn(TimerHandle) -> Fut + Send + Sync + 'static, [INFO] [stdout] 8 | | Fut: Future> + Send + 'static; [INFO] [stdout] | | ^ help: provide a definition for the function: `{ }` [INFO] [stdout] | |__________________________________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CallbackTimer` in this scope [INFO] [stdout] --> src/../README.md:331:6 [INFO] [stdout] | [INFO] [stdout] 3 | impl CallbackTimer { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use obsidian_scheduler::callback::CallbackTimer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TimerHandle` in this scope [INFO] [stdout] --> src/../README.md:335:15 [INFO] [stdout] | [INFO] [stdout] 7 | F: Fn(TimerHandle) -> Fut + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use obsidian_scheduler::callback::TimerHandle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Duration` in this scope [INFO] [stdout] --> src/../README.md:333:47 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn new(callback: F, interval: Duration) -> Arc [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/../README.md:333:60 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn new(callback: F, interval: Duration) -> Arc [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/../README.md:336:30 [INFO] [stdout] | [INFO] [stdout] 8 | Fut: Future> + Send + 'static; [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 8 | Fut: Future> + Send + 'static; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 128) [INFO] [stdout] src/../README.md - (line 163) [INFO] [stdout] src/../README.md - (line 239) [INFO] [stdout] src/../README.md - (line 312) [INFO] [stdout] src/../README.md - (line 330) [INFO] [stdout] src/../README.md - (line 345) [INFO] [stdout] src/../README.md - (line 369) [INFO] [stdout] src/../README.md - (line 53) [INFO] [stdout] src/../README.md - (line 83) [INFO] [stdout] src/callback/mod.rs - callback::CallbackTimer (line 118) [INFO] [stdout] src/callback/mod.rs - callback::CallbackTimer::is_running (line 392) [INFO] [stdout] src/callback/mod.rs - callback::CallbackTimer::new (line 170) [INFO] [stdout] src/callback/mod.rs - callback::CallbackTimer::reset (line 365) [INFO] [stdout] src/callback/mod.rs - callback::CallbackTimer::start (line 240) [INFO] [stdout] src/callback/mod.rs - callback::CallbackTimer::stop (line 322) [INFO] [stdout] src/callback/mod.rs - callback::TimerHandle (line 34) [INFO] [stdout] src/callback/mod.rs - callback::TimerHandle::stop (line 66) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 17 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.66s; merged doctests compilation took 0.26s [INFO] running `Command { std: "docker" "inspect" "57763fda2403262e9a124ea61ed6233c5c010df29052e2e82e86b01a006d2bbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57763fda2403262e9a124ea61ed6233c5c010df29052e2e82e86b01a006d2bbf", kill_on_drop: false }` [INFO] [stdout] 57763fda2403262e9a124ea61ed6233c5c010df29052e2e82e86b01a006d2bbf