[INFO] fetching crate laststage 1.0.0... [INFO] checking laststage-1.0.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate laststage 1.0.0 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate laststage 1.0.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d11681216620165ccc390fd47262dc6e100f7182a6fa62fb2c592f52c019abb [INFO] running `Command { std: "docker" "start" "-a" "9d11681216620165ccc390fd47262dc6e100f7182a6fa62fb2c592f52c019abb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d11681216620165ccc390fd47262dc6e100f7182a6fa62fb2c592f52c019abb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d11681216620165ccc390fd47262dc6e100f7182a6fa62fb2c592f52c019abb", kill_on_drop: false }` [INFO] [stdout] 9d11681216620165ccc390fd47262dc6e100f7182a6fa62fb2c592f52c019abb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 960f1cf0066273b7ab763e7183af1ab9a7458e8996d11676ea51f454e57fdc79 [INFO] running `Command { std: "docker" "start" "-a" "960f1cf0066273b7ab763e7183af1ab9a7458e8996d11676ea51f454e57fdc79", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.91 [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` 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] 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/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/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/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: 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/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] 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] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `laststage` (example "simple") due to 14 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "960f1cf0066273b7ab763e7183af1ab9a7458e8996d11676ea51f454e57fdc79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "960f1cf0066273b7ab763e7183af1ab9a7458e8996d11676ea51f454e57fdc79", kill_on_drop: false }` [INFO] [stdout] 960f1cf0066273b7ab763e7183af1ab9a7458e8996d11676ea51f454e57fdc79