[INFO] fetching crate sweet 0.2.0-rc.4...
[INFO] testing sweet-0.2.0-rc.4 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate sweet 0.2.0-rc.4 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate sweet 0.2.0-rc.4 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate sweet 0.2.0-rc.4
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate sweet 0.2.0-rc.4
[INFO] tweaked toml for crates.io crate sweet 0.2.0-rc.4 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate crates.io crate sweet 0.2.0-rc.4 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" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 79918ab51d3bad582b66c00e93d3444124ca563f87e125267d1a6e00ecd26581
[INFO] running `Command { std: "docker" "start" "-a" "79918ab51d3bad582b66c00e93d3444124ca563f87e125267d1a6e00ecd26581", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "79918ab51d3bad582b66c00e93d3444124ca563f87e125267d1a6e00ecd26581", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "79918ab51d3bad582b66c00e93d3444124ca563f87e125267d1a6e00ecd26581", kill_on_drop: false }`
[INFO] [stdout] 79918ab51d3bad582b66c00e93d3444124ca563f87e125267d1a6e00ecd26581
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1a85b6905b960427a79f35baa5f307659f6ff1d2110f9163c4af782db5367fee
[INFO] running `Command { std: "docker" "start" "-a" "1a85b6905b960427a79f35baa5f307659f6ff1d2110f9163c4af782db5367fee", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling anstyle-parse v0.2.4
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling anstyle-query v1.1.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.0
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling anstyle v1.0.7
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling colorchoice v1.0.1
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling fastrand v2.1.0
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling clap_lex v0.7.1
[INFO] [stderr]    Compiling crossbeam-channel v0.5.13
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling anstream v0.6.14
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]    Compiling clap_builder v4.5.9
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling file-id v0.1.0
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling inotify-sys v0.1.5
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling filetime v0.2.23
[INFO] [stderr]    Compiling inotify v0.9.6
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling notify v6.1.1
[INFO] [stderr]    Compiling cc v1.1.6
[INFO] [stderr]    Compiling signal-hook-mio v0.2.3
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling crossterm v0.25.0
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling serde_json v1.0.120
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling notify-debouncer-full v0.2.0
[INFO] [stderr]    Compiling gimli v0.29.0
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling miniz_oxide v0.7.4
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling object v0.36.1
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling flume v0.11.0
[INFO] [stderr]    Compiling colorize v0.1.0
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling inventory v0.3.15
[INFO] [stderr]    Compiling backtrace v0.3.73
[INFO] [stderr]    Compiling addr2line v0.22.0
[INFO] [stderr]    Compiling regex v1.10.5
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling tokio-macros v2.3.0
[INFO] [stderr]    Compiling extend v1.2.0
[INFO] [stderr]    Compiling clap_derive v4.5.8
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]    Compiling sweet_macros v0.2.0-rc.4
[INFO] [stderr]    Compiling pretty_env_logger v0.4.0
[INFO] [stderr]    Compiling tokio v1.38.1
[INFO] [stderr]    Compiling forky_core v0.2.0-rc.6
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling filedescriptor v0.8.2
[INFO] [stderr]    Compiling gag v1.0.0
[INFO] [stderr]    Compiling clap v4.5.9
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling forky_fs v0.2.0-rc.6
[INFO] [stderr]    Compiling forky v0.2.0-rc.6
[INFO] [stderr]    Compiling sweet v0.2.0-rc.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.41s
[INFO] running `Command { std: "docker" "inspect" "1a85b6905b960427a79f35baa5f307659f6ff1d2110f9163c4af782db5367fee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a85b6905b960427a79f35baa5f307659f6ff1d2110f9163c4af782db5367fee", kill_on_drop: false }`
[INFO] [stdout] 1a85b6905b960427a79f35baa5f307659f6ff1d2110f9163c4af782db5367fee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e7fc97cc04f546c222099c63b89cb7f5854e172ae1227e24443442a20e926750
[INFO] running `Command { std: "docker" "start" "-a" "e7fc97cc04f546c222099c63b89cb7f5854e172ae1227e24443442a20e926750", kill_on_drop: false }`
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling openssl v0.10.66
[INFO] [stderr]    Compiling bytes v1.6.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling tokio v1.38.1
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling flume v0.11.0
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling openssl-sys v0.9.103
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling webdriver v0.46.0
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling hyper v0.14.30
[INFO] [stderr]    Compiling forky_fs v0.2.0-rc.6
[INFO] [stderr]    Compiling forky v0.2.0-rc.6
[INFO] [stderr]    Compiling sweet v0.2.0-rc.4 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling fantoccini v0.19.3
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 10.33s
[INFO] running `Command { std: "docker" "inspect" "e7fc97cc04f546c222099c63b89cb7f5854e172ae1227e24443442a20e926750", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7fc97cc04f546c222099c63b89cb7f5854e172ae1227e24443442a20e926750", kill_on_drop: false }`
[INFO] [stdout] e7fc97cc04f546c222099c63b89cb7f5854e172ae1227e24443442a20e926750
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4d4d7a3dda27c55fafc3dba3cbcd8a21259a189b3f21ae1509266df5ca2ee086
[INFO] running `Command { std: "docker" "start" "-a" "4d4d7a3dda27c55fafc3dba3cbcd8a21259a189b3f21ae1509266df5ca2ee086", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sweet-689a771e76219f76)
[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 sweet
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/matchers/matcher.rs - matchers::matcher::Matcher<T>::not (line 43) ... FAILED
[INFO] [stdout] test src/common/expect.rs - common::expect::expect (line 6) ... FAILED
[INFO] [stdout] test src/matchers/matcher.rs - matchers::matcher::Matcher<T>::new (line 13) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 5) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/matchers/matcher.rs - matchers::matcher::Matcher<T>::not (line 43) 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/matchers/matcher.rs:46:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_matchers_matcher_rs_43_0() {
[INFO] [stdout]   |                                      ----------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 5 | use sweet::*;
[INFO] [stdout] 6 | expect(true).not().to_be_false()?;
[INFO] [stdout]   |                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_matchers_matcher_rs_43_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use sweet::*;
[INFO] [stdout] 6 | expect(true).not().to_be_false()?;
[INFO] [stdout] 7 +     Ok(())
[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 E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/common/expect.rs - common::expect::expect (line 6) 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/common/expect.rs:9:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_common_expect_rs_6_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 5 | use sweet::*;
[INFO] [stdout] 6 | expect(true).to_be_true()?;
[INFO] [stdout]   |                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_common_expect_rs_6_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use sweet::*;
[INFO] [stdout] 6 | expect(true).to_be_true()?;
[INFO] [stdout] 7 | expect("foobar").not().to_start_with("bar")?;
[INFO] [stdout] 8 +     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/common/expect.rs:10:44
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_common_expect_rs_6_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 | expect("foobar").not().to_start_with("bar")?;
[INFO] [stdout]   |                                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_common_expect_rs_6_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use sweet::*;
[INFO] [stdout] 6 | expect(true).to_be_true()?;
[INFO] [stdout] 7 | expect("foobar").not().to_start_with("bar")?;
[INFO] [stdout] 8 +     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/matchers/matcher.rs - matchers::matcher::Matcher<T>::new (line 13) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matcher`
[INFO] [stdout]  --> src/matchers/matcher.rs:16:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | Matcher::new(false).to_be_true()?;
[INFO] [stdout]   | ^^^^^^^ use of undeclared type `Matcher`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use sweet::matchers::Matcher;
[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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/common/expect.rs - common::expect::expect (line 6)
[INFO] [stdout]     src/matchers/matcher.rs - matchers::matcher::Matcher<T>::new (line 13)
[INFO] [stdout]     src/matchers/matcher.rs - matchers::matcher::Matcher<T>::not (line 43)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.66s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "4d4d7a3dda27c55fafc3dba3cbcd8a21259a189b3f21ae1509266df5ca2ee086", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d4d7a3dda27c55fafc3dba3cbcd8a21259a189b3f21ae1509266df5ca2ee086", kill_on_drop: false }`
[INFO] [stdout] 4d4d7a3dda27c55fafc3dba3cbcd8a21259a189b3f21ae1509266df5ca2ee086
