[INFO] cloning repository https://github.com/codepr/ruft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codepr/ruft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodepr%2Fruft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodepr%2Fruft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4cc04e3173c6181ee6477e1b5092bd7871136b2a [INFO] testing codepr/ruft against 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodepr%2Fruft" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codepr/ruft on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/codepr/ruft [INFO] finished tweaking git repo https://github.com/codepr/ruft [INFO] tweaked toml for git repo https://github.com/codepr/ruft written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/codepr/ruft 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" "+1.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-util v0.6.5 [INFO] [stderr] Downloaded simplelog v0.10.0 [INFO] [stderr] Downloaded bincode v1.3.2 [INFO] [stderr] Downloaded libc v0.2.91 [INFO] [stderr] Downloaded tokio v1.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5c08dadc9e87ae913eb1114a8e7799634b0b1568e624e71bb5fc49f1bf11457 [INFO] running `Command { std: "docker" "start" "-a" "d5c08dadc9e87ae913eb1114a8e7799634b0b1568e624e71bb5fc49f1bf11457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5c08dadc9e87ae913eb1114a8e7799634b0b1568e624e71bb5fc49f1bf11457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5c08dadc9e87ae913eb1114a8e7799634b0b1568e624e71bb5fc49f1bf11457", kill_on_drop: false }` [INFO] [stdout] d5c08dadc9e87ae913eb1114a8e7799634b0b1568e624e71bb5fc49f1bf11457 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4414ab403ed1592a6f1fee56fd78e1cb2e87fefbffe997562f904b3389fd0c36 [INFO] running `Command { std: "docker" "start" "-a" "4414ab403ed1592a6f1fee56fd78e1cb2e87fefbffe997562f904b3389fd0c36", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling simplelog v0.10.0 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling pin-project v1.0.6 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling tokio-stream v0.1.5 [INFO] [stderr] Compiling tokio-util v0.6.5 [INFO] [stderr] Compiling tokio-retry v0.3.0 [INFO] [stderr] Compiling bincode v1.3.2 [INFO] [stderr] Compiling ruft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `last_id` [INFO] [stdout] --> src/rpc.rs:512:43 [INFO] [stdout] | [INFO] [stdout] 512 | RpcMessage::RequestVote(term, id, last_id, last_log) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_log` [INFO] [stdout] --> src/rpc.rs:512:52 [INFO] [stdout] | [INFO] [stdout] 512 | RpcMessage::RequestVote(term, id, last_id, last_log) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `success` [INFO] [stdout] --> src/rpc.rs:351:69 [INFO] [stdout] | [INFO] [stdout] 351 | if let RpcMessage::AppendEntriesReply(term, success) = re { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peers_number` is never used [INFO] [stdout] --> src/rpc.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 235 | impl TokioRpcClient { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn peers_number(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `term` and `command` are never read [INFO] [stdout] --> src/rpc.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | struct LogEntry { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 37 | // Current term of the command being issued [INFO] [stdout] 38 | term: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | // The actual command to be applied to the state machine [INFO] [stdout] 40 | command: String, [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 8.32s [INFO] running `Command { std: "docker" "inspect" "4414ab403ed1592a6f1fee56fd78e1cb2e87fefbffe997562f904b3389fd0c36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4414ab403ed1592a6f1fee56fd78e1cb2e87fefbffe997562f904b3389fd0c36", kill_on_drop: false }` [INFO] [stdout] 4414ab403ed1592a6f1fee56fd78e1cb2e87fefbffe997562f904b3389fd0c36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20e271e284c6142ae04641335ed3661833ee3b71cef31e967ba7fbba674dd2aa [INFO] running `Command { std: "docker" "start" "-a" "20e271e284c6142ae04641335ed3661833ee3b71cef31e967ba7fbba674dd2aa", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `last_id` [INFO] [stdout] --> src/rpc.rs:512:43 [INFO] [stdout] | [INFO] [stdout] 512 | RpcMessage::RequestVote(term, id, last_id, last_log) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_log` [INFO] [stdout] --> src/rpc.rs:512:52 [INFO] [stdout] | [INFO] [stdout] 512 | RpcMessage::RequestVote(term, id, last_id, last_log) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `success` [INFO] [stdout] --> src/rpc.rs:351:69 [INFO] [stdout] | [INFO] [stdout] 351 | if let RpcMessage::AppendEntriesReply(term, success) = re { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peers_number` is never used [INFO] [stdout] --> src/rpc.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 235 | impl TokioRpcClient { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn peers_number(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ruft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `term` and `command` are never read [INFO] [stdout] --> src/rpc.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | struct LogEntry { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 37 | // Current term of the command being issued [INFO] [stdout] 38 | term: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | // The actual command to be applied to the state machine [INFO] [stdout] 40 | command: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_id` [INFO] [stdout] --> src/rpc.rs:512:43 [INFO] [stdout] | [INFO] [stdout] 512 | RpcMessage::RequestVote(term, id, last_id, last_log) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_log` [INFO] [stdout] --> src/rpc.rs:512:52 [INFO] [stdout] | [INFO] [stdout] 512 | RpcMessage::RequestVote(term, id, last_id, last_log) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `success` [INFO] [stdout] --> src/rpc.rs:351:69 [INFO] [stdout] | [INFO] [stdout] 351 | if let RpcMessage::AppendEntriesReply(term, success) = re { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peers_number` is never used [INFO] [stdout] --> src/rpc.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 235 | impl TokioRpcClient { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn peers_number(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `term` and `command` are never read [INFO] [stdout] --> src/rpc.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | struct LogEntry { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 37 | // Current term of the command being issued [INFO] [stdout] 38 | term: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | // The actual command to be applied to the state machine [INFO] [stdout] 40 | command: String, [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 0.39s [INFO] running `Command { std: "docker" "inspect" "20e271e284c6142ae04641335ed3661833ee3b71cef31e967ba7fbba674dd2aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20e271e284c6142ae04641335ed3661833ee3b71cef31e967ba7fbba674dd2aa", kill_on_drop: false }` [INFO] [stdout] 20e271e284c6142ae04641335ed3661833ee3b71cef31e967ba7fbba674dd2aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6a6272e0177fd123e311b326ee8231fcfe2961abc1a7ac7f18c8754ab56a26fa [INFO] running `Command { std: "docker" "start" "-a" "6a6272e0177fd123e311b326ee8231fcfe2961abc1a7ac7f18c8754ab56a26fa", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `last_id` [INFO] [stderr] --> src/rpc.rs:512:43 [INFO] [stderr] | [INFO] [stderr] 512 | RpcMessage::RequestVote(term, id, last_id, last_log) => { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `last_log` [INFO] [stderr] --> src/rpc.rs:512:52 [INFO] [stderr] | [INFO] [stderr] 512 | RpcMessage::RequestVote(term, id, last_id, last_log) => { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_log` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `success` [INFO] [stderr] --> src/rpc.rs:351:69 [INFO] [stderr] | [INFO] [stderr] 351 | if let RpcMessage::AppendEntriesReply(term, success) = re { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stderr] [INFO] [stderr] warning: method `peers_number` is never used [INFO] [stderr] --> src/rpc.rs:248:12 [INFO] [stderr] | [INFO] [stderr] 235 | impl TokioRpcClient { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 248 | pub fn peers_number(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `term` and `command` are never read [INFO] [stderr] --> src/rpc.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 36 | struct LogEntry { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 37 | // Current term of the command being issued [INFO] [stderr] 38 | term: i32, [INFO] [stderr] | ^^^^ [INFO] [stderr] 39 | // The actual command to be applied to the state machine [INFO] [stderr] 40 | command: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ruft` (lib) generated 5 warnings (run `cargo fix --lib -p ruft` to apply 3 suggestions) [INFO] [stderr] warning: `ruft` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ruft-014b72b938605092) [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 src/main.rs (/opt/rustwide/target/debug/deps/ruft-5267a5b95c835c79) [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 ruft [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] running `Command { std: "docker" "inspect" "6a6272e0177fd123e311b326ee8231fcfe2961abc1a7ac7f18c8754ab56a26fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a6272e0177fd123e311b326ee8231fcfe2961abc1a7ac7f18c8754ab56a26fa", kill_on_drop: false }` [INFO] [stdout] 6a6272e0177fd123e311b326ee8231fcfe2961abc1a7ac7f18c8754ab56a26fa [INFO] testing codepr/ruft against beta-2024-03-24 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodepr%2Fruft" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codepr/ruft on toolchain beta-2024-03-24 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/codepr/ruft [INFO] finished tweaking git repo https://github.com/codepr/ruft [INFO] tweaked toml for git repo https://github.com/codepr/ruft written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/codepr/ruft 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-2024-03-24" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d461546fb3f246c1bcb42ffec3b4d37f4a1a87acbe19a568747f3990c3bd5bab [INFO] running `Command { std: "docker" "start" "-a" "d461546fb3f246c1bcb42ffec3b4d37f4a1a87acbe19a568747f3990c3bd5bab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d461546fb3f246c1bcb42ffec3b4d37f4a1a87acbe19a568747f3990c3bd5bab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d461546fb3f246c1bcb42ffec3b4d37f4a1a87acbe19a568747f3990c3bd5bab", kill_on_drop: false }` [INFO] [stdout] d461546fb3f246c1bcb42ffec3b4d37f4a1a87acbe19a568747f3990c3bd5bab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 688a50836532bfd412e9784e028ea24f5464162e173670c8ade0ffe5c0c47159 [INFO] running `Command { std: "docker" "start" "-a" "688a50836532bfd412e9784e028ea24f5464162e173670c8ade0ffe5c0c47159", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling simplelog v0.10.0 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling pin-project v1.0.6 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling tokio-stream v0.1.5 [INFO] [stderr] Compiling tokio-retry v0.3.0 [INFO] [stderr] Compiling tokio-util v0.6.5 [INFO] [stderr] Compiling bincode v1.3.2 [INFO] [stderr] Compiling ruft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/rpc.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_id` [INFO] [stdout] --> src/rpc.rs:512:43 [INFO] [stdout] | [INFO] [stdout] 512 | RpcMessage::RequestVote(term, id, last_id, last_log) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_log` [INFO] [stdout] --> src/rpc.rs:512:52 [INFO] [stdout] | [INFO] [stdout] 512 | RpcMessage::RequestVote(term, id, last_id, last_log) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `success` [INFO] [stdout] --> src/rpc.rs:351:69 [INFO] [stdout] | [INFO] [stdout] 351 | if let RpcMessage::AppendEntriesReply(term, success) = re { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RpcError` is never constructed [INFO] [stdout] --> src/rpc.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | struct RpcError(String); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `append_entries`, `request_vote_reply`, and `append_entries_reply` are never used [INFO] [stdout] --> src/rpc.rs:206:14 [INFO] [stdout] | [INFO] [stdout] 199 | trait RaftRpc { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 206 | async fn append_entries( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | async fn request_vote_reply( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | async fn append_entries_reply( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peers_number` is never used [INFO] [stdout] --> src/rpc.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 235 | impl TokioRpcClient { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn peers_number(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `term` and `command` are never read [INFO] [stdout] --> src/rpc.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | struct LogEntry { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 37 | // Current term of the command being issued [INFO] [stdout] 38 | term: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | // The actual command to be applied to the state machine [INFO] [stdout] 40 | command: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppendEntriesReply` is never constructed [INFO] [stdout] --> src/rpc.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct AppendEntriesReply { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `core::fmt::rt::Opaque` cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / tokio::spawn(async { [INFO] [stdout] 15 | | let listener = TcpListener::bind("127.0.0.1:4989".to_string()).await?; [INFO] [stdout] 16 | | ruft::rpc::run( [INFO] [stdout] 17 | | "node#1".into(), [INFO] [stdout] ... | [INFO] [stdout] 21 | | .await [INFO] [stdout] 22 | | }); [INFO] [stdout] | |______^ `core::fmt::rt::Opaque` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/main.rs:14:18: 22:6}: Send` [INFO] [stdout] = note: required for `&core::fmt::rt::Opaque` to implement `Send` [INFO] [stdout] note: required because it appears within the type `core::fmt::rt::Argument<'_>` [INFO] [stdout] --> /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/core/src/fmt/rt.rs:75:12 [INFO] [stdout] = note: required because it captures the following types: `&mut rpc::TokioRpcServer`, `Level`, `&[&str]`, `core::fmt::rt::Argument<'_>`, `core::fmt::rt::Argument<'_>`, `std::net::SocketAddr`, `ControlFlow, std::net::SocketAddr>`, `impl Future>`, `impl Future>>` [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/rpc.rs:430:56 [INFO] [stdout] | [INFO] [stdout] 430 | pub async fn run<'a>(&mut self) -> AsyncResult<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 431 | | // Loop forever on new connections, accept them and pass the handling [INFO] [stdout] 432 | | // to a worker. [INFO] [stdout] 433 | | info!( [INFO] [stdout] ... | [INFO] [stdout] 469 | | } [INFO] [stdout] 470 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required because it captures the following types: `String`, `Vec`, `Arc>`, `Arc>`, `rpc::TokioRpcServer`, `impl Future>>` [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/rpc.rs:569:92 [INFO] [stdout] | [INFO] [stdout] 569 | pub async fn run(id: String, listener: TcpListener, peers: Vec) -> AsyncResult<()> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 570 | | let peers_number = peers.len(); [INFO] [stdout] 571 | | let client = Arc::new(Mutex::new(TokioRpcClient::new(&peers))); [INFO] [stdout] 572 | | let shared = Arc::new(Mutex::new(raft::Machine::new(id.clone()))); [INFO] [stdout] ... | [INFO] [stdout] 589 | | server.run().await [INFO] [stdout] 590 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required because it captures the following types: `impl Future>`, `[String; 2]`, `impl Future>>` [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> src/main.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | tokio::spawn(async { [INFO] [stdout] | __________________^ [INFO] [stdout] 15 | | let listener = TcpListener::bind("127.0.0.1:4989".to_string()).await?; [INFO] [stdout] 16 | | ruft::rpc::run( [INFO] [stdout] 17 | | "node#1".into(), [INFO] [stdout] ... | [INFO] [stdout] 21 | | .await [INFO] [stdout] 22 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.4.0/src/task/spawn.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn spawn(task: T) -> JoinHandle [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 128 | where [INFO] [stdout] 129 | T: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `core::fmt::rt::Opaque` cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / tokio::spawn(async { [INFO] [stdout] 24 | | let listener = TcpListener::bind("127.0.0.1:4990".to_string()).await?; [INFO] [stdout] 25 | | ruft::rpc::run( [INFO] [stdout] 26 | | "node#2".into(), [INFO] [stdout] ... | [INFO] [stdout] 30 | | .await [INFO] [stdout] 31 | | }); [INFO] [stdout] | |______^ `core::fmt::rt::Opaque` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/main.rs:23:18: 31:6}: Send` [INFO] [stdout] = note: required for `&core::fmt::rt::Opaque` to implement `Send` [INFO] [stdout] note: required because it appears within the type `core::fmt::rt::Argument<'_>` [INFO] [stdout] --> /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/core/src/fmt/rt.rs:75:12 [INFO] [stdout] = note: required because it captures the following types: `&mut rpc::TokioRpcServer`, `Level`, `&[&str]`, `core::fmt::rt::Argument<'_>`, `core::fmt::rt::Argument<'_>`, `std::net::SocketAddr`, `ControlFlow, std::net::SocketAddr>`, `impl Future>`, `impl Future>>` [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/rpc.rs:430:56 [INFO] [stdout] | [INFO] [stdout] 430 | pub async fn run<'a>(&mut self) -> AsyncResult<()> { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 431 | | // Loop forever on new connections, accept them and pass the handling [INFO] [stdout] 432 | | // to a worker. [INFO] [stdout] 433 | | info!( [INFO] [stdout] ... | [INFO] [stdout] 469 | | } [INFO] [stdout] 470 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required because it captures the following types: `String`, `Vec`, `Arc>`, `Arc>`, `rpc::TokioRpcServer`, `impl Future>>` [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/rpc.rs:569:92 [INFO] [stdout] | [INFO] [stdout] 569 | pub async fn run(id: String, listener: TcpListener, peers: Vec) -> AsyncResult<()> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 570 | | let peers_number = peers.len(); [INFO] [stdout] 571 | | let client = Arc::new(Mutex::new(TokioRpcClient::new(&peers))); [INFO] [stdout] 572 | | let shared = Arc::new(Mutex::new(raft::Machine::new(id.clone()))); [INFO] [stdout] ... | [INFO] [stdout] 589 | | server.run().await [INFO] [stdout] 590 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required because it captures the following types: `impl Future>`, `[String; 2]`, `impl Future>>` [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> src/main.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | tokio::spawn(async { [INFO] [stdout] | __________________^ [INFO] [stdout] 24 | | let listener = TcpListener::bind("127.0.0.1:4990".to_string()).await?; [INFO] [stdout] 25 | | ruft::rpc::run( [INFO] [stdout] 26 | | "node#2".into(), [INFO] [stdout] ... | [INFO] [stdout] 30 | | .await [INFO] [stdout] 31 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.4.0/src/task/spawn.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn spawn(task: T) -> JoinHandle [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 128 | where [INFO] [stdout] 129 | T: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ruft` (bin "ruft") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "688a50836532bfd412e9784e028ea24f5464162e173670c8ade0ffe5c0c47159", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "688a50836532bfd412e9784e028ea24f5464162e173670c8ade0ffe5c0c47159", kill_on_drop: false }` [INFO] [stdout] 688a50836532bfd412e9784e028ea24f5464162e173670c8ade0ffe5c0c47159