[INFO] fetching crate event 0.2.1... [INFO] checking event-0.2.1 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate event 0.2.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate event 0.2.1 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate event 0.2.1 [INFO] finished tweaking crates.io crate event 0.2.1 [INFO] tweaked toml for crates.io crate event 0.2.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13adf5859e0c82ab591378ca1b9d883f026bc9f1be4a7ca68d47f5bcb14ef613 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "13adf5859e0c82ab591378ca1b9d883f026bc9f1be4a7ca68d47f5bcb14ef613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13adf5859e0c82ab591378ca1b9d883f026bc9f1be4a7ca68d47f5bcb14ef613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13adf5859e0c82ab591378ca1b9d883f026bc9f1be4a7ca68d47f5bcb14ef613", kill_on_drop: false }` [INFO] [stdout] 13adf5859e0c82ab591378ca1b9d883f026bc9f1be4a7ca68d47f5bcb14ef613 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e52db754c156c8458a6a79dac2c6d0cdd10b91ccb94b7516633cff00e7e6cbc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6e52db754c156c8458a6a79dac2c6d0cdd10b91ccb94b7516633cff00e7e6cbc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking event v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/registration.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | Registration::Timeout(box move |:_| { callback() }, timeout) [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/registration.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | Registration::Next(box move |:_| { callback() }) [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/registration.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | Registration::Timeout(box move |:_| { callback() }, timeout) [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/registration.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | Registration::Next(box move |:_| { callback() }) [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::time::duration` [INFO] [stdout] --> src/lib.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::duration::Duration; [INFO] [stdout] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::thunk` [INFO] [stdout] --> src/ioloop.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thunk::Invoke; [INFO] [stdout] | ^^^^^ could not find `thunk` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::util` [INFO] [stdout] --> src/ioloop.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use mio::util::Slab; [INFO] [stdout] | ^^^^ could not find `util` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `mio::EventLoop`, `mio::EventLoopSender`, `mio::IoDesc` [INFO] [stdout] --> src/ioloop.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use mio::{EventLoop, EventLoopSender, Token, IoDesc, event}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ no `IoDesc` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `EventLoopSender` in the root [INFO] [stdout] | no `EventLoop` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::Handler` [INFO] [stdout] --> src/ioloop.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mio::Handler as MioHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Handler` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::MioError` [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use mio::MioError; [INFO] [stdout] | ^^^^^^^^^^^^^ no `MioError` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::error::FromError` [INFO] [stdout] --> src/error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::FromError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `FromError` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `mio::IoDesc`, `mio::IoHandle` [INFO] [stdout] --> src/handler.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use mio::{IoDesc, IoHandle, event}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ no `IoHandle` in the root [INFO] [stdout] | | [INFO] [stdout] | no `IoDesc` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::thunk` [INFO] [stdout] --> src/registration.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thunk::Invoke; [INFO] [stdout] | ^^^^^ could not find `thunk` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::time::duration` [INFO] [stdout] --> src/registration.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::duration::Duration; [INFO] [stdout] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `mio::IoDesc`, `mio::IoHandle` [INFO] [stdout] --> src/util.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use mio::{IoDesc, IoHandle}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ no `IoHandle` in the root [INFO] [stdout] | | [INFO] [stdout] | no `IoDesc` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::time::duration` [INFO] [stdout] --> src/lib.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::duration::Duration; [INFO] [stdout] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::thunk` [INFO] [stdout] --> src/ioloop.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thunk::Invoke; [INFO] [stdout] | ^^^^^ could not find `thunk` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::util` [INFO] [stdout] --> src/ioloop.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use mio::util::Slab; [INFO] [stdout] | ^^^^ could not find `util` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `mio::EventLoop`, `mio::EventLoopSender`, `mio::IoDesc` [INFO] [stdout] --> src/ioloop.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use mio::{EventLoop, EventLoopSender, Token, IoDesc, event}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^ no `IoDesc` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `EventLoopSender` in the root [INFO] [stdout] | no `EventLoop` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::Handler` [INFO] [stdout] --> src/ioloop.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mio::Handler as MioHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Handler` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::MioError` [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use mio::MioError; [INFO] [stdout] | ^^^^^^^^^^^^^ no `MioError` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::error::FromError` [INFO] [stdout] --> src/error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::FromError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `FromError` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `mio::IoDesc`, `mio::IoHandle` [INFO] [stdout] --> src/handler.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use mio::{IoDesc, IoHandle, event}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ no `IoHandle` in the root [INFO] [stdout] | | [INFO] [stdout] | no `IoDesc` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::thunk` [INFO] [stdout] --> src/registration.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thunk::Invoke; [INFO] [stdout] | ^^^^^ could not find `thunk` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::time::duration` [INFO] [stdout] --> src/registration.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::duration::Duration; [INFO] [stdout] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `mio::IoDesc`, `mio::IoHandle` [INFO] [stdout] --> src/util.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use mio::{IoDesc, IoHandle}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ no `IoHandle` in the root [INFO] [stdout] | | [INFO] [stdout] | no `IoDesc` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/error.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Copy, Clone, Show, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/error.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Copy, Clone, Show, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/ioloop.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | const MAX_LISTENERS: uint = 64 * 1024; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadHint` in module `event` [INFO] [stdout] --> src/ioloop.rs:71:30 [INFO] [stdout] | [INFO] [stdout] 71 | hint: event::ReadHint) { [INFO] [stdout] | ^^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `READABLE` in module `event` [INFO] [stdout] --> src/ioloop.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 116 | handler.interest().unwrap_or(event::READABLE), [INFO] [stdout] | ^^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEVEL` in module `event` [INFO] [stdout] --> src/ioloop.rs:117:40 [INFO] [stdout] | [INFO] [stdout] 117 | handler.opt().unwrap_or(event::LEVEL) [INFO] [stdout] | ^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `READABLE` in module `event` [INFO] [stdout] --> src/ioloop.rs:125:45 [INFO] [stdout] | [INFO] [stdout] 125 | handler.interest().unwrap_or(event::READABLE), [INFO] [stdout] | ^^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEVEL` in module `event` [INFO] [stdout] --> src/ioloop.rs:126:40 [INFO] [stdout] | [INFO] [stdout] 126 | handler.opt().unwrap_or(event::LEVEL) [INFO] [stdout] | ^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadHint` in module `event` [INFO] [stdout] --> src/handler.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | fn readable(&mut self, hint: event::ReadHint) -> bool; [INFO] [stdout] | ^^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Interest` in module `event` [INFO] [stdout] --> src/handler.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | fn interest(&self) -> Option { None } [INFO] [stdout] | ^^^^^^^^ not found in `event` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use mio::Interest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PollOpt` in module `event` [INFO] [stdout] --> src/handler.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | fn opt(&self) -> Option { None } [INFO] [stdout] | ^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Interest` in module `event` [INFO] [stdout] --> src/handler.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | pub interest: Option, [INFO] [stdout] | ^^^^^^^^ not found in `event` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use mio::Interest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/ioloop.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | const MAX_LISTENERS: uint = 64 * 1024; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadHint` in module `event` [INFO] [stdout] --> src/ioloop.rs:71:30 [INFO] [stdout] | [INFO] [stdout] 71 | hint: event::ReadHint) { [INFO] [stdout] | ^^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `READABLE` in module `event` [INFO] [stdout] --> src/ioloop.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 116 | handler.interest().unwrap_or(event::READABLE), [INFO] [stdout] | ^^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEVEL` in module `event` [INFO] [stdout] --> src/ioloop.rs:117:40 [INFO] [stdout] | [INFO] [stdout] 117 | handler.opt().unwrap_or(event::LEVEL) [INFO] [stdout] | ^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `READABLE` in module `event` [INFO] [stdout] --> src/ioloop.rs:125:45 [INFO] [stdout] | [INFO] [stdout] 125 | handler.interest().unwrap_or(event::READABLE), [INFO] [stdout] | ^^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEVEL` in module `event` [INFO] [stdout] --> src/ioloop.rs:126:40 [INFO] [stdout] | [INFO] [stdout] 126 | handler.opt().unwrap_or(event::LEVEL) [INFO] [stdout] | ^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadHint` in module `event` [INFO] [stdout] --> src/handler.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | fn readable(&mut self, hint: event::ReadHint) -> bool; [INFO] [stdout] | ^^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Interest` in module `event` [INFO] [stdout] --> src/handler.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | fn interest(&self) -> Option { None } [INFO] [stdout] | ^^^^^^^^ not found in `event` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use mio::Interest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PollOpt` in module `event` [INFO] [stdout] --> src/handler.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | fn opt(&self) -> Option { None } [INFO] [stdout] | ^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Interest` in module `event` [INFO] [stdout] --> src/handler.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | pub interest: Option, [INFO] [stdout] | ^^^^^^^^ not found in `event` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use mio::Interest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PollOpt` in module `event` [INFO] [stdout] --> src/handler.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | pub opt: Option [INFO] [stdout] | ^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadHint` in module `event` [INFO] [stdout] --> src/handler.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | R: Send + FnMut(&mut I, event::ReadHint) -> bool, [INFO] [stdout] | ^^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadHint` in module `event` [INFO] [stdout] --> src/handler.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | fn readable(&mut self, hint: event::ReadHint) -> bool { [INFO] [stdout] | ^^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Interest` in module `event` [INFO] [stdout] --> src/handler.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | fn interest(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ not found in `event` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use mio::Interest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PollOpt` in module `event` [INFO] [stdout] --> src/handler.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | fn opt(&self) -> Option { [INFO] [stdout] | ^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/lib.rs:35:47 [INFO] [stdout] | [INFO] [stdout] 35 | let _ = events.send(Registration::new(box handler)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PollOpt` in module `event` [INFO] [stdout] --> src/handler.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | pub opt: Option [INFO] [stdout] | ^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadHint` in module `event` [INFO] [stdout] --> src/handler.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | R: Send + FnMut(&mut I, event::ReadHint) -> bool, [INFO] [stdout] | ^^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadHint` in module `event` [INFO] [stdout] --> src/handler.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | fn readable(&mut self, hint: event::ReadHint) -> bool { [INFO] [stdout] | ^^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Interest` in module `event` [INFO] [stdout] --> src/handler.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | fn interest(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ not found in `event` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use mio::Interest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PollOpt` in module `event` [INFO] [stdout] --> src/handler.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | fn opt(&self) -> Option { [INFO] [stdout] | ^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/lib.rs:35:47 [INFO] [stdout] | [INFO] [stdout] 35 | let _ = events.send(Registration::new(box handler)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ioloop.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | type MioEventLoop = EventLoop, Registration>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Invoke + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ioloop.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | slab: Slab>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ioloop.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | fn register(&mut self, events: &mut MioEventLoop, handler: Box) { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ioloop.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | impl MioHandler, Registration> for IoHandler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Invoke + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ioloop.rs:107:60 [INFO] [stdout] | [INFO] [stdout] 107 | fn timeout(&mut self, _: &mut MioEventLoop, thunk: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Invoke + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ioloop.rs:112:54 [INFO] [stdout] | [INFO] [stdout] 112 | fn register(events: &mut MioEventLoop, handler: &mut Handler, token: Token) { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ioloop.rs:121:56 [INFO] [stdout] | [INFO] [stdout] 121 | fn reregister(events: &mut MioEventLoop, handler: &mut Handler, token: Token) { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/registration.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | Handler(Box), [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/registration.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | Timeout(Box, Duration), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Invoke + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/registration.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | Next(Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Invoke + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/registration.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(handler: Box) -> Registration { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0229]: associated type bindings are not allowed here [INFO] [stdout] --> src/lib.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | impl FnOnce() for Interval { [INFO] [stdout] | ^^^^^^^^ associated type not allowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'fn_traits' [INFO] [stdout] --> src/lib.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / extern "rust-call" fn call_once(mut self, _: ()) { [INFO] [stdout] 63 | | (self.callback)(); [INFO] [stdout] 64 | | let delay = self.delay.clone(); [INFO] [stdout] 65 | | timeout(self, delay); [INFO] [stdout] 66 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(fn_traits)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ioloop.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | type MioEventLoop = EventLoop, Registration>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Invoke + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ioloop.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | slab: Slab>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ioloop.rs:53:68 [INFO] [stdout] | [INFO] [stdout] 53 | fn register(&mut self, events: &mut MioEventLoop, handler: Box) { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ioloop.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | impl MioHandler, Registration> for IoHandler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Invoke + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ioloop.rs:107:60 [INFO] [stdout] | [INFO] [stdout] 107 | fn timeout(&mut self, _: &mut MioEventLoop, thunk: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Invoke + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ioloop.rs:112:54 [INFO] [stdout] | [INFO] [stdout] 112 | fn register(events: &mut MioEventLoop, handler: &mut Handler, token: Token) { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ioloop.rs:121:56 [INFO] [stdout] | [INFO] [stdout] 121 | fn reregister(events: &mut MioEventLoop, handler: &mut Handler, token: Token) { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/registration.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | Handler(Box), [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/registration.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | Timeout(Box, Duration), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Invoke + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/registration.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | Next(Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Invoke + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/registration.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(handler: Box) -> Registration { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0229, E0412, E0425, E0432, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0229`. [INFO] [stdout] [INFO] [stderr] error: could not compile `event` [INFO] [stdout] error[E0229]: associated type bindings are not allowed here [INFO] [stdout] --> src/lib.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | impl FnOnce() for Interval { [INFO] [stdout] | ^^^^^^^^ associated type not allowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0658]: use of unstable library feature 'fn_traits' [INFO] [stdout] --> src/lib.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / extern "rust-call" fn call_once(mut self, _: ()) { [INFO] [stdout] 63 | | (self.callback)(); [INFO] [stdout] 64 | | let delay = self.delay.clone(); [INFO] [stdout] 65 | | timeout(self, delay); [INFO] [stdout] 66 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(fn_traits)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 32 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0229, E0412, E0425, E0432, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0229`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6e52db754c156c8458a6a79dac2c6d0cdd10b91ccb94b7516633cff00e7e6cbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e52db754c156c8458a6a79dac2c6d0cdd10b91ccb94b7516633cff00e7e6cbc", kill_on_drop: false }` [INFO] [stdout] 6e52db754c156c8458a6a79dac2c6d0cdd10b91ccb94b7516633cff00e7e6cbc