[INFO] fetching crate quokkasim 0.2.2... [INFO] testing quokkasim-0.2.2 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate quokkasim 0.2.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate quokkasim 0.2.2 [INFO] finished tweaking crates.io crate quokkasim 0.2.2 [INFO] tweaked toml for crates.io crate quokkasim 0.2.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate quokkasim 0.2.2 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate quokkasim 0.2.2 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded recycle-box v0.2.0 [INFO] [stderr] Downloaded pin-project-internal v1.1.10 [INFO] [stderr] Downloaded quokkasim_derive_macros v0.2.2 [INFO] [stderr] Downloaded generator v0.7.5 [INFO] [stderr] Downloaded tempfile v3.19.1 [INFO] [stderr] Downloaded multishot v0.3.2 [INFO] [stderr] Downloaded prost-types v0.13.5 [INFO] [stderr] Downloaded rand_distr v0.4.3 [INFO] [stderr] Downloaded csv-core v0.1.12 [INFO] [stderr] Downloaded strum v0.27.1 [INFO] [stderr] Downloaded tai-time v0.3.3 [INFO] [stderr] Downloaded cc v1.2.22 [INFO] [stderr] Downloaded async-event v0.2.1 [INFO] [stderr] Downloaded pin-project v1.1.10 [INFO] [stderr] Downloaded errno v0.3.11 [INFO] [stderr] Downloaded prost-derive v0.13.5 [INFO] [stderr] Downloaded st3 v0.4.1 [INFO] [stderr] Downloaded tonic-build v0.12.3 [INFO] [stderr] Downloaded prettyplease v0.2.32 [INFO] [stderr] Downloaded strum_macros v0.27.1 [INFO] [stderr] Downloaded fixedbitset v0.5.7 [INFO] [stderr] Downloaded bitflags v2.9.0 [INFO] [stderr] Downloaded prost v0.13.5 [INFO] [stderr] Downloaded rustix v1.0.7 [INFO] [stderr] Downloaded smallvec v1.15.0 [INFO] [stderr] Downloaded spin_sleep v1.3.1 [INFO] [stderr] Downloaded petgraph v0.7.1 [INFO] [stderr] Downloaded loom v0.5.6 [INFO] [stderr] Downloaded nexosim v0.3.3 [INFO] [stderr] Downloaded prost-build v0.13.5 [INFO] [stderr] Downloaded linux-raw-sys v0.9.4 [INFO] [stderr] Downloaded windows v0.48.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a38f3d515ff4dd5c9c53931200475d838407e5aee0861643e41c0e3fbd5f86d [INFO] running `Command { std: "docker" "start" "-a" "2a38f3d515ff4dd5c9c53931200475d838407e5aee0861643e41c0e3fbd5f86d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a38f3d515ff4dd5c9c53931200475d838407e5aee0861643e41c0e3fbd5f86d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a38f3d515ff4dd5c9c53931200475d838407e5aee0861643e41c0e3fbd5f86d", kill_on_drop: false }` [INFO] [stdout] 2a38f3d515ff4dd5c9c53931200475d838407e5aee0861643e41c0e3fbd5f86d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ed6061acbd61362277882d6939890e958241c99b7213bddacb585305594a823 [INFO] running `Command { std: "docker" "start" "-a" "3ed6061acbd61362277882d6939890e958241c99b7213bddacb585305594a823", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling nexosim v0.3.3 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling async-event v0.2.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling st3 v0.4.1 [INFO] [stderr] Compiling diatomic-waker v0.2.3 [INFO] [stderr] Compiling spin_sleep v1.3.1 [INFO] [stderr] Compiling multishot v0.3.2 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling recycle-box v0.2.0 [INFO] [stderr] Compiling strum v0.27.1 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling quokkasim_derive_macros v0.2.2 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tai-time v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling quokkasim v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/common.rs:1:73 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, fmt::{Display, Formatter, Result as FmtResult}, time::Duration}; [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: `indexmap::IndexMap` [INFO] [stdout] --> src/common.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use indexmap::IndexMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/core.rs:163:27 [INFO] [stdout] | [INFO] [stdout] 163 | fn pre_add(&mut self, payload: &mut (ReceiveType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/core.rs:163:65 [INFO] [stdout] | [INFO] [stdout] 163 | fn pre_add(&mut self, payload: &mut (ReceiveType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/core.rs:171:28 [INFO] [stdout] | [INFO] [stdout] 171 | fn post_add(&mut self, payload: &mut (ReceiveType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/core.rs:171:66 [INFO] [stdout] | [INFO] [stdout] 171 | fn post_add(&mut self, payload: &mut (ReceiveType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/core.rs:185:30 [INFO] [stdout] | [INFO] [stdout] 185 | fn pre_remove(&mut self, payload: &mut (SendParameterType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/core.rs:185:74 [INFO] [stdout] | [INFO] [stdout] 185 | fn pre_remove(&mut self, payload: &mut (SendParameterType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/core.rs:193:31 [INFO] [stdout] | [INFO] [stdout] 193 | fn post_remove(&mut self, payload: &mut (SendParameterType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/core.rs:193:75 [INFO] [stdout] | [INFO] [stdout] 193 | fn post_remove(&mut self, payload: &mut (SendParameterType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/vector.rs:370:36 [INFO] [stdout] | [INFO] [stdout] 370 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/vector.rs:822:36 [INFO] [stdout] | [INFO] [stdout] 822 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future + Send where Self: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/vector.rs:1124:36 [INFO] [stdout] | [INFO] [stdout] 1124 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/vector.rs:1406:36 [INFO] [stdout] | [INFO] [stdout] 1406 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/vector.rs:1664:36 [INFO] [stdout] | [INFO] [stdout] 1664 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/discrete.rs:404:36 [INFO] [stdout] | [INFO] [stdout] 404 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/discrete.rs:779:36 [INFO] [stdout] | [INFO] [stdout] 779 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/discrete.rs:1025:36 [INFO] [stdout] | [INFO] [stdout] 1025 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/components/discrete.rs:1127:24 [INFO] [stdout] | [INFO] [stdout] 1127 | (Some((time, _)), _) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/discrete.rs:1419:36 [INFO] [stdout] | [INFO] [stdout] 1419 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/vector_container.rs:253:36 [INFO] [stdout] | [INFO] [stdout] 253 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future + Send where Self: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/vector_container.rs:540:36 [INFO] [stdout] | [INFO] [stdout] 540 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future + Send where Self: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/delays.rs:108:46 [INFO] [stdout] | [INFO] [stdout] 108 | self.state.iter_mut().for_each(|(name, state)| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time_to_next_delay_event` is never read [INFO] [stdout] --> src/components/vector_container.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct ContainerLoadingProcess< [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 192 | time_to_next_delay_event: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.20s [INFO] running `Command { std: "docker" "inspect" "3ed6061acbd61362277882d6939890e958241c99b7213bddacb585305594a823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ed6061acbd61362277882d6939890e958241c99b7213bddacb585305594a823", kill_on_drop: false }` [INFO] [stdout] 3ed6061acbd61362277882d6939890e958241c99b7213bddacb585305594a823 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ebcb25a1f3466ff338ceeea0164b4bb08f9b84857bb6f55bcd0a588e3992932 [INFO] running `Command { std: "docker" "start" "-a" "3ebcb25a1f3466ff338ceeea0164b4bb08f9b84857bb6f55bcd0a588e3992932", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/common.rs:1:73 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, fmt::{Display, Formatter, Result as FmtResult}, time::Duration}; [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: `indexmap::IndexMap` [INFO] [stdout] --> src/common.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use indexmap::IndexMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/core.rs:163:27 [INFO] [stdout] | [INFO] [stdout] 163 | fn pre_add(&mut self, payload: &mut (ReceiveType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/core.rs:163:65 [INFO] [stdout] | [INFO] [stdout] 163 | fn pre_add(&mut self, payload: &mut (ReceiveType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/core.rs:171:28 [INFO] [stdout] | [INFO] [stdout] 171 | fn post_add(&mut self, payload: &mut (ReceiveType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/core.rs:171:66 [INFO] [stdout] | [INFO] [stdout] 171 | fn post_add(&mut self, payload: &mut (ReceiveType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/core.rs:185:30 [INFO] [stdout] | [INFO] [stdout] 185 | fn pre_remove(&mut self, payload: &mut (SendParameterType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/core.rs:185:74 [INFO] [stdout] | [INFO] [stdout] 185 | fn pre_remove(&mut self, payload: &mut (SendParameterType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/core.rs:193:31 [INFO] [stdout] | [INFO] [stdout] 193 | fn post_remove(&mut self, payload: &mut (SendParameterType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/core.rs:193:75 [INFO] [stdout] | [INFO] [stdout] 193 | fn post_remove(&mut self, payload: &mut (SendParameterType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/vector.rs:370:36 [INFO] [stdout] | [INFO] [stdout] 370 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/vector.rs:822:36 [INFO] [stdout] | [INFO] [stdout] 822 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future + Send where Self: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/vector.rs:1124:36 [INFO] [stdout] | [INFO] [stdout] 1124 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/vector.rs:1406:36 [INFO] [stdout] | [INFO] [stdout] 1406 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/vector.rs:1664:36 [INFO] [stdout] | [INFO] [stdout] 1664 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/discrete.rs:404:36 [INFO] [stdout] | [INFO] [stdout] 404 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/discrete.rs:779:36 [INFO] [stdout] | [INFO] [stdout] 779 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/discrete.rs:1025:36 [INFO] [stdout] | [INFO] [stdout] 1025 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/components/discrete.rs:1127:24 [INFO] [stdout] | [INFO] [stdout] 1127 | (Some((time, _)), _) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/discrete.rs:1419:36 [INFO] [stdout] | [INFO] [stdout] 1419 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/vector_container.rs:253:36 [INFO] [stdout] | [INFO] [stdout] 253 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future + Send where Self: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/vector_container.rs:540:36 [INFO] [stdout] | [INFO] [stdout] 540 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future + Send where Self: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quokkasim v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/delays.rs:108:46 [INFO] [stdout] | [INFO] [stdout] 108 | self.state.iter_mut().for_each(|(name, state)| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time_to_next_delay_event` is never read [INFO] [stdout] --> src/components/vector_container.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct ContainerLoadingProcess< [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 192 | time_to_next_delay_event: 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: unused import: `time::Duration` [INFO] [stdout] --> src/common.rs:1:73 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, fmt::{Display, Formatter, Result as FmtResult}, time::Duration}; [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: `indexmap::IndexMap` [INFO] [stdout] --> src/common.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use indexmap::IndexMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/core.rs:163:27 [INFO] [stdout] | [INFO] [stdout] 163 | fn pre_add(&mut self, payload: &mut (ReceiveType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/core.rs:163:65 [INFO] [stdout] | [INFO] [stdout] 163 | fn pre_add(&mut self, payload: &mut (ReceiveType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/core.rs:171:28 [INFO] [stdout] | [INFO] [stdout] 171 | fn post_add(&mut self, payload: &mut (ReceiveType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/core.rs:171:66 [INFO] [stdout] | [INFO] [stdout] 171 | fn post_add(&mut self, payload: &mut (ReceiveType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/core.rs:185:30 [INFO] [stdout] | [INFO] [stdout] 185 | fn pre_remove(&mut self, payload: &mut (SendParameterType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/core.rs:185:74 [INFO] [stdout] | [INFO] [stdout] 185 | fn pre_remove(&mut self, payload: &mut (SendParameterType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/core.rs:193:31 [INFO] [stdout] | [INFO] [stdout] 193 | fn post_remove(&mut self, payload: &mut (SendParameterType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/core.rs:193:75 [INFO] [stdout] | [INFO] [stdout] 193 | fn post_remove(&mut self, payload: &mut (SendParameterType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/vector.rs:370:36 [INFO] [stdout] | [INFO] [stdout] 370 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/vector.rs:822:36 [INFO] [stdout] | [INFO] [stdout] 822 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future + Send where Self: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/vector.rs:1124:36 [INFO] [stdout] | [INFO] [stdout] 1124 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/vector.rs:1406:36 [INFO] [stdout] | [INFO] [stdout] 1406 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/vector.rs:1664:36 [INFO] [stdout] | [INFO] [stdout] 1664 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/discrete.rs:404:36 [INFO] [stdout] | [INFO] [stdout] 404 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/discrete.rs:779:36 [INFO] [stdout] | [INFO] [stdout] 779 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/discrete.rs:1025:36 [INFO] [stdout] | [INFO] [stdout] 1025 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/components/discrete.rs:1127:24 [INFO] [stdout] | [INFO] [stdout] 1127 | (Some((time, _)), _) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/discrete.rs:1419:36 [INFO] [stdout] | [INFO] [stdout] 1419 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/vector_container.rs:253:36 [INFO] [stdout] | [INFO] [stdout] 253 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future + Send where Self: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_event_id` [INFO] [stdout] --> src/components/vector_container.rs:540:36 [INFO] [stdout] | [INFO] [stdout] 540 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future + Send where Self: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/delays.rs:108:46 [INFO] [stdout] | [INFO] [stdout] 108 | self.state.iter_mut().for_each(|(name, state)| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time_to_next_delay_event` is never read [INFO] [stdout] --> src/components/vector_container.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct ContainerLoadingProcess< [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 192 | time_to_next_delay_event: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.49s [INFO] running `Command { std: "docker" "inspect" "3ebcb25a1f3466ff338ceeea0164b4bb08f9b84857bb6f55bcd0a588e3992932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ebcb25a1f3466ff338ceeea0164b4bb08f9b84857bb6f55bcd0a588e3992932", kill_on_drop: false }` [INFO] [stdout] 3ebcb25a1f3466ff338ceeea0164b4bb08f9b84857bb6f55bcd0a588e3992932 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a1e3fb1b3dae2ed73a3164471b172171547c40400b3c03c334b50ac61aabcfa1 [INFO] running `Command { std: "docker" "start" "-a" "a1e3fb1b3dae2ed73a3164471b172171547c40400b3c03c334b50ac61aabcfa1", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `time::Duration` [INFO] [stderr] --> src/common.rs:1:73 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{error::Error, fmt::{Display, Formatter, Result as FmtResult}, time::Duration}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `indexmap::IndexMap` [INFO] [stderr] --> src/common.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use indexmap::IndexMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `payload` [INFO] [stderr] --> src/core.rs:163:27 [INFO] [stderr] | [INFO] [stderr] 163 | fn pre_add(&mut self, payload: &mut (ReceiveType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cx` [INFO] [stderr] --> src/core.rs:163:65 [INFO] [stderr] | [INFO] [stderr] 163 | fn pre_add(&mut self, payload: &mut (ReceiveType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `payload` [INFO] [stderr] --> src/core.rs:171:28 [INFO] [stderr] | [INFO] [stderr] 171 | fn post_add(&mut self, payload: &mut (ReceiveType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cx` [INFO] [stderr] --> src/core.rs:171:66 [INFO] [stderr] | [INFO] [stderr] 171 | fn post_add(&mut self, payload: &mut (ReceiveType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `payload` [INFO] [stderr] --> src/core.rs:185:30 [INFO] [stderr] | [INFO] [stderr] 185 | fn pre_remove(&mut self, payload: &mut (SendParameterType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cx` [INFO] [stderr] --> src/core.rs:185:74 [INFO] [stderr] | [INFO] [stderr] 185 | fn pre_remove(&mut self, payload: &mut (SendParameterType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `payload` [INFO] [stderr] --> src/core.rs:193:31 [INFO] [stderr] | [INFO] [stderr] 193 | fn post_remove(&mut self, payload: &mut (SendParameterType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cx` [INFO] [stderr] --> src/core.rs:193:75 [INFO] [stderr] | [INFO] [stderr] 193 | fn post_remove(&mut self, payload: &mut (SendParameterType, EventId), cx: &mut Context) -> impl Future + { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `source_event_id` [INFO] [stderr] --> src/components/vector.rs:370:36 [INFO] [stderr] | [INFO] [stderr] 370 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `source_event_id` [INFO] [stderr] --> src/components/vector.rs:822:36 [INFO] [stderr] | [INFO] [stderr] 822 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future + Send where Self: ... [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `source_event_id` [INFO] [stderr] --> src/components/vector.rs:1124:36 [INFO] [stderr] | [INFO] [stderr] 1124 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `source_event_id` [INFO] [stderr] --> src/components/vector.rs:1406:36 [INFO] [stderr] | [INFO] [stderr] 1406 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `source_event_id` [INFO] [stderr] --> src/components/vector.rs:1664:36 [INFO] [stderr] | [INFO] [stderr] 1664 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `source_event_id` [INFO] [stderr] --> src/components/discrete.rs:404:36 [INFO] [stderr] | [INFO] [stderr] 404 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `source_event_id` [INFO] [stderr] --> src/components/discrete.rs:779:36 [INFO] [stderr] | [INFO] [stderr] 779 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `source_event_id` [INFO] [stderr] --> src/components/discrete.rs:1025:36 [INFO] [stderr] | [INFO] [stderr] 1025 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time` [INFO] [stderr] --> src/components/discrete.rs:1127:24 [INFO] [stderr] | [INFO] [stderr] 1127 | (Some((time, _)), _) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `source_event_id` [INFO] [stderr] --> src/components/discrete.rs:1419:36 [INFO] [stderr] | [INFO] [stderr] 1419 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `source_event_id` [INFO] [stderr] --> src/components/vector_container.rs:253:36 [INFO] [stderr] | [INFO] [stderr] 253 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future + Send where Self: ... [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `source_event_id` [INFO] [stderr] --> src/components/vector_container.rs:540:36 [INFO] [stderr] | [INFO] [stderr] 540 | fn pre_update_state(&mut self, source_event_id: &mut EventId, cx: &mut Context) -> impl Future + Send where Self: ... [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_event_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/delays.rs:108:46 [INFO] [stderr] | [INFO] [stderr] 108 | self.state.iter_mut().for_each(|(name, state)| { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: field `time_to_next_delay_event` is never read [INFO] [stderr] --> src/components/vector_container.rs:192:5 [INFO] [stderr] | [INFO] [stderr] 159 | pub struct ContainerLoadingProcess< [INFO] [stderr] | ----------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 192 | time_to_next_delay_event: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `quokkasim` (lib) generated 24 warnings (run `cargo fix --lib -p quokkasim` to apply 2 suggestions) [INFO] [stderr] warning: `quokkasim` (lib test) generated 24 warnings (24 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/quokkasim-b4d3c33f578b4549) [INFO] [stdout] [INFO] [stderr] Doc-tests quokkasim [INFO] [stdout] running 2 tests [INFO] [stdout] test delays::tests::test_transition_for_single_delay ... ok [INFO] [stdout] test delays::tests::test_transition_for_multiple_delays_and_time_to_next ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a1e3fb1b3dae2ed73a3164471b172171547c40400b3c03c334b50ac61aabcfa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1e3fb1b3dae2ed73a3164471b172171547c40400b3c03c334b50ac61aabcfa1", kill_on_drop: false }` [INFO] [stdout] a1e3fb1b3dae2ed73a3164471b172171547c40400b3c03c334b50ac61aabcfa1