[INFO] fetching crate streamweave-transaction 0.6.0...
[INFO] testing streamweave-transaction-0.6.0 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate streamweave-transaction 0.6.0 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate streamweave-transaction 0.6.0
[INFO] finished tweaking crates.io crate streamweave-transaction 0.6.0
[INFO] tweaked toml for crates.io crate streamweave-transaction 0.6.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate streamweave-transaction 0.6.0 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate streamweave-transaction 0.6.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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded streamweave-message v0.6.0
[INFO] [stderr]   Downloaded streamweave-offset v0.6.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 81f45039191bcf15a2bce28403716c3d8dea1d1077a8d57293607241f756b6bf
[INFO] running `Command { std: "docker" "start" "-a" "81f45039191bcf15a2bce28403716c3d8dea1d1077a8d57293607241f756b6bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "81f45039191bcf15a2bce28403716c3d8dea1d1077a8d57293607241f756b6bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "81f45039191bcf15a2bce28403716c3d8dea1d1077a8d57293607241f756b6bf", kill_on_drop: false }`
[INFO] [stdout] 81f45039191bcf15a2bce28403716c3d8dea1d1077a8d57293607241f756b6bf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6e0a64fc713f197cee7dca29a44ae46b2f9380390a32a16c339aa5ff908f6b18
[INFO] running `Command { std: "docker" "start" "-a" "6e0a64fc713f197cee7dca29a44ae46b2f9380390a32a16c339aa5ff908f6b18", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde_json v1.0.148
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling zmij v1.0.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling streamweave-error v0.6.0
[INFO] [stderr]    Compiling streamweave v0.6.0
[INFO] [stderr]    Compiling streamweave-offset v0.6.0
[INFO] [stderr]    Compiling streamweave-transaction v0.6.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.60s
[INFO] running `Command { std: "docker" "inspect" "6e0a64fc713f197cee7dca29a44ae46b2f9380390a32a16c339aa5ff908f6b18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6e0a64fc713f197cee7dca29a44ae46b2f9380390a32a16c339aa5ff908f6b18", kill_on_drop: false }`
[INFO] [stdout] 6e0a64fc713f197cee7dca29a44ae46b2f9380390a32a16c339aa5ff908f6b18
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 59790dd42a6cd1f47b47162c3a9b22d2449438be9f157ada0095e673fdfad8fd
[INFO] running `Command { std: "docker" "start" "-a" "59790dd42a6cd1f47b47162c3a9b22d2449438be9f157ada0095e673fdfad8fd", kill_on_drop: false }`
[INFO] [stderr]    Compiling streamweave-transaction v0.6.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s
[INFO] running `Command { std: "docker" "inspect" "59790dd42a6cd1f47b47162c3a9b22d2449438be9f157ada0095e673fdfad8fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "59790dd42a6cd1f47b47162c3a9b22d2449438be9f157ada0095e673fdfad8fd", kill_on_drop: false }`
[INFO] [stdout] 59790dd42a6cd1f47b47162c3a9b22d2449438be9f157ada0095e673fdfad8fd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 26daea595e7f41a710991e19d0dcac69498cab401801a43116b9c31bbc1a16b3
[INFO] running `Command { std: "docker" "start" "-a" "26daea595e7f41a710991e19d0dcac69498cab401801a43116b9c31bbc1a16b3", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/streamweave_transaction-e294dfd9320c1a64)
[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 streamweave_transaction
[INFO] [stdout] 
[INFO] [stdout] running 19 tests
[INFO] [stdout] test src/../README.md - (line 57) ... FAILED
[INFO] [stdout] test src/../README.md - (line 34) ... FAILED
[INFO] [stdout] test src/../README.md - (line 108) ... FAILED
[INFO] [stdout] test src/../README.md - (line 132) ... FAILED
[INFO] [stdout] test src/../README.md - (line 399) ... FAILED
[INFO] [stdout] test src/../README.md - (line 265) ... FAILED
[INFO] [stdout] test src/../README.md - (line 277) ... FAILED
[INFO] [stdout] test src/../README.md - (line 182) ... FAILED
[INFO] [stdout] test src/../README.md - (line 120) ... FAILED
[INFO] [stdout] test src/transaction.rs - transaction (line 16) ... FAILED
[INFO] [stdout] test src/../README.md - (line 164) ... FAILED
[INFO] [stdout] test src/../README.md - (line 143) ... FAILED
[INFO] [stdout] test src/../README.md - (line 325) ... FAILED
[INFO] [stdout] test src/../README.md - (line 233) ... FAILED
[INFO] [stdout] test src/../README.md - (line 291) ... FAILED
[INFO] [stdout] test src/../README.md - (line 210) ... FAILED
[INFO] [stdout] test src/../README.md - (line 308) ... FAILED
[INFO] [stdout] test src/../README.md - (line 77) ... FAILED
[INFO] [stdout] test src/../README.md - (line 95) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/../README.md - (line 57) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]   --> src/../README.md:62:38
[INFO] [stdout]    |
[INFO] [stdout] 62 | let ctx = TransactionalContext::new(&manager).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:62:47
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_57_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 62 | let ctx = TransactionalContext::new(&manager).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/../README.md:65:53
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_57_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 65 | ctx.buffer_offset("source1", Offset::Sequence(100)).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/../README.md:66:53
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_57_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 66 | ctx.buffer_offset("source2", Offset::Sequence(200)).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/../README.md:69:14
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_57_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 69 | ctx.commit().await?;
[INFO] [stdout]    |              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 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 34) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/../README.md:46:29
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_34_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 46 | let tx_id = manager.begin().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/../README.md:49:65
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_34_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 49 | manager.buffer_offset(&tx_id, "source1", Offset::Sequence(100)).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/../README.md:50:65
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_34_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 50 | manager.buffer_offset(&tx_id, "source2", Offset::Sequence(200)).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/../README.md:53:24
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_34_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 53 | manager.commit(&tx_id).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] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/../README.md - (line 108) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `Duration` in this scope
[INFO] [stdout]    --> src/../README.md:110:18
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub timeout: Duration,                    // Default timeout
[INFO] [stdout]     |                  ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 108 + use std::time::Duration;
[INFO] [stdout]     |
[INFO] [stdout] 108 + use chrono::Duration;
[INFO] [stdout]     |
[INFO] [stdout] 108 + use tokio::time::Duration;
[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 E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/../README.md - (line 132) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `TransactionManager` in this scope
[INFO] [stdout]    --> src/../README.md:134:18
[INFO] [stdout]     |
[INFO] [stdout] 134 |     manager: &'a TransactionManager,
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 132 + use streamweave_transaction::TransactionManager;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `TransactionId` in this scope
[INFO] [stdout]    --> src/../README.md:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |     id: TransactionId,
[INFO] [stdout]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 132 + use streamweave_transaction::TransactionId;
[INFO] [stdout]     |
[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/../README.md - (line 399) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `TransactionId` in this scope
[INFO] [stdout]    --> src/../README.md:401:14
[INFO] [stdout]     |
[INFO] [stdout] 401 |     NotFound(TransactionId),                    // Transaction not found
[INFO] [stdout]     |              ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 399 + use streamweave_transaction::TransactionId;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `TransactionId` in this scope
[INFO] [stdout]    --> src/../README.md:402:15
[INFO] [stdout]     |
[INFO] [stdout] 402 |     NotActive(TransactionId, TransactionState),  // Transaction not active
[INFO] [stdout]     |               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 399 + use streamweave_transaction::TransactionId;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `TransactionState` in this scope
[INFO] [stdout]    --> src/../README.md:402:30
[INFO] [stdout]     |
[INFO] [stdout] 402 |     NotActive(TransactionId, TransactionState),  // Transaction not active
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 399 + use streamweave_transaction::TransactionState;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `TransactionId` in this scope
[INFO] [stdout]    --> src/../README.md:403:13
[INFO] [stdout]     |
[INFO] [stdout] 403 |     Timeout(TransactionId),                      // Transaction timed out
[INFO] [stdout]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 399 + use streamweave_transaction::TransactionId;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OffsetError` in this scope
[INFO] [stdout]    --> src/../README.md:404:17
[INFO] [stdout]     |
[INFO] [stdout] 404 |     OffsetError(OffsetError),                    // Offset operation failed
[INFO] [stdout]     |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 399 + use streamweave_offset::OffsetError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 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/../README.md - (line 265) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:266:13
[INFO] [stdout]     |
[INFO] [stdout] 266 | let tx_id = manager.begin_with_timeout(Duration::from_secs(60)).await?;
[INFO] [stdout]     |             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]    --> src/../README.md:266:40
[INFO] [stdout]     |
[INFO] [stdout] 266 | let tx_id = manager.begin_with_timeout(Duration::from_secs(60)).await?;
[INFO] [stdout]     |                                        ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 265 + use std::time::Duration;
[INFO] [stdout]     |
[INFO] [stdout] 265 + use chrono::Duration;
[INFO] [stdout]     |
[INFO] [stdout] 265 + use tokio::time::Duration;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:269:1
[INFO] [stdout]     |
[INFO] [stdout] 269 | manager.buffer_offset(&tx_id, "source1", Offset::Sequence(100)).await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Offset`
[INFO] [stdout]    --> src/../README.md:269:42
[INFO] [stdout]     |
[INFO] [stdout] 269 | manager.buffer_offset(&tx_id, "source1", Offset::Sequence(100)).await?;
[INFO] [stdout]     |                                          ^^^^^^ use of undeclared type `Offset`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 265 + use chrono::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 265 + use streamweave_offset::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:270:1
[INFO] [stdout]     |
[INFO] [stdout] 270 | manager.commit(&tx_id).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:266:65
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_265_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] 266 | let tx_id = manager.begin_with_timeout(Duration::from_secs(60)).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/../README.md:269:65
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_265_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 269 | manager.buffer_offset(&tx_id, "source1", Offset::Sequence(100)).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/../README.md:270:24
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_265_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 270 | manager.commit(&tx_id).await?;
[INFO] [stdout]     |                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, 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 277) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:278:13
[INFO] [stdout]     |
[INFO] [stdout] 278 | let tx_id = manager.begin().await?;
[INFO] [stdout]     |             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:280:1
[INFO] [stdout]     |
[INFO] [stdout] 280 | manager.set_metadata(&tx_id, "user_id", "123").await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:281:1
[INFO] [stdout]     |
[INFO] [stdout] 281 | manager.set_metadata(&tx_id, "operation", "batch_process").await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:284:15
[INFO] [stdout]     |
[INFO] [stdout] 284 | let user_id = manager.get_metadata(&tx_id, "user_id").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:278:29
[INFO] [stdout]     |
[INFO] [stdout] 277 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_277_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] 278 | let tx_id = manager.begin().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/../README.md:280:48
[INFO] [stdout]     |
[INFO] [stdout] 277 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_277_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 280 | manager.set_metadata(&tx_id, "user_id", "123").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/../README.md:281:60
[INFO] [stdout]     |
[INFO] [stdout] 277 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_277_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 281 | manager.set_metadata(&tx_id, "operation", "batch_process").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/../README.md:284:55
[INFO] [stdout]     |
[INFO] [stdout] 277 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_277_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 284 | let user_id = manager.get_metadata(&tx_id, "user_id").await?;
[INFO] [stdout]     |                                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 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 182) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:183:13
[INFO] [stdout]     |
[INFO] [stdout] 183 | let tx_id = manager.begin().await?;
[INFO] [stdout]     |             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:186:1
[INFO] [stdout]     |
[INFO] [stdout] 186 | manager.buffer_offset(&tx_id, "source1", Offset::Sequence(100)).await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Offset`
[INFO] [stdout]    --> src/../README.md:186:42
[INFO] [stdout]     |
[INFO] [stdout] 186 | manager.buffer_offset(&tx_id, "source1", Offset::Sequence(100)).await?;
[INFO] [stdout]     |                                          ^^^^^^ use of undeclared type `Offset`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 182 + use chrono::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 182 + use streamweave_offset::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:187:1
[INFO] [stdout]     |
[INFO] [stdout] 187 | manager.buffer_offset(&tx_id, "source2", Offset::Sequence(200)).await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Offset`
[INFO] [stdout]    --> src/../README.md:187:42
[INFO] [stdout]     |
[INFO] [stdout] 187 | manager.buffer_offset(&tx_id, "source2", Offset::Sequence(200)).await?;
[INFO] [stdout]     |                                          ^^^^^^ use of undeclared type `Offset`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 182 + use chrono::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 182 + use streamweave_offset::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | manager.create_savepoint(&tx_id, "batch1").await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:193:1
[INFO] [stdout]     |
[INFO] [stdout] 193 | manager.buffer_offset(&tx_id, "source3", Offset::Sequence(300)).await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Offset`
[INFO] [stdout]    --> src/../README.md:193:42
[INFO] [stdout]     |
[INFO] [stdout] 193 | manager.buffer_offset(&tx_id, "source3", Offset::Sequence(300)).await?;
[INFO] [stdout]     |                                          ^^^^^^ use of undeclared type `Offset`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 182 + use chrono::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 182 + use streamweave_offset::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:194:1
[INFO] [stdout]     |
[INFO] [stdout] 194 | manager.buffer_offset(&tx_id, "source4", Offset::Sequence(400)).await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Offset`
[INFO] [stdout]    --> src/../README.md:194:42
[INFO] [stdout]     |
[INFO] [stdout] 194 | manager.buffer_offset(&tx_id, "source4", Offset::Sequence(400)).await?;
[INFO] [stdout]     |                                          ^^^^^^ use of undeclared type `Offset`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 182 + use chrono::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 182 + use streamweave_offset::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `batch2_failed` in this scope
[INFO] [stdout]    --> src/../README.md:197:4
[INFO] [stdout]     |
[INFO] [stdout] 197 | if batch2_failed {
[INFO] [stdout]     |    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:198:5
[INFO] [stdout]     |
[INFO] [stdout] 198 |     manager.rollback_to_savepoint(&tx_id, "batch1").await?;
[INFO] [stdout]     |     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:203:1
[INFO] [stdout]     |
[INFO] [stdout] 203 | manager.commit(&tx_id).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:183:29
[INFO] [stdout]     |
[INFO] [stdout] 182 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_182_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] 183 | let tx_id = manager.begin().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/../README.md:186:65
[INFO] [stdout]     |
[INFO] [stdout] 182 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_182_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 186 | manager.buffer_offset(&tx_id, "source1", Offset::Sequence(100)).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/../README.md:187:65
[INFO] [stdout]     |
[INFO] [stdout] 182 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_182_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 187 | manager.buffer_offset(&tx_id, "source2", Offset::Sequence(200)).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/../README.md:190:44
[INFO] [stdout]     |
[INFO] [stdout] 182 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_182_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 190 | manager.create_savepoint(&tx_id, "batch1").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/../README.md:193:65
[INFO] [stdout]     |
[INFO] [stdout] 182 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_182_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 193 | manager.buffer_offset(&tx_id, "source3", Offset::Sequence(300)).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/../README.md:194:65
[INFO] [stdout]     |
[INFO] [stdout] 182 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_182_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 194 | manager.buffer_offset(&tx_id, "source4", Offset::Sequence(400)).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/../README.md:198:53
[INFO] [stdout]     |
[INFO] [stdout] 182 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_182_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 198 |     manager.rollback_to_savepoint(&tx_id, "batch1").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/../README.md:203:24
[INFO] [stdout]     |
[INFO] [stdout] 182 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_182_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 203 | manager.commit(&tx_id).await?;
[INFO] [stdout]     |                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 21 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, 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 120) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `Instant` in this scope
[INFO] [stdout]    --> src/../README.md:124:21
[INFO] [stdout]     |
[INFO] [stdout] 124 |     pub created_at: Instant,
[INFO] [stdout]     |                     ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 120 + use std::time::Instant;
[INFO] [stdout]     |
[INFO] [stdout] 120 + use tokio::time::Instant;
[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 E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/transaction.rs - transaction (line 16) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `streamweave::transaction`
[INFO] [stdout]   --> src/transaction.rs:17:18
[INFO] [stdout]    |
[INFO] [stdout] 17 | use streamweave::transaction::{TransactionManager, TransactionConfig};
[INFO] [stdout]    |                  ^^^^^^^^^^^ could not find `transaction` in `streamweave`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `streamweave::offset`
[INFO] [stdout]   --> src/transaction.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 | use streamweave::offset::{InMemoryOffsetStore, Offset};
[INFO] [stdout]    |                  ^^^^^^ could not find `offset` in `streamweave`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/../README.md - (line 164) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:165:13
[INFO] [stdout]     |
[INFO] [stdout] 165 | let tx_id = manager.begin().await?;
[INFO] [stdout]     |             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:167:1
[INFO] [stdout]     |
[INFO] [stdout] 167 | manager.buffer_offset(&tx_id, "source1", Offset::Sequence(100)).await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Offset`
[INFO] [stdout]    --> src/../README.md:167:42
[INFO] [stdout]     |
[INFO] [stdout] 167 | manager.buffer_offset(&tx_id, "source1", Offset::Sequence(100)).await?;
[INFO] [stdout]     |                                          ^^^^^^ use of undeclared type `Offset`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 164 + use chrono::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 164 + use streamweave_offset::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:168:1
[INFO] [stdout]     |
[INFO] [stdout] 168 | manager.buffer_offset(&tx_id, "source2", Offset::Sequence(200)).await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Offset`
[INFO] [stdout]    --> src/../README.md:168:42
[INFO] [stdout]     |
[INFO] [stdout] 168 | manager.buffer_offset(&tx_id, "source2", Offset::Sequence(200)).await?;
[INFO] [stdout]     |                                          ^^^^^^ use of undeclared type `Offset`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 164 + use chrono::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 164 + use streamweave_offset::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `processing_failed` in this scope
[INFO] [stdout]    --> src/../README.md:171:4
[INFO] [stdout]     |
[INFO] [stdout] 171 | if processing_failed {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:172:5
[INFO] [stdout]     |
[INFO] [stdout] 172 |     manager.rollback(&tx_id).await?;
[INFO] [stdout]     |     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:174:5
[INFO] [stdout]     |
[INFO] [stdout] 174 |     manager.commit(&tx_id).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:165:29
[INFO] [stdout]     |
[INFO] [stdout] 164 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_164_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] 165 | let tx_id = manager.begin().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/../README.md:167:65
[INFO] [stdout]     |
[INFO] [stdout] 164 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_164_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 167 | manager.buffer_offset(&tx_id, "source1", Offset::Sequence(100)).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/../README.md:168:65
[INFO] [stdout]     |
[INFO] [stdout] 164 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_164_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 168 | manager.buffer_offset(&tx_id, "source2", Offset::Sequence(200)).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/../README.md:172:30
[INFO] [stdout]     |
[INFO] [stdout] 164 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_164_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 172 |     manager.rollback(&tx_id).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/../README.md:174:28
[INFO] [stdout]     |
[INFO] [stdout] 164 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_164_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 174 |     manager.commit(&tx_id).await?;
[INFO] [stdout]     |                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, 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 143) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/../README.md:152:29
[INFO] [stdout]     |
[INFO] [stdout] 144 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_143_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 152 | let tx_id = manager.begin().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/../README.md:155:65
[INFO] [stdout]     |
[INFO] [stdout] 144 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_143_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 155 | manager.buffer_offset(&tx_id, "topic-1", Offset::Sequence(100)).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/../README.md:156:65
[INFO] [stdout]     |
[INFO] [stdout] 144 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_143_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 156 | manager.buffer_offset(&tx_id, "topic-2", Offset::Sequence(200)).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/../README.md:157:65
[INFO] [stdout]     |
[INFO] [stdout] 144 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_143_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 157 | manager.buffer_offset(&tx_id, "topic-3", Offset::Sequence(300)).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/../README.md:160:24
[INFO] [stdout]     |
[INFO] [stdout] 144 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_143_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 160 | manager.commit(&tx_id).await?;
[INFO] [stdout]     |                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/../README.md - (line 325) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:326:13
[INFO] [stdout]     |
[INFO] [stdout] 326 | let tx_id = manager.begin().await?;
[INFO] [stdout]     |             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:329:1
[INFO] [stdout]     |
[INFO] [stdout] 329 | manager.buffer_offset(&tx_id, "s1", Offset::Sequence(1)).await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Offset`
[INFO] [stdout]    --> src/../README.md:329:37
[INFO] [stdout]     |
[INFO] [stdout] 329 | manager.buffer_offset(&tx_id, "s1", Offset::Sequence(1)).await?;
[INFO] [stdout]     |                                     ^^^^^^ use of undeclared type `Offset`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 325 + use chrono::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 325 + use streamweave_offset::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:330:1
[INFO] [stdout]     |
[INFO] [stdout] 330 | manager.create_savepoint(&tx_id, "checkpoint1").await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:333:1
[INFO] [stdout]     |
[INFO] [stdout] 333 | manager.buffer_offset(&tx_id, "s2", Offset::Sequence(2)).await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Offset`
[INFO] [stdout]    --> src/../README.md:333:37
[INFO] [stdout]     |
[INFO] [stdout] 333 | manager.buffer_offset(&tx_id, "s2", Offset::Sequence(2)).await?;
[INFO] [stdout]     |                                     ^^^^^^ use of undeclared type `Offset`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 325 + use chrono::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 325 + use streamweave_offset::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:334:1
[INFO] [stdout]     |
[INFO] [stdout] 334 | manager.create_savepoint(&tx_id, "checkpoint2").await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:337:1
[INFO] [stdout]     |
[INFO] [stdout] 337 | manager.buffer_offset(&tx_id, "s3", Offset::Sequence(3)).await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Offset`
[INFO] [stdout]    --> src/../README.md:337:37
[INFO] [stdout]     |
[INFO] [stdout] 337 | manager.buffer_offset(&tx_id, "s3", Offset::Sequence(3)).await?;
[INFO] [stdout]     |                                     ^^^^^^ use of undeclared type `Offset`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 325 + use chrono::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 325 + use streamweave_offset::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:338:1
[INFO] [stdout]     |
[INFO] [stdout] 338 | manager.create_savepoint(&tx_id, "checkpoint3").await?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:341:1
[INFO] [stdout]     |
[INFO] [stdout] 341 | manager.rollback_to_savepoint(&tx_id, "checkpoint1").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:326:29
[INFO] [stdout]     |
[INFO] [stdout] 325 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_325_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] 326 | let tx_id = manager.begin().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/../README.md:329:58
[INFO] [stdout]     |
[INFO] [stdout] 325 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_325_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 329 | manager.buffer_offset(&tx_id, "s1", Offset::Sequence(1)).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/../README.md:330:49
[INFO] [stdout]     |
[INFO] [stdout] 325 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_325_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 330 | manager.create_savepoint(&tx_id, "checkpoint1").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/../README.md:333:58
[INFO] [stdout]     |
[INFO] [stdout] 325 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_325_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 333 | manager.buffer_offset(&tx_id, "s2", Offset::Sequence(2)).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/../README.md:334:49
[INFO] [stdout]     |
[INFO] [stdout] 325 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_325_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 334 | manager.create_savepoint(&tx_id, "checkpoint2").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/../README.md:337:58
[INFO] [stdout]     |
[INFO] [stdout] 325 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_325_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 337 | manager.buffer_offset(&tx_id, "s3", Offset::Sequence(3)).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/../README.md:338:49
[INFO] [stdout]     |
[INFO] [stdout] 325 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_325_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 338 | manager.create_savepoint(&tx_id, "checkpoint3").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/../README.md:341:54
[INFO] [stdout]     |
[INFO] [stdout] 325 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_325_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 341 | manager.rollback_to_savepoint(&tx_id, "checkpoint1").await?;
[INFO] [stdout]     |                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 19 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, 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 233) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `TransactionManager` in this scope
[INFO] [stdout]    --> src/../README.md:237:34
[INFO] [stdout]     |
[INFO] [stdout] 237 | async fn process_batch(manager: &TransactionManager) -> Result<(), TransactionError> {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 232 + use streamweave_transaction::TransactionManager;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `TransactionError` in this scope
[INFO] [stdout]    --> src/../README.md:237:68
[INFO] [stdout]     |
[INFO] [stdout] 237 | async fn process_batch(manager: &TransactionManager) -> Result<(), TransactionError> {
[INFO] [stdout]     |                                                                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 232 + use streamweave_transaction::TransactionError;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Offset`
[INFO] [stdout]    --> src/../README.md:241:34
[INFO] [stdout]     |
[INFO] [stdout] 241 |     ctx.buffer_offset("source1", Offset::Sequence(100)).await?;
[INFO] [stdout]     |                                  ^^^^^^ use of undeclared type `Offset`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 232 + use chrono::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 232 + use streamweave_offset::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Offset`
[INFO] [stdout]    --> src/../README.md:242:34
[INFO] [stdout]     |
[INFO] [stdout] 242 |     ctx.buffer_offset("source2", Offset::Sequence(200)).await?;
[INFO] [stdout]     |                                  ^^^^^^ use of undeclared type `Offset`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 232 + use chrono::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 232 + use streamweave_offset::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Offset`
[INFO] [stdout]    --> src/../README.md:248:34
[INFO] [stdout]     |
[INFO] [stdout] 248 |     ctx.buffer_offset("source3", Offset::Sequence(300)).await?;
[INFO] [stdout]     |                                  ^^^^^^ use of undeclared type `Offset`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 232 + use chrono::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 232 + use streamweave_offset::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `error_occurred` in this scope
[INFO] [stdout]    --> src/../README.md:251:8
[INFO] [stdout]     |
[INFO] [stdout] 251 |     if error_occurred {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 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 291) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:293:14
[INFO] [stdout]     |
[INFO] [stdout] 293 | let active = manager.list_active().await;
[INFO] [stdout]     |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:297:12
[INFO] [stdout]     |
[INFO] [stdout] 297 | let info = manager.get_transaction(&tx_id).await?;
[INFO] [stdout]     |            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tx_id` in this scope
[INFO] [stdout]    --> src/../README.md:297:37
[INFO] [stdout]     |
[INFO] [stdout] 297 | let info = manager.get_transaction(&tx_id).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:293:36
[INFO] [stdout]     |
[INFO] [stdout] 291 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_291_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] 292 | // List all active transactions
[INFO] [stdout] 293 | let active = manager.list_active().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/../README.md:297:44
[INFO] [stdout]     |
[INFO] [stdout] 291 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_291_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 297 | let info = manager.get_transaction(&tx_id).await?;
[INFO] [stdout]     |                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 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 210) stdout ----
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionConfig`
[INFO] [stdout]    --> src/../README.md:213:14
[INFO] [stdout]     |
[INFO] [stdout] 213 | let config = TransactionConfig::default()
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionConfig`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 210 + use streamweave_transaction::TransactionConfig;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionManager`
[INFO] [stdout]    --> src/../README.md:217:15
[INFO] [stdout]     |
[INFO] [stdout] 217 | let manager = TransactionManager::new(store, config);
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionManager`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 210 + use streamweave_transaction::TransactionManager;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `store` in this scope
[INFO] [stdout]    --> src/../README.md:217:39
[INFO] [stdout]     |
[INFO] [stdout] 217 | let manager = TransactionManager::new(store, config);
[INFO] [stdout]     |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionState`
[INFO] [stdout]    --> src/../README.md:224:13
[INFO] [stdout]     |
[INFO] [stdout] 224 | if state == TransactionState::TimedOut {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ use of undeclared type `TransactionState`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 210 + use streamweave_transaction::TransactionState;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/../README.md:219:29
[INFO] [stdout]     |
[INFO] [stdout] 210 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_210_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 219 | let tx_id = manager.begin().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/../README.md:223:39
[INFO] [stdout]     |
[INFO] [stdout] 210 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_210_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 223 | let state = manager.get_state(&tx_id).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: E0425, E0433, 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 308) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:310:17
[INFO] [stdout]     |
[INFO] [stdout] 310 | let timed_out = manager.check_timeouts().await;
[INFO] [stdout]     |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `manager` in this scope
[INFO] [stdout]    --> src/../README.md:317:15
[INFO] [stdout]     |
[INFO] [stdout] 317 | let cleaned = manager.cleanup(Duration::from_secs(3600)).await;
[INFO] [stdout]     |               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]    --> src/../README.md:317:31
[INFO] [stdout]     |
[INFO] [stdout] 317 | let cleaned = manager.cleanup(Duration::from_secs(3600)).await;
[INFO] [stdout]     |                               ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 308 + use std::time::Duration;
[INFO] [stdout]     |
[INFO] [stdout] 308 + use chrono::Duration;
[INFO] [stdout]     |
[INFO] [stdout] 308 + use tokio::time::Duration;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/../README.md:310:42
[INFO] [stdout]     |
[INFO] [stdout] 308 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_308_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] 309 | // Check for timed-out transactions
[INFO] [stdout] 310 | let timed_out = manager.check_timeouts().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/../README.md:317:58
[INFO] [stdout]     |
[INFO] [stdout] 308 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_308_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 317 | let cleaned = manager.cleanup(Duration::from_secs(3600)).await;
[INFO] [stdout]     |                                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, 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 77) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope
[INFO] [stdout]   --> src/../README.md:79:19
[INFO] [stdout]    |
[INFO] [stdout] 79 |     offset_store: Arc<RwLock<Box<dyn OffsetStore>>>,
[INFO] [stdout]    |                   ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 77 + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RwLock` in this scope
[INFO] [stdout]   --> src/../README.md:79:23
[INFO] [stdout]    |
[INFO] [stdout] 79 |     offset_store: Arc<RwLock<Box<dyn OffsetStore>>>,
[INFO] [stdout]    |                       ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 77 + use std::sync::RwLock;
[INFO] [stdout]    |
[INFO] [stdout] 77 + use std::sync::nonpoison::RwLock;
[INFO] [stdout]    |
[INFO] [stdout] 77 + use tokio::sync::RwLock;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `OffsetStore` in this scope
[INFO] [stdout]   --> src/../README.md:79:38
[INFO] [stdout]    |
[INFO] [stdout] 79 |     offset_store: Arc<RwLock<Box<dyn OffsetStore>>>,
[INFO] [stdout]    |                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 77 + use streamweave_offset::OffsetStore;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `TransactionConfig` in this scope
[INFO] [stdout]   --> src/../README.md:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |     config: TransactionConfig,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 77 + use streamweave_transaction::TransactionConfig;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/../README.md - (line 108)
[INFO] [stdout]     src/../README.md - (line 120)
[INFO] [stdout]     src/../README.md - (line 132)
[INFO] [stdout]     src/../README.md - (line 143)
[INFO] [stdout]     src/../README.md - (line 164)
[INFO] [stdout]     src/../README.md - (line 182)
[INFO] [stdout]     src/../README.md - (line 210)
[INFO] [stdout]     src/../README.md - (line 233)
[INFO] [stdout]     src/../README.md - (line 265)
[INFO] [stdout]     src/../README.md - (line 277)
[INFO] [stdout]     src/../README.md - (line 291)
[INFO] [stdout]     src/../README.md - (line 308)
[INFO] [stdout]     src/../README.md - (line 325)
[INFO] [stdout]     src/../README.md - (line 34)
[INFO] [stdout]     src/../README.md - (line 399)
[INFO] [stdout]     src/../README.md - (line 57)
[INFO] [stdout]     src/../README.md - (line 77)
[INFO] [stdout]     src/transaction.rs - transaction (line 16)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 18 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.84s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 1.09s; merged doctests compilation took 0.25s
[INFO] running `Command { std: "docker" "inspect" "26daea595e7f41a710991e19d0dcac69498cab401801a43116b9c31bbc1a16b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26daea595e7f41a710991e19d0dcac69498cab401801a43116b9c31bbc1a16b3", kill_on_drop: false }`
[INFO] [stdout] 26daea595e7f41a710991e19d0dcac69498cab401801a43116b9c31bbc1a16b3
