[INFO] fetching crate tokio_sky 1.0.0... [INFO] building tokio_sky-1.0.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate tokio_sky 1.0.0 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio_sky 1.0.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af472a72fa7d6e2877e3d262c45fc4e3026ea636cf1fb5b033ae1b34ef16a0be [INFO] running `Command { std: "docker" "start" "-a" "af472a72fa7d6e2877e3d262c45fc4e3026ea636cf1fb5b033ae1b34ef16a0be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af472a72fa7d6e2877e3d262c45fc4e3026ea636cf1fb5b033ae1b34ef16a0be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af472a72fa7d6e2877e3d262c45fc4e3026ea636cf1fb5b033ae1b34ef16a0be", kill_on_drop: false }` [INFO] [stdout] af472a72fa7d6e2877e3d262c45fc4e3026ea636cf1fb5b033ae1b34ef16a0be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e09397239de748a3e769e78bc3b16e3b828b9d8a7cb0455bed4fd28de959f5e9 [INFO] running `Command { std: "docker" "start" "-a" "e09397239de748a3e769e78bc3b16e3b828b9d8a7cb0455bed4fd28de959f5e9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling hashring v0.3.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling num_cpus v1.13.1 [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: 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: 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: 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: 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 `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.60s [INFO] running `Command { std: "docker" "inspect" "e09397239de748a3e769e78bc3b16e3b828b9d8a7cb0455bed4fd28de959f5e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e09397239de748a3e769e78bc3b16e3b828b9d8a7cb0455bed4fd28de959f5e9", kill_on_drop: false }` [INFO] [stdout] e09397239de748a3e769e78bc3b16e3b828b9d8a7cb0455bed4fd28de959f5e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56a57ce64cecc817aff973bade6fd1583baff639fdd0b5d723a5fd6d1ea53548 [INFO] running `Command { std: "docker" "start" "-a" "56a57ce64cecc817aff973bade6fd1583baff639fdd0b5d723a5fd6d1ea53548", kill_on_drop: false }` [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: 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: 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: 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: 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 `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] [stderr] Compiling tokio_sky v1.0.0 (/opt/rustwide/workdir) [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: `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] [stderr] error: could not compile `tokio_sky` (example "complex(2 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] [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: 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[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] [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[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] [stderr] error: could not compile `tokio_sky` (example "ordering_and_paritioning") due to 17 previous errors [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] [stderr] error: could not compile `tokio_sky` (example "kafka_producer") due to 10 previous errors [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 `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: invalid character '(' in crate name: `complex(3 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(3 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(3 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 "complex(3 layer)") due to 3 previous errors [INFO] [stdout] error[E0432]: unresolved import `pulsar` [INFO] [stdout] --> examples/pulsar_producer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use pulsar::SubType; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `pulsar` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pulsar`, use `cargo add pulsar` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_sky::builtin::kafka_processor` [INFO] [stdout] --> examples/pulsar_processor_complex.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_sky::builtin::kafka_processor::KafkaProcessor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `kafka_processor` in `builtin` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/builtin.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "kafka")] [INFO] [stdout] | ----------------- the item is gated behind the `kafka` feature [INFO] [stdout] 13 | pub mod kafka_processor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pulsar` [INFO] [stdout] --> examples/pulsar_processor_complex.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use pulsar::Error; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `pulsar` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pulsar`, use `cargo add pulsar` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> examples/pulsar_producer.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> examples/pulsar_producer.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> examples/pulsar_processor_complex.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 82 | #[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/pulsar_processor_complex.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 112 | #[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/pulsar_producer.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 82 | #[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 unresolved module or unlinked crate `proto` [INFO] [stdout] --> examples/pulsar_processor_complex.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | r#type: proto::schema::Type::String as i32, [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `proto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `proto`, use `cargo add proto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pulsar` in this scope [INFO] [stdout] --> examples/pulsar_producer.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | let pulsar: Pulsar<_> = Pulsar::builder(addr, TokioExecutor).build().await.unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TokioExecutor` in this scope [INFO] [stdout] --> examples/pulsar_producer.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | let pulsar: Pulsar<_> = Pulsar::builder(addr, TokioExecutor).build().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RouterType` [INFO] [stdout] --> examples/pulsar_producer.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | 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[E0405]: cannot find trait `Processor` in this scope [INFO] [stdout] --> examples/pulsar_producer.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | 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/pulsar_producer.rs:87:59 [INFO] [stdout] | [INFO] [stdout] 87 | async fn handle_message(&mut self, msg: TestData) -> 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/pulsar_producer.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | 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] error[E0433]: failed to resolve: use of undeclared type `Pulsar` [INFO] [stdout] --> examples/pulsar_producer.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | let pulsar: Pulsar<_> = Pulsar::builder(addr, TokioExecutor).build().await.unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pulsar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PulsarProducer` [INFO] [stdout] --> examples/pulsar_producer.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | || PulsarProducer::::new(pulsar, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PulsarProducer` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio_sky` (example "pulsar_producer") due to 14 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProcessingType` [INFO] [stdout] --> examples/pulsar_producer.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | ... ProcessingType::Batch).unwrap(); [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/pulsar_producer.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | run_topology_1( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [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: type alias `StageName` is never used [INFO] [stdout] --> src/dispatcher.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type StageName = String; [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/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: 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: 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: 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: 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] 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: 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 examples/pulsar_processor_complex.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] 1 + use tokio_sky::RouterType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pulsar` in this scope [INFO] [stdout] --> examples/pulsar_processor_complex.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let pulsar: Pulsar<_> = Pulsar::builder(addr, TokioExecutor).build().await.unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TokioExecutor` in this scope [INFO] [stdout] --> examples/pulsar_processor_complex.rs:19:51 [INFO] [stdout] | [INFO] [stdout] 19 | let pulsar: Pulsar<_> = Pulsar::builder(addr, TokioExecutor).build().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RouterType` [INFO] [stdout] --> examples/pulsar_processor_complex.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | let pulsar_proc_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[E0405]: cannot find trait `Producer` in this scope [INFO] [stdout] --> examples/pulsar_processor_complex.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | 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 `ProcKafkaMessage` in this scope [INFO] [stdout] --> examples/pulsar_processor_complex.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | 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] 83 | impl Producer for Prod { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VecDeque` in this scope [INFO] [stdout] --> examples/pulsar_processor_complex.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 89 | 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 `ProcKafkaMessage` in this scope [INFO] [stdout] --> examples/pulsar_processor_complex.rs:89:49 [INFO] [stdout] | [INFO] [stdout] 89 | 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] 83 | impl Producer for Prod { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VecDeque` in this scope [INFO] [stdout] --> examples/pulsar_processor_complex.rs:91:67 [INFO] [stdout] | [INFO] [stdout] 91 | 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 `ProcKafkaMessage` in this scope [INFO] [stdout] --> examples/pulsar_processor_complex.rs:91:76 [INFO] [stdout] | [INFO] [stdout] 91 | 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] 83 | impl Producer for Prod { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Terminate` in this scope [INFO] [stdout] --> examples/pulsar_processor_complex.rs:91:95 [INFO] [stdout] | [INFO] [stdout] 91 | 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] 83 | 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/pulsar_processor_complex.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | 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/pulsar_processor_complex.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | .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[E0412]: cannot find type `ProcKafkaMessage` in this scope [INFO] [stdout] --> examples/pulsar_processor_complex.rs:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | .collect::>()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 83 | impl Producer for Prod { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Processor` in this scope [INFO] [stdout] --> examples/pulsar_processor_complex.rs:113:6 [INFO] [stdout] | [INFO] [stdout] 113 | 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 `DeliveryResult` in this scope [INFO] [stdout] --> examples/pulsar_processor_complex.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | impl Processor for Layer2Process { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 113 | impl Processor for Layer2Process { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Layer2Process` in this scope [INFO] [stdout] --> examples/pulsar_processor_complex.rs:113:40 [INFO] [stdout] | [INFO] [stdout] 113 | impl Processor for Layer2Process { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DeliveryResult` in this scope [INFO] [stdout] --> examples/pulsar_processor_complex.rs:117:45 [INFO] [stdout] | [INFO] [stdout] 117 | async fn handle_message(&mut self, msg: DeliveryResult) -> 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/pulsar_processor_complex.rs:117:65 [INFO] [stdout] | [INFO] [stdout] 117 | async fn handle_message(&mut self, msg: DeliveryResult) -> 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/pulsar_processor_complex.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | 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] error[E0433]: failed to resolve: use of undeclared type `Pulsar` [INFO] [stdout] --> examples/pulsar_processor_complex.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | let pulsar: Pulsar<_> = Pulsar::builder(addr, TokioExecutor).build().await.unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Pulsar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `producer` [INFO] [stdout] --> examples/pulsar_processor_complex.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | let opts = producer::ProducerOptions { [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `producer` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `producer`, use `cargo add producer` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `proto` [INFO] [stdout] --> examples/pulsar_processor_complex.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | schema: Some(proto::Schema { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `proto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `proto`, use `cargo add proto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PulsarProcessor` [INFO] [stdout] --> examples/pulsar_processor_complex.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | let pulsar_proc_factory = || || PulsarProcessor::new(pulsar, opts, topic, pulsar_instance_name).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `PulsarProcessor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_topology_2` in this scope [INFO] [stdout] --> examples/pulsar_processor_complex.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | run_topology_2( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, 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 "pulsar_processor_complex") due to 30 previous errors [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] running `Command { std: "docker" "inspect" "56a57ce64cecc817aff973bade6fd1583baff639fdd0b5d723a5fd6d1ea53548", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56a57ce64cecc817aff973bade6fd1583baff639fdd0b5d723a5fd6d1ea53548", kill_on_drop: false }` [INFO] [stdout] 56a57ce64cecc817aff973bade6fd1583baff639fdd0b5d723a5fd6d1ea53548