[INFO] cloning repository https://github.com/sambhav-jain-16/raft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sambhav-jain-16/raft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsambhav-jain-16%2Fraft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsambhav-jain-16%2Fraft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02ed599cb6cdd96ef814da721646028a528df555 [INFO] testing sambhav-jain-16/raft against try#a7ee93192a766fb0dafa23def7154fc03cfcfc3e for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsambhav-jain-16%2Fraft" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sambhav-jain-16/raft [INFO] finished tweaking git repo https://github.com/sambhav-jain-16/raft [INFO] tweaked toml for git repo https://github.com/sambhav-jain-16/raft written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sambhav-jain-16/raft on toolchain a7ee93192a766fb0dafa23def7154fc03cfcfc3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sambhav-jain-16/raft 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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5b15df46300b5bd92bcbf2dfca59064412f13f98f4b812aa89358445b65e918 [INFO] running `Command { std: "docker" "start" "-a" "f5b15df46300b5bd92bcbf2dfca59064412f13f98f4b812aa89358445b65e918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5b15df46300b5bd92bcbf2dfca59064412f13f98f4b812aa89358445b65e918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5b15df46300b5bd92bcbf2dfca59064412f13f98f4b812aa89358445b65e918", kill_on_drop: false }` [INFO] [stdout] f5b15df46300b5bd92bcbf2dfca59064412f13f98f4b812aa89358445b65e918 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b66a32e62e49dea6549afb549f027f0edcb59067189d307243e12c643bd289d [INFO] running `Command { std: "docker" "start" "-a" "4b66a32e62e49dea6549afb549f027f0edcb59067189d307243e12c643bd289d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling raft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/node.rs:401:24 [INFO] [stdout] | [INFO] [stdout] 401 | if let Err(e) = result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_heartbeat`, `is_active`, `retry_count`, and `last_error` are never read [INFO] [stdout] --> src/network.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Connection { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 13 | stream: TcpStream, [INFO] [stdout] 14 | last_heartbeat: Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | is_active: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | retry_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | last_error: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_id`, `message_receiver`, and `connection_timeout` are never read [INFO] [stdout] --> src/network.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Network { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 39 | node_id: NodeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | message_receiver: mpsc::Receiver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | connection_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `command` is never read [INFO] [stdout] --> src/node.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct PendingRequest { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | command: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PendingRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.58s [INFO] running `Command { std: "docker" "inspect" "4b66a32e62e49dea6549afb549f027f0edcb59067189d307243e12c643bd289d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b66a32e62e49dea6549afb549f027f0edcb59067189d307243e12c643bd289d", kill_on_drop: false }` [INFO] [stdout] 4b66a32e62e49dea6549afb549f027f0edcb59067189d307243e12c643bd289d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b7190e11ca687335b030796bb64edd222d7b6c0aea0bf94bc4e1ebd27545c18 [INFO] running `Command { std: "docker" "start" "-a" "6b7190e11ca687335b030796bb64edd222d7b6c0aea0bf94bc4e1ebd27545c18", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling raft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/node.rs:401:24 [INFO] [stdout] | [INFO] [stdout] 401 | if let Err(e) = result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_heartbeat`, `is_active`, `retry_count`, and `last_error` are never read [INFO] [stdout] --> src/network.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Connection { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 13 | stream: TcpStream, [INFO] [stdout] 14 | last_heartbeat: Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | is_active: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | retry_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | last_error: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_id`, `message_receiver`, and `connection_timeout` are never read [INFO] [stdout] --> src/network.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Network { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 39 | node_id: NodeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | message_receiver: mpsc::Receiver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | connection_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `command` is never read [INFO] [stdout] --> src/node.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct PendingRequest { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | command: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PendingRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/node.rs:401:24 [INFO] [stdout] | [INFO] [stdout] 401 | if let Err(e) = result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_heartbeat`, `is_active`, `retry_count`, and `last_error` are never read [INFO] [stdout] --> src/network.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Connection { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 13 | stream: TcpStream, [INFO] [stdout] 14 | last_heartbeat: Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | is_active: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | retry_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | last_error: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_id`, `message_receiver`, and `connection_timeout` are never read [INFO] [stdout] --> src/network.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Network { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 39 | node_id: NodeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | message_receiver: mpsc::Receiver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | connection_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `command` is never read [INFO] [stdout] --> src/node.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct PendingRequest { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | command: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PendingRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.26s [INFO] running `Command { std: "docker" "inspect" "6b7190e11ca687335b030796bb64edd222d7b6c0aea0bf94bc4e1ebd27545c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b7190e11ca687335b030796bb64edd222d7b6c0aea0bf94bc4e1ebd27545c18", kill_on_drop: false }` [INFO] [stdout] 6b7190e11ca687335b030796bb64edd222d7b6c0aea0bf94bc4e1ebd27545c18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5e33746921ad034efb4947eb2995a43c8b1a609d03cc5f80f417c9ad8d2e4c78 [INFO] running `Command { std: "docker" "start" "-a" "5e33746921ad034efb4947eb2995a43c8b1a609d03cc5f80f417c9ad8d2e4c78", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/node.rs:401:24 [INFO] [stderr] | [INFO] [stderr] 401 | if let Err(e) = result { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `last_heartbeat`, `is_active`, `retry_count`, and `last_error` are never read [INFO] [stderr] --> src/network.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Connection { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 13 | stream: TcpStream, [INFO] [stderr] 14 | last_heartbeat: Instant, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 15 | is_active: bool, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 16 | retry_count: u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 17 | last_error: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `node_id`, `message_receiver`, and `connection_timeout` are never read [INFO] [stderr] --> src/network.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 38 | pub struct Network { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 39 | node_id: NodeId, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | message_receiver: mpsc::Receiver, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 45 | connection_timeout: Duration, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `command` is never read [INFO] [stderr] --> src/node.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct PendingRequest { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 23 | command: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PendingRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `raft` (lib) generated 4 warnings (run `cargo fix --lib -p raft` to apply 1 suggestion) [INFO] [stderr] warning: `raft` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/raft-93a5b4b00b51ea4a) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test network::tests::test_add_and_remove_nodes ... ok [INFO] [stdout] test network::tests::test_broadcast_with_no_connections ... ok [INFO] [stdout] test network::tests::test_connection_status ... ok [INFO] [stdout] test network::tests::test_connect_to_unknown_node ... ok [INFO] [stdout] test network::tests::test_network_creation ... ok [INFO] [stdout] test timer::tests::test_election_timeout_randomness ... ok [INFO] [stdout] test network::tests::test_retry_strategies ... ok [INFO] [stdout] test timer::tests::test_timer_creation ... ok [INFO] [stdout] test timer::tests::test_timer_reset ... ok [INFO] [stdout] test timer::tests::test_timer_start_stop ... ok [INFO] [stdout] test timer::tests::test_remaining_time ... ok [INFO] [stdout] test network::tests::test_message_serialization ... ok [INFO] [stdout] test network::tests::test_tcp_message_exchange ... ok [INFO] [stdout] test timer::tests::test_async_wait_with_timeout ... ok [INFO] [stdout] test timer::tests::test_async_wait_for_expiry ... ok [INFO] [stdout] test timer::tests::test_async_wait_with_longer_timeout ... ok [INFO] [stdout] test timer::tests::test_timer_not_expired_when_stopped ... ok [INFO] [stdout] test timer::tests::test_async_wait_until_expired ... FAILED [INFO] [stdout] test timer::tests::test_heartbeat_timeout ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- timer::tests::test_async_wait_until_expired stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'timer::tests::test_async_wait_until_expired' (34) panicked at src/timer.rs:257:9: [INFO] [stdout] assertion failed: elapsed >= Duration::from_millis(50) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x597c8f4d32d2 - std[b14e17aa63033746]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x597c8f4d32d2 - std[b14e17aa63033746]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x597c8f4d32d2 - std[b14e17aa63033746]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x597c8f4d32d2 - <::print::DisplayBacktrace as core[7ebf52c056bd56a4]::fmt::Display>::fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x597c8f4e92aa - ::fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x597c8f4e92aa - core[7ebf52c056bd56a4]::fmt::write [INFO] [stdout] 6: 0x597c8f4d8326 - std[b14e17aa63033746]::io::default_write_fmt::> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x597c8f4d8326 - as std[b14e17aa63033746]::io::Write>::write_fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x597c8f4b11bf - ::print [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x597c8f4b11bf - std[b14e17aa63033746]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x597c8f4cb3e9 - std[b14e17aa63033746]::panicking::default_hook [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x597c8f36848e - core[7ebf52c056bd56a4]::ops::function::Fn<(&'a std[b14e17aa63033746]::panic::PanicHookInfo<'b>,), Output = ()> + core[7ebf52c056bd56a4]::marker::Send + core[7ebf52c056bd56a4]::marker::Sync> as core[7ebf52c056bd56a4]::ops::function::Fn<(&std[b14e17aa63033746]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 12: 0x597c8f36848e - test[3318909d72adbd73]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x597c8f4cb652 - core[7ebf52c056bd56a4]::ops::function::Fn<(&'a std[b14e17aa63033746]::panic::PanicHookInfo<'b>,), Output = ()> + core[7ebf52c056bd56a4]::marker::Send + core[7ebf52c056bd56a4]::marker::Sync> as core[7ebf52c056bd56a4]::ops::function::Fn<(&std[b14e17aa63033746]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 14: 0x597c8f4cb652 - std[b14e17aa63033746]::panicking::panic_with_hook [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x597c8f4b12aa - std[b14e17aa63033746]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:691:13 [INFO] [stdout] 16: 0x597c8f4a8ca9 - std[b14e17aa63033746]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x597c8f4b20cd - __rustc[f8abce35e9738d16]::rust_begin_unwind [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x597c8f4e99ec - core[7ebf52c056bd56a4]::panicking::panic_fmt [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x597c8f4e99b2 - core[7ebf52c056bd56a4]::panicking::panic [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/panicking.rs:150:5 [INFO] [stdout] 20: 0x597c8f34d6a9 - raft[c30369f7145cde3d]::timer::tests::test_async_wait_until_expired::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/timer.rs:257:9 [INFO] [stdout] 21: 0x597c8f34f872 - > as core[7ebf52c056bd56a4]::future::future::Future>::poll [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/future/future.rs:133:9 [INFO] [stdout] 22: 0x597c8f34f8ed - >> as core[7ebf52c056bd56a4]::future::future::Future>::poll [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/future/future.rs:133:9 [INFO] [stdout] 23: 0x597c8f32922d - ::block_on::>>>::{closure#0}::{closure#0}::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:733:70 [INFO] [stdout] 24: 0x597c8f32912b - tokio[38bcd8a479a5806d]::task::coop::with_budget::, ::block_on>>>::{closure#0}::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/task/coop/mod.rs:167:5 [INFO] [stdout] 25: 0x597c8f32912b - tokio[38bcd8a479a5806d]::task::coop::budget::, ::block_on>>>::{closure#0}::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/task/coop/mod.rs:133:5 [INFO] [stdout] 26: 0x597c8f32912b - ::block_on::>>>::{closure#0}::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:733:25 [INFO] [stdout] 27: 0x597c8f324ff0 - ::enter::, ::block_on>>>::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:432:19 [INFO] [stdout] 28: 0x597c8f3284cd - ::block_on::>>>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:732:44 [INFO] [stdout] 29: 0x597c8f3277c4 - ::enter::<::block_on>>>::{closure#0}, core[7ebf52c056bd56a4]::option::Option<()>>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:820:68 [INFO] [stdout] 30: 0x597c8f35861b - >::set::<::enter<::block_on>>>::{closure#0}, core[7ebf52c056bd56a4]::option::Option<()>>::{closure#0}, (alloc[ed4a2d6a5f8966cc]::boxed::Box, core[7ebf52c056bd56a4]::option::Option<()>)> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 31: 0x597c8f32f269 - tokio[38bcd8a479a5806d]::runtime::context::set_scheduler::<(alloc[ed4a2d6a5f8966cc]::boxed::Box, core[7ebf52c056bd56a4]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[7ebf52c056bd56a4]::option::Option<()>>::{closure#0}>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/context.rs:176:38 [INFO] [stdout] 32: 0x597c8f33dcd2 - >::try_with::, core[7ebf52c056bd56a4]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[7ebf52c056bd56a4]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[ed4a2d6a5f8966cc]::boxed::Box, core[7ebf52c056bd56a4]::option::Option<()>)> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/thread/local.rs:513:12 [INFO] [stdout] 33: 0x597c8f33d85e - >::with::, core[7ebf52c056bd56a4]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[7ebf52c056bd56a4]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[ed4a2d6a5f8966cc]::boxed::Box, core[7ebf52c056bd56a4]::option::Option<()>)> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/thread/local.rs:477:20 [INFO] [stdout] 34: 0x597c8f32d9ad - tokio[38bcd8a479a5806d]::runtime::context::set_scheduler::<(alloc[ed4a2d6a5f8966cc]::boxed::Box, core[7ebf52c056bd56a4]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[7ebf52c056bd56a4]::option::Option<()>>::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/context.rs:176:17 [INFO] [stdout] 35: 0x597c8f3266a0 - ::enter::<::block_on>>>::{closure#0}, core[7ebf52c056bd56a4]::option::Option<()>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:820:27 [INFO] [stdout] 36: 0x597c8f326996 - ::block_on::>>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:720:24 [INFO] [stdout] 37: 0x597c8f327070 - ::block_on::>>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:200:33 [INFO] [stdout] 38: 0x597c8f341f33 - tokio[38bcd8a479a5806d]::runtime::context::runtime::enter_runtime::<::block_on>>::{closure#0}, ()> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 39: 0x597c8f324a71 - ::block_on::>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/scheduler/current_thread/mod.rs:188:9 [INFO] [stdout] 40: 0x597c8f32d314 - ::block_on_inner::>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/runtime.rs:356:52 [INFO] [stdout] 41: 0x597c8f32d4d7 - ::block_on::>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/runtime/runtime.rs:330:18 [INFO] [stdout] 42: 0x597c8f34f090 - raft[c30369f7145cde3d]::timer::tests::test_async_wait_until_expired [INFO] [stdout] at /opt/rustwide/workdir/src/timer.rs:257:54 [INFO] [stdout] 43: 0x597c8f34cc67 - raft[c30369f7145cde3d]::timer::tests::test_async_wait_until_expired::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/timer.rs:247:45 [INFO] [stdout] 44: 0x597c8f3243a6 - >::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x597c8f35c83b - core[7ebf52c056bd56a4]::result::Result<(), alloc[ed4a2d6a5f8966cc]::string::String> as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x597c8f35c83b - test[3318909d72adbd73]::__rust_begin_short_backtrace::, fn() -> core[7ebf52c056bd56a4]::result::Result<(), alloc[ed4a2d6a5f8966cc]::string::String>> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:663:18 [INFO] [stdout] 47: 0x597c8f36909a - test[3318909d72adbd73]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:686:74 [INFO] [stdout] 48: 0x597c8f36909a - as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 49: 0x597c8f36909a - std[b14e17aa63033746]::panicking::catch_unwind::do_call::, core[7ebf52c056bd56a4]::result::Result<(), alloc[ed4a2d6a5f8966cc]::string::String>> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:581:40 [INFO] [stdout] 50: 0x597c8f36909a - std[b14e17aa63033746]::panicking::catch_unwind::, core[7ebf52c056bd56a4]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:544:19 [INFO] [stdout] 51: 0x597c8f36909a - std[b14e17aa63033746]::panic::catch_unwind::, core[7ebf52c056bd56a4]::result::Result<(), alloc[ed4a2d6a5f8966cc]::string::String>> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panic.rs:359:14 [INFO] [stdout] 52: 0x597c8f36909a - test[3318909d72adbd73]::run_test_in_process [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:686:27 [INFO] [stdout] 53: 0x597c8f36909a - test[3318909d72adbd73]::run_test::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:607:43 [INFO] [stdout] 54: 0x597c8f364644 - test[3318909d72adbd73]::run_test::{closure#1} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/test/src/lib.rs:637:41 [INFO] [stdout] 55: 0x597c8f364644 - std[b14e17aa63033746]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 56: 0x597c8f36bb92 - std[b14e17aa63033746]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 57: 0x597c8f36bb92 - ::{closure#1}::{closure#0}> as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 58: 0x597c8f36bb92 - std[b14e17aa63033746]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:581:40 [INFO] [stdout] 59: 0x597c8f36bb92 - std[b14e17aa63033746]::panicking::catch_unwind::<(), core[7ebf52c056bd56a4]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panicking.rs:544:19 [INFO] [stdout] 60: 0x597c8f36bb92 - std[b14e17aa63033746]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/panic.rs:359:14 [INFO] [stdout] 61: 0x597c8f36bb92 - std[b14e17aa63033746]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 62: 0x597c8f36bb92 - ::{closure#1} as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 63: 0x597c8f4d2b6f - + core[7ebf52c056bd56a4]::marker::Send> as core[7ebf52c056bd56a4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 64: 0x597c8f4d2b6f - ::new::thread_start [INFO] [stdout] at /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/sys/thread/unix.rs:127:17 [INFO] [stdout] 65: 0x7e48c60e4aa4 - [INFO] [stdout] 66: 0x7e48c6171a64 - clone [INFO] [stdout] 67: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] timer::tests::test_async_wait_until_expired [INFO] [stdout] [INFO] [stdout] test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "5e33746921ad034efb4947eb2995a43c8b1a609d03cc5f80f417c9ad8d2e4c78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e33746921ad034efb4947eb2995a43c8b1a609d03cc5f80f417c9ad8d2e4c78", kill_on_drop: false }` [INFO] [stdout] 5e33746921ad034efb4947eb2995a43c8b1a609d03cc5f80f417c9ad8d2e4c78