[INFO] cloning repository https://github.com/yixinin/logkv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yixinin/logkv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyixinin%2Flogkv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyixinin%2Flogkv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a36a15be00d14a8b7b51b82e53f48ad27fcba58 [INFO] testing yixinin/logkv against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyixinin%2Flogkv" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yixinin/logkv on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yixinin/logkv [INFO] finished tweaking git repo https://github.com/yixinin/logkv [INFO] tweaked toml for git repo https://github.com/yixinin/logkv written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/yixinin/logkv already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e50c658bbad03b27bc18905ea80ee8de69c795c1d9f6d28b81689b852f7dde11 [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" "e50c658bbad03b27bc18905ea80ee8de69c795c1d9f6d28b81689b852f7dde11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e50c658bbad03b27bc18905ea80ee8de69c795c1d9f6d28b81689b852f7dde11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e50c658bbad03b27bc18905ea80ee8de69c795c1d9f6d28b81689b852f7dde11", kill_on_drop: false }` [INFO] [stdout] e50c658bbad03b27bc18905ea80ee8de69c795c1d9f6d28b81689b852f7dde11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f575237ea25606e4e094c7684cddb42ce367a405d07f62df3131a00ef97a895 [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" "5f575237ea25606e4e094c7684cddb42ce367a405d07f62df3131a00ef97a895", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling protobuf v2.0.6 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling fastrand v1.4.1 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling arc-swap v1.2.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling slog-scope v4.4.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling slog-async v2.6.0 [INFO] [stderr] Compiling slog-term v2.8.0 [INFO] [stderr] Compiling skiplist v0.3.0 [INFO] [stderr] Compiling regex v1.5.3 [INFO] [stderr] Compiling protobuf-codegen v2.0.6 [INFO] [stderr] Compiling protobuf-build v0.12.1 [INFO] [stderr] Compiling raft-proto v0.6.0-alpha (https://github.com/tikv/raft-rs.git#a5423b24) [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling getset v0.0.9 [INFO] [stderr] Compiling polling v2.0.3 [INFO] [stderr] Compiling slog-stdlog v4.1.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling slog-envlogger v2.2.0 [INFO] [stderr] Compiling async-io v1.4.1 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling raft v0.6.0-alpha (https://github.com/tikv/raft-rs.git#a5423b24) [INFO] [stderr] Compiling logkv-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `Server` [INFO] [stdout] --> src/server.rs:19:75 [INFO] [stdout] | [INFO] [stdout] 19 | let node = Node::create_raft_follower(my_mailbox, mailboxes, name) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 20 | Server { [INFO] [stdout] | ------ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `my_mailbox` in this scope [INFO] [stdout] --> src/server.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 19 | let node = Node::create_raft_follower(my_mailbox, mailboxes, name) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mailboxes` in this scope [INFO] [stdout] --> src/server.rs:19:59 [INFO] [stdout] | [INFO] [stdout] 19 | let node = Node::create_raft_follower(my_mailbox, mailboxes, name) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `name` in this scope [INFO] [stdout] --> src/server.rs:19:70 [INFO] [stdout] | [INFO] [stdout] 19 | let node = Node::create_raft_follower(my_mailbox, mailboxes, name) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mailboxes` in this scope [INFO] [stdout] --> src/server.rs:49:57 [INFO] [stdout] | [INFO] [stdout] 49 | let nd = Node::create_raft_follower(rx, mailboxes, addr.to_string()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StateRole` [INFO] [stdout] --> src/raft/node.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use raft::{prelude::*, StateRole}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `info` [INFO] [stdout] --> src/raft/node.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use slog::{error, info, o}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `Write` [INFO] [stdout] --> src/server.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::{channel, io::{BufRead, BufReader, ReadExt, Write}}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protobuf::Message` [INFO] [stdout] --> src/raft/node.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use protobuf::Message as PbMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::prelude` [INFO] [stdout] --> src/server.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use async_std::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `logkv-rs` due to 6 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5f575237ea25606e4e094c7684cddb42ce367a405d07f62df3131a00ef97a895", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f575237ea25606e4e094c7684cddb42ce367a405d07f62df3131a00ef97a895", kill_on_drop: false }` [INFO] [stdout] 5f575237ea25606e4e094c7684cddb42ce367a405d07f62df3131a00ef97a895