[INFO] fetching crate saorsa-gossip-simulator 0.1.8... [INFO] testing saorsa-gossip-simulator-0.1.8 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate saorsa-gossip-simulator 0.1.8 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate saorsa-gossip-simulator 0.1.8 [INFO] finished tweaking crates.io crate saorsa-gossip-simulator 0.1.8 [INFO] tweaked toml for crates.io crate saorsa-gossip-simulator 0.1.8 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate saorsa-gossip-simulator 0.1.8 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate saorsa-gossip-simulator 0.1.8 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 484f5f53c60bc9dbcdea157dc2b11e9b4df2cd307ebc2adb695fd3b05a6a6c6d [INFO] running `Command { std: "docker" "start" "-a" "484f5f53c60bc9dbcdea157dc2b11e9b4df2cd307ebc2adb695fd3b05a6a6c6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "484f5f53c60bc9dbcdea157dc2b11e9b4df2cd307ebc2adb695fd3b05a6a6c6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "484f5f53c60bc9dbcdea157dc2b11e9b4df2cd307ebc2adb695fd3b05a6a6c6d", kill_on_drop: false }` [INFO] [stdout] 484f5f53c60bc9dbcdea157dc2b11e9b4df2cd307ebc2adb695fd3b05a6a6c6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a0e724c6a834c514d81e587dcbdf8cf7045d83359cd0c156cba9d08062c47cf [INFO] running `Command { std: "docker" "start" "-a" "5a0e724c6a834c514d81e587dcbdf8cf7045d83359cd0c156cba9d08062c47cf", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling quinn-udp v0.5.14 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling unty v0.0.4 [INFO] [stderr] Compiling aws-lc-rs v1.14.1 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling lru-slab v0.1.2 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Compiling bincode v2.0.1 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.2.40 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.3.1 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling aws-lc-sys v0.32.2 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rustls-webpki v0.103.7 [INFO] [stderr] Compiling rcgen v0.14.5 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling fips205 v0.4.1 [INFO] [stderr] Compiling fips204 v0.4.6 [INFO] [stderr] Compiling fips203 v0.4.3 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hpke v0.13.0 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling saorsa-gossip-types v0.1.6 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling saorsa-pqc v0.3.14 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling rustls-platform-verifier v0.6.1 [INFO] [stderr] Compiling ant-quic v0.10.3 [INFO] [stderr] Compiling saorsa-gossip-transport v0.1.7 [INFO] [stderr] Compiling saorsa-gossip-simulator v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/lib.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | use tokio::time::{self, Instant as TokioInstant}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `virtual_time` is never read [INFO] [stdout] --> src/lib.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct NetworkSimulator { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 171 | virtual_time: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cleanup_expired_events` is never used [INFO] [stdout] --> src/lib.rs:834:14 [INFO] [stdout] | [INFO] [stdout] 656 | impl ChaosInjector { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 834 | async fn cleanup_expired_events(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_to_peer` is never read [INFO] [stdout] --> src/simulated_transport.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct SimulatedGossipTransport { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | node_to_peer: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 48s [INFO] running `Command { std: "docker" "inspect" "5a0e724c6a834c514d81e587dcbdf8cf7045d83359cd0c156cba9d08062c47cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a0e724c6a834c514d81e587dcbdf8cf7045d83359cd0c156cba9d08062c47cf", kill_on_drop: false }` [INFO] [stdout] 5a0e724c6a834c514d81e587dcbdf8cf7045d83359cd0c156cba9d08062c47cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00f87f220aba77c39bb3267ba35611430ec666ad8ad9b71c108656e9172cb9aa [INFO] running `Command { std: "docker" "start" "-a" "00f87f220aba77c39bb3267ba35611430ec666ad8ad9b71c108656e9172cb9aa", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling hpke v0.13.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v1.8.0 [INFO] [stderr] Compiling saorsa-pqc v0.3.14 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling ant-quic v0.10.3 [INFO] [stderr] Compiling saorsa-gossip-transport v0.1.7 [INFO] [stderr] Compiling saorsa-gossip-simulator v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/lib.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | use tokio::time::{self, Instant as TokioInstant}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `virtual_time` is never read [INFO] [stdout] --> src/lib.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct NetworkSimulator { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 171 | virtual_time: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cleanup_expired_events` is never used [INFO] [stdout] --> src/lib.rs:834:14 [INFO] [stdout] | [INFO] [stdout] 656 | impl ChaosInjector { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 834 | async fn cleanup_expired_events(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_to_peer` is never read [INFO] [stdout] --> src/simulated_transport.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct SimulatedGossipTransport { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | node_to_peer: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/lib.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | use tokio::time::{self, Instant as TokioInstant}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transport2` [INFO] [stdout] --> src/simulated_transport.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | let transport2 = network.add_peer(peer2, 1).await; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transport2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:913:13 [INFO] [stdout] | [INFO] [stdout] 913 | let mut simulator = NetworkSimulator::new().with_nodes(3); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `virtual_time` is never read [INFO] [stdout] --> src/lib.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct NetworkSimulator { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 171 | virtual_time: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cleanup_expired_events` is never used [INFO] [stdout] --> src/lib.rs:834:14 [INFO] [stdout] | [INFO] [stdout] 656 | impl ChaosInjector { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 834 | async fn cleanup_expired_events(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_to_peer` is never read [INFO] [stdout] --> src/simulated_transport.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct SimulatedGossipTransport { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | node_to_peer: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 47.34s [INFO] running `Command { std: "docker" "inspect" "00f87f220aba77c39bb3267ba35611430ec666ad8ad9b71c108656e9172cb9aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00f87f220aba77c39bb3267ba35611430ec666ad8ad9b71c108656e9172cb9aa", kill_on_drop: false }` [INFO] [stdout] 00f87f220aba77c39bb3267ba35611430ec666ad8ad9b71c108656e9172cb9aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 077d97b8c43211f95b650210353afc98b947cdec0fcf128aad2287521796e449 [INFO] running `Command { std: "docker" "start" "-a" "077d97b8c43211f95b650210353afc98b947cdec0fcf128aad2287521796e449", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Instant` [INFO] [stderr] --> src/lib.rs:49:27 [INFO] [stderr] | [INFO] [stderr] 49 | use std::time::{Duration, Instant}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/lib.rs:51:19 [INFO] [stderr] | [INFO] [stderr] 51 | use tokio::time::{self, Instant as TokioInstant}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `virtual_time` is never read [INFO] [stderr] --> src/lib.rs:171:5 [INFO] [stderr] | [INFO] [stderr] 157 | pub struct NetworkSimulator { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 171 | virtual_time: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `cleanup_expired_events` is never used [INFO] [stderr] --> src/lib.rs:834:14 [INFO] [stderr] | [INFO] [stderr] 656 | impl ChaosInjector { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 834 | async fn cleanup_expired_events(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `node_to_peer` is never read [INFO] [stderr] --> src/simulated_transport.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct SimulatedGossipTransport { [INFO] [stderr] | ------------------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 34 | node_to_peer: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `saorsa-gossip-simulator` (lib) generated 5 warnings (run `cargo fix --lib -p saorsa-gossip-simulator` to apply 2 suggestions) [INFO] [stderr] warning: unused variable: `transport2` [INFO] [stderr] --> src/simulated_transport.rs:266:13 [INFO] [stderr] | [INFO] [stderr] 266 | let transport2 = network.add_peer(peer2, 1).await; [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transport2` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:913:13 [INFO] [stderr] | [INFO] [stderr] 913 | let mut simulator = NetworkSimulator::new().with_nodes(3); [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `saorsa-gossip-simulator` (lib test) generated 7 warnings (5 duplicates) (run `cargo fix --lib -p saorsa-gossip-simulator --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/saorsa_gossip_simulator-d08be38b86ee8cd3) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test simulated_transport::tests::test_simulated_transport_send_receive ... ok [INFO] [stdout] test simulated_transport::tests::test_simulated_transport_creation ... ok [INFO] [stdout] test tests::test_chaos_injector_creation ... ok [INFO] [stdout] test tests::test_chaos_event_injection ... ok [INFO] [stdout] test tests::test_chaos_injector_enable_disable ... ok [INFO] [stdout] test tests::test_simulator_creation ... ok [INFO] [stdout] test tests::test_simulator_with_chaos_injector ... ok [INFO] [stdout] test tests::test_link_config ... ok [INFO] [stdout] test tests::test_chaos_scenarios_creation ... ok [INFO] [stdout] test tests::test_simulator_stats ... ok [INFO] [stderr] Doc-tests saorsa_gossip_simulator [INFO] [stdout] test tests::test_add_nodes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 18) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "077d97b8c43211f95b650210353afc98b947cdec0fcf128aad2287521796e449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "077d97b8c43211f95b650210353afc98b947cdec0fcf128aad2287521796e449", kill_on_drop: false }` [INFO] [stdout] 077d97b8c43211f95b650210353afc98b947cdec0fcf128aad2287521796e449