[INFO] cloning repository https://github.com/csaide/prism [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/csaide/prism" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsaide%2Fprism", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsaide%2Fprism'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 21b9d9c5da701b0a492505a4a10da2f1b9973b8a [INFO] testing csaide/prism against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsaide%2Fprism" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/csaide/prism on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/csaide/prism [INFO] finished tweaking git repo https://github.com/csaide/prism [INFO] tweaked toml for git repo https://github.com/csaide/prism written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/csaide/prism 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" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mockall_derive v0.11.1 [INFO] [stderr] Downloaded tonic-reflection v0.4.0 [INFO] [stderr] Downloaded tonic-health v0.6.0 [INFO] [stderr] Downloaded slog-json v2.6.1 [INFO] [stderr] Downloaded axum-core v0.2.5 [INFO] [stderr] Downloaded mockall v0.11.1 [INFO] [stderr] Downloaded axum v0.5.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0334b5940b0310fdc02e22c03825e347509f6b121d453cba60cb6fbb978cdc3 [INFO] running `Command { std: "docker" "start" "-a" "e0334b5940b0310fdc02e22c03825e347509f6b121d453cba60cb6fbb978cdc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0334b5940b0310fdc02e22c03825e347509f6b121d453cba60cb6fbb978cdc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0334b5940b0310fdc02e22c03825e347509f6b121d453cba60cb6fbb978cdc3", kill_on_drop: false }` [INFO] [stdout] e0334b5940b0310fdc02e22c03825e347509f6b121d453cba60cb6fbb978cdc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02563a93f6c5a2714c5fd7ed74592a107875fc67f41136f7f49081c1a3f4e79c [INFO] running `Command { std: "docker" "start" "-a" "02563a93f6c5a2714c5fd7ed74592a107875fc67f41136f7f49081c1a3f4e79c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling prettyplease v0.1.11 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling erased-serde v0.3.20 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling matchit v0.5.0 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling slog-async v2.7.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling slog-json v2.6.1 [INFO] [stderr] Compiling slog-term v2.9.0 [INFO] [stderr] Compiling serde_bytes v0.11.6 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling uuid v1.1.2 [INFO] [stderr] Compiling exitcode v1.1.2 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tokio v1.19.2 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Compiling tonic-build v0.7.2 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling tower v0.4.12 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling tower-http v0.3.4 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling signal-hook-tokio v0.3.1 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling tonic-reflection v0.4.0 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling tonic-health v0.6.0 [INFO] [stderr] Compiling prism v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling axum-core v0.2.5 [INFO] [stderr] Compiling axum v0.5.7 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tonic v0.7.2 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/raft/consensus/quorum.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/raft/consensus/quorum.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let mut peer = match locked_peers.get_mut(&peer_id) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 56s [INFO] running `Command { std: "docker" "inspect" "02563a93f6c5a2714c5fd7ed74592a107875fc67f41136f7f49081c1a3f4e79c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02563a93f6c5a2714c5fd7ed74592a107875fc67f41136f7f49081c1a3f4e79c", kill_on_drop: false }` [INFO] [stdout] 02563a93f6c5a2714c5fd7ed74592a107875fc67f41136f7f49081c1a3f4e79c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe27073342f9cc8db7a321bf5cf5f7cb8710fe2824602129fcf7e5a47c6c0cdc [INFO] running `Command { std: "docker" "start" "-a" "fe27073342f9cc8db7a321bf5cf5f7cb8710fe2824602129fcf7e5a47c6c0cdc", kill_on_drop: false }` [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling tokio v1.19.2 [INFO] [stderr] Compiling semver v1.0.10 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling predicates-tree v1.0.5 [INFO] [stderr] Compiling rstest_macros v0.14.0 [INFO] [stderr] Compiling mockall_derive v0.11.1 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling tower v0.4.12 [INFO] [stderr] Compiling tower-http v0.3.4 [INFO] [stderr] Compiling signal-hook-tokio v0.3.1 [INFO] [stderr] Compiling predicates v2.1.1 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling fragile v1.2.1 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling tokio-test v0.4.2 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Compiling axum v0.5.7 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling tonic-build v0.7.2 [INFO] [stderr] Compiling tonic v0.7.2 [INFO] [stderr] Compiling mockall v0.11.1 [INFO] [stderr] Compiling tonic-reflection v0.4.0 [INFO] [stderr] Compiling tonic-health v0.6.0 [INFO] [stderr] Compiling prism v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/raft/consensus/quorum.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/raft/consensus/quorum.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let mut peer = match locked_peers.get_mut(&peer_id) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rstest v0.15.0 [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/raft/consensus/frontend.rs:218:37 [INFO] [stdout] | [INFO] [stdout] 218 | use std::{collections::HashMap, sync::Arc, time::Duration}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | -------- the item `Arc` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `watch` is imported redundantly [INFO] [stdout] --> src/raft/consensus/frontend.rs:221:29 [INFO] [stdout] | [INFO] [stdout] 221 | use tokio::sync::{mpsc, watch}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | -------- the item `watch` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/raft/consensus/module.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/raft/consensus/quorum.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/raft/consensus/raft.rs:212:37 [INFO] [stdout] | [INFO] [stdout] 212 | use std::{collections::HashMap, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | use super::*; [INFO] [stdout] | -------- the item `Arc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/raft/consensus/quorum.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let mut peer = match locked_peers.get_mut(&peer_id) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3m 56s [INFO] running `Command { std: "docker" "inspect" "fe27073342f9cc8db7a321bf5cf5f7cb8710fe2824602129fcf7e5a47c6c0cdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe27073342f9cc8db7a321bf5cf5f7cb8710fe2824602129fcf7e5a47c6c0cdc", kill_on_drop: false }` [INFO] [stdout] fe27073342f9cc8db7a321bf5cf5f7cb8710fe2824602129fcf7e5a47c6c0cdc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c96856baa5698d98506a8c23a25c43b91d3ab2d0faeb401ea4be31bdbb1450ab [INFO] running `Command { std: "docker" "start" "-a" "c96856baa5698d98506a8c23a25c43b91d3ab2d0faeb401ea4be31bdbb1450ab", kill_on_drop: false }` [INFO] [stderr] warning: the item `Iterator` is imported redundantly [INFO] [stderr] --> src/raft/consensus/quorum.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::iter::Iterator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `Iterator` is already defined here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/raft/consensus/quorum.rs:131:17 [INFO] [stderr] | [INFO] [stderr] 131 | let mut peer = match locked_peers.get_mut(&peer_id) { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `prism` (lib) generated 2 warnings (run `cargo fix --lib -p prism` to apply 1 suggestion) [INFO] [stderr] warning: the item `Arc` is imported redundantly [INFO] [stderr] --> src/raft/consensus/frontend.rs:218:37 [INFO] [stderr] | [INFO] [stderr] 218 | use std::{collections::HashMap, sync::Arc, time::Duration}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 229 | use super::*; [INFO] [stderr] | -------- the item `Arc` is already imported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `watch` is imported redundantly [INFO] [stderr] --> src/raft/consensus/frontend.rs:221:29 [INFO] [stderr] | [INFO] [stderr] 221 | use tokio::sync::{mpsc, watch}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 229 | use super::*; [INFO] [stderr] | -------- the item `watch` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `HashMap` is imported redundantly [INFO] [stderr] --> src/raft/consensus/module.rs:191:9 [INFO] [stderr] | [INFO] [stderr] 191 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 203 | use super::*; [INFO] [stderr] | -------- the item `HashMap` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `Iterator` is imported redundantly [INFO] [stderr] --> src/raft/consensus/quorum.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::iter::Iterator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `Iterator` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `Arc` is imported redundantly [INFO] [stderr] --> src/raft/consensus/raft.rs:212:37 [INFO] [stderr] | [INFO] [stderr] 212 | use std::{collections::HashMap, sync::Arc}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 222 | use super::*; [INFO] [stderr] | -------- the item `Arc` is already imported here [INFO] [stderr] [INFO] [stderr] warning: `prism` (lib test) generated 6 warnings (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libprism-d33ec066f54204fa) [INFO] [stdout] [INFO] [stdout] running 195 tests [INFO] [stdout] test hash::tests::test_apply::case_1_apply ... ok [INFO] [stdout] test hash::tests::test_apply::case_2_apply_remove ... ok [INFO] [stderr] Feb 29 20:11:03.049 CRIT Failed to parse provided configuration., error: error: Invalid value for '--number ': invalid digit found in string [INFO] [stderr] , version: 0.1.0, binary: bin [INFO] [stdout] prism 0.1.0test base::tests::test_config::case_1 ... ok [INFO] [stdout] test base::tests::test_config::case_4 ... ok [INFO] [stdout] test base::tests::test_config::case_2 ... ok [INFO] [stdout] test hash::tests::test_read::case_1_happy_path ... ok [INFO] [stdout] test hash::tests::test_derived ... ok [INFO] [stdout] test hash::tests::test_apply_deserialize_fail ... ok [INFO] [stdout] test base::tests::test_config::case_3 ... ok [INFO] [stdout] test logging::level::tests::test_derived ... ok [INFO] [stdout] test logging::config::tests::test_config ... ok [INFO] [stdout] test base::tests::test_config::case_5 ... ok [INFO] [stdout] test logging::level::tests::test_from_str::case_2_error ... ok [INFO] [stdout] test logging::level::tests::test_from_str::case_3_warn ... ok [INFO] [stdout] test hash::tests::test_read::case_2_empty ... ok [INFO] [stdout] test logging::level::tests::test_from_str::case_4_info ... ok [INFO] [stdout] test hash::tests::test_read_deserialize_fail ... ok [INFO] [stdout] test logging::filter::tests::test_filter ... ok [INFO] [stdout] test logging::error::tests::test_error ... ok [INFO] [stdout] test logging::level::tests::test_to_slog::case_3_warn ... ok [INFO] [stdout] test logging::level::tests::test_to_slog::case_4_info ... ok [INFO] [stdout] test logging::level::tests::test_from_str::case_1_crit ... ok [INFO] [stdout] test logging::level::tests::test_to_slog::case_2_error ... ok [INFO] [stdout] test logging::level::tests::test_from_str::case_5_debug ... ok [INFO] [stdout] test logging::level::tests::test_from_str::case_6_fail ... ok [INFO] [stdout] test raft::cluster::set::tests::test_cluster_set ... ok [INFO] [stdout] test logging::level::tests::test_to_slog::case_1_crit ... ok [INFO] [stdout] test raft::cluster::peer::tests::test_peer_append ... ok [INFO] [stdout] test logging::level::tests::test_to_slog::case_5_debug ... ok [INFO] [stdout] test logging::tests::test_default ... ok [INFO] [stdout] test logging::tests::test_new::case_2_with_json ... ok [INFO] [stdout] test logging::tests::test_new::case_1_with_json ... ok [INFO] [stdout] test raft::consensus::frontend::tests::test_read::case_1_dead ... ok [INFO] [stdout] test raft::consensus::frontend::tests::test_mutation::case_1_dead ... ok [INFO] [stdout] test raft::consensus::frontend::tests::test_mutation::case_2_not_leader ... ok [INFO] [stdout] test raft::consensus::frontend::tests::test_mutation::case_3_leader ... ok [INFO] [stdout] test raft::consensus::frontend::tests::test_read::case_3_no_quorum ... ok [INFO] [stdout] test raft::consensus::frontend::tests::test_registration::case_1_dead ... ok [INFO] [stdout] test raft::consensus::frontend::tests::test_read::case_2_not_leader ... ok [INFO] [stdout] test raft::consensus::frontend::tests::test_read::case_4_happy_path ... ok [INFO] [stdout] test raft::cluster::peer::tests::test_peer_vote ... ok [INFO] [stdout] test raft::consensus::cluster::tests::test_cluster::case_1_happy_path ... ok [INFO] [stdout] test raft::consensus::frontend::tests::test_registration::case_2_not_leader ... ok [INFO] [stdout] test raft::consensus::quorum::tests::test_quorum::case_3_happy_path ... ok [INFO] [stdout] test raft::consensus::cluster::tests::test_cluster::case_2_dead ... ok [INFO] [stdout] test raft::consensus::quorum::tests::test_quorum::case_2_not_leader ... ok [INFO] [stdout] test raft::consensus::quorum::tests::test_quorum::case_5_multiple_erroring_peers ... ok [INFO] [stdout] test raft::consensus::cluster::tests::test_cluster::case_3_follower ... ok [INFO] [stdout] test raft::consensus::quorum::tests::test_quorum::case_1_empty_peers ... ok [INFO] [stdout] test raft::consensus::quorum::tests::test_quorum::case_4_single_erroring_peer ... ok [INFO] [stdout] test raft::consensus::quorum::tests::test_quorum::case_6_single_failure ... ok [INFO] [stdout] test raft::consensus::raft::tests::test_append_entries::case_1_dead ... ok [INFO] [stdout] test raft::consensus::frontend::tests::test_registration::case_3_leader ... ok [INFO] [stdout] test raft::consensus::quorum::tests::test_quorum::case_7_multiple_failure ... ok [INFO] [stdout] test raft::consensus::raft::tests::test_append_entries::case_3_greater_term ... ok [INFO] [stdout] test raft::consensus::raft::tests::test_append_entries::case_2_smaller_term ... ok [INFO] [stdout] test raft::error::tests::test_derived ... ok [INFO] [stdout] test raft::error::tests::test_from ... ok [INFO] [stdout] test raft::log::entry::tests::test_entry_command ... ok [INFO] [stdout] test raft::log::entry::tests::test_entry_config ... ok [INFO] [stdout] test raft::log::entry::tests::test_entry_noop ... ok [INFO] [stdout] test raft::consensus::raft::tests::test_vote_request::case_1_dead ... ok [INFO] [stdout] test raft::consensus::raft::tests::test_append_entries::case_4_candidate_same_term ... ok [INFO] [stdout] test raft::log::entry::tests::test_models::case_2 ... ok [INFO] [stdout] test raft::log::entry::tests::test_models::case_1 ... ok [INFO] [stdout] test raft::log::entry::tests::test_entry_registration ... ok [INFO] [stdout] test raft::log::entry::tests::test_models::case_3 ... ok [INFO] [stdout] test raft::log::entry::tests::test_term::case_2_cluster_config ... ok [INFO] [stdout] test raft::log::entry::tests::test_serialization ... ok [INFO] [stdout] test raft::log::entry::tests::test_term::case_1_command ... ok [INFO] [stdout] test raft::consensus::repo::tests::test_repo ... ok [INFO] [stdout] test raft::consensus::raft::tests::test_vote_request::case_2_greater_term ... ok [INFO] [stdout] test raft::log::entry::tests::test_term::case_3_registration ... ok [INFO] [stdout] test raft::consensus::raft::tests::test_append_entries::case_6_happy_path ... ok [INFO] [stdout] test raft::log::entry::tests::test_term::case_4_noop ... ok [INFO] [stdout] test raft::consensus::raft::tests::test_append_entries::case_5_same_term_cluster_cfg ... ok [INFO] [stdout] test raft::log::iter::tests::test_double_ended_iterator::case_1_empty ... ok [INFO] [stdout] test raft::log::iter::tests::test_double_ended_iterator::case_2_happy ... ok [INFO] [stdout] test raft::log::iter::tests::test_iter_entries::case_1_empty ... ok [INFO] [stdout] test raft::log::iter::tests::test_iter_entries::case_2_happy ... ok [INFO] [stdout] test raft::log::iter::tests::test_iter_keys::case_1_empty ... ok [INFO] [stdout] test raft::log::iter::tests::test_iter_keys::case_2_happy ... ok [INFO] [stdout] test raft::consensus::module::tests::test_module::case_1_happy_path ... ok [INFO] [stdout] test raft::log::iter::tests::test_iterator::case_1_empty ... ok [INFO] [stdout] test raft::log::store::tests::test_append_entries::case_1_simple ... ok [INFO] [stdout] test raft::log::iter::tests::test_iterator::case_2_happy ... ok [INFO] [stdout] test raft::log::store::tests::test_append_entries::case_2_overwrite ... ok [INFO] [stdout] test raft::log::store::tests::test_append_entries::case_3_complex ... ok [INFO] [stdout] test raft::log::store::tests::test_append_multiple_writers::case_1_simple ... ok [INFO] [stdout] test raft::log::store::tests::test_append_multiple_writers::case_2_dual_same_term ... ok [INFO] [stdout] test raft::log::store::tests::test_last_log_idx_and_term::case_1_single ... ok [INFO] [stdout] test raft::log::store::tests::test_last_log_idx_and_term::case_2_multiple_same_term ... ok [INFO] [stdout] test raft::log::utils::tests::test_map_bound::case_1_included ... ok [INFO] [stdout] test raft::log::store::tests::test_append_multiple_writers::case_3_triple_same_term ... ok [INFO] [stdout] test raft::log::utils::tests::test_map_bound::case_2_excluded ... ok [INFO] [stdout] test raft::log::entry::tests::test_unwrap_command_panic - should panic ... ok [INFO] [stdout] test raft::log::utils::tests::test_map_bound::case_3_unbounded ... ok [INFO] [stdout] test raft::log::utils::tests::test_result_tuple_to_entry::case_1_error ... ok [INFO] [stdout] test raft::log::store::tests::test_last_log_idx_and_term::case_3_multiple_diff_term ... ok [INFO] [stdout] test raft::log::entry::tests::test_unwrap_config_panic - should panic ... ok [INFO] [stdout] test raft::log::utils::tests::test_result_tuple_to_key::case_1_error ... ok [INFO] [stdout] test raft::log::utils::tests::test_result_tuple_to_key::case_2_valid ... ok [INFO] [stdout] test raft::log::entry::tests::test_term::case_5_none - should panic ... ok [INFO] [stdout] test raft::log::entry::tests::test_unwrap_noop_panic - should panic ... ok [INFO] [stdout] test raft::log::utils::tests::test_result_tuple_to_key_entry::case_1_error ... ok [INFO] [stdout] test raft::log::utils::tests::test_result_tuple_to_key_entry::case_2_valid ... ok [INFO] [stdout] test raft::log::utils::tests::test_result_tuple_to_entry::case_2_valid ... ok [INFO] [stdout] test raft::log::utils::tests::test_result_tuple_to_entry::case_3_invalid - should panic ... ok [INFO] [stdout] test raft::models::tests::test_models::case_04 ... ok [INFO] [stdout] test raft::models::tests::test_models::case_01 ... ok [INFO] [stdout] test raft::models::tests::test_models::case_05 ... ok [INFO] [stdout] test raft::models::tests::test_models::case_02 ... ok [INFO] [stdout] test raft::models::tests::test_models::case_06 ... ok [INFO] [stdout] test raft::models::tests::test_models::case_08 ... ok [INFO] [stdout] test raft::models::tests::test_models::case_09 ... ok [INFO] [stdout] test raft::models::tests::test_models::case_10 ... ok [INFO] [stdout] test raft::models::tests::test_models::case_11 ... ok [INFO] [stdout] test raft::models::tests::test_models::case_12 ... ok [INFO] [stdout] test raft::models::tests::test_models::case_13 ... ok [INFO] [stdout] test raft::log::utils::tests::test_result_tuple_to_key::case_3_invalid - should panic ... ok [INFO] [stdout] test raft::models::tests::test_models::case_03 ... ok [INFO] [stdout] test raft::models::tests::test_models::case_14 ... ok [INFO] [stdout] test raft::log::entry::tests::test_unwrap_registration_panic - should panic ... ok [INFO] [stdout] test raft::log::utils::tests::test_result_tuple_to_key_entry::case_3_invalid_entry - should panic ... ok [INFO] [stdout] test raft::models::tests::test_models::case_15 ... ok [INFO] [stdout] test raft::log::utils::tests::test_result_tuple_to_key_entry::case_4_invalid_key - should panic ... ok [INFO] [stdout] test raft::models::tests::test_models::case_07 ... ok [INFO] [stdout] test raft::state::atomic::leader::tests::test_atomic_leader ... ok [INFO] [stdout] test raft::state::atomic::mode::tests::test_atomic_mode::case_1_candidate ... ok [INFO] [stdout] test raft::state::atomic::mode::tests::test_atomic_mode::case_2_dead ... ok [INFO] [stdout] test raft::state::atomic::mode::tests::test_atomic_mode::case_3_follower ... ok [INFO] [stdout] test raft::state::atomic::mode::tests::test_atomic_mode::case_4_leader ... ok [INFO] [stdout] test raft::state::mode::tests::test_mode ... ok [INFO] [stdout] test raft::state::atomic::index::tests::test_atomic_index ... ok [INFO] [stdout] test raft::models::tests::test_models::case_16 ... ok [INFO] [stdout] test raft::state::server_state::tests::test_leader_tracking ... ok [INFO] [stdout] test raft::state::server_state::tests::test_mode_handling::case_1_leader ... ok [INFO] [stdout] test raft::state::persistent::tests::test_voted_for ... ok [INFO] [stdout] test raft::state::server_state::tests::test_index_handling ... ok [INFO] [stdout] test raft::state::volatile::tests::test_volatile_state ... ok [INFO] [stdout] test raft::state::watcher::tests::test_register_command ... ok [INFO] [stdout] test raft::state::server_state::tests::test_mode_handling::case_4_dead ... ok [INFO] [stdout] test raft::state::watcher::tests::test_register_registration ... ok [INFO] [stdout] test raft::state::watcher::tests::test_register_cluster_cfg ... ok [INFO] [stdout] test raft::state::server_state::tests::test_mode_handling::case_3_follower ... ok [INFO] [stdout] test raft::workers::candidate::tests::test_candidate_reply_gt_term ... ok [INFO] [stdout] test raft::state::persistent::tests::test_current_term ... ok [INFO] [stdout] test rpc::cluster::handler::tests::test_add ... ok [INFO] [stdout] test rpc::cluster::handler::tests::test_remove ... ok [INFO] [stdout] test rpc::cluster::proto::tests::test_add_request ... ok [INFO] [stdout] test raft::state::server_state::tests::test_mode_handling::case_2_candidate ... ok [INFO] [stdout] test rpc::cluster::proto::tests::test_add_response ... ok [INFO] [stdout] test raft::workers::candidate::tests::test_candidate_step_down ... ok [INFO] [stdout] test rpc::cluster::proto::tests::test_remove_request ... ok [INFO] [stdout] test rpc::cluster::handler::tests::test_list ... ok [INFO] [stdout] test rpc::cluster::proto::tests::test_list_request ... ok [INFO] [stdout] test rpc::frontend::handler::tests::test_mutate ... ok [INFO] [stdout] test raft::workers::candidate::tests::test_candidate_success ... ok [INFO] [stdout] test raft::state::server_state::tests::test_transitions ... ok [INFO] [stdout] test raft::workers::candidate::tests::test_candidate_rpc_failure ... ok [INFO] [stdout] test rpc::frontend::handler::tests::test_register ... ok [INFO] [stdout] test rpc::frontend::proto::tests::test_mutate_request ... ok [INFO] [stdout] test rpc::cluster::proto::tests::test_remove_response ... ok [INFO] [stdout] test rpc::cluster::proto::tests::test_list_response ... ok [INFO] [stdout] test rpc::frontend::proto::tests::test_read_request ... ok [INFO] [stdout] test rpc::frontend::proto::tests::test_mutate_response ... ok [INFO] [stdout] test rpc::frontend::proto::tests::test_register_request ... ok [INFO] [stdout] test rpc::interceptor::tests::test_interceptor ... ok [INFO] [stdout] test raft::workers::follower::tests::test_follower ... ok [INFO] [stdout] test rpc::frontend::handler::tests::test_read ... ok [INFO] [stdout] test rpc::raft::handler::tests::test_vote ... ok [INFO] [stdout] test rpc::frontend::proto::tests::test_register_response ... ok [INFO] [stdout] test rpc::raft::handler::tests::test_append ... ok [INFO] [stdout] test rpc::frontend::proto::tests::test_read_response ... ok [INFO] [stdout] test rpc::raft::proto::tests::append::test_append_resp_to_raft_append_resp::case_1_happy_path ... ok [INFO] [stdout] test rpc::raft::proto::tests::entry_and_payload::test_entry_payload_from_raft_entry::case_1_command ... ok [INFO] [stdout] test rpc::raft::proto::tests::append::test_raft_append_to_append ... ok [INFO] [stdout] test rpc::raft::proto::tests::entry_and_payload::test_entry_from_raft_entry ... ok [INFO] [stdout] test rpc::raft::proto::tests::entry_and_payload::test_entry_payload_from_raft_entry::case_4_noop ... ok [INFO] [stdout] test rpc::raft::proto::tests::entry_and_payload::test_entry_payload_from_raft_entry::case_2_conig ... ok [INFO] [stdout] test rpc::raft::proto::tests::entry_and_payload::test_entry_payload_from_raft_entry::case_3_registration ... ok [INFO] [stdout] test rpc::raft::proto::tests::entry_and_payload::test_entry_payload_from_raft_entry::case_5_none - should panic ... ok [INFO] [stdout] test rpc::raft::proto::tests::entry_and_payload::test_raft_entry_from_entry_payload::case_1_command ... ok [INFO] [stdout] test rpc::raft::proto::tests::entry_and_payload::test_raft_entry_from_entry::case_2_none - should panic ... ok [INFO] [stdout] test rpc::raft::proto::tests::entry_and_payload::test_raft_entry_from_entry_payload::case_2_config ... ok [INFO] [stdout] test rpc::raft::proto::tests::entry_and_payload::test_raft_entry_from_entry::case_1_some ... ok [INFO] [stdout] test rpc::raft::proto::tests::entry_and_payload::test_raft_entry_from_entry_payload::case_3_registration ... ok [INFO] [stdout] test rpc::raft::proto::tests::append::test_append_to_raft_append::case_1_happy_path ... ok [INFO] [stdout] test rpc::raft::proto::tests::append::test_raft_append_resp_to_append_resp ... ok [INFO] [stdout] test rpc::raft::proto::tests::vote::test_raft_vote_resp_to_vote_resp ... ok [INFO] [stdout] test rpc::raft::proto::tests::vote::test_vote_to_raft_vote::case_1_happy_path ... ok [INFO] [stdout] test rpc::raft::proto::tests::entry_and_payload::test_raft_entry_from_entry_payload::case_4_noop ... ok [INFO] [stdout] test rpc::raft::proto::tests::vote::test_raft_vote_to_vote ... ok [INFO] [stdout] test rpc::raft::proto::tests::vote::test_vote_resp_to_raft_vote_resp::case_1_happy_path ... ok [INFO] [stdout] test rpc::server::tests::test_server ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 195 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.73s [INFO] [stdout] [INFO] [stderr] Doc-tests libprism [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/logging/level.rs - logging::level::Level::to_slog (line 57) ... ok [INFO] [stdout] test src/logging/mod.rs - logging::default (line 30) ... ok [INFO] [stdout] test src/logging/level.rs - logging::level::Level::from_str (line 31) ... ok [INFO] [stdout] test src/logging/mod.rs - logging::new (line 58) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.84s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c96856baa5698d98506a8c23a25c43b91d3ab2d0faeb401ea4be31bdbb1450ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c96856baa5698d98506a8c23a25c43b91d3ab2d0faeb401ea4be31bdbb1450ab", kill_on_drop: false }` [INFO] [stdout] c96856baa5698d98506a8c23a25c43b91d3ab2d0faeb401ea4be31bdbb1450ab [INFO] testing csaide/prism against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsaide%2Fprism" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/csaide/prism on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/csaide/prism [INFO] finished tweaking git repo https://github.com/csaide/prism [INFO] tweaked toml for git repo https://github.com/csaide/prism written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/csaide/prism 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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f43d3eeb26f3eafd6cd43ffc0a1cf9745b1583e0845e3ad85bb9f2c0b8f80c7e [INFO] running `Command { std: "docker" "start" "-a" "f43d3eeb26f3eafd6cd43ffc0a1cf9745b1583e0845e3ad85bb9f2c0b8f80c7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f43d3eeb26f3eafd6cd43ffc0a1cf9745b1583e0845e3ad85bb9f2c0b8f80c7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f43d3eeb26f3eafd6cd43ffc0a1cf9745b1583e0845e3ad85bb9f2c0b8f80c7e", kill_on_drop: false }` [INFO] [stdout] f43d3eeb26f3eafd6cd43ffc0a1cf9745b1583e0845e3ad85bb9f2c0b8f80c7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14240e770592aadc5168058ccf89029d28b9f68d4832fede5e2ed16f55b55c98 [INFO] running `Command { std: "docker" "start" "-a" "14240e770592aadc5168058ccf89029d28b9f68d4832fede5e2ed16f55b55c98", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling prettyplease v0.1.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling erased-serde v0.3.20 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling matchit v0.5.0 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling slog-async v2.7.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_bytes v0.11.6 [INFO] [stderr] Compiling uuid v1.1.2 [INFO] [stderr] Compiling exitcode v1.1.2 [INFO] [stderr] Compiling slog-term v2.9.0 [INFO] [stderr] Compiling slog-json v2.6.1 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tokio v1.19.2 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tonic-build v0.7.2 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling tower v0.4.12 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling tower-http v0.3.4 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling signal-hook-tokio v0.3.1 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling tonic-reflection v0.4.0 [INFO] [stderr] Compiling tonic-health v0.6.0 [INFO] [stderr] Compiling axum-core v0.2.5 [INFO] [stderr] Compiling prism v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling axum v0.5.7 [INFO] [stderr] Compiling tonic v0.7.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/raft/consensus/quorum.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/raft/consensus/quorum.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let mut peer = match locked_peers.get_mut(&peer_id) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 14s [INFO] running `Command { std: "docker" "inspect" "14240e770592aadc5168058ccf89029d28b9f68d4832fede5e2ed16f55b55c98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14240e770592aadc5168058ccf89029d28b9f68d4832fede5e2ed16f55b55c98", kill_on_drop: false }` [INFO] [stdout] 14240e770592aadc5168058ccf89029d28b9f68d4832fede5e2ed16f55b55c98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77efda8458de92f5d59f8db19e45330f53dd62f1654922dab1c2beb2788ce5a7 [INFO] running `Command { std: "docker" "start" "-a" "77efda8458de92f5d59f8db19e45330f53dd62f1654922dab1c2beb2788ce5a7", kill_on_drop: false }` [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling tokio v1.19.2 [INFO] [stderr] Compiling semver v1.0.10 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling rstest_macros v0.14.0 [INFO] [stderr] Compiling predicates-tree v1.0.5 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling mockall_derive v0.11.1 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling tower v0.4.12 [INFO] [stderr] Compiling tower-http v0.3.4 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling signal-hook-tokio v0.3.1 [INFO] [stderr] Compiling predicates v2.1.1 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling fragile v1.2.1 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling tokio-test v0.4.2 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling axum v0.5.7 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling tonic v0.7.2 [INFO] [stderr] Compiling tonic-build v0.7.2 [INFO] [stderr] Compiling mockall v0.11.1 [INFO] [stderr] Compiling tonic-reflection v0.4.0 [INFO] [stderr] Compiling tonic-health v0.6.0 [INFO] [stderr] Compiling prism v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/raft/consensus/quorum.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/raft/consensus/quorum.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let mut peer = match locked_peers.get_mut(&peer_id) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rstest v0.15.0 [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/raft/consensus/frontend.rs:218:37 [INFO] [stdout] | [INFO] [stdout] 218 | use std::{collections::HashMap, sync::Arc, time::Duration}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | -------- the item `Arc` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `watch` is imported redundantly [INFO] [stdout] --> src/raft/consensus/frontend.rs:221:29 [INFO] [stdout] | [INFO] [stdout] 221 | use tokio::sync::{mpsc, watch}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | -------- the item `watch` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/raft/consensus/module.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/raft/consensus/quorum.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/raft/consensus/raft.rs:212:37 [INFO] [stdout] | [INFO] [stdout] 212 | use std::{collections::HashMap, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | use super::*; [INFO] [stdout] | -------- the item `Arc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/raft/consensus/quorum.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let mut peer = match locked_peers.get_mut(&peer_id) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3m 24s [INFO] running `Command { std: "docker" "inspect" "77efda8458de92f5d59f8db19e45330f53dd62f1654922dab1c2beb2788ce5a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77efda8458de92f5d59f8db19e45330f53dd62f1654922dab1c2beb2788ce5a7", kill_on_drop: false }` [INFO] [stdout] 77efda8458de92f5d59f8db19e45330f53dd62f1654922dab1c2beb2788ce5a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4643be98b296e101bc88ec857900170723098e9480bd8f6d6f7df7f4a934c4f0 [INFO] running `Command { std: "docker" "start" "-a" "4643be98b296e101bc88ec857900170723098e9480bd8f6d6f7df7f4a934c4f0", kill_on_drop: false }` [INFO] [stderr] warning: the item `Iterator` is imported redundantly [INFO] [stderr] --> src/raft/consensus/quorum.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::iter::Iterator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `Iterator` is already defined here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/raft/consensus/quorum.rs:131:17 [INFO] [stderr] | [INFO] [stderr] 131 | let mut peer = match locked_peers.get_mut(&peer_id) { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `prism` (lib) generated 2 warnings (run `cargo fix --lib -p prism` to apply 1 suggestion) [INFO] [stderr] warning: the item `Arc` is imported redundantly [INFO] [stderr] --> src/raft/consensus/frontend.rs:218:37 [INFO] [stderr] | [INFO] [stderr] 218 | use std::{collections::HashMap, sync::Arc, time::Duration}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 229 | use super::*; [INFO] [stderr] | -------- the item `Arc` is already imported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `watch` is imported redundantly [INFO] [stderr] --> src/raft/consensus/frontend.rs:221:29 [INFO] [stderr] | [INFO] [stderr] 221 | use tokio::sync::{mpsc, watch}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 229 | use super::*; [INFO] [stderr] | -------- the item `watch` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `HashMap` is imported redundantly [INFO] [stderr] --> src/raft/consensus/module.rs:191:9 [INFO] [stderr] | [INFO] [stderr] 191 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 203 | use super::*; [INFO] [stderr] | -------- the item `HashMap` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `Iterator` is imported redundantly [INFO] [stderr] --> src/raft/consensus/quorum.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::iter::Iterator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `Iterator` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `Arc` is imported redundantly [INFO] [stderr] --> src/raft/consensus/raft.rs:212:37 [INFO] [stderr] | [INFO] [stderr] 212 | use std::{collections::HashMap, sync::Arc}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 222 | use super::*; [INFO] [stderr] | -------- the item `Arc` is already imported here [INFO] [stderr] [INFO] [stderr] warning: `prism` (lib test) generated 6 warnings (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libprism-d33ec066f54204fa) [INFO] [stdout] [INFO] [stdout] running 195 tests [INFO] [stdout] test hash::tests::test_apply_deserialize_fail ... ok [INFO] [stdout] test hash::tests::test_apply::case_2_apply_remove ... ok [INFO] [stderr] Feb 29 20:17:51.297 CRIT Failed to parse provided configuration., error: error: Invalid value for '--number ': invalid digit found in string [INFO] [stderr] , version: 0.1.0, binary: bin [INFO] [stdout] prism 0.1.0test hash::tests::test_apply::case_1_apply ... ok [INFO] [stdout] test hash::tests::test_derived ... ok [INFO] [stdout] test base::tests::test_config::case_3 ... ok [INFO] [stdout] test base::tests::test_config::case_5 ... ok [INFO] [stdout] test base::tests::test_config::case_2 ... ok [INFO] [stdout] test hash::tests::test_read::case_1_happy_path ... ok [INFO] [stdout] test hash::tests::test_read_deserialize_fail ... ok [INFO] [stdout] test logging::error::tests::test_error ... ok [INFO] [stdout] test logging::filter::tests::test_filter ... ok [INFO] [stdout] test base::tests::test_config::case_4 ... ok [INFO] [stdout] test logging::config::tests::test_config ... ok [INFO] [stdout] test logging::level::tests::test_from_str::case_3_warn ... ok [INFO] [stdout] test base::tests::test_config::case_1 ... ok [INFO] [stdout] test logging::level::tests::test_derived ... ok [INFO] [stdout] test logging::level::tests::test_from_str::case_1_crit ... ok [INFO] [stdout] test logging::level::tests::test_from_str::case_2_error ... ok [INFO] [stdout] test hash::tests::test_read::case_2_empty ... ok [INFO] [stdout] test logging::level::tests::test_to_slog::case_2_error ... ok [INFO] [stdout] test logging::level::tests::test_to_slog::case_3_warn ... ok [INFO] [stdout] test logging::level::tests::test_from_str::case_4_info ... ok [INFO] [stdout] test logging::level::tests::test_from_str::case_6_fail ... ok [INFO] [stdout] test logging::level::tests::test_from_str::case_5_debug ... ok [INFO] [stdout] test logging::level::tests::test_to_slog::case_1_crit ... ok [INFO] [stdout] test logging::level::tests::test_to_slog::case_5_debug ... ok [INFO] [stdout] test raft::cluster::peer::tests::test_peer_vote ... ok [INFO] [stdout] test raft::cluster::peer::tests::test_peer_append ... ok [INFO] [stdout] test logging::tests::test_new::case_1_with_json ... ok [INFO] [stdout] test logging::level::tests::test_to_slog::case_4_info ... ok [INFO] [stdout] test logging::tests::test_new::case_2_with_json ... ok [INFO] [stdout] test raft::cluster::set::tests::test_cluster_set ... ok [INFO] [stdout] test logging::tests::test_default ... ok [INFO] [stdout] test raft::consensus::frontend::tests::test_read::case_2_not_leader ... ok [INFO] [stdout] test raft::consensus::frontend::tests::test_read::case_1_dead ... ok [INFO] [stdout] test raft::consensus::frontend::tests::test_mutation::case_2_not_leader ... ok [INFO] [stdout] test raft::consensus::frontend::tests::test_read::case_4_happy_path ... ok [INFO] [stdout] test raft::consensus::frontend::tests::test_read::case_3_no_quorum ... ok [INFO] [stdout] test raft::consensus::frontend::tests::test_registration::case_1_dead ... ok [INFO] [stdout] test raft::consensus::frontend::tests::test_mutation::case_3_leader ... ok [INFO] [stdout] test raft::consensus::frontend::tests::test_mutation::case_1_dead ... ok [INFO] [stdout] test raft::consensus::quorum::tests::test_quorum::case_2_not_leader ... ok [INFO] [stdout] test raft::consensus::quorum::tests::test_quorum::case_1_empty_peers ... ok [INFO] [stdout] test raft::consensus::frontend::tests::test_registration::case_2_not_leader ... ok [INFO] [stdout] test raft::consensus::frontend::tests::test_registration::case_3_leader ... ok [INFO] [stdout] test raft::consensus::cluster::tests::test_cluster::case_1_happy_path ... ok [INFO] [stdout] test raft::consensus::quorum::tests::test_quorum::case_3_happy_path ... ok [INFO] [stdout] test raft::consensus::quorum::tests::test_quorum::case_5_multiple_erroring_peers ... ok [INFO] [stdout] test raft::consensus::raft::tests::test_append_entries::case_1_dead ... ok [INFO] [stdout] test raft::consensus::quorum::tests::test_quorum::case_6_single_failure ... ok [INFO] [stdout] test raft::consensus::quorum::tests::test_quorum::case_4_single_erroring_peer ... ok [INFO] [stdout] test raft::consensus::quorum::tests::test_quorum::case_7_multiple_failure ... ok [INFO] [stdout] test raft::consensus::cluster::tests::test_cluster::case_2_dead ... ok [INFO] [stdout] test raft::consensus::raft::tests::test_append_entries::case_3_greater_term ... ok [INFO] [stdout] test raft::consensus::cluster::tests::test_cluster::case_3_follower ... ok [INFO] [stdout] test raft::consensus::raft::tests::test_append_entries::case_5_same_term_cluster_cfg ... ok [INFO] [stdout] test raft::consensus::raft::tests::test_append_entries::case_2_smaller_term ... ok [INFO] [stdout] test raft::error::tests::test_from ... ok [INFO] [stdout] test raft::error::tests::test_derived ... ok [INFO] [stdout] test raft::log::entry::tests::test_entry_command ... ok [INFO] [stdout] test raft::log::entry::tests::test_entry_config ... ok [INFO] [stdout] test raft::log::entry::tests::test_entry_noop ... ok [INFO] [stdout] test raft::log::entry::tests::test_entry_registration ... ok [INFO] [stdout] test raft::consensus::raft::tests::test_vote_request::case_2_greater_term ... ok [INFO] [stdout] test raft::consensus::repo::tests::test_repo ... ok [INFO] [stdout] test raft::consensus::raft::tests::test_append_entries::case_4_candidate_same_term ... ok [INFO] [stdout] test raft::log::entry::tests::test_models::case_1 ... ok [INFO] [stdout] test raft::log::entry::tests::test_models::case_2 ... ok [INFO] [stdout] test raft::log::entry::tests::test_term::case_2_cluster_config ... ok [INFO] [stdout] test raft::log::entry::tests::test_models::case_3 ... ok [INFO] [stdout] test raft::log::entry::tests::test_term::case_1_command ... ok [INFO] [stdout] test raft::log::entry::tests::test_serialization ... ok [INFO] [stdout] test raft::consensus::raft::tests::test_vote_request::case_1_dead ... ok [INFO] [stdout] test raft::consensus::raft::tests::test_append_entries::case_6_happy_path ... ok [INFO] [stdout] test raft::log::entry::tests::test_term::case_4_noop ... ok [INFO] [stdout] test raft::log::entry::tests::test_term::case_3_registration ... ok [INFO] [stdout] test raft::log::iter::tests::test_double_ended_iterator::case_2_happy ... ok [INFO] [stdout] test raft::log::iter::tests::test_double_ended_iterator::case_1_empty ... ok [INFO] [stdout] test raft::log::iter::tests::test_iter_entries::case_2_happy ... ok [INFO] [stdout] test raft::consensus::module::tests::test_module::case_1_happy_path ... ok [INFO] [stdout] test raft::log::iter::tests::test_iter_entries::case_1_empty ... ok [INFO] [stdout] test raft::log::iter::tests::test_iter_keys::case_1_empty ... ok [INFO] [stdout] test raft::log::iter::tests::test_iter_keys::case_2_happy ... ok [INFO] [stdout] test raft::log::iter::tests::test_iterator::case_1_empty ... ok [INFO] [stdout] test raft::log::iter::tests::test_iterator::case_2_happy ... ok [INFO] [stdout] test raft::log::store::tests::test_append_entries::case_1_simple ... ok [INFO] [stdout] test raft::log::store::tests::test_append_multiple_writers::case_1_simple ... ok [INFO] [stdout] test raft::log::store::tests::test_append_entries::case_2_overwrite ... ok [INFO] [stdout] test raft::log::store::tests::test_append_multiple_writers::case_2_dual_same_term ... ok [INFO] [stdout] test raft::log::store::tests::test_append_multiple_writers::case_3_triple_same_term ... ok [INFO] [stdout] test raft::log::store::tests::test_last_log_idx_and_term::case_1_single ... ok [INFO] [stdout] test raft::log::store::tests::test_last_log_idx_and_term::case_2_multiple_same_term ... ok [INFO] [stdout] test raft::log::utils::tests::test_map_bound::case_1_included ... ok [INFO] [stdout] test raft::log::store::tests::test_last_log_idx_and_term::case_3_multiple_diff_term ... ok [INFO] [stdout] test raft::log::utils::tests::test_map_bound::case_3_unbounded ... ok [INFO] [stdout] test raft::log::utils::tests::test_result_tuple_to_entry::case_1_error ... ok [INFO] [stdout] test raft::log::utils::tests::test_result_tuple_to_entry::case_2_valid ... ok [INFO] [stdout] test raft::log::utils::tests::test_map_bound::case_2_excluded ... ok [INFO] [stdout] test raft::log::utils::tests::test_result_tuple_to_key::case_1_error ... ok [INFO] [stdout] test raft::log::utils::tests::test_result_tuple_to_key::case_2_valid ... ok [INFO] [stdout] test raft::log::entry::tests::test_unwrap_command_panic - should panic ... ok [INFO] [stdout] test raft::log::utils::tests::test_result_tuple_to_key_entry::case_1_error ... ok [INFO] [stdout] test raft::log::entry::tests::test_unwrap_noop_panic - should panic ... ok [INFO] [stdout] test raft::log::entry::tests::test_unwrap_registration_panic - should panic ... ok [INFO] [stdout] test raft::log::entry::tests::test_term::case_5_none - should panic ... ok [INFO] [stdout] test raft::log::entry::tests::test_unwrap_config_panic - should panic ... ok [INFO] [stdout] test raft::log::utils::tests::test_result_tuple_to_key::case_3_invalid - should panic ... ok [INFO] [stdout] test raft::log::store::tests::test_append_entries::case_3_complex ... FAILED [INFO] [stdout] test raft::log::utils::tests::test_result_tuple_to_entry::case_3_invalid - should panic ... ok [INFO] [stdout] test raft::log::utils::tests::test_result_tuple_to_key_entry::case_3_invalid_entry - should panic ... ok [INFO] [stdout] test raft::models::tests::test_models::case_01 ... ok [INFO] [stdout] test raft::models::tests::test_models::case_02 ... ok [INFO] [stdout] test raft::log::utils::tests::test_result_tuple_to_key_entry::case_4_invalid_key - should panic ... ok [INFO] [stdout] test raft::models::tests::test_models::case_03 ... ok [INFO] [stdout] test raft::models::tests::test_models::case_04 ... ok [INFO] [stdout] test raft::models::tests::test_models::case_05 ... ok [INFO] [stdout] test raft::models::tests::test_models::case_06 ... ok [INFO] [stdout] test raft::models::tests::test_models::case_07 ... ok [INFO] [stdout] test raft::models::tests::test_models::case_08 ... ok [INFO] [stdout] test raft::models::tests::test_models::case_09 ... ok [INFO] [stdout] test raft::models::tests::test_models::case_10 ... ok [INFO] [stdout] test raft::models::tests::test_models::case_11 ... ok [INFO] [stdout] test raft::models::tests::test_models::case_13 ... ok [INFO] [stdout] test raft::models::tests::test_models::case_14 ... ok [INFO] [stdout] test raft::models::tests::test_models::case_15 ... ok [INFO] [stdout] test raft::state::atomic::index::tests::test_atomic_index ... ok [INFO] [stdout] test raft::state::atomic::leader::tests::test_atomic_leader ... ok [INFO] [stdout] test raft::state::atomic::mode::tests::test_atomic_mode::case_1_candidate ... ok [INFO] [stdout] test raft::state::atomic::mode::tests::test_atomic_mode::case_2_dead ... ok [INFO] [stdout] test raft::state::atomic::mode::tests::test_atomic_mode::case_3_follower ... ok [INFO] [stdout] test raft::state::atomic::mode::tests::test_atomic_mode::case_4_leader ... ok [INFO] [stdout] test raft::state::mode::tests::test_mode ... ok [INFO] [stdout] test raft::models::tests::test_models::case_16 ... ok [INFO] [stdout] test raft::models::tests::test_models::case_12 ... ok [INFO] [stdout] test raft::state::server_state::tests::test_index_handling ... ok [INFO] [stdout] test raft::log::utils::tests::test_result_tuple_to_key_entry::case_2_valid ... ok [INFO] [stdout] test raft::state::server_state::tests::test_mode_handling::case_3_follower ... ok [INFO] [stdout] test raft::state::server_state::tests::test_mode_handling::case_1_leader ... ok [INFO] [stdout] test raft::state::persistent::tests::test_current_term ... ok [INFO] [stdout] test raft::state::persistent::tests::test_voted_for ... ok [INFO] [stdout] test raft::state::server_state::tests::test_mode_handling::case_2_candidate ... ok [INFO] [stdout] test raft::state::server_state::tests::test_leader_tracking ... ok [INFO] [stdout] test raft::state::watcher::tests::test_register_command ... ok [INFO] [stdout] test raft::state::watcher::tests::test_register_cluster_cfg ... ok [INFO] [stdout] test raft::state::server_state::tests::test_transitions ... ok [INFO] [stdout] test raft::state::volatile::tests::test_volatile_state ... ok [INFO] [stdout] test raft::state::watcher::tests::test_register_registration ... ok [INFO] [stdout] test rpc::cluster::handler::tests::test_list ... ok [INFO] [stdout] test rpc::cluster::handler::tests::test_add ... ok [INFO] [stdout] test rpc::cluster::handler::tests::test_remove ... ok [INFO] [stdout] test rpc::cluster::proto::tests::test_add_request ... ok [INFO] [stdout] test rpc::cluster::proto::tests::test_list_request ... ok [INFO] [stdout] test rpc::cluster::proto::tests::test_list_response ... ok [INFO] [stdout] test rpc::cluster::proto::tests::test_add_response ... ok [INFO] [stdout] test raft::workers::candidate::tests::test_candidate_rpc_failure ... ok [INFO] [stdout] test raft::state::server_state::tests::test_mode_handling::case_4_dead ... ok [INFO] [stdout] test raft::workers::candidate::tests::test_candidate_reply_gt_term ... ok [INFO] [stdout] test rpc::cluster::proto::tests::test_remove_response ... ok [INFO] [stdout] test rpc::cluster::proto::tests::test_remove_request ... ok [INFO] [stdout] test raft::workers::candidate::tests::test_candidate_success ... ok [INFO] [stdout] test raft::workers::follower::tests::test_follower ... ok [INFO] [stdout] test rpc::frontend::handler::tests::test_mutate ... ok [INFO] [stdout] test rpc::frontend::handler::tests::test_register ... ok [INFO] [stdout] test rpc::frontend::proto::tests::test_register_request ... ok [INFO] [stdout] test rpc::frontend::handler::tests::test_read ... ok [INFO] [stdout] test rpc::frontend::proto::tests::test_mutate_request ... ok [INFO] [stdout] test rpc::frontend::proto::tests::test_read_request ... ok [INFO] [stdout] test rpc::raft::handler::tests::test_vote ... ok [INFO] [stdout] test rpc::raft::proto::tests::append::test_append_resp_to_raft_append_resp::case_1_happy_path ... ok [INFO] [stdout] test rpc::raft::proto::tests::append::test_append_to_raft_append::case_1_happy_path ... ok [INFO] [stdout] test rpc::raft::proto::tests::append::test_raft_append_resp_to_append_resp ... ok [INFO] [stdout] test rpc::raft::proto::tests::append::test_raft_append_to_append ... ok [INFO] [stdout] test rpc::raft::proto::tests::entry_and_payload::test_entry_from_raft_entry ... ok [INFO] [stdout] test rpc::raft::proto::tests::entry_and_payload::test_entry_payload_from_raft_entry::case_1_command ... ok [INFO] [stdout] test rpc::frontend::proto::tests::test_register_response ... ok [INFO] [stdout] test rpc::frontend::proto::tests::test_read_response ... ok [INFO] [stdout] test rpc::raft::proto::tests::entry_and_payload::test_entry_payload_from_raft_entry::case_2_conig ... ok [INFO] [stdout] test rpc::interceptor::tests::test_interceptor ... ok [INFO] [stdout] test raft::workers::candidate::tests::test_candidate_step_down ... ok [INFO] [stdout] test rpc::frontend::proto::tests::test_mutate_response ... ok [INFO] [stdout] test rpc::raft::proto::tests::entry_and_payload::test_entry_payload_from_raft_entry::case_4_noop ... ok [INFO] [stdout] test rpc::raft::proto::tests::entry_and_payload::test_raft_entry_from_entry::case_1_some ... ok [INFO] [stdout] test rpc::raft::proto::tests::entry_and_payload::test_raft_entry_from_entry_payload::case_1_command ... ok [INFO] [stdout] test rpc::raft::proto::tests::entry_and_payload::test_raft_entry_from_entry_payload::case_4_noop ... ok [INFO] [stdout] test rpc::raft::handler::tests::test_append ... ok [INFO] [stdout] test rpc::raft::proto::tests::entry_and_payload::test_raft_entry_from_entry_payload::case_2_config ... ok [INFO] [stdout] test rpc::raft::proto::tests::vote::test_raft_vote_resp_to_vote_resp ... ok [INFO] [stdout] test rpc::raft::proto::tests::vote::test_vote_to_raft_vote::case_1_happy_path ... ok [INFO] [stdout] test rpc::raft::proto::tests::vote::test_vote_resp_to_raft_vote_resp::case_1_happy_path ... ok [INFO] [stdout] test rpc::raft::proto::tests::entry_and_payload::test_entry_payload_from_raft_entry::case_3_registration ... ok [INFO] [stdout] test rpc::raft::proto::tests::vote::test_raft_vote_to_vote ... ok [INFO] [stdout] test rpc::raft::proto::tests::entry_and_payload::test_raft_entry_from_entry::case_2_none - should panic ... ok [INFO] [stdout] test rpc::raft::proto::tests::entry_and_payload::test_entry_payload_from_raft_entry::case_5_none - should panic ... ok [INFO] [stdout] test rpc::raft::proto::tests::entry_and_payload::test_raft_entry_from_entry_payload::case_3_registration ... ok [INFO] [stdout] test rpc::server::tests::test_server ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- raft::log::store::tests::test_append_entries::case_3_complex stdout ---- [INFO] [stdout] -------------- TEST START -------------- [INFO] [stdout] thread 'raft::log::store::tests::test_append_entries::case_3_complex' panicked at src/raft/log/store.rs:317:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Noop(1), Noop(2), Noop(3), Noop(4), Noop(5), Noop(6), Noop(7), Noop(8), Noop(9), Noop(10), Noop(11), Noop(12)] [INFO] [stdout] right: [Noop(1), Noop(2), Noop(3), Registration(7), Registration(8), Registration(9), Registration(10), Registration(11), Registration(12)] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x560d3086cc76 - std::backtrace_rs::backtrace::libunwind::trace::hbf3981e6c8a62f19 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x560d3086cc76 - std::backtrace_rs::backtrace::trace_unsynchronized::h5d13053d67c404cc [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x560d3086cc76 - std::sys_common::backtrace::_print_fmt::hd24dc5b701eaf8ad [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x560d3086cc76 - ::fmt::h1d0155c7c5a7d116 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x560d3089b2ac - core::fmt::rt::Argument::fmt::h462c7a4781d69908 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x560d3089b2ac - core::fmt::write::h3cadc3d0c35667c3 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x560d3086933f - std::io::Write::write_fmt::h7b46babfe8aff3fc [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/io/mod.rs:1846:15 [INFO] [stdout] 7: 0x560d3086ca24 - std::sys_common::backtrace::_print::h21e0ad4a03aa55df [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x560d3086ca24 - std::sys_common::backtrace::print::hb7cfd89cda9bdca7 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x560d3086e71b - std::panicking::default_hook::{{closure}}::hceb0cad555a61bc8 [INFO] [stdout] 10: 0x560d3086e3ed - std::panicking::default_hook::h00eb745c4c12778b [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x560d30697ca7 - as core::ops::function::Fn>::call::h6a7083dbc9bd7b5f [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 12: 0x560d30697ca7 - test::test_main::{{closure}}::h4db87ac2515c25e3 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:137:21 [INFO] [stdout] 13: 0x560d3086ed50 - as core::ops::function::Fn>::call::hf3b7bc2e2257730b [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 14: 0x560d3086ed50 - std::panicking::rust_panic_with_hook::hccddb3269d601551 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:786:13 [INFO] [stdout] 15: 0x560d3086ea92 - std::panicking::begin_panic_handler::{{closure}}::h1759cdf989495c64 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:660:13 [INFO] [stdout] 16: 0x560d3086d156 - std::sys_common::backtrace::__rust_end_short_backtrace::h209794238b4d13a4 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x560d3086e7c4 - rust_begin_unwind [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:648:5 [INFO] [stdout] 18: 0x560d30369c45 - core::panicking::panic_fmt::ha17ebef8fbaa0a3e [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x560d30369fcb - core::panicking::assert_failed_inner::ha58dcb02ce0b2e95 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panicking.rs:342:17 [INFO] [stdout] 20: 0x560d3034c26f - core::panicking::assert_failed::h2399d2e7aca387a9 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panicking.rs:297:5 [INFO] [stdout] 21: 0x560d30446096 - libprism::raft::log::store::tests::test_append_entries::h600a881831f297a1 [INFO] [stdout] at /opt/rustwide/workdir/src/raft/log/store.rs:317:9 [INFO] [stdout] 22: 0x560d304470b0 - libprism::raft::log::store::tests::test_append_entries::case_3_complex::ha0a340c86dc31b0a [INFO] [stdout] at /opt/rustwide/workdir/src/raft/log/store.rs:266:5 [INFO] [stdout] 23: 0x560d3048cf89 - libprism::raft::log::store::tests::test_append_entries::case_3_complex::{{closure}}::hfc93fcf4d0b77f34 [INFO] [stdout] at /opt/rustwide/workdir/src/raft/log/store.rs:266:14 [INFO] [stdout] 24: 0x560d3048cf89 - core::ops::function::FnOnce::call_once::hf389dc0eac1b619a [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x560d3069d4af - core::ops::function::FnOnce::call_once::hb293dddd1a0c8d0c [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x560d3069d4af - test::__rust_begin_short_backtrace::hcc33cf50a0d42744 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:620:18 [INFO] [stdout] 27: 0x560d3069c020 - test::run_test_in_process::{{closure}}::h1a67b8b225cf5559 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:643:60 [INFO] [stdout] 28: 0x560d3069c020 - as core::ops::function::FnOnce<()>>::call_once::h6c8366f6b1a529d0 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x560d3069c020 - std::panicking::try::do_call::h3ac771f4eea356d5 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:555:40 [INFO] [stdout] 30: 0x560d3069c020 - std::panicking::try::h2b1799e4f57e5bcf [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:519:19 [INFO] [stdout] 31: 0x560d3069c020 - std::panic::catch_unwind::h0a3cc3fea72ac271 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panic.rs:142:14 [INFO] [stdout] 32: 0x560d3069c020 - test::run_test_in_process::h47356101e0c4cc43 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:643:27 [INFO] [stdout] 33: 0x560d3069c020 - test::run_test::{{closure}}::hfc86d13e98ee1936 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:566:43 [INFO] [stdout] 34: 0x560d30664363 - test::run_test::{{closure}}::h077c30ad86447616 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:594:41 [INFO] [stdout] 35: 0x560d30664363 - std::sys_common::backtrace::__rust_begin_short_backtrace::h7a0647371687c548 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 36: 0x560d30668fff - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h0ade0df8a561803e [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/thread/mod.rs:528:17 [INFO] [stdout] 37: 0x560d30668fff - as core::ops::function::FnOnce<()>>::call_once::h94e6781319385c1d [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x560d30668fff - std::panicking::try::do_call::h2d8e7d2812ed142e [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:555:40 [INFO] [stdout] 39: 0x560d30668fff - std::panicking::try::hfec8a6adb9bfcaea [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:519:19 [INFO] [stdout] 40: 0x560d30668fff - std::panic::catch_unwind::hf488fb91a41eb5b5 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panic.rs:142:14 [INFO] [stdout] 41: 0x560d30668fff - std::thread::Builder::spawn_unchecked_::{{closure}}::h306975a3cadd5153 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/thread/mod.rs:527:30 [INFO] [stdout] 42: 0x560d30668fff - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4f4ed26f27d558ae [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x560d30874515 - as core::ops::function::FnOnce>::call_once::h17d6fdbdde1f730c [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 44: 0x560d30874515 - as core::ops::function::FnOnce>::call_once::h298d88b0d0cf4d06 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 45: 0x560d30874515 - std::sys::pal::unix::thread::Thread::new::thread_start::h1ecd97591626fa72 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 46: 0x7f6afd052ac3 - [INFO] [stdout] 47: 0x7f6afd0e3bf4 - __clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] raft::log::store::tests::test_append_entries::case_3_complex [INFO] [stdout] [INFO] [stdout] test result: FAILED. 194 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.75s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "4643be98b296e101bc88ec857900170723098e9480bd8f6d6f7df7f4a934c4f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4643be98b296e101bc88ec857900170723098e9480bd8f6d6f7df7f4a934c4f0", kill_on_drop: false }` [INFO] [stdout] 4643be98b296e101bc88ec857900170723098e9480bd8f6d6f7df7f4a934c4f0