[INFO] fetching crate event 0.2.1... [INFO] checking event-0.2.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate event 0.2.1 into /workspace/builds/worker-5-tc2/source [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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate event 0.2.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58df6a504a18c6058a38a8730a2477e7cea0ecc70cc46e2163e4c922135fbcf4 [INFO] running `Command { std: "docker" "start" "-a" "58df6a504a18c6058a38a8730a2477e7cea0ecc70cc46e2163e4c922135fbcf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58df6a504a18c6058a38a8730a2477e7cea0ecc70cc46e2163e4c922135fbcf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58df6a504a18c6058a38a8730a2477e7cea0ecc70cc46e2163e4c922135fbcf4", kill_on_drop: false }` [INFO] [stdout] 58df6a504a18c6058a38a8730a2477e7cea0ecc70cc46e2163e4c922135fbcf4 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6469c94ad564cbe00a4db9d5f218edcc972c806472b2680645e4ac63b58d042a [INFO] running `Command { std: "docker" "start" "-a" "6469c94ad564cbe00a4db9d5f218edcc972c806472b2680645e4ac63b58d042a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking mio v1.0.4 [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 handler)); [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: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] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 5 - use mio::Handler as MioHandler; [INFO] [stdout] 5 + use Handler as MioHandler; [INFO] [stdout] | [INFO] [stdout] 5 - use mio::Handler as MioHandler; [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 mio::MioError; [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 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[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] 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[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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 2025-08-13; 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: 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 a dyn-compatible 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 a dyn-compatible 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/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 a dyn-compatible 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 a dyn-compatible 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[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] 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 34 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 handler)); [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: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] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 5 - use mio::Handler as MioHandler; [INFO] [stdout] 5 + use Handler as MioHandler; [INFO] [stdout] | [INFO] [stdout] 5 - use mio::Handler as MioHandler; [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 mio::MioError; [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 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[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] 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[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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 2025-08-13; 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: 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 a dyn-compatible 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 a dyn-compatible 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/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 a dyn-compatible 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 a dyn-compatible 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[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] 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 test) due to 34 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6469c94ad564cbe00a4db9d5f218edcc972c806472b2680645e4ac63b58d042a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6469c94ad564cbe00a4db9d5f218edcc972c806472b2680645e4ac63b58d042a", kill_on_drop: false }` [INFO] [stdout] 6469c94ad564cbe00a4db9d5f218edcc972c806472b2680645e4ac63b58d042a