[INFO] fetching crate laststage 1.0.0...
[INFO] checking laststage-1.0.0 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate laststage 1.0.0 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate laststage 1.0.0 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-5-tc1/source/Cargo.toml
[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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9080eb25e47d47716b88933d10f2b631f76634bd3e003bbe2af8be85ba39e5c4
[INFO] running `Command { std: "docker" "start" "-a" "9080eb25e47d47716b88933d10f2b631f76634bd3e003bbe2af8be85ba39e5c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9080eb25e47d47716b88933d10f2b631f76634bd3e003bbe2af8be85ba39e5c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9080eb25e47d47716b88933d10f2b631f76634bd3e003bbe2af8be85ba39e5c4", kill_on_drop: false }`
[INFO] [stdout] 9080eb25e47d47716b88933d10f2b631f76634bd3e003bbe2af8be85ba39e5c4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 42c0766f80bcb618da3516e93e77079f56093d37f4693fd765d398c1e65d130a
[INFO] running `Command { std: "docker" "start" "-a" "42c0766f80bcb618da3516e93e77079f56093d37f4693fd765d398c1e65d130a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling libc v0.2.124
[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]    Compiling async-trait v0.1.53
[INFO] [stderr]     Checking tokio v1.17.0
[INFO] [stderr]     Checking laststage v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `mpsc::Sender`, `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`, `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: unused imports: `mpsc::Sender`, `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`, `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<Out>(Vec<Out>);
[INFO] [stdout]    |            ---------------      ^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct DestinationDown<Out>(());
[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<Out>(Vec<Out>);
[INFO] [stdout]    |            ---------------      ^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct DestinationDown<Out>(());
[INFO] [stdout]    |                                 ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[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 items
[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 items
[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: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 items
[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 items
[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 items
[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 items
[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 items
[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] 2 + use tokio::sync::oneshot::channel;
[INFO] [stdout]   |
[INFO] [stdout]     and 1 other candidate
[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 items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::time::Duration;
[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<ProdEvent> 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<ProdEvent, ProdEvent> 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<ProdEvent> 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<ProdEvent>) -> State<ProdEvent> {
[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] 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 items
[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] 2 + use tokio::sync::oneshot::channel;
[INFO] [stdout]   |
[INFO] [stdout]     and 1 other candidate
[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 items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::time::Duration;
[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<ProdEvent> 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<ProdEvent, ProdEvent> 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<ProdEvent> 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<ProdEvent>) -> State<ProdEvent> {
[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] error: aborting due to 14 previous errors
[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: aborting due to 17 previous errors
[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 15 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `laststage` (example "multi") due to 18 previous errors
[INFO] running `Command { std: "docker" "inspect" "42c0766f80bcb618da3516e93e77079f56093d37f4693fd765d398c1e65d130a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42c0766f80bcb618da3516e93e77079f56093d37f4693fd765d398c1e65d130a", kill_on_drop: false }`
[INFO] [stdout] 42c0766f80bcb618da3516e93e77079f56093d37f4693fd765d398c1e65d130a
[INFO] checking laststage-1.0.0 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate laststage 1.0.0 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate laststage 1.0.0 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-5-tc2/source/Cargo.toml
[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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 717520c322fd0b327e52ec89b45926f0a9b5f0ca55c67bc862ab0e8c99e5edbc
[INFO] running `Command { std: "docker" "start" "-a" "717520c322fd0b327e52ec89b45926f0a9b5f0ca55c67bc862ab0e8c99e5edbc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "717520c322fd0b327e52ec89b45926f0a9b5f0ca55c67bc862ab0e8c99e5edbc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "717520c322fd0b327e52ec89b45926f0a9b5f0ca55c67bc862ab0e8c99e5edbc", kill_on_drop: false }`
[INFO] [stdout] 717520c322fd0b327e52ec89b45926f0a9b5f0ca55c67bc862ab0e8c99e5edbc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5c5547e54a4d7a532fbf4485ec979ff947393dad39f595fb8b0d53ee9021fd89
[INFO] running `Command { std: "docker" "start" "-a" "5c5547e54a4d7a532fbf4485ec979ff947393dad39f595fb8b0d53ee9021fd89", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling libc v0.2.124
[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]    Compiling async-trait v0.1.53
[INFO] [stderr]     Checking tokio v1.17.0
[INFO] [stderr]     Checking laststage v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `mpsc::Sender`, `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`, `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: unused imports: `mpsc::Sender`, `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`, `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<Out>(Vec<Out>);
[INFO] [stdout]    |            ---------------      ^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct DestinationDown<Out>(());
[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<Out>(Vec<Out>);
[INFO] [stdout]    |            ---------------      ^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct DestinationDown<Out>(());
[INFO] [stdout]    |                                 ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[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 items
[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 items
[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: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 items
[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 items
[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 items
[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 items
[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 items
[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] 2 + use tokio::sync::oneshot::channel;
[INFO] [stdout]   |
[INFO] [stdout]     and 1 other candidate
[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 items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::time::Duration;
[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<ProdEvent> 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<ProdEvent, ProdEvent> 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<ProdEvent> 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<ProdEvent>) -> State<ProdEvent> {
[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] 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 items
[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] 2 + use tokio::sync::oneshot::channel;
[INFO] [stdout]   |
[INFO] [stdout]     and 1 other candidate
[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 items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::time::Duration;
[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<ProdEvent> 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<ProdEvent, ProdEvent> 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<ProdEvent> 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<ProdEvent>) -> State<ProdEvent> {
[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] error: aborting due to 14 previous errors
[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: aborting due to 17 previous errors
[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 15 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `laststage` (example "multi") due to 18 previous errors
[INFO] running `Command { std: "docker" "inspect" "5c5547e54a4d7a532fbf4485ec979ff947393dad39f595fb8b0d53ee9021fd89", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c5547e54a4d7a532fbf4485ec979ff947393dad39f595fb8b0d53ee9021fd89", kill_on_drop: false }`
[INFO] [stdout] 5c5547e54a4d7a532fbf4485ec979ff947393dad39f595fb8b0d53ee9021fd89
