[INFO] fetching crate tokio_sky 1.0.0... [INFO] checking tokio_sky-1.0.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-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 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rdkafka-sys v4.2.0+1.8.2 [INFO] [stderr] Downloaded hashring v0.3.0 [INFO] [stderr] Downloaded pulsar v4.1.1 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21f8a24a85df2c77c511e818f89db31ada4267e88bb7fc1f1e7a5de3a813525b [INFO] running `Command { std: "docker" "start" "-a" "21f8a24a85df2c77c511e818f89db31ada4267e88bb7fc1f1e7a5de3a813525b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21f8a24a85df2c77c511e818f89db31ada4267e88bb7fc1f1e7a5de3a813525b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21f8a24a85df2c77c511e818f89db31ada4267e88bb7fc1f1e7a5de3a813525b", kill_on_drop: false }` [INFO] [stdout] 21f8a24a85df2c77c511e818f89db31ada4267e88bb7fc1f1e7a5de3a813525b [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14aa47813a0425057b62a3463ee15089bc44c3d28f1f04286ab9a52f1e037987 [INFO] running `Command { std: "docker" "start" "-a" "14aa47813a0425057b62a3463ee15089bc44c3d28f1f04286ab9a52f1e037987", 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 async-trait v0.1.53 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking hashring v0.3.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking tokio v1.18.1 [INFO] [stderr] Checking 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)]` 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] 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)]` 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: `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(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: `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: expected type, found `}` [INFO] [stdout] --> examples/kafka_processor_complex.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 101 | struct DeliveryHandler { [INFO] [stdout] | --------------- while parsing this struct [INFO] [stdout] 102 | deadletter_destination: /* .... */ [INFO] [stdout] 103 | } [INFO] [stdout] | ^ expected type [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] [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 `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: 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] [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 "complex(3 layer)") due to 3 previous errors [INFO] [stdout] error[E0432]: unresolved import `tokio_sky::builtin::kafka_processor` [INFO] [stdout] --> examples/kafka_processor_complex.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | 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] [stderr] error: could not compile `tokio_sky` (example "simple(1 layer)") due to 3 previous errors [INFO] [stdout] error[E0432]: unresolved import `tokio_sky::builtin::pulsar_processor` [INFO] [stdout] --> examples/pulsar_processor.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio_sky::builtin::pulsar_processor::PulsarProcessor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `pulsar_processor` in `builtin` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/builtin.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "pulsar")] [INFO] [stdout] | ------------------ the item is gated behind the `pulsar` feature [INFO] [stdout] 22 | pub mod pulsar_processor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_sky::builtin::pulsar_processor` [INFO] [stdout] --> examples/pulsar_batcher.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio_sky::builtin::pulsar_processor::PulsarProcessor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `pulsar_processor` in `builtin` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/builtin.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "pulsar")] [INFO] [stdout] | ------------------ the item is gated behind the `pulsar` feature [INFO] [stdout] 22 | pub mod pulsar_processor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pulsar` [INFO] [stdout] --> examples/pulsar_batcher.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use pulsar::ProducerOptions; [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 `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 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: 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: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> examples/kafka_processor_complex.rs:72:3 [INFO] [stdout] | [INFO] [stdout] 72 | #[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_processor_complex.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 105 | #[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 derive macro `Serialize` in this scope [INFO] [stdout] --> examples/pulsar_batcher.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [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 derive macro `Deserialize` in this scope [INFO] [stdout] --> examples/pulsar_batcher.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> examples/pulsar_processor.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> examples/pulsar_batcher.rs:97:3 [INFO] [stdout] | [INFO] [stdout] 97 | #[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/collector.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | #[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/pulsar_batcher.rs:123:3 [INFO] [stdout] | [INFO] [stdout] 123 | #[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 derive macro `Deserialize` in this scope [INFO] [stdout] --> examples/pulsar_processor.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | #[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.rs:88:3 [INFO] [stdout] | [INFO] [stdout] 88 | #[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[E0425]: cannot find function `channel` in this scope [INFO] [stdout] --> examples/collector.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | let (colletor_sender, collector_recv) = channel::(500); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpmc::channel; [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::mpsc::channel; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::sync::broadcast::channel; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::sync::mpsc::channel; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> examples/collector.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | let timeout = Duration::from_secs(1); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::time::Duration; [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 undeclared type `RouterType` [INFO] [stdout] --> examples/collector.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | 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 `Processor` in this scope [INFO] [stdout] --> examples/collector.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | 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/collector.rs:76:54 [INFO] [stdout] | [INFO] [stdout] 76 | async fn handle_message(&mut self, msg: i32) -> 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/collector.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | 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: 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/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] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collector` [INFO] [stdout] --> examples/collector.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | let producer_factory = || Collector::new(collector_recv, timeout); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Collector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_topology_1` in this scope [INFO] [stdout] --> examples/collector.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | 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: 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/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[E0433]: failed to resolve: use of undeclared type `RouterType` [INFO] [stdout] --> examples/kafka_processor_complex.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/kafka_processor_complex.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | let kafka_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[E0423]: expected value, found struct `DeliveryHandler` [INFO] [stdout] --> examples/kafka_processor_complex.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | let result_handler_proc_factory = || DeliveryHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `DeliveryHandler {}` [INFO] [stdout] ... [INFO] [stdout] 101 | / struct DeliveryHandler { [INFO] [stdout] 102 | | deadletter_destination: /* .... */ [INFO] [stdout] 103 | | } [INFO] [stdout] | |_- `DeliveryHandler` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Producer` in this scope [INFO] [stdout] --> examples/kafka_processor_complex.rs:73:6 [INFO] [stdout] | [INFO] [stdout] 73 | 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] [stderr] error: could not compile `tokio_sky` (example "collector") due to 9 previous errors [INFO] [stdout] error[E0412]: cannot find type `ProcKafkaMessage` in this scope [INFO] [stdout] --> examples/kafka_processor_complex.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | 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] 73 | 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_complex.rs:79:40 [INFO] [stdout] | [INFO] [stdout] 79 | 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/kafka_processor_complex.rs:79:49 [INFO] [stdout] | [INFO] [stdout] 79 | 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] 73 | 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_complex.rs:81:67 [INFO] [stdout] | [INFO] [stdout] 81 | 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/kafka_processor_complex.rs:81:76 [INFO] [stdout] | [INFO] [stdout] 81 | 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] 73 | 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_complex.rs:81:95 [INFO] [stdout] | [INFO] [stdout] 81 | 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] 73 | 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_complex.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | 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_complex.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | .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/kafka_processor_complex.rs:93:33 [INFO] [stdout] | [INFO] [stdout] 93 | .collect::>()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 73 | impl Producer for Prod { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Processor` in this scope [INFO] [stdout] --> examples/kafka_processor_complex.rs:106:6 [INFO] [stdout] | [INFO] [stdout] 106 | 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 `OwnedDeliveryResult` in this scope [INFO] [stdout] --> examples/kafka_processor_complex.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | 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] 106 | impl Processor for Layer2Process { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Layer2Process` in this scope [INFO] [stdout] --> examples/kafka_processor_complex.rs:106:45 [INFO] [stdout] | [INFO] [stdout] 106 | impl Processor for Layer2Process { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwnedDeliveryResult` in this scope [INFO] [stdout] --> examples/kafka_processor_complex.rs:110:45 [INFO] [stdout] | [INFO] [stdout] 110 | async fn handle_message(&mut self, msg: OwnedDeliveryResult) -> ProcResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [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[E0412]: cannot find type `ProcResult` in this scope [INFO] [stdout] --> examples/kafka_processor_complex.rs:110:70 [INFO] [stdout] | [INFO] [stdout] 110 | async fn handle_message(&mut self, msg: OwnedDeliveryResult) -> 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/kafka_processor_complex.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | 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 `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 unresolved module or unlinked crate `proto` [INFO] [stdout] --> examples/pulsar_batcher.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | 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[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] 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] For more information about an error, try `rustc --explain E0405`. [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 `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: 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[E0425]: cannot find function `run_topology_2` in this scope [INFO] [stdout] --> examples/kafka_processor_complex.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | run_topology_2( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0423, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [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 `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] [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 `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] [stderr] error: could not compile `tokio_sky` (example "kafka_processor") due to 14 previous errors [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] [stderr] error: could not compile `tokio_sky` (example "kafka_processor_complex") due to 24 previous errors [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] 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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `proto` [INFO] [stdout] --> examples/pulsar_processor.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | 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: 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/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/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/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/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/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/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 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/pulsar_batcher.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[E0433]: failed to resolve: use of undeclared type `RouterType` [INFO] [stdout] --> examples/pulsar_batcher.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | let proc1_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_batcher.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | 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_batcher.rs:26:51 [INFO] [stdout] | [INFO] [stdout] 26 | let pulsar: Pulsar<_> = Pulsar::builder(addr, TokioExecutor).build().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BATCH_TIMEOUT` in this scope [INFO] [stdout] --> examples/pulsar_batcher.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | let batcher_batch_timeout: BATCH_TIMEOUT; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `proc_factory` in this scope [INFO] [stdout] --> examples/pulsar_batcher.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | proc_factory, [INFO] [stdout] | ^^^^^^^^^^^^ help: a local variable with a similar name exists: `proc1_factory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `proc_concurrency` in this scope [INFO] [stdout] --> examples/pulsar_batcher.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | proc_concurrency, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `proc1_concurrency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `proc_router` in this scope [INFO] [stdout] --> examples/pulsar_batcher.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | proc_router, [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `proc1_router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `proc_buffer_size` in this scope [INFO] [stdout] --> examples/pulsar_batcher.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | proc_buffer_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `proc1_buffer_size` [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[E0405]: cannot find trait `SerializeMessage` in this scope [INFO] [stdout] --> examples/pulsar_batcher.rs:84:6 [INFO] [stdout] | [INFO] [stdout] 84 | impl SerializeMessage for Cat { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PulsarError` in this scope [INFO] [stdout] --> examples/pulsar_batcher.rs:85:68 [INFO] [stdout] | [INFO] [stdout] 85 | fn serialize_message(input: Self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 84 | impl SerializeMessage for Cat { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Producer` in this scope [INFO] [stdout] --> examples/pulsar_batcher.rs:98:6 [INFO] [stdout] | [INFO] [stdout] 98 | 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[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[E0412]: cannot find type `VecDeque` in this scope [INFO] [stdout] --> examples/pulsar_batcher.rs:104:40 [INFO] [stdout] | [INFO] [stdout] 104 | 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[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/pulsar_batcher.rs:106:67 [INFO] [stdout] | [INFO] [stdout] 106 | 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 `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/pulsar_batcher.rs:106:82 [INFO] [stdout] | [INFO] [stdout] 106 | 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] 98 | 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_batcher.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/pulsar_batcher.rs:124:6 [INFO] [stdout] | [INFO] [stdout] 124 | 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[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 `ProcResult` in this scope [INFO] [stdout] --> examples/pulsar_batcher.rs:128:54 [INFO] [stdout] | [INFO] [stdout] 128 | async fn handle_message(&mut self, msg: Cat) -> 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_batcher.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | ProcResult::Dispatch(msg, None) [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 `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[E0433]: failed to resolve: use of undeclared type `RouterType` [INFO] [stdout] --> examples/pulsar_processor.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[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 `Pulsar` in this scope [INFO] [stdout] --> examples/pulsar_processor.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | 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.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | let pulsar: Pulsar<_> = Pulsar::builder(addr, TokioExecutor).build().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `SerializeMessage` in this scope [INFO] [stdout] --> examples/pulsar_processor.rs:75:6 [INFO] [stdout] | [INFO] [stdout] 75 | impl SerializeMessage for TestData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PulsarError` in this scope [INFO] [stdout] --> examples/pulsar_processor.rs:76:68 [INFO] [stdout] | [INFO] [stdout] 76 | fn serialize_message(input: Self) -> Result { [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 SerializeMessage for TestData { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Producer` in this scope [INFO] [stdout] --> examples/pulsar_processor.rs:89:6 [INFO] [stdout] | [INFO] [stdout] 89 | 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 `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[E0412]: cannot find type `VecDeque` in this scope [INFO] [stdout] --> examples/pulsar_processor.rs:95:40 [INFO] [stdout] | [INFO] [stdout] 95 | 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/pulsar_processor.rs:97:67 [INFO] [stdout] | [INFO] [stdout] 97 | 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/pulsar_processor.rs:97:87 [INFO] [stdout] | [INFO] [stdout] 97 | 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] 89 | 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.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | .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[E0433]: failed to resolve: use of undeclared type `Pulsar` [INFO] [stdout] --> examples/pulsar_batcher.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | 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 `proto` [INFO] [stdout] --> examples/pulsar_batcher.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | 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 unresolved module or unlinked crate `producer` [INFO] [stdout] --> examples/pulsar_batcher.rs:85:49 [INFO] [stdout] | [INFO] [stdout] 85 | fn serialize_message(input: Self) -> Result { [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 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> examples/pulsar_batcher.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | let payload = serde_json::to_vec(&input).map_err(|e| PulsarError::Custom(e.to_string()))?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [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] error[E0433]: failed to resolve: use of undeclared type `PulsarError` [INFO] [stdout] --> examples/pulsar_batcher.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 86 | let payload = serde_json::to_vec(&input).map_err(|e| PulsarError::Custom(e.to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PulsarError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `producer` [INFO] [stdout] --> examples/pulsar_batcher.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | Ok(producer::Message { [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[E0425]: cannot find function `run_topology_1_with_batcher` in this scope [INFO] [stdout] --> examples/pulsar_batcher.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | run_topology_1_with_batcher( [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] error[E0433]: failed to resolve: use of undeclared type `Pulsar` [INFO] [stdout] --> examples/pulsar_processor.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | 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.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | 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.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | 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] 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 unresolved module or unlinked crate `producer` [INFO] [stdout] --> examples/pulsar_processor.rs:76:49 [INFO] [stdout] | [INFO] [stdout] 76 | fn serialize_message(input: Self) -> Result { [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 `serde_json` [INFO] [stdout] --> examples/pulsar_processor.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | let payload = serde_json::to_vec(&input).map_err(|e| PulsarError::Custom(e.to_string()))?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PulsarError` [INFO] [stdout] --> examples/pulsar_processor.rs:77:62 [INFO] [stdout] | [INFO] [stdout] 77 | let payload = serde_json::to_vec(&input).map_err(|e| PulsarError::Custom(e.to_string()))?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PulsarError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `producer` [INFO] [stdout] --> examples/pulsar_processor.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | Ok(producer::Message { [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[E0425]: cannot find function `run_topology_1` in this scope [INFO] [stdout] --> examples/pulsar_processor.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | 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] 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] [stderr] error: could not compile `tokio_sky` (example "ordering_and_paritioning") due to 17 previous errors [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] [stderr] error: could not compile `tokio_sky` (example "pulsar_batcher") due to 33 previous errors [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] [stderr] error: could not compile `tokio_sky` (example "pulsar_processor") due to 23 previous errors [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] [stderr] error: could not compile `tokio_sky` (example "dynamic_batching") due to 21 previous errors [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[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[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[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] 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] 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[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] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/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] [stdout] error[E0433]: failed to resolve: use of undeclared type `RouterType` [INFO] [stdout] --> 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] [stderr] error: could not compile `tokio_sky` (example "batch_insert_mysql") due to 26 previous errors [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] [stderr] error: could not compile `tokio_sky` (example "pulsar_processor_complex") due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "14aa47813a0425057b62a3463ee15089bc44c3d28f1f04286ab9a52f1e037987", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14aa47813a0425057b62a3463ee15089bc44c3d28f1f04286ab9a52f1e037987", kill_on_drop: false }` [INFO] [stdout] 14aa47813a0425057b62a3463ee15089bc44c3d28f1f04286ab9a52f1e037987