[INFO] fetching crate streamweave-offset 0.6.0...
[INFO] testing streamweave-offset-0.6.0 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate streamweave-offset 0.6.0 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate streamweave-offset 0.6.0
[INFO] finished tweaking crates.io crate streamweave-offset 0.6.0
[INFO] tweaked toml for crates.io crate streamweave-offset 0.6.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate streamweave-offset 0.6.0 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate streamweave-offset 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d6f33e9d1ea4d0b420e56b47263da09e7c682740099157a7716c33429fc5dd69
[INFO] running `Command { std: "docker" "start" "-a" "d6f33e9d1ea4d0b420e56b47263da09e7c682740099157a7716c33429fc5dd69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d6f33e9d1ea4d0b420e56b47263da09e7c682740099157a7716c33429fc5dd69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6f33e9d1ea4d0b420e56b47263da09e7c682740099157a7716c33429fc5dd69", kill_on_drop: false }`
[INFO] [stdout] d6f33e9d1ea4d0b420e56b47263da09e7c682740099157a7716c33429fc5dd69
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6dffbf5ba31bfc71a6a5b7ac113e95028a8d46866355204cec581c5fcd0f9856
[INFO] running `Command { std: "docker" "start" "-a" "6dffbf5ba31bfc71a6a5b7ac113e95028a8d46866355204cec581c5fcd0f9856", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_json v1.0.148
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling zmij v1.0.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling futures-macro v0.3.31
[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 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 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.30s
[INFO] running `Command { std: "docker" "inspect" "6dffbf5ba31bfc71a6a5b7ac113e95028a8d46866355204cec581c5fcd0f9856", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6dffbf5ba31bfc71a6a5b7ac113e95028a8d46866355204cec581c5fcd0f9856", kill_on_drop: false }`
[INFO] [stdout] 6dffbf5ba31bfc71a6a5b7ac113e95028a8d46866355204cec581c5fcd0f9856
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f57587ab85ba53d41dfe668afbf97d0e747fabbca4fde5b3cc2cc34521369344
[INFO] running `Command { std: "docker" "start" "-a" "f57587ab85ba53d41dfe668afbf97d0e747fabbca4fde5b3cc2cc34521369344", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]    Compiling streamweave-offset v0.6.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.54s
[INFO] running `Command { std: "docker" "inspect" "f57587ab85ba53d41dfe668afbf97d0e747fabbca4fde5b3cc2cc34521369344", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f57587ab85ba53d41dfe668afbf97d0e747fabbca4fde5b3cc2cc34521369344", kill_on_drop: false }`
[INFO] [stdout] f57587ab85ba53d41dfe668afbf97d0e747fabbca4fde5b3cc2cc34521369344
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e7d9a9791dd7034d2d14141651799cf145633ca44cc925e04acf6b03d6c2f261
[INFO] running `Command { std: "docker" "start" "-a" "e7d9a9791dd7034d2d14141651799cf145633ca44cc925e04acf6b03d6c2f261", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/streamweave_offset-1988e44c6eba1852)
[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_offset
[INFO] [stdout] 
[INFO] [stdout] running 16 tests
[INFO] [stdout] test src/../README.md - (line 54) ... FAILED
[INFO] [stdout] test src/../README.md - (line 182) ... FAILED
[INFO] [stdout] test src/../README.md - (line 268) ... FAILED
[INFO] [stdout] test src/../README.md - (line 78) ... FAILED
[INFO] [stdout] test src/../README.md - (line 34) ... FAILED
[INFO] [stdout] test src/../README.md - (line 356) ... FAILED
[INFO] [stdout] test src/../README.md - (line 236) ... FAILED
[INFO] [stdout] test src/../README.md - (line 163) ... FAILED
[INFO] [stdout] test src/../README.md - (line 325) ... FAILED
[INFO] [stdout] test src/../README.md - (line 137) ... ok
[INFO] [stdout] test src/../README.md - (line 207) ... FAILED
[INFO] [stdout] test src/../README.md - (line 99) ... FAILED
[INFO] [stdout] test src/../README.md - (line 440) ... FAILED
[INFO] [stdout] test src/../README.md - (line 117) ... FAILED
[INFO] [stdout] test src/../README.md - (line 149) ... ok
[INFO] [stdout] test src/../README.md - (line 294) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/../README.md - (line 54) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/../README.md:59:58
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_54_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 59 | let store = Box::new(FileOffsetStore::new("offsets.json")?);
[INFO] [stdout]    |                                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 55 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_54_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 56 | use streamweave_offset::{Offset, OffsetTracker, FileOffsetStore};
[INFO] [stdout] ...
[INFO] [stdout] 69 | let offset = tracker2.get_offset("kafka-topic")?;
[INFO] [stdout] 70 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/../README.md:65:54
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_54_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 65 | tracker.record("kafka-topic", Offset::Sequence(1000))?;
[INFO] [stdout]    |                                                      ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 55 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_54_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 56 | use streamweave_offset::{Offset, OffsetTracker, FileOffsetStore};
[INFO] [stdout] ...
[INFO] [stdout] 69 | let offset = tracker2.get_offset("kafka-topic")?;
[INFO] [stdout] 70 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/../README.md:68:80
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_54_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 68 | let tracker2 = OffsetTracker::new(Box::new(FileOffsetStore::new("offsets.json")?));
[INFO] [stdout]    |                                                                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 55 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_54_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 56 | use streamweave_offset::{Offset, OffsetTracker, FileOffsetStore};
[INFO] [stdout] ...
[INFO] [stdout] 69 | let offset = tracker2.get_offset("kafka-topic")?;
[INFO] [stdout] 70 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/../README.md:69:48
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_54_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 69 | let offset = tracker2.get_offset("kafka-topic")?;
[INFO] [stdout]    |                                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 55 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_54_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 56 | use streamweave_offset::{Offset, OffsetTracker, FileOffsetStore};
[INFO] [stdout] ...
[INFO] [stdout] 69 | let offset = tracker2.get_offset("kafka-topic")?;
[INFO] [stdout] 70 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/../README.md - (line 182) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:194:50
[INFO] [stdout]     |
[INFO] [stdout] 183 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_182_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 194 |     tracker.record("source", Offset::Sequence(i))?;
[INFO] [stdout]     |                                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 183 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_182_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 184 | use streamweave_offset::{Offset, OffsetTracker, InMemoryOffsetStore, CommitStrategy};
[INFO] [stdout] ...
[INFO] [stdout] 201 | assert_eq!(offset, Offset::Sequence(10));
[INFO] [stdout] 202 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:196:36
[INFO] [stdout]     |
[INFO] [stdout] 183 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_182_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 196 | assert!(tracker.get_all_committed()?.is_empty());
[INFO] [stdout]     |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 183 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_182_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 184 | use streamweave_offset::{Offset, OffsetTracker, InMemoryOffsetStore, CommitStrategy};
[INFO] [stdout] ...
[INFO] [stdout] 201 | assert_eq!(offset, Offset::Sequence(10));
[INFO] [stdout] 202 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:199:47
[INFO] [stdout]     |
[INFO] [stdout] 183 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_182_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 199 | tracker.record("source", Offset::Sequence(10))?;
[INFO] [stdout]     |                                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 183 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_182_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 184 | use streamweave_offset::{Offset, OffsetTracker, InMemoryOffsetStore, CommitStrategy};
[INFO] [stdout] ...
[INFO] [stdout] 201 | assert_eq!(offset, Offset::Sequence(10));
[INFO] [stdout] 202 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:200:42
[INFO] [stdout]     |
[INFO] [stdout] 183 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_182_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 200 | let offset = tracker.get_offset("source")?;
[INFO] [stdout]     |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 183 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_182_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 184 | use streamweave_offset::{Offset, OffsetTracker, InMemoryOffsetStore, CommitStrategy};
[INFO] [stdout] ...
[INFO] [stdout] 201 | assert_eq!(offset, Offset::Sequence(10));
[INFO] [stdout] 202 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/../README.md - (line 268) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:273:58
[INFO] [stdout]     |
[INFO] [stdout] 269 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_268_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 273 | let store = Box::new(FileOffsetStore::new("offsets.json")?);
[INFO] [stdout]     |                                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 269 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_268_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 270 | use streamweave_offset::{Offset, OffsetTracker, FileOffsetStore};
[INFO] [stdout] ...
[INFO] [stdout] 288 | assert_eq!(offset2, Offset::Sequence(200));
[INFO] [stdout] 289 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:277:49
[INFO] [stdout]     |
[INFO] [stdout] 269 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_268_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 277 | tracker.record("topic-1", Offset::Sequence(100))?;
[INFO] [stdout]     |                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 269 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_268_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 270 | use streamweave_offset::{Offset, OffsetTracker, FileOffsetStore};
[INFO] [stdout] ...
[INFO] [stdout] 288 | assert_eq!(offset2, Offset::Sequence(200));
[INFO] [stdout] 289 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:278:49
[INFO] [stdout]     |
[INFO] [stdout] 269 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_268_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 278 | tracker.record("topic-2", Offset::Sequence(200))?;
[INFO] [stdout]     |                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 269 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_268_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 270 | use streamweave_offset::{Offset, OffsetTracker, FileOffsetStore};
[INFO] [stdout] ...
[INFO] [stdout] 288 | assert_eq!(offset2, Offset::Sequence(200));
[INFO] [stdout] 289 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:281:59
[INFO] [stdout]     |
[INFO] [stdout] 269 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_268_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 281 | let store2 = Box::new(FileOffsetStore::new("offsets.json")?);
[INFO] [stdout]     |                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 269 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_268_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 270 | use streamweave_offset::{Offset, OffsetTracker, FileOffsetStore};
[INFO] [stdout] ...
[INFO] [stdout] 288 | assert_eq!(offset2, Offset::Sequence(200));
[INFO] [stdout] 289 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:285:45
[INFO] [stdout]     |
[INFO] [stdout] 269 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_268_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 285 | let offset1 = tracker2.get_offset("topic-1")?;
[INFO] [stdout]     |                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 269 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_268_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 270 | use streamweave_offset::{Offset, OffsetTracker, FileOffsetStore};
[INFO] [stdout] ...
[INFO] [stdout] 288 | assert_eq!(offset2, Offset::Sequence(200));
[INFO] [stdout] 289 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:286:45
[INFO] [stdout]     |
[INFO] [stdout] 269 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_268_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 286 | let offset2 = tracker2.get_offset("topic-2")?;
[INFO] [stdout]     |                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 269 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_268_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 270 | use streamweave_offset::{Offset, OffsetTracker, FileOffsetStore};
[INFO] [stdout] ...
[INFO] [stdout] 288 | assert_eq!(offset2, Offset::Sequence(200));
[INFO] [stdout] 289 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/../README.md - (line 78) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `DateTime` in this scope
[INFO] [stdout]   --> src/../README.md:81:15
[INFO] [stdout]    |
[INFO] [stdout] 81 |     Timestamp(DateTime<Utc>),    // Timestamp-based offset
[INFO] [stdout]    |               ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 78 + use chrono::DateTime;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Utc` in this scope
[INFO] [stdout]   --> src/../README.md:81:24
[INFO] [stdout]    |
[INFO] [stdout] 81 |     Timestamp(DateTime<Utc>),    // Timestamp-based offset
[INFO] [stdout]    |                        ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 78 + use chrono::Utc;
[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 34) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/../README.md:45:51
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_34_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 45 | tracker.record("my-source", Offset::Sequence(100))?;
[INFO] [stdout]    |                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 35 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_34_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 36 | use streamweave_offset::{Offset, OffsetTracker, InMemoryOffsetStore, CommitStrategy};
[INFO] [stdout] ...
[INFO] [stdout] 50 | assert_eq!(current, Offset::Sequence(101));
[INFO] [stdout] 51 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/../README.md:46:51
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_34_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 46 | tracker.record("my-source", Offset::Sequence(101))?;
[INFO] [stdout]    |                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 35 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_34_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 36 | use streamweave_offset::{Offset, OffsetTracker, InMemoryOffsetStore, CommitStrategy};
[INFO] [stdout] ...
[INFO] [stdout] 50 | assert_eq!(current, Offset::Sequence(101));
[INFO] [stdout] 51 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/../README.md:49:46
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_34_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 49 | let current = tracker.get_offset("my-source")?;
[INFO] [stdout]    |                                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 35 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_34_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 36 | use streamweave_offset::{Offset, OffsetTracker, InMemoryOffsetStore, CommitStrategy};
[INFO] [stdout] ...
[INFO] [stdout] 50 | assert_eq!(current, Offset::Sequence(101));
[INFO] [stdout] 51 +     Ok(())
[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 E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/../README.md - (line 356) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:364:55
[INFO] [stdout]     |
[INFO] [stdout] 357 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_356_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 364 | tracker.record("kafka-topic-1", Offset::Sequence(100))?;
[INFO] [stdout]     |                                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 357 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_356_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 358 | use streamweave_offset::{Offset, OffsetTracker, InMemoryOffsetStore};
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] ...
[INFO] [stdout] 373 | tracker.commit_all()?;
[INFO] [stdout] 374 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:365:55
[INFO] [stdout]     |
[INFO] [stdout] 357 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_356_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 365 | tracker.record("kafka-topic-2", Offset::Sequence(200))?;
[INFO] [stdout]     |                                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 357 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_356_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 358 | use streamweave_offset::{Offset, OffsetTracker, InMemoryOffsetStore};
[INFO] [stdout] ...
[INFO] [stdout] 373 | tracker.commit_all()?;
[INFO] [stdout] 374 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:366:71
[INFO] [stdout]     |
[INFO] [stdout] 357 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_356_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 366 | tracker.record("file-source", Offset::Custom("line-5000".to_string()))?;
[INFO] [stdout]     |                                                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 357 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_356_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 358 | use streamweave_offset::{Offset, OffsetTracker, InMemoryOffsetStore};
[INFO] [stdout] ...
[INFO] [stdout] 373 | tracker.commit_all()?;
[INFO] [stdout] 374 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:369:46
[INFO] [stdout]     |
[INFO] [stdout] 357 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_356_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 369 | let all_offsets = tracker.get_all_committed()?;
[INFO] [stdout]     |                                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 357 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_356_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 358 | use streamweave_offset::{Offset, OffsetTracker, InMemoryOffsetStore};
[INFO] [stdout] ...
[INFO] [stdout] 373 | tracker.commit_all()?;
[INFO] [stdout] 374 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:373:21
[INFO] [stdout]     |
[INFO] [stdout] 357 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_356_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 373 | tracker.commit_all()?;
[INFO] [stdout]     |                     ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 357 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_356_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 358 | use streamweave_offset::{Offset, OffsetTracker, InMemoryOffsetStore};
[INFO] [stdout] ...
[INFO] [stdout] 373 | tracker.commit_all()?;
[INFO] [stdout] 374 +     Ok(())
[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 E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/../README.md - (line 236) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:245:46
[INFO] [stdout]     |
[INFO] [stdout] 237 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_236_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 245 | let offset = tracker.get_offset("new-source")?;
[INFO] [stdout]     |                                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 237 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_236_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 238 | use streamweave_offset::{Offset, OffsetTracker, InMemoryOffsetStore, OffsetResetPolicy};
[INFO] [stdout] ...
[INFO] [stdout] 262 | assert!(result.is_err());
[INFO] [stdout] 263 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:253:46
[INFO] [stdout]     |
[INFO] [stdout] 237 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_236_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 253 | let offset = tracker.get_offset("new-source")?;
[INFO] [stdout]     |                                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 237 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_236_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 238 | use streamweave_offset::{Offset, OffsetTracker, InMemoryOffsetStore, OffsetResetPolicy};
[INFO] [stdout] ...
[INFO] [stdout] 262 | assert!(result.is_err());
[INFO] [stdout] 263 +     Ok(())
[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 E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/../README.md - (line 163) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:171:46
[INFO] [stdout]     |
[INFO] [stdout] 164 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_163_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 171 | tracker.record("source", Offset::Sequence(1))?;
[INFO] [stdout]     |                                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 164 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_163_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 165 | use streamweave_offset::{Offset, OffsetTracker, InMemoryOffsetStore, CommitStrategy};
[INFO] [stdout] ...
[INFO] [stdout] 176 | assert_eq!(offset, Offset::Sequence(2));
[INFO] [stdout] 177 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:172:46
[INFO] [stdout]     |
[INFO] [stdout] 164 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_163_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 172 | tracker.record("source", Offset::Sequence(2))?;
[INFO] [stdout]     |                                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 164 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_163_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 165 | use streamweave_offset::{Offset, OffsetTracker, InMemoryOffsetStore, CommitStrategy};
[INFO] [stdout] ...
[INFO] [stdout] 176 | assert_eq!(offset, Offset::Sequence(2));
[INFO] [stdout] 177 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:175:42
[INFO] [stdout]     |
[INFO] [stdout] 164 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_163_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 175 | let offset = tracker.get_offset("source")?;
[INFO] [stdout]     |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 164 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_163_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 165 | use streamweave_offset::{Offset, OffsetTracker, InMemoryOffsetStore, CommitStrategy};
[INFO] [stdout] ...
[INFO] [stdout] 176 | assert_eq!(offset, Offset::Sequence(2));
[INFO] [stdout] 177 +     Ok(())
[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 E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/../README.md - (line 325) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:330:58
[INFO] [stdout]     |
[INFO] [stdout] 326 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_325_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 330 | let store = Box::new(FileOffsetStore::new("offsets.json")?);
[INFO] [stdout]     |                                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 326 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_325_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                                                                                +++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:337:44
[INFO] [stdout]     |
[INFO] [stdout] 326 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_325_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 337 |     let offset = tracker.get_offset(source)?;
[INFO] [stdout]     |                                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 326 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_325_0() -> Result<(), Box<dyn std::error::Error>> {
[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 E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/../README.md - (line 207) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:218:48
[INFO] [stdout]     |
[INFO] [stdout] 208 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_207_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 218 | tracker.record("source", Offset::Sequence(100))?;
[INFO] [stdout]     |                                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 208 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_207_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 209 | use streamweave_offset::{Offset, OffsetTracker, InMemoryOffsetStore, CommitStrategy};
[INFO] [stdout] ...
[INFO] [stdout] 230 | assert_eq!(offset, Offset::Sequence(200));
[INFO] [stdout] 231 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:219:48
[INFO] [stdout]     |
[INFO] [stdout] 208 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_207_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 219 | tracker.record("source", Offset::Sequence(200))?;
[INFO] [stdout]     |                                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 208 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_207_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 209 | use streamweave_offset::{Offset, OffsetTracker, InMemoryOffsetStore, CommitStrategy};
[INFO] [stdout] ...
[INFO] [stdout] 230 | assert_eq!(offset, Offset::Sequence(200));
[INFO] [stdout] 231 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:222:40
[INFO] [stdout]     |
[INFO] [stdout] 208 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_207_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 222 | let pending = tracker.get_all_pending()?;
[INFO] [stdout]     |                                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 208 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_207_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 209 | use streamweave_offset::{Offset, OffsetTracker, InMemoryOffsetStore, CommitStrategy};
[INFO] [stdout] ...
[INFO] [stdout] 230 | assert_eq!(offset, Offset::Sequence(200));
[INFO] [stdout] 231 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:226:25
[INFO] [stdout]     |
[INFO] [stdout] 208 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_207_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 226 | tracker.commit("source")?;
[INFO] [stdout]     |                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 208 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_207_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 209 | use streamweave_offset::{Offset, OffsetTracker, InMemoryOffsetStore, CommitStrategy};
[INFO] [stdout] ...
[INFO] [stdout] 230 | assert_eq!(offset, Offset::Sequence(200));
[INFO] [stdout] 231 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:229:42
[INFO] [stdout]     |
[INFO] [stdout] 208 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_207_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 229 | let offset = tracker.get_offset("source")?;
[INFO] [stdout]     |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 208 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_207_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 209 | use streamweave_offset::{Offset, OffsetTracker, InMemoryOffsetStore, CommitStrategy};
[INFO] [stdout] ...
[INFO] [stdout] 230 | assert_eq!(offset, Offset::Sequence(200));
[INFO] [stdout] 231 +     Ok(())
[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 E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/../README.md - (line 99) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `OffsetResult` in this scope
[INFO] [stdout]    --> src/../README.md:101:36
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn get(&self, source: &str) -> OffsetResult<Option<Offset>>;
[INFO] [stdout]     |                                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout]  99 + use streamweave_offset::OffsetResult;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Offset` in this scope
[INFO] [stdout]    --> src/../README.md:101:56
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn get(&self, source: &str) -> OffsetResult<Option<Offset>>;
[INFO] [stdout]     |                                                        ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]  99 + use chrono::Offset;
[INFO] [stdout]     |
[INFO] [stdout]  99 + use streamweave_offset::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Offset` in this scope
[INFO] [stdout]    --> src/../README.md:102:44
[INFO] [stdout]     |
[INFO] [stdout] 102 |     fn commit(&self, source: &str, offset: Offset) -> OffsetResult<()>;
[INFO] [stdout]     |                                            ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]  99 + use chrono::Offset;
[INFO] [stdout]     |
[INFO] [stdout]  99 + use streamweave_offset::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OffsetResult` in this scope
[INFO] [stdout]    --> src/../README.md:102:55
[INFO] [stdout]     |
[INFO] [stdout] 102 |     fn commit(&self, source: &str, offset: Offset) -> OffsetResult<()>;
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout]  99 + use streamweave_offset::OffsetResult;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OffsetResult` in this scope
[INFO] [stdout]    --> src/../README.md:103:26
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn get_all(&self) -> OffsetResult<HashMap<String, Offset>>;
[INFO] [stdout]     |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout]  99 + use streamweave_offset::OffsetResult;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HashMap` in this scope
[INFO] [stdout]    --> src/../README.md:103:39
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn get_all(&self) -> OffsetResult<HashMap<String, Offset>>;
[INFO] [stdout]     |                                       ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  99 + use std::collections::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Offset` in this scope
[INFO] [stdout]    --> src/../README.md:103:55
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn get_all(&self) -> OffsetResult<HashMap<String, Offset>>;
[INFO] [stdout]     |                                                       ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]  99 + use chrono::Offset;
[INFO] [stdout]     |
[INFO] [stdout]  99 + use streamweave_offset::Offset;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OffsetResult` in this scope
[INFO] [stdout]    --> src/../README.md:104:38
[INFO] [stdout]     |
[INFO] [stdout] 104 |     fn clear(&self, source: &str) -> OffsetResult<()>;
[INFO] [stdout]     |                                      ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout]  99 + use streamweave_offset::OffsetResult;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OffsetResult` in this scope
[INFO] [stdout]    --> src/../README.md:105:28
[INFO] [stdout]     |
[INFO] [stdout] 105 |     fn clear_all(&self) -> OffsetResult<()>;
[INFO] [stdout]     |                            ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout]  99 + use streamweave_offset::OffsetResult;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/../README.md - (line 440) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `io`
[INFO] [stdout]    --> src/../README.md:442:13
[INFO] [stdout]     |
[INFO] [stdout] 442 |     IoError(io::Error),              // File I/O errors
[INFO] [stdout]     |             ^^ use of unresolved module or unlinked crate `io`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `io`, use `cargo add io` to add it to your `Cargo.toml`
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 442 -     IoError(io::Error),              // File I/O errors
[INFO] [stdout] 442 +     IoError(i8::Error),              // File I/O errors
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 440 + use std::io;
[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 E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/../README.md - (line 117) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `OffsetStore` in this scope
[INFO] [stdout]    --> src/../README.md:119:20
[INFO] [stdout]     |
[INFO] [stdout] 119 |     store: Box<dyn OffsetStore>,
[INFO] [stdout]     |                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 117 + use streamweave_offset::OffsetStore;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CommitStrategy` in this scope
[INFO] [stdout]    --> src/../README.md:120:15
[INFO] [stdout]     |
[INFO] [stdout] 120 |     strategy: CommitStrategy,
[INFO] [stdout]     |               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 117 + use streamweave_offset::CommitStrategy;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `OffsetResetPolicy` in this scope
[INFO] [stdout]    --> src/../README.md:121:19
[INFO] [stdout]     |
[INFO] [stdout] 121 |     reset_policy: OffsetResetPolicy,
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 117 + use streamweave_offset::OffsetResetPolicy;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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] ---- src/../README.md - (line 294) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `messages` in this scope
[INFO] [stdout]    --> src/../README.md:312:16
[INFO] [stdout]     |
[INFO] [stdout] 312 | for message in messages {
[INFO] [stdout]     |                ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:300:67
[INFO] [stdout]     |
[INFO] [stdout] 295 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_294_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 300 | let store = Box::new(FileOffsetStore::new("consumer-offsets.json")?);
[INFO] [stdout]     |                                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 295 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_294_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                                                                                +++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:304:53
[INFO] [stdout]     |
[INFO] [stdout] 295 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_294_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 304 | let start_offset = tracker.get_offset("kafka-topic")?;
[INFO] [stdout]     |                                                     ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 295 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_294_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                                                                                +++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KafkaConsumer`
[INFO] [stdout]    --> src/../README.md:307:16
[INFO] [stdout]     |
[INFO] [stdout] 307 | let consumer = KafkaConsumer::new()
[INFO] [stdout]     |                ^^^^^^^^^^^^^ use of undeclared type `KafkaConsumer`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `process_message` in this scope
[INFO] [stdout]    --> src/../README.md:314:5
[INFO] [stdout]     |
[INFO] [stdout] 314 |     process_message(&message)?;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/../README.md:318:58
[INFO] [stdout]     |
[INFO] [stdout] 295 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_294_0() {
[INFO] [stdout]     |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 318 |     tracker.record("kafka-topic", current_offset.clone())?;
[INFO] [stdout]     |                                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 295 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_294_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                                                                                +++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/../README.md - (line 117)
[INFO] [stdout]     src/../README.md - (line 163)
[INFO] [stdout]     src/../README.md - (line 182)
[INFO] [stdout]     src/../README.md - (line 207)
[INFO] [stdout]     src/../README.md - (line 236)
[INFO] [stdout]     src/../README.md - (line 268)
[INFO] [stdout]     src/../README.md - (line 294)
[INFO] [stdout]     src/../README.md - (line 325)
[INFO] [stdout]     src/../README.md - (line 34)
[INFO] [stdout]     src/../README.md - (line 356)
[INFO] [stdout]     src/../README.md - (line 440)
[INFO] [stdout]     src/../README.md - (line 54)
[INFO] [stdout]     src/../README.md - (line 78)
[INFO] [stdout]     src/../README.md - (line 99)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.43s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.62s; merged doctests compilation took 0.19s
[INFO] running `Command { std: "docker" "inspect" "e7d9a9791dd7034d2d14141651799cf145633ca44cc925e04acf6b03d6c2f261", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7d9a9791dd7034d2d14141651799cf145633ca44cc925e04acf6b03d6c2f261", kill_on_drop: false }`
[INFO] [stdout] e7d9a9791dd7034d2d14141651799cf145633ca44cc925e04acf6b03d6c2f261
