[INFO] cloning repository https://github.com/vinhtc27/redis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vinhtc27/redis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinhtc27%2Fredis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinhtc27%2Fredis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff779b6339cc276b4f76d63d64855da98f397c38 [INFO] testing vinhtc27/redis against beta-2025-04-13 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinhtc27%2Fredis" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vinhtc27/redis on toolchain beta-2025-04-13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vinhtc27/redis [INFO] finished tweaking git repo https://github.com/vinhtc27/redis [INFO] tweaked toml for git repo https://github.com/vinhtc27/redis written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/vinhtc27/redis 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" "+beta-2025-04-13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e30b7ca8f4f8a75f3fb9d59058f637529f176b54e682a07dc80d8819c5186ff [INFO] running `Command { std: "docker" "start" "-a" "7e30b7ca8f4f8a75f3fb9d59058f637529f176b54e682a07dc80d8819c5186ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e30b7ca8f4f8a75f3fb9d59058f637529f176b54e682a07dc80d8819c5186ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e30b7ca8f4f8a75f3fb9d59058f637529f176b54e682a07dc80d8819c5186ff", kill_on_drop: false }` [INFO] [stdout] 7e30b7ca8f4f8a75f3fb9d59058f637529f176b54e682a07dc80d8819c5186ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f29e526a81da47d1b9fb551fc5a2d9788a329dd33bdfea65e005c98b53ee13e8 [INFO] running `Command { std: "docker" "start" "-a" "f29e526a81da47d1b9fb551fc5a2d9788a329dd33bdfea65e005c98b53ee13e8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling redis v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.38s [INFO] running `Command { std: "docker" "inspect" "f29e526a81da47d1b9fb551fc5a2d9788a329dd33bdfea65e005c98b53ee13e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f29e526a81da47d1b9fb551fc5a2d9788a329dd33bdfea65e005c98b53ee13e8", kill_on_drop: false }` [INFO] [stdout] f29e526a81da47d1b9fb551fc5a2d9788a329dd33bdfea65e005c98b53ee13e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65e8dbec662df40500734d6f6ea04a4afeac23da1605190e236e29939c1b22a0 [INFO] running `Command { std: "docker" "start" "-a" "65e8dbec662df40500734d6f6ea04a4afeac23da1605190e236e29939c1b22a0", kill_on_drop: false }` [INFO] [stderr] Compiling redis v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.48s [INFO] running `Command { std: "docker" "inspect" "65e8dbec662df40500734d6f6ea04a4afeac23da1605190e236e29939c1b22a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65e8dbec662df40500734d6f6ea04a4afeac23da1605190e236e29939c1b22a0", kill_on_drop: false }` [INFO] [stdout] 65e8dbec662df40500734d6f6ea04a4afeac23da1605190e236e29939c1b22a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 08c7dd95eea5c9329b319b71cda70a71211c4c7950bcfa79ebb4cf7f61a456bf [INFO] running `Command { std: "docker" "start" "-a" "08c7dd95eea5c9329b319b71cda70a71211c4c7950bcfa79ebb4cf7f61a456bf", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/redis-537b02071cc6e33b) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/redis_starter_rust-ebcff719994add4d) [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] [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] Running tests/buffered_client.rs (/opt/rustwide/target/debug/deps/buffered_client-d9253093e30d5c0b) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test pool_key_value_get_set ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/client.rs (/opt/rustwide/target/debug/deps/client-e7a073024016766b) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test echo_with_message ... ok [INFO] [stdout] test info_with_replication_section ... ok [INFO] [stdout] test key_value_get_set ... ok [INFO] [stdout] test ping_pong_with_message ... ok [INFO] [stdout] test ping_pong_without_message ... ok [INFO] [stdout] test receive_message_multiple_subscribed_channels ... ok [INFO] [stdout] test receive_message_subscribed_channel ... ok [INFO] [stdout] test unsubscribes_from_channels ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running tests/server.rs (/opt/rustwide/target/debug/deps/server-207c90b51894583f) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test key_value_get_set ... ok [INFO] [stdout] test send_error_unknown_command ... ok [INFO] [stdout] test key_value_timeout ... ok [INFO] [stdout] test send_error_get_set_after_subscribe ... ok [INFO] [stdout] test pub_sub ... ok [INFO] [stdout] test manage_subscription ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] Doc-tests redis [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/clients/client.rs - clients::client::Client::get (line 175) - compile ... ok [INFO] [stdout] test src/clients/blocking_client.rs - clients::blocking_client::BlockingClient::set (line 107) - compile ... FAILED [INFO] [stdout] test src/clients/blocking_client.rs - clients::blocking_client::BlockingClient::get (line 86) - compile ... FAILED [INFO] [stdout] test src/clients/blocking_client.rs - clients::blocking_client::BlockingClient::connect (line 62) - compile ... FAILED [INFO] [stdout] test src/clients/blocking_client.rs - clients::blocking_client::BlockingClient::set_expires (line 134) - compile ... FAILED [INFO] [stdout] test src/clients/blocking_client.rs - clients::blocking_client::BlockingClient::publish (line 164) - compile ... FAILED [INFO] [stdout] test src/clients/client.rs - clients::client::Client::connect (line 64) - compile ... FAILED [INFO] [stdout] test src/clients/client.rs - clients::client::Client::set_expires (line 260) - compile ... ok [INFO] [stdout] test src/clients/client.rs - clients::client::Client::ping (line 96) - compile ... ok [INFO] [stdout] test src/clients/client.rs - clients::client::Client::echo (line 130) - compile ... FAILED [INFO] [stdout] test src/clients/client.rs - clients::client::Client::publish (line 325) - compile ... ok [INFO] [stdout] test src/clients/client.rs - clients::client::Client::set (line 221) - compile ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/clients/blocking_client.rs - clients::blocking_client::BlockingClient::set (line 107) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockingClient` [INFO] [stdout] --> src/clients/blocking_client.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut client = BlockingClient::connect("127.0.0.1:6379").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BlockingClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use redis::BlockingClient; [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/clients/blocking_client.rs - clients::blocking_client::BlockingClient::get (line 86) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockingClient` [INFO] [stdout] --> src/clients/blocking_client.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut client = BlockingClient::connect("127.0.0.1:6379").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BlockingClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use redis::BlockingClient; [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/clients/blocking_client.rs - clients::blocking_client::BlockingClient::connect (line 62) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockingClient` [INFO] [stdout] --> src/clients/blocking_client.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 3 | let client = match BlockingClient::connect("127.0.0.1:6379") { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BlockingClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use redis::BlockingClient; [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/clients/blocking_client.rs - clients::blocking_client::BlockingClient::set_expires (line 134) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/clients/blocking_client.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 3 | let ttl = Duration::from_millis(500); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockingClient` [INFO] [stdout] --> src/clients/blocking_client.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 4 | let mut client = BlockingClient::connect("127.0.0.1:6379").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BlockingClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use redis::BlockingClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread` [INFO] [stdout] --> src/clients/blocking_client.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 8 | thread::sleep(ttl); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `thread` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/clients/blocking_client.rs - clients::blocking_client::BlockingClient::publish (line 164) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockingClient` [INFO] [stdout] --> src/clients/blocking_client.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut client = BlockingClient::connect("127.0.0.1:6379").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BlockingClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use redis::BlockingClient; [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/clients/client.rs - clients::client::Client::connect (line 64) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> src/clients/client.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 3 | let client = match Client::connect("127.0.0.1:6379").await { [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use redis::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/clients/client.rs:65:54 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_clients_client_rs_64_0() { [INFO] [stdout] | --------------------------------------------- this is not `async` [INFO] [stdout] 3 | let client = match Client::connect("127.0.0.1:6379").await { [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/clients/client.rs - clients::client::Client::echo (line 130) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/clients/client.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 10 | let pong = client.echo(None).await.unwrap(); [INFO] [stdout] | ---- ^^^^ expected `Bytes`, found `Option<_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::bytes::Bytes` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/clients/client.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | pub async fn echo(&mut self, msg: Bytes) -> crate::Result { [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 E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/clients/blocking_client.rs - clients::blocking_client::BlockingClient::connect (line 62) [INFO] [stdout] src/clients/blocking_client.rs - clients::blocking_client::BlockingClient::get (line 86) [INFO] [stdout] src/clients/blocking_client.rs - clients::blocking_client::BlockingClient::publish (line 164) [INFO] [stdout] src/clients/blocking_client.rs - clients::blocking_client::BlockingClient::set (line 107) [INFO] [stdout] src/clients/blocking_client.rs - clients::blocking_client::BlockingClient::set_expires (line 134) [INFO] [stdout] src/clients/client.rs - clients::client::Client::connect (line 64) [INFO] [stdout] src/clients/client.rs - clients::client::Client::echo (line 130) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.91s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "08c7dd95eea5c9329b319b71cda70a71211c4c7950bcfa79ebb4cf7f61a456bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08c7dd95eea5c9329b319b71cda70a71211c4c7950bcfa79ebb4cf7f61a456bf", kill_on_drop: false }` [INFO] [stdout] 08c7dd95eea5c9329b319b71cda70a71211c4c7950bcfa79ebb4cf7f61a456bf