[INFO] fetching crate laststage 1.0.0... [INFO] testing laststage-1.0.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate laststage 1.0.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate laststage 1.0.0 [INFO] finished tweaking crates.io crate laststage 1.0.0 [INFO] tweaked toml for crates.io crate laststage 1.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate laststage 1.0.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate laststage 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc43854a4b42bf0f1d14499e886bf811a431c89f9cfe31378869b4667c39a86a [INFO] running `Command { std: "docker" "start" "-a" "dc43854a4b42bf0f1d14499e886bf811a431c89f9cfe31378869b4667c39a86a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc43854a4b42bf0f1d14499e886bf811a431c89f9cfe31378869b4667c39a86a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc43854a4b42bf0f1d14499e886bf811a431c89f9cfe31378869b4667c39a86a", kill_on_drop: false }` [INFO] [stdout] dc43854a4b42bf0f1d14499e886bf811a431c89f9cfe31378869b4667c39a86a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 309f19b5ff06995b4af11ca22a817071da976b203f2d4d6871667a15d5085579 [INFO] running `Command { std: "docker" "start" "-a" "309f19b5ff06995b4af11ca22a817071da976b203f2d4d6871667a15d5085579", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling laststage v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `mpsc::Sender` and `oneshot` [INFO] [stdout] --> src/lib.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::{mpsc::Sender, oneshot}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `time::Duration` [INFO] [stdout] --> src/lib.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{time::Duration, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::oneshot::channel` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::sync::oneshot::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/behaviors.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct DestinationDown(Vec); [INFO] [stdout] | --------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.80s [INFO] running `Command { std: "docker" "inspect" "309f19b5ff06995b4af11ca22a817071da976b203f2d4d6871667a15d5085579", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "309f19b5ff06995b4af11ca22a817071da976b203f2d4d6871667a15d5085579", kill_on_drop: false }` [INFO] [stdout] 309f19b5ff06995b4af11ca22a817071da976b203f2d4d6871667a15d5085579 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47e16f9c0fb34b591c48fd5e9af1df2214f781e55cddc45edd9c2e66e53b1c32 [INFO] running `Command { std: "docker" "start" "-a" "47e16f9c0fb34b591c48fd5e9af1df2214f781e55cddc45edd9c2e66e53b1c32", kill_on_drop: false }` [INFO] [stderr] Compiling laststage v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `mpsc::Sender` and `oneshot` [INFO] [stdout] --> src/lib.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::{mpsc::Sender, oneshot}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `time::Duration` [INFO] [stdout] --> src/lib.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{time::Duration, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::oneshot::channel` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::sync::oneshot::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/behaviors.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct DestinationDown(Vec); [INFO] [stdout] | --------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> examples/simple.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | #[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 laststage::async_trait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> examples/simple.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 laststage::async_trait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> examples/simple.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | #[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 laststage::async_trait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `channel` in this scope [INFO] [stdout] --> examples/simple.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | let(shutdown_sender, shutdown_recv) = channel(); [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 `ConsumerRunnable` [INFO] [stdout] --> examples/simple.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | let log_chan = ConsumerRunnable::new(Box::new(Log)).run(100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ConsumerRunnable` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use laststage::ConsumerRunnable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProducerConsumerRunnable` [INFO] [stdout] --> examples/simple.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | let filter_chan = ProducerConsumerRunnable::new(Box::new(FilterByAge), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ProducerConsumerRunnable` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use laststage::ProducerConsumerRunnable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DispatcherType` [INFO] [stdout] --> examples/simple.rs:23:58 [INFO] [stdout] | [INFO] [stdout] 23 | ... Some(DispatcherType::RoundRobin) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DispatcherType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use laststage::DispatcherType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProducerRunnable` [INFO] [stdout] --> examples/simple.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let _ = ProducerRunnable::new(Box::new(Prod), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ProducerRunnable` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use laststage::ProducerRunnable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> examples/simple.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | tokio::time::sleep(Duration::from_secs(10)).await; [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[E0405]: cannot find trait `Producer` in this scope [INFO] [stdout] --> examples/simple.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 47 | 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 laststage::Producer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ProducerConsumer` in this scope [INFO] [stdout] --> examples/simple.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 78 | impl ProducerConsumer for FilterByAge { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use laststage::ProducerConsumer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Consumer` in this scope [INFO] [stdout] --> examples/simple.rs:102:6 [INFO] [stdout] | [INFO] [stdout] 102 | impl Consumer for Log { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use laststage::Consumer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> examples/simple.rs:107:66 [INFO] [stdout] | [INFO] [stdout] 107 | async fn handle_events(&mut self, events: Vec) -> State { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use laststage::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `State` [INFO] [stdout] --> examples/simple.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | State::Continue [INFO] [stdout] | ^^^^^ use of undeclared type `State` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use laststage::State; [INFO] [stdout] | [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] [stderr] error: could not compile `laststage` (example "simple") due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused imports: `mpsc::Sender` and `oneshot` [INFO] [stdout] --> src/lib.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::sync::{mpsc::Sender, oneshot}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `time::Duration` [INFO] [stdout] --> src/lib.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{time::Duration, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::oneshot::channel` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::sync::oneshot::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> examples/multi.rs:66:3 [INFO] [stdout] | [INFO] [stdout] 66 | #[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 laststage::async_trait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> examples/multi.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] 2 + use async_trait::async_trait; [INFO] [stdout] | [INFO] [stdout] 2 + use laststage::async_trait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> examples/multi.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] 2 + use async_trait::async_trait; [INFO] [stdout] | [INFO] [stdout] 2 + use laststage::async_trait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `channel` in this scope [INFO] [stdout] --> examples/multi.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | let(shutdown_sender, shutdown_recv) = channel(); [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 `ConsumerRunnable` [INFO] [stdout] --> examples/multi.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | let log_chan = ConsumerRunnable::new(Box::new(Log)).run(100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ConsumerRunnable` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use laststage::ConsumerRunnable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProducerConsumerRunnable` [INFO] [stdout] --> examples/multi.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | ProducerConsumerRunnable::new(Box::new(FilterByAge), vec![log_chan.clone()], None).unwrap().run(100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ProducerConsumerRunnable` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use laststage::ProducerConsumerRunnable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProducerConsumerRunnable` [INFO] [stdout] --> examples/multi.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | ProducerConsumerRunnable::new(Box::new(FilterByAge), vec![log_chan.clone()], None).unwrap().run(100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ProducerConsumerRunnable` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use laststage::ProducerConsumerRunnable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProducerConsumerRunnable` [INFO] [stdout] --> examples/multi.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | ProducerConsumerRunnable::new(Box::new(FilterByAge), vec![log_chan.clone()], None).unwrap().run(100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ProducerConsumerRunnable` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use laststage::ProducerConsumerRunnable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProducerConsumerRunnable` [INFO] [stdout] --> examples/multi.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | ProducerConsumerRunnable::new(Box::new(FilterByAge), vec![log_chan], None).unwrap().run(100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ProducerConsumerRunnable` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use laststage::ProducerConsumerRunnable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProducerRunnable` [INFO] [stdout] --> examples/multi.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let _ = ProducerRunnable::new(Box::new(Prod), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ProducerRunnable` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use laststage::ProducerRunnable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DispatcherType` [INFO] [stdout] --> examples/multi.rs:49:40 [INFO] [stdout] | [INFO] [stdout] 49 | ... Some(DispatcherType::RoundRobin), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DispatcherType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use laststage::DispatcherType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> examples/multi.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | tokio::time::sleep(Duration::from_secs(10)).await; [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[E0405]: cannot find trait `Producer` in this scope [INFO] [stdout] --> examples/multi.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | 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 laststage::Producer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ProducerConsumer` in this scope [INFO] [stdout] --> examples/multi.rs:98:6 [INFO] [stdout] | [INFO] [stdout] 98 | impl ProducerConsumer for FilterByAge { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use laststage::ProducerConsumer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Consumer` in this scope [INFO] [stdout] --> examples/multi.rs:122:6 [INFO] [stdout] | [INFO] [stdout] 122 | impl Consumer for Log { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use laststage::Consumer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> examples/multi.rs:127:66 [INFO] [stdout] | [INFO] [stdout] 127 | async fn handle_events(&mut self, events: Vec) -> State { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use laststage::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `State` [INFO] [stdout] --> examples/multi.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | State::Continue [INFO] [stdout] | ^^^^^ use of undeclared type `State` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use laststage::State; [INFO] [stdout] | [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] [stderr] error: could not compile `laststage` (example "multi") due to 17 previous errors [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/behaviors.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct DestinationDown(Vec); [INFO] [stdout] | --------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "47e16f9c0fb34b591c48fd5e9af1df2214f781e55cddc45edd9c2e66e53b1c32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47e16f9c0fb34b591c48fd5e9af1df2214f781e55cddc45edd9c2e66e53b1c32", kill_on_drop: false }` [INFO] [stdout] 47e16f9c0fb34b591c48fd5e9af1df2214f781e55cddc45edd9c2e66e53b1c32