[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 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyixinin%2Flogkv" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yixinin/logkv on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-6/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" "+1.59.0" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9868010f3c23d2ff181c9a3c79df1fd9dff3ef4276d9beb68fd36055035dbb8d [INFO] running `Command { std: "docker" "start" "-a" "9868010f3c23d2ff181c9a3c79df1fd9dff3ef4276d9beb68fd36055035dbb8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9868010f3c23d2ff181c9a3c79df1fd9dff3ef4276d9beb68fd36055035dbb8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9868010f3c23d2ff181c9a3c79df1fd9dff3ef4276d9beb68fd36055035dbb8d", kill_on_drop: false }` [INFO] [stdout] 9868010f3c23d2ff181c9a3c79df1fd9dff3ef4276d9beb68fd36055035dbb8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42e86ac135f331ce3eae30cfd204da60970e9596ba7182842b4ad6bfc651defe [INFO] running `Command { std: "docker" "start" "-a" "42e86ac135f331ce3eae30cfd204da60970e9596ba7182842b4ad6bfc651defe", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling protobuf v2.0.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [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 waker-fn v1.1.0 [INFO] [stderr] Compiling fastrand v1.4.1 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling arc-swap v1.2.0 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [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 fxhash v0.2.1 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling slog-scope v4.4.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling rand_core v0.5.1 [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 rand v0.7.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling slog-async v2.6.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling skiplist v0.3.0 [INFO] [stderr] Compiling regex v1.5.3 [INFO] [stderr] Compiling slog-term v2.8.0 [INFO] [stderr] Compiling protobuf-codegen v2.0.6 [INFO] [stderr] Compiling protobuf-build v0.12.1 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling getset v0.0.9 [INFO] [stderr] Compiling raft-proto v0.6.0-alpha (https://github.com/tikv/raft-rs.git#a5423b24) [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 raft v0.6.0-alpha (https://github.com/tikv/raft-rs.git#a5423b24) [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.9.0 [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" "42e86ac135f331ce3eae30cfd204da60970e9596ba7182842b4ad6bfc651defe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42e86ac135f331ce3eae30cfd204da60970e9596ba7182842b4ad6bfc651defe", kill_on_drop: false }` [INFO] [stdout] 42e86ac135f331ce3eae30cfd204da60970e9596ba7182842b4ad6bfc651defe