[INFO] fetching crate tokio_sky 1.0.0... [INFO] testing tokio_sky-1.0.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate tokio_sky 1.0.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate tokio_sky 1.0.0 [INFO] finished tweaking crates.io crate tokio_sky 1.0.0 [INFO] tweaked toml for crates.io crate tokio_sky 1.0.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio_sky 1.0.0 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 tokio_sky 1.0.0 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 ctor v0.1.22 [INFO] [stderr] Downloaded value-bag v1.0.0-alpha.9 [INFO] [stderr] Downloaded num_enum v0.5.7 [INFO] [stderr] Downloaded num_enum_derive v0.5.7 [INFO] [stderr] Downloaded pkg-config v0.3.25 [INFO] [stderr] Downloaded mio v0.8.3 [INFO] [stderr] Downloaded zstd-safe v4.1.3+zstd.1.5.1 [INFO] [stderr] Downloaded prost-types v0.8.0 [INFO] [stderr] Downloaded snap v1.0.5 [INFO] [stderr] Downloaded lz4 v1.23.3 [INFO] [stderr] Downloaded fixedbitset v0.2.0 [INFO] [stderr] Downloaded unicode-bidi v0.3.8 [INFO] [stderr] Downloaded which v4.2.5 [INFO] [stderr] Downloaded async-trait v0.1.53 [INFO] [stderr] Downloaded blocking v1.2.0 [INFO] [stderr] Downloaded signal-hook v0.3.14 [INFO] [stderr] Downloaded async-process v1.4.0 [INFO] [stderr] Downloaded gloo-timers v0.2.4 [INFO] [stderr] Downloaded asynchronous-codec v0.6.0 [INFO] [stderr] Downloaded miniz_oxide v0.5.1 [INFO] [stderr] Downloaded async-native-tls v0.3.3 [INFO] [stderr] Downloaded async-global-executor v2.0.4 [INFO] [stderr] Downloaded pulsar v4.1.1 [INFO] [stderr] Downloaded async-lock v2.5.0 [INFO] [stderr] Downloaded polling v2.2.0 [INFO] [stderr] Downloaded zstd-sys v1.6.2+zstd.1.5.1 [INFO] [stderr] Downloaded openssl v0.10.40 [INFO] [stderr] Downloaded regex v1.5.5 [INFO] [stderr] Downloaded cache-padded v1.2.0 [INFO] [stderr] Downloaded async-task v4.2.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.30 [INFO] [stderr] Downloaded prost v0.8.0 [INFO] [stderr] Downloaded anyhow v1.0.57 [INFO] [stderr] Downloaded openssl-sys v0.9.73 [INFO] [stderr] Downloaded schannel v0.1.20 [INFO] [stderr] Downloaded native-tls v0.2.10 [INFO] [stderr] Downloaded prost-derive v0.8.0 [INFO] [stderr] Downloaded ppv-lite86 v0.2.16 [INFO] [stderr] Downloaded libz-sys v1.1.6 [INFO] [stderr] Downloaded openssl-macros v0.1.0 [INFO] [stderr] Downloaded cmake v0.1.48 [INFO] [stderr] Downloaded zstd v0.9.2+zstd.1.5.1 [INFO] [stderr] Downloaded async-std v1.11.0 [INFO] [stderr] Downloaded flate2 v1.0.23 [INFO] [stderr] Downloaded lz4-sys v1.9.3 [INFO] [stderr] Downloaded nom v7.1.1 [INFO] [stderr] Downloaded petgraph v0.5.1 [INFO] [stderr] Downloaded jobserver v0.1.24 [INFO] [stderr] Downloaded rdkafka v0.28.0 [INFO] [stderr] Downloaded rdkafka-sys v4.2.0+1.8.2 [INFO] [stderr] Downloaded hashring v0.3.0 [INFO] [stderr] Downloaded prost-build v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] d088b162864d93bf218d536af0cb8360b05d6e2c3fa372522cd56dc9c8e180f1 [INFO] running `Command { std: "docker" "start" "-a" "d088b162864d93bf218d536af0cb8360b05d6e2c3fa372522cd56dc9c8e180f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d088b162864d93bf218d536af0cb8360b05d6e2c3fa372522cd56dc9c8e180f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d088b162864d93bf218d536af0cb8360b05d6e2c3fa372522cd56dc9c8e180f1", kill_on_drop: false }` [INFO] [stdout] d088b162864d93bf218d536af0cb8360b05d6e2c3fa372522cd56dc9c8e180f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] cb684207bd875d2117f809c9f99164445867ce635cb5e7bc3588c27fd76d60fd [INFO] running `Command { std: "docker" "start" "-a" "cb684207bd875d2117f809c9f99164445867ce635cb5e7bc3588c27fd76d60fd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling hashring v0.3.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.18.1 [INFO] [stderr] Compiling tokio_sky v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/producer.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Context [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/producer.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 51 | / impl Context [INFO] [stdout] 52 | | where [INFO] [stdout] 53 | | T : Clone + Send + 'static, [INFO] [stdout] 54 | | Prod : Producer + Send + 'static [INFO] [stdout] | |_______________________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn new(dispatcher: Dispatcher, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn run(mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/batcher.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Context [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/batcher.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 42 | / impl Context [INFO] [stdout] 43 | | where [INFO] [stdout] 44 | | Input : Clone + Send + 'static, [INFO] [stdout] 45 | | Proc : BatchProcessor + Send + 'static [INFO] [stdout] | |___________________________________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn new(recv: mpsc::Receiver, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn run(mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/processor.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Context [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/processor.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 49 | / impl Context [INFO] [stdout] 50 | | where [INFO] [stdout] 51 | | Input : Clone + Send + 'static, [INFO] [stdout] 52 | | Output : Clone + Send + 'static, [INFO] [stdout] 53 | | Proc : Processor + Send + 'static [INFO] [stdout] | |______________________________________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn new(recv: mpsc::Receiver, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn run(mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_shutdown_manager` is never used [INFO] [stdout] --> src/shutdown_manager.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn start_shutdown_manager(shutdown_recv: oneshot::Receiver<()>, list_shutdown: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRODUCER_FILLBUFFER_TIMEOUT_REALTIME` is never used [INFO] [stdout] --> src/topology.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const PRODUCER_FILLBUFFER_TIMEOUT_REALTIME: Duration = Duration::from_millis(2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRODUCER_FILLBUFFER_TIMEOUT_BATCH` is never used [INFO] [stdout] --> src/topology.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const PRODUCER_FILLBUFFER_TIMEOUT_BATCH: Duration = Duration::from_millis(50); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BATCH_SIZE` is never used [INFO] [stdout] --> src/topology.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const BATCH_SIZE: usize = 100; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BATCH_TIMEOUT` is never used [INFO] [stdout] --> src/topology.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const BATCH_TIMEOUT: Duration = Duration::from_millis(50); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONCURRENCY` is never used [INFO] [stdout] --> src/topology.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const CONCURRENCY: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUFFER_SIZE` is never used [INFO] [stdout] --> src/topology.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const BUFFER_SIZE: usize = 10; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUFFER_POOL_SIZE` is never used [INFO] [stdout] --> src/topology.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const BUFFER_POOL_SIZE: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProcessingType` is never used [INFO] [stdout] --> src/topology.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum ProcessingType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_producer` is never used [INFO] [stdout] --> src/topology.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn start_producer (producer_factory: F, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/topology.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_processor` is never used [INFO] [stdout] --> src/topology.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn start_processor (processor_factory: F, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_batch_processor` is never used [INFO] [stdout] --> src/topology.rs:152:4 [INFO] [stdout] | [INFO] [stdout] 152 | fn start_batch_processor (batcher_factory: F, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_topology_1` is never used [INFO] [stdout] --> src/topology.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn run_topology_1 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_topology_2` is never used [INFO] [stdout] --> src/topology.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn run_topology_2 src/topology.rs:332:8 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn run_topology_3 src/topology.rs:421:8 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn run_topology_4 src/topology.rs:530:8 [INFO] [stdout] | [INFO] [stdout] 530 | pub fn run_topology_5 src/topology.rs:663:8 [INFO] [stdout] | [INFO] [stdout] 663 | pub fn run_topology_1_with_batcher src/topology.rs:735:8 [INFO] [stdout] | [INFO] [stdout] 735 | pub fn run_topology_2_with_batcher src/topology.rs:825:8 [INFO] [stdout] | [INFO] [stdout] 825 | pub fn run_topology_3_with_batcher src/topology.rs:934:8 [INFO] [stdout] | [INFO] [stdout] 934 | pub fn run_topology_4_with_batcher src/topology.rs:1062:8 [INFO] [stdout] | [INFO] [stdout] 1062 | pub fn run_topology_5_with_batcher src/dispatcher.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type StageName = String; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InternalDispatchError` is never used [INFO] [stdout] --> src/dispatcher.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | enum InternalDispatchError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DispatchError` is never used [INFO] [stdout] --> src/dispatcher.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum DispatchError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StatusResult` is never used [INFO] [stdout] --> src/dispatcher.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | pub enum StatusResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dispatcher` is never constructed [INFO] [stdout] --> src/dispatcher.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Dispatcher { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/dispatcher.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 63 | / impl Dispatcher [INFO] [stdout] 64 | | where [INFO] [stdout] 65 | | T: Clone + Send + 'static [INFO] [stdout] | |_____________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn new(channels: IndexMap>, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn dispatch(&mut self, msg: T, batch_key: Option) -> Result<(), DispatchError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | async fn partition(&mut self, msg: T, batch_key: String) -> Result<(), DispatchError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | async fn broadcast(&mut self, msg: T) -> Result<(), DispatchError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | async fn roundrobin(&mut self, mut msg: T) -> Result<(), DispatchError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | async fn logic_roundrobin(&mut self, mut msg: T) -> Result<(), InternalDispatchError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | fn next_index(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | fn list_check(channels: &IndexMap>) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.04s [INFO] running `Command { std: "docker" "inspect" "cb684207bd875d2117f809c9f99164445867ce635cb5e7bc3588c27fd76d60fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb684207bd875d2117f809c9f99164445867ce635cb5e7bc3588c27fd76d60fd", kill_on_drop: false }` [INFO] [stdout] cb684207bd875d2117f809c9f99164445867ce635cb5e7bc3588c27fd76d60fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 5f84b21d201a934f230df0f3aa2b9b9e3f188e477632fc0bc9a22c20e36125d3 [INFO] running `Command { std: "docker" "start" "-a" "5f84b21d201a934f230df0f3aa2b9b9e3f188e477632fc0bc9a22c20e36125d3", kill_on_drop: false }` [INFO] [stderr] Compiling tokio_sky v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/producer.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Context [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/producer.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 51 | / impl Context [INFO] [stdout] 52 | | where [INFO] [stdout] 53 | | T : Clone + Send + 'static, [INFO] [stdout] 54 | | Prod : Producer + Send + 'static [INFO] [stdout] | |_______________________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn new(dispatcher: Dispatcher, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn run(mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/batcher.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Context [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/batcher.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 42 | / impl Context [INFO] [stdout] 43 | | where [INFO] [stdout] 44 | | Input : Clone + Send + 'static, [INFO] [stdout] 45 | | Proc : BatchProcessor + Send + 'static [INFO] [stdout] | |___________________________________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn new(recv: mpsc::Receiver, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn run(mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/processor.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Context [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/processor.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 49 | / impl Context [INFO] [stdout] 50 | | where [INFO] [stdout] 51 | | Input : Clone + Send + 'static, [INFO] [stdout] 52 | | Output : Clone + Send + 'static, [INFO] [stdout] 53 | | Proc : Processor + Send + 'static [INFO] [stdout] | |______________________________________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn new(recv: mpsc::Receiver, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn run(mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_shutdown_manager` is never used [INFO] [stdout] --> src/shutdown_manager.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn start_shutdown_manager(shutdown_recv: oneshot::Receiver<()>, list_shutdown: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRODUCER_FILLBUFFER_TIMEOUT_REALTIME` is never used [INFO] [stdout] --> src/topology.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const PRODUCER_FILLBUFFER_TIMEOUT_REALTIME: Duration = Duration::from_millis(2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRODUCER_FILLBUFFER_TIMEOUT_BATCH` is never used [INFO] [stdout] --> src/topology.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const PRODUCER_FILLBUFFER_TIMEOUT_BATCH: Duration = Duration::from_millis(50); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BATCH_SIZE` is never used [INFO] [stdout] --> src/topology.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const BATCH_SIZE: usize = 100; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BATCH_TIMEOUT` is never used [INFO] [stdout] --> src/topology.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const BATCH_TIMEOUT: Duration = Duration::from_millis(50); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONCURRENCY` is never used [INFO] [stdout] --> src/topology.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const CONCURRENCY: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUFFER_SIZE` is never used [INFO] [stdout] --> src/topology.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const BUFFER_SIZE: usize = 10; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUFFER_POOL_SIZE` is never used [INFO] [stdout] --> src/topology.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const BUFFER_POOL_SIZE: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProcessingType` is never used [INFO] [stdout] --> src/topology.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum ProcessingType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_producer` is never used [INFO] [stdout] --> src/topology.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn start_producer (producer_factory: F, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/topology.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_processor` is never used [INFO] [stdout] --> src/topology.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn start_processor (processor_factory: F, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_batch_processor` is never used [INFO] [stdout] --> src/topology.rs:152:4 [INFO] [stdout] | [INFO] [stdout] 152 | fn start_batch_processor (batcher_factory: F, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_topology_1` is never used [INFO] [stdout] --> src/topology.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn run_topology_1 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_topology_2` is never used [INFO] [stdout] --> src/topology.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn run_topology_2 src/topology.rs:332:8 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn run_topology_3 src/topology.rs:421:8 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn run_topology_4 src/topology.rs:530:8 [INFO] [stdout] | [INFO] [stdout] 530 | pub fn run_topology_5 src/topology.rs:663:8 [INFO] [stdout] | [INFO] [stdout] 663 | pub fn run_topology_1_with_batcher src/topology.rs:735:8 [INFO] [stdout] | [INFO] [stdout] 735 | pub fn run_topology_2_with_batcher src/topology.rs:825:8 [INFO] [stdout] | [INFO] [stdout] 825 | pub fn run_topology_3_with_batcher src/topology.rs:934:8 [INFO] [stdout] | [INFO] [stdout] 934 | pub fn run_topology_4_with_batcher src/topology.rs:1062:8 [INFO] [stdout] | [INFO] [stdout] 1062 | pub fn run_topology_5_with_batcher src/dispatcher.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type StageName = String; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InternalDispatchError` is never used [INFO] [stdout] --> src/dispatcher.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | enum InternalDispatchError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DispatchError` is never used [INFO] [stdout] --> src/dispatcher.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum DispatchError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StatusResult` is never used [INFO] [stdout] --> src/dispatcher.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | pub enum StatusResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dispatcher` is never constructed [INFO] [stdout] --> src/dispatcher.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Dispatcher { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/dispatcher.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 63 | / impl Dispatcher [INFO] [stdout] 64 | | where [INFO] [stdout] 65 | | T: Clone + Send + 'static [INFO] [stdout] | |_____________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn new(channels: IndexMap>, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn dispatch(&mut self, msg: T, batch_key: Option) -> Result<(), DispatchError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | async fn partition(&mut self, msg: T, batch_key: String) -> Result<(), DispatchError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | async fn broadcast(&mut self, msg: T) -> Result<(), DispatchError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | async fn roundrobin(&mut self, mut msg: T) -> Result<(), DispatchError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | async fn logic_roundrobin(&mut self, mut msg: T) -> Result<(), InternalDispatchError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | fn next_index(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | fn list_check(channels: &IndexMap>) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid character '(' in crate name: `simple(1 layer)` [INFO] [stdout] | [INFO] [stdout] = help: you can either pass `--crate-name` on the command line or add `#![crate_name = "…"]` to set the crate name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid character '(' in crate name: `complex(2 layer)` [INFO] [stdout] | [INFO] [stdout] = help: you can either pass `--crate-name` on the command line or add `#![crate_name = "…"]` to set the crate name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid character ' ' in crate name: `complex(2 layer)` [INFO] [stdout] | [INFO] [stdout] = help: you can either pass `--crate-name` on the command line or add `#![crate_name = "…"]` to set the crate name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid character ')' in crate name: `complex(2 layer)` [INFO] [stdout] | [INFO] [stdout] = help: you can either pass `--crate-name` on the command line or add `#![crate_name = "…"]` to set the crate name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid character ' ' in crate name: `simple(1 layer)` [INFO] [stdout] | [INFO] [stdout] = help: you can either pass `--crate-name` on the command line or add `#![crate_name = "…"]` to set the crate name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid character ')' in crate name: `simple(1 layer)` [INFO] [stdout] | [INFO] [stdout] = help: you can either pass `--crate-name` on the command line or add `#![crate_name = "…"]` to set the crate name [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio_sky` (example "simple(1 layer)") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `blueriver` [INFO] [stdout] --> examples/ordering_and_paritioning.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use blueriver::run_topology_1_with_batcher; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `blueriver` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `blueriver`, use `cargo add blueriver` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio_sky` (example "complex(2 layer)") due to 3 previous errors [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> examples/dynamic_batching.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | async fn drain(&mut self, batch: Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `blueriver` [INFO] [stdout] --> examples/dynamic_batching.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use blueriver::{run_topology_1_with_batcher, batcher::BatchProcessor, BATCH_TIMEOUT}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `blueriver` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `blueriver`, use `cargo add blueriver` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `blueriver` [INFO] [stdout] --> examples/dynamic_batching.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use blueriver::{run_topology_1_with_batcher, batcher::BatchProcessor, BATCH_TIMEOUT}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `blueriver` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `blueriver`, use `cargo add blueriver` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> examples/dynamic_batching.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 77 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `async_trait` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 2 + use async_trait::async_trait; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio_sky::async_trait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> examples/kafka_producer.rs:74:3 [INFO] [stdout] | [INFO] [stdout] 74 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `async_trait` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 4 + use async_trait::async_trait; [INFO] [stdout] | [INFO] [stdout] 4 + use tokio_sky::async_trait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> examples/dynamic_batching.rs:110:3 [INFO] [stdout] | [INFO] [stdout] 110 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `async_trait` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 2 + use async_trait::async_trait; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio_sky::async_trait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> examples/dynamic_batching.rs:140:3 [INFO] [stdout] | [INFO] [stdout] 140 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `async_trait` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 2 + use async_trait::async_trait; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio_sky::async_trait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> examples/ordering_and_paritioning.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 96 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `async_trait` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 1 + use async_trait::async_trait; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_sky::async_trait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> examples/ordering_and_paritioning.rs:121:3 [INFO] [stdout] | [INFO] [stdout] 121 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `async_trait` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 1 + use async_trait::async_trait; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_sky::async_trait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> examples/ordering_and_paritioning.rs:148:3 [INFO] [stdout] | [INFO] [stdout] 148 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `async_trait` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 1 + use async_trait::async_trait; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_sky::async_trait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RouterType` [INFO] [stdout] --> examples/dynamic_batching.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | let producer_router = RouterType::RoundRobin; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RouterType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use tokio_sky::RouterType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RouterType` [INFO] [stdout] --> examples/dynamic_batching.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | let proc_router = RouterType::Partition; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RouterType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use tokio_sky::RouterType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Producer` in this scope [INFO] [stdout] --> examples/dynamic_batching.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 78 | impl Producer for Prod { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use tokio_sky::Producer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VecDeque` in this scope [INFO] [stdout] --> examples/dynamic_batching.rs:83:40 [INFO] [stdout] | [INFO] [stdout] 83 | async fn drain(&mut self, _buffer: VecDeque) {} [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::VecDeque; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VecDeque` in this scope [INFO] [stdout] --> examples/dynamic_batching.rs:86:67 [INFO] [stdout] | [INFO] [stdout] 86 | async fn fill_buffer(&mut self, buffer_size: usize) -> Result, Terminate> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::VecDeque; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Terminate` in this scope [INFO] [stdout] --> examples/dynamic_batching.rs:86:86 [INFO] [stdout] | [INFO] [stdout] 86 | async fn fill_buffer(&mut self, buffer_size: usize) -> Result, Terminate> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 78 | impl Producer for Prod { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VecDeque` in this scope [INFO] [stdout] --> examples/dynamic_batching.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | .collect::>()) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::VecDeque; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Processor` in this scope [INFO] [stdout] --> examples/dynamic_batching.rs:111:6 [INFO] [stdout] | [INFO] [stdout] 111 | impl Processor for Layer1Process { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use tokio_sky::Processor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProcResult` in this scope [INFO] [stdout] --> examples/dynamic_batching.rs:115:58 [INFO] [stdout] | [INFO] [stdout] 115 | async fn handle_message(&mut self, msg: Product) -> ProcResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use tokio_sky::ProcResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProcResult` [INFO] [stdout] --> examples/dynamic_batching.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | ProcResult::Dispatch(msg, Some(pk)) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ProcResult` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use tokio_sky::ProcResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BatcherTerminate` in this scope [INFO] [stdout] --> examples/dynamic_batching.rs:147:73 [INFO] [stdout] | [INFO] [stdout] 147 | async fn handle_batch(&mut self, batch: Vec) -> Result<(), BatcherTerminate> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use tokio_sky::BatcherTerminate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Input` in this scope [INFO] [stdout] --> examples/dynamic_batching.rs:147:90 [INFO] [stdout] | [INFO] [stdout] 147 | async fn handle_batch(&mut self, batch: Vec) -> Result<(), BatcherTerminate> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 141 | impl BatchProcessor for Batcher { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProcResult` [INFO] [stdout] --> examples/dynamic_batching.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | ProcResult::Continue [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ProcResult` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use tokio_sky::ProcResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RouterType` [INFO] [stdout] --> examples/kafka_producer.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | let producer_router = RouterType::RoundRobin; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RouterType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use tokio_sky::RouterType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Processor` in this scope [INFO] [stdout] --> examples/kafka_producer.rs:75:6 [INFO] [stdout] | [INFO] [stdout] 75 | impl Processor for Layer1Process { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 + use tokio_sky::Processor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProdKafkaMessage` in this scope [INFO] [stdout] --> examples/kafka_producer.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | impl Processor for Layer1Process { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 75 | impl Processor for Layer1Process { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProdKafkaMessage` in this scope [INFO] [stdout] --> examples/kafka_producer.rs:79:45 [INFO] [stdout] | [INFO] [stdout] 79 | async fn handle_message(&mut self, msg: ProdKafkaMessage) -> ProcResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProcResult` in this scope [INFO] [stdout] --> examples/kafka_producer.rs:79:67 [INFO] [stdout] | [INFO] [stdout] 79 | async fn handle_message(&mut self, msg: ProdKafkaMessage) -> ProcResult<()> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use tokio_sky::ProcResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProcResult` [INFO] [stdout] --> examples/kafka_producer.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | ProcResult::Continue [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ProcResult` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use tokio_sky::ProcResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UserType` [INFO] [stdout] --> examples/dynamic_batching.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | UserType::Admin => "admin".to_owned(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `UserType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KafkaProducer` [INFO] [stdout] --> examples/kafka_producer.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | move || KafkaProducer::new(brokers, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `KafkaProducer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProcessingType` [INFO] [stdout] --> examples/kafka_producer.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | ... ProcessingType::Batch); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ProcessingType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_topology_1` in this scope [INFO] [stdout] --> examples/kafka_producer.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | run_topology_1( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UserType` [INFO] [stdout] --> examples/dynamic_batching.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | UserType::Client => "client".to_owned(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `UserType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio_sky` (example "kafka_producer") due to 10 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RouterType` [INFO] [stdout] --> examples/ordering_and_paritioning.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | let producer_router = RouterType::RoundRobin; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RouterType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_sky::RouterType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio_sky` (example "dynamic_batching") due to 21 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RouterType` [INFO] [stdout] --> examples/ordering_and_paritioning.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let proc1_router = RouterType::Partition; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RouterType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_sky::RouterType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Producer` in this scope [INFO] [stdout] --> examples/ordering_and_paritioning.rs:97:6 [INFO] [stdout] | [INFO] [stdout] 97 | impl Producer for Prod { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_sky::Producer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VecDeque` in this scope [INFO] [stdout] --> examples/ordering_and_paritioning.rs:102:40 [INFO] [stdout] | [INFO] [stdout] 102 | async fn drain(&mut self, _buffer: VecDeque) {} [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::VecDeque; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VecDeque` in this scope [INFO] [stdout] --> examples/ordering_and_paritioning.rs:105:67 [INFO] [stdout] | [INFO] [stdout] 105 | async fn fill_buffer(&mut self, buffer_size: usize) -> Result, Terminate> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::VecDeque; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Terminate` in this scope [INFO] [stdout] --> examples/ordering_and_paritioning.rs:105:83 [INFO] [stdout] | [INFO] [stdout] 105 | async fn fill_buffer(&mut self, buffer_size: usize) -> Result, Terminate> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 97 | impl Producer for Prod { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VecDeque` in this scope [INFO] [stdout] --> examples/ordering_and_paritioning.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 115 | .collect::>()) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::VecDeque; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Processor` in this scope [INFO] [stdout] --> examples/ordering_and_paritioning.rs:122:6 [INFO] [stdout] | [INFO] [stdout] 122 | impl Processor for Layer1Process { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_sky::Processor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProcResult` in this scope [INFO] [stdout] --> examples/ordering_and_paritioning.rs:126:55 [INFO] [stdout] | [INFO] [stdout] 126 | async fn handle_message(&mut self, msg: User) -> ProcResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_sky::ProcResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProcResult` [INFO] [stdout] --> examples/ordering_and_paritioning.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | ProcResult::Dispatch(msg, Some(pk)) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ProcResult` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_sky::ProcResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Processor` in this scope [INFO] [stdout] --> examples/ordering_and_paritioning.rs:149:6 [INFO] [stdout] | [INFO] [stdout] 149 | impl Processor for Layer2Process { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_sky::Processor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProcResult` in this scope [INFO] [stdout] --> examples/ordering_and_paritioning.rs:153:55 [INFO] [stdout] | [INFO] [stdout] 153 | async fn handle_message(&mut self, msg: User) -> ProcResult<()> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_sky::ProcResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProcResult` [INFO] [stdout] --> examples/ordering_and_paritioning.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | ProcResult::Continue [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ProcResult` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_sky::ProcResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> examples/kafka_processor.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `async_trait` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 2 + use async_trait::async_trait; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio_sky::async_trait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio_sky` (example "ordering_and_paritioning") due to 17 previous errors [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> examples/batch_insert_mysql.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 73 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `async_trait` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 1 + use async_trait::async_trait; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_sky::async_trait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> examples/batch_insert_mysql.rs:100:3 [INFO] [stdout] | [INFO] [stdout] 100 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `async_trait` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 1 + use async_trait::async_trait; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_sky::async_trait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> examples/batch_insert_mysql.rs:127:3 [INFO] [stdout] | [INFO] [stdout] 127 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `async_trait` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 1 + use async_trait::async_trait; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_sky::async_trait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `params` in this scope [INFO] [stdout] --> examples/batch_insert_mysql.rs:143:43 [INFO] [stdout] | [INFO] [stdout] 143 | .with(batch.iter().map(|user| params! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RouterType` [INFO] [stdout] --> examples/kafka_processor.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | let producer_router = RouterType::RoundRobin; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RouterType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use tokio_sky::RouterType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Producer` in this scope [INFO] [stdout] --> examples/kafka_processor.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 63 | impl Producer for Prod { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use tokio_sky::Producer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProcKafkaMessage` in this scope [INFO] [stdout] --> examples/kafka_processor.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | impl Producer for Prod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 63 | impl Producer for Prod { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VecDeque` in this scope [INFO] [stdout] --> examples/kafka_processor.rs:69:40 [INFO] [stdout] | [INFO] [stdout] 69 | async fn drain(&mut self, _buffer: VecDeque) {} [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::VecDeque; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProcKafkaMessage` in this scope [INFO] [stdout] --> examples/kafka_processor.rs:69:49 [INFO] [stdout] | [INFO] [stdout] 69 | async fn drain(&mut self, _buffer: VecDeque) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 63 | impl Producer for Prod { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VecDeque` in this scope [INFO] [stdout] --> examples/kafka_processor.rs:71:67 [INFO] [stdout] | [INFO] [stdout] 71 | async fn fill_buffer(&mut self, buffer_size: usize) -> Result, Terminate> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::VecDeque; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProcKafkaMessage` in this scope [INFO] [stdout] --> examples/kafka_processor.rs:71:76 [INFO] [stdout] | [INFO] [stdout] 71 | async fn fill_buffer(&mut self, buffer_size: usize) -> Result, Terminate> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 63 | impl Producer for Prod { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Terminate` in this scope [INFO] [stdout] --> examples/kafka_processor.rs:71:95 [INFO] [stdout] | [INFO] [stdout] 71 | async fn fill_buffer(&mut self, buffer_size: usize) -> Result, Terminate> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 63 | impl Producer for Prod { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ProcKafkaMessage` in this scope [INFO] [stdout] --> examples/kafka_processor.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | ProcKafkaMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VecDeque` in this scope [INFO] [stdout] --> examples/kafka_processor.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | .collect::>()) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::VecDeque; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProcKafkaMessage` in this scope [INFO] [stdout] --> examples/kafka_processor.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | .collect::>()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 63 | impl Producer for Prod { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KafkaProcessor` [INFO] [stdout] --> examples/kafka_processor.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | || KafkaProcessor::new(brokers, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `KafkaProcessor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_topology_1` in this scope [INFO] [stdout] --> examples/kafka_processor.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | run_topology_1( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio_sky` (example "kafka_processor") due to 14 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mysql_async` [INFO] [stdout] --> examples/batch_insert_mysql.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | let pool = mysql_async::Pool::new(database_url); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `mysql_async` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mysql_async`, use `cargo add mysql_async` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RouterType` [INFO] [stdout] --> examples/batch_insert_mysql.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | let producer_router = RouterType::RoundRobin; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RouterType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_sky::RouterType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RouterType` [INFO] [stdout] --> examples/batch_insert_mysql.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | let proc_router = RouterType::Partition; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RouterType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_sky::RouterType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BATCH_TIMEOUT` in this scope [INFO] [stdout] --> examples/batch_insert_mysql.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | let batcher_batch_timeout: BATCH_TIMEOUT; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Producer` in this scope [INFO] [stdout] --> examples/batch_insert_mysql.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 74 | impl Producer for Prod { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_sky::Producer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VecDeque` in this scope [INFO] [stdout] --> examples/batch_insert_mysql.rs:80:40 [INFO] [stdout] | [INFO] [stdout] 80 | async fn drain(&mut self, _buffer: VecDeque) {} [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::VecDeque; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VecDeque` in this scope [INFO] [stdout] --> examples/batch_insert_mysql.rs:82:67 [INFO] [stdout] | [INFO] [stdout] 82 | async fn fill_buffer(&mut self, buffer_size: usize) -> Result, Terminate> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::VecDeque; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Terminate` in this scope [INFO] [stdout] --> examples/batch_insert_mysql.rs:82:83 [INFO] [stdout] | [INFO] [stdout] 82 | async fn fill_buffer(&mut self, buffer_size: usize) -> Result, Terminate> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 74 | impl Producer for Prod { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VecDeque` in this scope [INFO] [stdout] --> examples/batch_insert_mysql.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | .collect::>()) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::VecDeque; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Processor` in this scope [INFO] [stdout] --> examples/batch_insert_mysql.rs:101:6 [INFO] [stdout] | [INFO] [stdout] 101 | impl Processor for Layer1Process { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_sky::Processor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProcResult` in this scope [INFO] [stdout] --> examples/batch_insert_mysql.rs:105:55 [INFO] [stdout] | [INFO] [stdout] 105 | async fn handle_message(&mut self, msg: User) -> ProcResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_sky::ProcResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProcResult` [INFO] [stdout] --> examples/batch_insert_mysql.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | ProcResult::Dispatch(msg, pk) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ProcResult` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_sky::ProcResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pool` in this scope [INFO] [stdout] --> examples/batch_insert_mysql.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | pool: Pool [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pool` in this scope [INFO] [stdout] --> examples/batch_insert_mysql.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn new(pool: Pool) -> MysqlBatcher { [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BatcherTerminate` in this scope [INFO] [stdout] --> examples/batch_insert_mysql.rs:137:70 [INFO] [stdout] | [INFO] [stdout] 137 | async fn handle_batch(&mut self, batch: Vec) -> Result<(), BatcherTerminate> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use tokio_sky::BatcherTerminate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pool` in this scope [INFO] [stdout] --> examples/batch_insert_mysql.rs:139:20 [INFO] [stdout] | [INFO] [stdout] 139 | let conn = pool.get_conn().await.unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the available field [INFO] [stdout] | [INFO] [stdout] 139 | let conn = self.pool.get_conn().await.unwrap(); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Strnig` in this scope [INFO] [stdout] --> examples/batch_insert_mysql.rs:157:15 [INFO] [stdout] | [INFO] [stdout] 157 | fullname: Strnig [INFO] [stdout] | ^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] | [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `init` do not match the trait declaration [INFO] [stdout] --> examples/batch_insert_mysql.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | async fn init(&mut self) { } [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `terminate` do not match the trait declaration [INFO] [stdout] --> examples/batch_insert_mysql.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | async fn terminate(&mut self) { } [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `drain` do not match the trait declaration [INFO] [stdout] --> examples/batch_insert_mysql.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | async fn drain(&mut self, batch: Vec) { } [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `handle_batch` do not match the trait declaration [INFO] [stdout] --> examples/batch_insert_mysql.rs:137:26 [INFO] [stdout] | [INFO] [stdout] 137 | async fn handle_batch(&mut self, batch: Vec) -> Result<(), BatcherTerminate> { [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_topology_1_with_batcher` in this scope [INFO] [stdout] --> examples/batch_insert_mysql.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | run_topology_1_with_batcher( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0195, E0405, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0195`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio_sky` (example "batch_insert_mysql") due to 26 previous errors [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/producer.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Context [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/producer.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 51 | / impl Context [INFO] [stdout] 52 | | where [INFO] [stdout] 53 | | T : Clone + Send + 'static, [INFO] [stdout] 54 | | Prod : Producer + Send + 'static [INFO] [stdout] | |_______________________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn new(dispatcher: Dispatcher, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn run(mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/batcher.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Context [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/batcher.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 42 | / impl Context [INFO] [stdout] 43 | | where [INFO] [stdout] 44 | | Input : Clone + Send + 'static, [INFO] [stdout] 45 | | Proc : BatchProcessor + Send + 'static [INFO] [stdout] | |___________________________________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn new(recv: mpsc::Receiver, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn run(mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/processor.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Context [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/processor.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 49 | / impl Context [INFO] [stdout] 50 | | where [INFO] [stdout] 51 | | Input : Clone + Send + 'static, [INFO] [stdout] 52 | | Output : Clone + Send + 'static, [INFO] [stdout] 53 | | Proc : Processor + Send + 'static [INFO] [stdout] | |______________________________________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn new(recv: mpsc::Receiver, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn run(mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_shutdown_manager` is never used [INFO] [stdout] --> src/shutdown_manager.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn start_shutdown_manager(shutdown_recv: oneshot::Receiver<()>, list_shutdown: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRODUCER_FILLBUFFER_TIMEOUT_REALTIME` is never used [INFO] [stdout] --> src/topology.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const PRODUCER_FILLBUFFER_TIMEOUT_REALTIME: Duration = Duration::from_millis(2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRODUCER_FILLBUFFER_TIMEOUT_BATCH` is never used [INFO] [stdout] --> src/topology.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const PRODUCER_FILLBUFFER_TIMEOUT_BATCH: Duration = Duration::from_millis(50); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BATCH_SIZE` is never used [INFO] [stdout] --> src/topology.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const BATCH_SIZE: usize = 100; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BATCH_TIMEOUT` is never used [INFO] [stdout] --> src/topology.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const BATCH_TIMEOUT: Duration = Duration::from_millis(50); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONCURRENCY` is never used [INFO] [stdout] --> src/topology.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const CONCURRENCY: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUFFER_SIZE` is never used [INFO] [stdout] --> src/topology.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const BUFFER_SIZE: usize = 10; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUFFER_POOL_SIZE` is never used [INFO] [stdout] --> src/topology.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const BUFFER_POOL_SIZE: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProcessingType` is never used [INFO] [stdout] --> src/topology.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum ProcessingType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_producer` is never used [INFO] [stdout] --> src/topology.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn start_producer (producer_factory: F, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/topology.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_processor` is never used [INFO] [stdout] --> src/topology.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn start_processor (processor_factory: F, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_batch_processor` is never used [INFO] [stdout] --> src/topology.rs:152:4 [INFO] [stdout] | [INFO] [stdout] 152 | fn start_batch_processor (batcher_factory: F, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_topology_1` is never used [INFO] [stdout] --> src/topology.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn run_topology_1 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_topology_2` is never used [INFO] [stdout] --> src/topology.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn run_topology_2 src/topology.rs:332:8 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn run_topology_3 src/topology.rs:421:8 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn run_topology_4 src/topology.rs:530:8 [INFO] [stdout] | [INFO] [stdout] 530 | pub fn run_topology_5 src/topology.rs:663:8 [INFO] [stdout] | [INFO] [stdout] 663 | pub fn run_topology_1_with_batcher src/topology.rs:735:8 [INFO] [stdout] | [INFO] [stdout] 735 | pub fn run_topology_2_with_batcher src/topology.rs:825:8 [INFO] [stdout] | [INFO] [stdout] 825 | pub fn run_topology_3_with_batcher src/topology.rs:934:8 [INFO] [stdout] | [INFO] [stdout] 934 | pub fn run_topology_4_with_batcher src/topology.rs:1062:8 [INFO] [stdout] | [INFO] [stdout] 1062 | pub fn run_topology_5_with_batcher src/dispatcher.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type StageName = String; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InternalDispatchError` is never used [INFO] [stdout] --> src/dispatcher.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | enum InternalDispatchError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DispatchError` is never used [INFO] [stdout] --> src/dispatcher.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum DispatchError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StatusResult` is never used [INFO] [stdout] --> src/dispatcher.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | pub enum StatusResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dispatcher` is never constructed [INFO] [stdout] --> src/dispatcher.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Dispatcher { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/dispatcher.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 63 | / impl Dispatcher [INFO] [stdout] 64 | | where [INFO] [stdout] 65 | | T: Clone + Send + 'static [INFO] [stdout] | |_____________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn new(channels: IndexMap>, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn dispatch(&mut self, msg: T, batch_key: Option) -> Result<(), DispatchError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | async fn partition(&mut self, msg: T, batch_key: String) -> Result<(), DispatchError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | async fn broadcast(&mut self, msg: T) -> Result<(), DispatchError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | async fn roundrobin(&mut self, mut msg: T) -> Result<(), DispatchError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | async fn logic_roundrobin(&mut self, mut msg: T) -> Result<(), InternalDispatchError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | fn next_index(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | fn list_check(channels: &IndexMap>) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5f84b21d201a934f230df0f3aa2b9b9e3f188e477632fc0bc9a22c20e36125d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f84b21d201a934f230df0f3aa2b9b9e3f188e477632fc0bc9a22c20e36125d3", kill_on_drop: false }` [INFO] [stdout] 5f84b21d201a934f230df0f3aa2b9b9e3f188e477632fc0bc9a22c20e36125d3