[INFO] fetching crate event 0.2.1... [INFO] checking event-0.2.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate event 0.2.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate event 0.2.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5d5b9e9bfaf28e4c3a63798b9658b906727c753444535135a76698ef4561b18 [INFO] running `Command { std: "docker" "start" "-a" "b5d5b9e9bfaf28e4c3a63798b9658b906727c753444535135a76698ef4561b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5d5b9e9bfaf28e4c3a63798b9658b906727c753444535135a76698ef4561b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5d5b9e9bfaf28e4c3a63798b9658b906727c753444535135a76698ef4561b18", kill_on_drop: false }` [INFO] [stdout] b5d5b9e9bfaf28e4c3a63798b9658b906727c753444535135a76698ef4561b18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4de3faf44b58292e47ade6bded884303b6a780a0c44f0279be2a50f264209c69 [INFO] running `Command { std: "docker" "start" "-a" "4de3faf44b58292e47ade6bded884303b6a780a0c44f0279be2a50f264209c69", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking event v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error: `box_syntax` has been removed [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] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 35 | let _ = events.send(Registration::new(Box::new(handler))); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [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] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 35 | let _ = events.send(Registration::new(Box::new(handler))); [INFO] [stdout] | ~~~~~~~~~ + [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: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: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 `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 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 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] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 5 | use Handler as MioHandler; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 5 | use Registration::Handler as MioHandler; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [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] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 5 | use Handler as MioHandler; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 5 | use Registration::Handler as MioHandler; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [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] help: consider importing this variant instead [INFO] [stdout] | [INFO] [stdout] 1 | use EventError::MioError; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [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] help: consider importing this variant instead [INFO] [stdout] | [INFO] [stdout] 1 | use EventError::MioError; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [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 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 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 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 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[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[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[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 `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[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[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[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[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] help: if you import `Interest`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - fn interest(&self) -> Option { None } [INFO] [stdout] 8 + fn interest(&self) -> Option { None } [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] help: if you import `Interest`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 16 - pub interest: Option, [INFO] [stdout] 16 + pub interest: Option, [INFO] [stdout] | [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 `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: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 `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: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] help: if you import `Interest`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - fn interest(&self) -> Option { None } [INFO] [stdout] 8 + fn interest(&self) -> Option { None } [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: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] help: if you import `Interest`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 36 - fn interest(&self) -> Option { [INFO] [stdout] 36 + fn interest(&self) -> Option { [INFO] [stdout] | [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] help: if you import `Interest`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 16 - pub interest: Option, [INFO] [stdout] 16 + pub interest: Option, [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[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] help: if you import `Interest`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 36 - fn interest(&self) -> Option { [INFO] [stdout] 36 + fn interest(&self) -> Option { [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]: 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] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [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] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `macro_rules` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(macro_rules, unboxed_closures)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `macro_rules` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(macro_rules, unboxed_closures)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | Handler(Box), [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | Handler(Box), [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | Timeout(Box, Duration), [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | Timeout(Box, Duration), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0229]: associated item constraints are not allowed here [INFO] [stdout] --> src/lib.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | impl FnOnce() for Interval { [INFO] [stdout] | ^^^^^^^^ associated item constraint not allowed here [INFO] [stdout] | [INFO] [stdout] help: parenthesized trait syntax expands to `FnOnce<(), Output=()>` [INFO] [stdout] --> src/lib.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | impl FnOnce() for Interval { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0229]: associated item constraints are not allowed here [INFO] [stdout] --> src/lib.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | impl FnOnce() for Interval { [INFO] [stdout] | ^^^^^^^^ associated item constraint not allowed here [INFO] [stdout] | [INFO] [stdout] help: parenthesized trait syntax expands to `FnOnce<(), Output=()>` [INFO] [stdout] --> src/lib.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | impl FnOnce() for Interval { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | impl FnOnce() for Interval { [INFO] [stdout] | ^^^^-- help: remove the unnecessary parenthetical generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Output` not found for `Send` [INFO] [stdout] --> src/lib.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | impl FnOnce() for Interval { [INFO] [stdout] | ^^^^^^ associated type `Output` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | impl FnOnce() for Interval { [INFO] [stdout] | ^^^^-- help: remove the unnecessary parenthetical generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Output` not found for `Send` [INFO] [stdout] --> src/lib.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | impl FnOnce() for Interval { [INFO] [stdout] | ^^^^^^ associated type `Output` not found [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 | fn register(events: &mut MioEventLoop, handler: &mut dyn Handler, token: Token) { [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 | fn register(events: &mut MioEventLoop, handler: &mut dyn Handler, token: Token) { [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 121 | fn reregister(events: &mut MioEventLoop, handler: &mut dyn Handler, token: Token) { [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 121 | fn reregister(events: &mut MioEventLoop, handler: &mut dyn Handler, token: Token) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0220, E0229, E0412, E0425, E0432, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0220, E0229, E0412, E0425, E0432, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `event` (lib) due to 35 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `event` (lib test) due to 35 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4de3faf44b58292e47ade6bded884303b6a780a0c44f0279be2a50f264209c69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4de3faf44b58292e47ade6bded884303b6a780a0c44f0279be2a50f264209c69", kill_on_drop: false }` [INFO] [stdout] 4de3faf44b58292e47ade6bded884303b6a780a0c44f0279be2a50f264209c69