[INFO] cloning repository https://github.com/parkcheolu/mini-redis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/parkcheolu/mini-redis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparkcheolu%2Fmini-redis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparkcheolu%2Fmini-redis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] decca24b8c7c30cc61dc34152c53a97fd5f7ad7c [INFO] testing parkcheolu/mini-redis against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparkcheolu%2Fmini-redis" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/parkcheolu/mini-redis on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/parkcheolu/mini-redis [INFO] finished tweaking git repo https://github.com/parkcheolu/mini-redis [INFO] tweaked toml for git repo https://github.com/parkcheolu/mini-redis written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/parkcheolu/mini-redis already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project-lite v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9482c1446ef060180330c48502dd751e6a92655aaf1ca979cbf21b8cbac88438 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9482c1446ef060180330c48502dd751e6a92655aaf1ca979cbf21b8cbac88438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9482c1446ef060180330c48502dd751e6a92655aaf1ca979cbf21b8cbac88438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9482c1446ef060180330c48502dd751e6a92655aaf1ca979cbf21b8cbac88438", kill_on_drop: false }` [INFO] [stdout] 9482c1446ef060180330c48502dd751e6a92655aaf1ca979cbf21b8cbac88438 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 133418bf69d08aed87e60b8cb57d604f88e13d9df2593dcaba27f5aba930a8b9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "133418bf69d08aed87e60b8cb57d604f88e13d9df2593dcaba27f5aba930a8b9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling pin-project-lite v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Compiling bytes v1.0.0 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling tracing-log v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.12 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Compiling async-stream v0.3.0 [INFO] [stderr] Compiling tracing v0.1.23 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling tracing-subscriber v0.2.15 [INFO] [stderr] Compiling tokio-stream v0.1.3 [INFO] [stderr] Compiling mini-redis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> src/client.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, instrument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> src/cmd/get.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{debug, instrument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> src/cmd/set.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{debug, instrument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> src/cmd/unknown.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing::{debug, instrument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> src/server.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing::{debug, error, info, instrument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "133418bf69d08aed87e60b8cb57d604f88e13d9df2593dcaba27f5aba930a8b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "133418bf69d08aed87e60b8cb57d604f88e13d9df2593dcaba27f5aba930a8b9", kill_on_drop: false }` [INFO] [stdout] 133418bf69d08aed87e60b8cb57d604f88e13d9df2593dcaba27f5aba930a8b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5fb7bec2ea8d8d2ee4a38b2d297c0dc1eaa1c1e45554c535654cf02ea2560992 [INFO] running `Command { std: "docker" "start" "-a" "5fb7bec2ea8d8d2ee4a38b2d297c0dc1eaa1c1e45554c535654cf02ea2560992", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> src/client.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, instrument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> src/cmd/get.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{debug, instrument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> src/cmd/set.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{debug, instrument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> src/cmd/unknown.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing::{debug, instrument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> src/server.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing::{debug, error, info, instrument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mini-redis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> src/client.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, instrument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> src/cmd/get.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{debug, instrument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> src/cmd/set.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{debug, instrument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> src/cmd/unknown.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing::{debug, instrument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> src/server.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing::{debug, error, info, instrument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2m 54s [INFO] running `Command { std: "docker" "inspect" "5fb7bec2ea8d8d2ee4a38b2d297c0dc1eaa1c1e45554c535654cf02ea2560992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fb7bec2ea8d8d2ee4a38b2d297c0dc1eaa1c1e45554c535654cf02ea2560992", kill_on_drop: false }` [INFO] [stdout] 5fb7bec2ea8d8d2ee4a38b2d297c0dc1eaa1c1e45554c535654cf02ea2560992 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6e96ba97f0995510964d556cdc51305a766d70e4eb5d1410c080cb456d4b64fc [INFO] running `Command { std: "docker" "start" "-a" "6e96ba97f0995510964d556cdc51305a766d70e4eb5d1410c080cb456d4b64fc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `instrument` [INFO] [stderr] --> src/client.rs:11:22 [INFO] [stderr] | [INFO] [stderr] 11 | use tracing::{debug, instrument}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `instrument` [INFO] [stderr] --> src/cmd/get.rs:4:22 [INFO] [stderr] | [INFO] [stderr] 4 | use tracing::{debug, instrument}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `instrument` [INFO] [stderr] --> src/cmd/set.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | use tracing::{debug, instrument}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `instrument` [INFO] [stderr] --> src/cmd/unknown.rs:3:22 [INFO] [stderr] | [INFO] [stderr] 3 | use tracing::{debug, instrument}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `instrument` [INFO] [stderr] --> src/server.rs:15:35 [INFO] [stderr] | [INFO] [stderr] 15 | use tracing::{debug, error, info, instrument}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mini-redis` (lib) generated 5 warnings [INFO] [stderr] warning: `mini-redis` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3m 35s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/mini_redis-888f3d7a86f87768) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/mini_redis_cli-451694b4a414bf23) [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 unittests (/opt/rustwide/target/debug/deps/mini_redis_server-aec66f7193e46160) [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 mini-redis [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/buffer.rs - buffer::Buffer::set (line 97) ... FAILED [INFO] [stdout] test src/client.rs - client::Client::get (line 89) - compile ... FAILED [INFO] [stdout] test src/client.rs - client::Client::publish (line 233) - compile ... FAILED [INFO] [stdout] test src/client.rs - client::connect (line 55) - compile ... ok [INFO] [stdout] test src/client.rs - client::Client::set (line 132) - compile ... ok [INFO] [stdout] test src/client.rs - client::Client::set_expires (line 170) - compile ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/buffer.rs - buffer::Buffer::set (line 97) stdout ---- [INFO] [stdout] error: expected `while`, `for`, `loop` or `{` after a label [INFO] [stdout] --> src/buffer.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 3 | * 'Client::set'과 같지만, 요청이 자신과 연결된 커넥션에 전송 가능할 때까지 [INFO] [stdout] | ^^ expected `while`, `for`, `loop` or `{` after a label [INFO] [stdout] [INFO] [stdout] error: labeled expression must be followed by `:` [INFO] [stdout] --> src/buffer.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 3 | * 'Client::set'과 같지만, 요청이 자신과 연결된 커넥션에 전송 가능할 때까지 [INFO] [stdout] | --------^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | help: add `:` after the label [INFO] [stdout] | the label [INFO] [stdout] | [INFO] [stdout] = note: labels are used before loops and blocks, allowing e.g., `break 'label` to them [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `'과` [INFO] [stdout] --> src/buffer.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 3 | * 'Client::set'과 같지만, 요청이 자신과 연결된 커넥션에 전송 가능할 때까지 [INFO] [stdout] | ^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client::Client::get (line 89) stdout ---- [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/client.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 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/client.rs - client::Client::publish (line 233) stdout ---- [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/client.rs:240:23 [INFO] [stdout] | [INFO] [stdout] 9 | let val = client.publish("foo").await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^ ----- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:244:18 [INFO] [stdout] | [INFO] [stdout] 244 | pub async fn publish(&mut self, channel: &str, message: Bytes) -> crate::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for type `u64` in the current scope [INFO] [stdout] --> src/client.rs:240:53 [INFO] [stdout] | [INFO] [stdout] 9 | let val = client.publish("foo").await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `u64` [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `&'static str` [INFO] [stdout] --> src/client.rs:241:6 [INFO] [stdout] | [INFO] [stdout] 10 | assert!("Got = {:?}", val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot apply unary operator `!` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599, E0600. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/buffer.rs - buffer::Buffer::set (line 97) [INFO] [stdout] src/client.rs - client::Client::get (line 89) [INFO] [stdout] src/client.rs - client::Client::publish (line 233) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "6e96ba97f0995510964d556cdc51305a766d70e4eb5d1410c080cb456d4b64fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e96ba97f0995510964d556cdc51305a766d70e4eb5d1410c080cb456d4b64fc", kill_on_drop: false }` [INFO] [stdout] 6e96ba97f0995510964d556cdc51305a766d70e4eb5d1410c080cb456d4b64fc