[INFO] fetching crate memento 0.2.1... [INFO] testing memento-0.2.1 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate memento 0.2.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate memento 0.2.1 [INFO] finished tweaking crates.io crate memento 0.2.1 [INFO] tweaked toml for crates.io crate memento 0.2.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate memento 0.2.1 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 22 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc4f7eb8aab177fe334b998f189be18d8f6cd57355b6d54d2d7a0d79b25e861c [INFO] running `Command { std: "docker" "start" "-a" "dc4f7eb8aab177fe334b998f189be18d8f6cd57355b6d54d2d7a0d79b25e861c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc4f7eb8aab177fe334b998f189be18d8f6cd57355b6d54d2d7a0d79b25e861c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc4f7eb8aab177fe334b998f189be18d8f6cd57355b6d54d2d7a0d79b25e861c", kill_on_drop: false }` [INFO] [stdout] dc4f7eb8aab177fe334b998f189be18d8f6cd57355b6d54d2d7a0d79b25e861c [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81478d23707dce7f9c82ab752e3f46f1d764cfd355ceb7e49c75b84ade47a390 [INFO] running `Command { std: "docker" "start" "-a" "81478d23707dce7f9c82ab752e3f46f1d764cfd355ceb7e49c75b84ade47a390", kill_on_drop: false }` [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling memento v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.01s [INFO] running `Command { std: "docker" "inspect" "81478d23707dce7f9c82ab752e3f46f1d764cfd355ceb7e49c75b84ade47a390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81478d23707dce7f9c82ab752e3f46f1d764cfd355ceb7e49c75b84ade47a390", kill_on_drop: false }` [INFO] [stdout] 81478d23707dce7f9c82ab752e3f46f1d764cfd355ceb7e49c75b84ade47a390 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 801e998e7adaf40460592a6790df716ba6ba5b8df5a6fce33d73f27421da31a3 [INFO] running `Command { std: "docker" "start" "-a" "801e998e7adaf40460592a6790df716ba6ba5b8df5a6fce33d73f27421da31a3", kill_on_drop: false }` [INFO] [stderr] Compiling memento v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "801e998e7adaf40460592a6790df716ba6ba5b8df5a6fce33d73f27421da31a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "801e998e7adaf40460592a6790df716ba6ba5b8df5a6fce33d73f27421da31a3", kill_on_drop: false }` [INFO] [stdout] 801e998e7adaf40460592a6790df716ba6ba5b8df5a6fce33d73f27421da31a3 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 591d73710a2e34d3271e5262687b739c8dfd3e37c9dc3c9605b4d830eccad71a [INFO] running `Command { std: "docker" "start" "-a" "591d73710a2e34d3271e5262687b739c8dfd3e37c9dc3c9605b4d830eccad71a", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/memento-e6fe5669ad692e82) [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 memento [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test src/command.rs - command::Item (line 91) ... FAILED [INFO] [stdout] test src/command.rs - command::Decr::new (line 228) ... FAILED [INFO] [stdout] test src/command.rs - command::Incr::new (line 210) ... FAILED [INFO] [stdout] test src/command.rs - command::Add::new (line 138) ... FAILED [INFO] [stdout] test src/command.rs - command::Key (line 18) ... FAILED [INFO] [stdout] test src/command.rs - command::Append::new (line 156) ... FAILED [INFO] [stdout] test src/memento.rs - memento::Memento::add (line 64) ... FAILED [INFO] [stdout] test src/lib.rs - new (line 22) ... FAILED [INFO] [stdout] test src/command.rs - command::Prepend::new (line 174) ... FAILED [INFO] [stdout] test src/command.rs - command::Set::new (line 120) ... FAILED [INFO] [stdout] test src/memento.rs - memento::Memento::connect (line 34) ... FAILED [INFO] [stdout] test src/command.rs - command::Item::expires (line 59) ... ok [INFO] [stdout] test src/memento.rs - memento::Memento::get (line 109) ... FAILED [INFO] [stdout] test src/command.rs - command::Item::timeless (line 73) ... ok [INFO] [stdout] test src/memento.rs - memento::Memento::decr (line 172) ... FAILED [INFO] [stdout] test src/memento.rs - memento::Memento::append (line 79) ... FAILED [INFO] [stdout] test src/memento.rs - memento::Memento::gets (line 133) ... FAILED [INFO] [stdout] test src/memento.rs - memento::Memento::call (line 262) ... FAILED [INFO] [stdout] test src/command.rs - command::Replace::new (line 192) ... FAILED [INFO] [stdout] test src/memento.rs - memento::Memento::delete (line 187) ... FAILED [INFO] [stdout] test src/memento.rs - memento::Memento::quit (line 232) ... FAILED [INFO] [stdout] test src/memento.rs - memento::Memento::set (line 49) ... FAILED [INFO] [stdout] test src/memento.rs - memento::Memento::incr (line 157) ... FAILED [INFO] [stdout] test src/memento.rs - memento::Memento::from_stream (line 17) ... FAILED [INFO] [stdout] test src/memento.rs - memento::Memento::prepend (line 94) ... FAILED [INFO] [stdout] test src/memento.rs - memento::Memento::version (line 217) ... FAILED [INFO] [stdout] test src/memento.rs - memento::Memento::replace (line 202) ... FAILED [INFO] [stdout] test src/memento.rs - memento::Memento::stats (line 247) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/command.rs - command::Item (line 91) stdout ---- [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/command.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() -> memento::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0752`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::Decr::new (line 228) 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/command.rs:232:32 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_command_rs_228_0() { [INFO] [stdout] | --------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | let cmd = Decr::new("x".parse()?, 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_command_rs_228_0() -> Result<(), Box> { [INFO] [stdout] 5 | use memento::Decr; [INFO] [stdout] 6 | [INFO] [stdout] 7 | let cmd = Decr::new("x".parse()?, 1); [INFO] [stdout] 8 + 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/command.rs - command::Incr::new (line 210) 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/command.rs:214:32 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_command_rs_210_0() { [INFO] [stdout] | --------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | let cmd = Incr::new("x".parse()?, 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_command_rs_210_0() -> Result<(), Box> { [INFO] [stdout] 5 | use memento::Incr; [INFO] [stdout] 6 | [INFO] [stdout] 7 | let cmd = Incr::new("x".parse()?, 1); [INFO] [stdout] 8 + 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/command.rs - command::Add::new (line 138) 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/command.rs:142:31 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_command_rs_138_0() { [INFO] [stdout] | --------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | let cmd = Add::new("x".parse()?, Item::timeless("y")); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_command_rs_138_0() -> Result<(), Box> { [INFO] [stdout] 5 | use memento::{Item, Add}; [INFO] [stdout] 6 | [INFO] [stdout] 7 | let cmd = Add::new("x".parse()?, Item::timeless("y")); [INFO] [stdout] 8 + 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/command.rs - command::Key (line 18) stdout ---- [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/command.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() -> memento::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0752`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::Append::new (line 156) 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/command.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_command_rs_156_0() { [INFO] [stdout] | --------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | let cmd = Append::new("x".parse()?, Item::timeless("y")); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_command_rs_156_0() -> Result<(), Box> { [INFO] [stdout] 5 | use memento::{Item, Append}; [INFO] [stdout] 6 | [INFO] [stdout] 7 | let cmd = Append::new("x".parse()?, Item::timeless("y")); [INFO] [stdout] 8 + 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/memento.rs - memento::Memento::add (line 64) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/memento.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/memento.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> memento::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - new (line 22) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/lib.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::Prepend::new (line 174) 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/command.rs:178:35 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_command_rs_174_0() { [INFO] [stdout] | --------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | let cmd = Prepend::new("x".parse()?, Item::timeless("y")); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_command_rs_174_0() -> Result<(), Box> { [INFO] [stdout] 5 | use memento::{Item, Prepend}; [INFO] [stdout] 6 | [INFO] [stdout] 7 | let cmd = Prepend::new("x".parse()?, Item::timeless("y")); [INFO] [stdout] 8 + 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/command.rs - command::Set::new (line 120) 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/command.rs:124:31 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_command_rs_120_0() { [INFO] [stdout] | --------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | let cmd = Set::new("x".parse()?, Item::timeless("y")); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_command_rs_120_0() -> Result<(), Box> { [INFO] [stdout] 5 | use memento::{Item, Set}; [INFO] [stdout] 6 | [INFO] [stdout] 7 | let cmd = Set::new("x".parse()?, Item::timeless("y")); [INFO] [stdout] 8 + 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/memento.rs - memento::Memento::connect (line 34) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/memento.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/memento.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> memento::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/memento.rs - memento::Memento::get (line 109) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/memento.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/memento.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> memento::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/memento.rs - memento::Memento::decr (line 172) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/memento.rs:174:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/memento.rs:175:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> memento::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/memento.rs - memento::Memento::append (line 79) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/memento.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/memento.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> memento::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/memento.rs - memento::Memento::gets (line 133) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/memento.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/memento.rs:136:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> memento::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/memento.rs - memento::Memento::call (line 262) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/memento.rs:267:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/memento.rs:268:1 [INFO] [stdout] | [INFO] [stdout] 8 | async fn main() -> memento::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::Replace::new (line 192) 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/command.rs:196:35 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_command_rs_192_0() { [INFO] [stdout] | --------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | let cmd = Replace::new("x".parse()?, Item::timeless("y")); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_command_rs_192_0() -> Result<(), Box> { [INFO] [stdout] 5 | use memento::{Item, Replace}; [INFO] [stdout] 6 | [INFO] [stdout] 7 | let cmd = Replace::new("x".parse()?, Item::timeless("y")); [INFO] [stdout] 8 + 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/memento.rs - memento::Memento::delete (line 187) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/memento.rs:189:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/memento.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> memento::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/memento.rs - memento::Memento::quit (line 232) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/memento.rs:234:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/memento.rs:235:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> memento::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/memento.rs - memento::Memento::set (line 49) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/memento.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/memento.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> memento::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/memento.rs - memento::Memento::incr (line 157) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/memento.rs:159:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/memento.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> memento::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/memento.rs - memento::Memento::from_stream (line 17) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/memento.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/memento.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() -> memento::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/memento.rs - memento::Memento::prepend (line 94) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/memento.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/memento.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> memento::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/memento.rs - memento::Memento::version (line 217) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/memento.rs:219:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/memento.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> memento::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/memento.rs - memento::Memento::replace (line 202) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/memento.rs:204:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/memento.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> memento::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/memento.rs - memento::Memento::stats (line 247) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/memento.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/memento.rs:250:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> memento::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/command.rs - command::Add::new (line 138) [INFO] [stdout] src/command.rs - command::Append::new (line 156) [INFO] [stdout] src/command.rs - command::Decr::new (line 228) [INFO] [stdout] src/command.rs - command::Incr::new (line 210) [INFO] [stdout] src/command.rs - command::Item (line 91) [INFO] [stdout] src/command.rs - command::Key (line 18) [INFO] [stdout] src/command.rs - command::Prepend::new (line 174) [INFO] [stdout] src/command.rs - command::Replace::new (line 192) [INFO] [stdout] src/command.rs - command::Set::new (line 120) [INFO] [stdout] src/lib.rs - new (line 22) [INFO] [stdout] src/memento.rs - memento::Memento::add (line 64) [INFO] [stdout] src/memento.rs - memento::Memento::append (line 79) [INFO] [stdout] src/memento.rs - memento::Memento::call (line 262) [INFO] [stdout] src/memento.rs - memento::Memento::connect (line 34) [INFO] [stdout] src/memento.rs - memento::Memento::decr (line 172) [INFO] [stdout] src/memento.rs - memento::Memento::delete (line 187) [INFO] [stdout] src/memento.rs - memento::Memento::from_stream (line 17) [INFO] [stdout] src/memento.rs - memento::Memento::get (line 109) [INFO] [stdout] src/memento.rs - memento::Memento::gets (line 133) [INFO] [stdout] src/memento.rs - memento::Memento::incr (line 157) [INFO] [stdout] src/memento.rs - memento::Memento::prepend (line 94) [INFO] [stdout] src/memento.rs - memento::Memento::quit (line 232) [INFO] [stdout] src/memento.rs - memento::Memento::replace (line 202) [INFO] [stdout] src/memento.rs - memento::Memento::set (line 49) [INFO] [stdout] src/memento.rs - memento::Memento::stats (line 247) [INFO] [stdout] src/memento.rs - memento::Memento::version (line 217) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 26 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.44s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "591d73710a2e34d3271e5262687b739c8dfd3e37c9dc3c9605b4d830eccad71a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "591d73710a2e34d3271e5262687b739c8dfd3e37c9dc3c9605b4d830eccad71a", kill_on_drop: false }` [INFO] [stdout] 591d73710a2e34d3271e5262687b739c8dfd3e37c9dc3c9605b4d830eccad71a