[INFO] fetching crate tick 0.0.1... [INFO] checking tick-0.0.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate tick 0.0.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate tick 0.0.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 tick 0.0.1 [INFO] finished tweaking crates.io crate tick 0.0.1 [INFO] tweaked toml for crates.io crate tick 0.0.1 written to /workspace/builds/worker-4-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 28 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.5.3 (available: v1.1.3) [INFO] [stderr] Adding bitflags v0.4.0 (available: v2.6.0) [INFO] [stderr] Adding bytes v0.3.0 (available: v1.7.2) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding env_logger v0.3.5 (available: v0.11.5) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.22) [INFO] [stderr] Adding memchr v0.1.11 (available: v2.7.4) [INFO] [stderr] Adding mio v0.5.1 (available: v1.0.2) [INFO] [stderr] Adding miow v0.1.5 (available: v0.6.0) [INFO] [stderr] Adding nix v0.5.1 (available: v0.29.0) [INFO] [stderr] Adding regex v0.1.80 (available: v1.10.6) [INFO] [stderr] Adding regex-syntax v0.3.9 (available: v0.8.4) [INFO] [stderr] Adding slab v0.1.3 (available: v0.4.9) [INFO] [stderr] Adding thread-id v2.0.0 (available: v4.2.2) [INFO] [stderr] Adding thread_local v0.2.7 (available: v1.1.8) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.36) [INFO] [stderr] Adding utf8-ranges v0.1.3 (available: v1.0.5) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytes v0.3.0 [INFO] [stderr] Downloaded miow v0.1.5 [INFO] [stderr] Downloaded mio v0.5.1 [INFO] [stderr] Downloaded slab v0.1.3 [INFO] [stderr] Downloaded nix v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8c333f13f2238fc13c7f3652e955ca50c73680c5cab218a7a47cdefd74db7fd0 [INFO] running `Command { std: "docker" "start" "-a" "8c333f13f2238fc13c7f3652e955ca50c73680c5cab218a7a47cdefd74db7fd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c333f13f2238fc13c7f3652e955ca50c73680c5cab218a7a47cdefd74db7fd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c333f13f2238fc13c7f3652e955ca50c73680c5cab218a7a47cdefd74db7fd0", kill_on_drop: false }` [INFO] [stdout] 8c333f13f2238fc13c7f3652e955ca50c73680c5cab218a7a47cdefd74db7fd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] d689407d2d1334bb03370639062623da97f9dacbf9ddb0e65bd53c99d6948a5b [INFO] running `Command { std: "docker" "start" "-a" "d689407d2d1334bb03370639062623da97f9dacbf9ddb0e65bd53c99d6948a5b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking bytes v0.3.0 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking slab v0.1.3 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking miow v0.1.5 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking mio v0.5.1 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking tick v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let token = try!(self.transports.insert(Evented::Listener(lis)) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | try!(event_loop.register( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | try!(event_loop.register( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/protocol.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | fn create(&mut self, ::Transfer, ::Id) -> (Self::Protocol, Interest); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: ::Transfer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/protocol.rs:77:38 [INFO] [stdout] | [INFO] [stdout] 77 | fn create(&mut self, ::Transfer, ::Id) -> (Self::Protocol, Interest); [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: ::Id` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tick.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | try!(self.event_loop.run_once(&mut self.handler, None)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | Timeout(Box, u64), [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] 53 | Timeout(Box, u64), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub type Thunk = 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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub type Thunk = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | let token = try!(self.transports.insert(Evented::Listener(lis)) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | try!(event_loop.register( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/handler.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | try!(event_loop.register( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/protocol.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | fn create(&mut self, ::Transfer, ::Id) -> (Self::Protocol, Interest); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: ::Transfer` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[deny(anonymous_parameters)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/protocol.rs:77:38 [INFO] [stdout] | [INFO] [stdout] 77 | fn create(&mut self, ::Transfer, ::Id) -> (Self::Protocol, Interest); [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: ::Id` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tick.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | try!(self.event_loop.run_once(&mut self.handler, None)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | Timeout(Box, u64), [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: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | Timeout(Box, u64), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub type Thunk = 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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub type Thunk = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: private type `Message` in public interface [INFO] [stdout] --> src/handler.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | type Message = Message_; [INFO] [stdout] | ^^^^^^^^^^^^ can't leak private type [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | enum Message { [INFO] [stdout] | ------------ `Message` declared as private [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/handler.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | / event_loop.reregister( [INFO] [stdout] 83 | | stream.transport(), [INFO] [stdout] 84 | | token, [INFO] [stdout] 85 | | events, [INFO] [stdout] 86 | | PollOpt::level() | PollOpt::oneshot() [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | let _ = event_loop.reregister( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/handler.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | event_loop.timeout_ms(cb, when); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 185 | let _ = event_loop.timeout_ms(cb, when); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/tick.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | / self.sender.send(Message::Timeout(Box::new(move || { [INFO] [stdout] 77 | | env.take().map(|f| f()); [INFO] [stdout] 78 | | }), ms)); [INFO] [stdout] | |________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 76 | let _ = self.sender.send(Message::Timeout(Box::new(move || { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/transfer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | self.notify.send(Message::Interest(self.token, interest)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 24 | let _ = self.notify.send(Message::Interest(self.token, interest)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0446`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tick` (lib) due to 2 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0446]: private type `Message` in public interface [INFO] [stdout] --> src/handler.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | type Message = Message_; [INFO] [stdout] | ^^^^^^^^^^^^ can't leak private type [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | enum Message { [INFO] [stdout] | ------------ `Message` declared as private [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for an enum [INFO] [stdout] --> src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | #![cfg_attr(test, deny(missing_docs))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a variant [INFO] [stdout] --> src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | TooManySockets, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a variant [INFO] [stdout] --> src/lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a variant [INFO] [stdout] --> src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | Io(::std::io::Error) [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a type alias [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a type alias [INFO] [stdout] --> src/lib.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | pub type Slab = slab::Slab; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused `std::result::Result` that must be used [INFO] [stdout] --> src/handler.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | / event_loop.reregister( [INFO] [stdout] 83 | | stream.transport(), [INFO] [stdout] 84 | | token, [INFO] [stdout] 85 | | events, [INFO] [stdout] 86 | | PollOpt::level() | PollOpt::oneshot() [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[deny(unused_must_use)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | let _ = event_loop.reregister( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused `std::result::Result` that must be used [INFO] [stdout] --> src/handler.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | event_loop.timeout_ms(cb, when); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 185 | let _ = event_loop.timeout_ms(cb, when); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a trait [INFO] [stdout] --> src/protocol.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Protocol { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a method [INFO] [stdout] --> src/protocol.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | fn on_readable(&mut self, transport: &mut T) -> io::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a method [INFO] [stdout] --> src/protocol.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | fn on_writable(&mut self, transport: &mut T) -> io::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a method [INFO] [stdout] --> src/protocol.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | fn on_error(&mut self, error: ::Error); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a method [INFO] [stdout] --> src/protocol.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | fn on_remove(self, _transport: T) where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for an enum [INFO] [stdout] --> src/protocol.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Interest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a variant [INFO] [stdout] --> src/protocol.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Remove, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a variant [INFO] [stdout] --> src/protocol.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Wait, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a variant [INFO] [stdout] --> src/protocol.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a variant [INFO] [stdout] --> src/protocol.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a variant [INFO] [stdout] --> src/protocol.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | ReadWrite, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a trait [INFO] [stdout] --> src/protocol.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub trait Factory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for an associated type [INFO] [stdout] --> src/protocol.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | type Protocol: Protocol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a method [INFO] [stdout] --> src/protocol.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | fn create(&mut self, ::Transfer, ::Id) -> (Self::Protocol, Interest); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a struct [INFO] [stdout] --> src/tick.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Tick> where ::Output: Transport { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for an associated function [INFO] [stdout] --> src/tick.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(protocol_factory: F) -> Tick { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for an associated function [INFO] [stdout] --> src/tick.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn configured(factory: F, config: TickConfig) -> Tick { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a method [INFO] [stdout] --> src/tick.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn notify(&self) -> Notify { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a method [INFO] [stdout] --> src/tick.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn accept(&mut self, listener: T) -> ::Result<::Id> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a method [INFO] [stdout] --> src/tick.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn stream(&mut self, transport: T::Output) -> ::Result<::Id> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a method [INFO] [stdout] --> src/tick.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn run_until_complete(&mut self, id: ::Id) -> ::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a method [INFO] [stdout] --> src/tick.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn run(&mut self) -> ::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a struct [INFO] [stdout] --> src/tick.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Notify { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a method [INFO] [stdout] --> src/tick.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn timeout(&self, f: F, when: Duration) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused `std::result::Result` that must be used [INFO] [stdout] --> src/tick.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | / self.sender.send(Message::Timeout(Box::new(move || { [INFO] [stdout] 77 | | env.take().map(|f| f()); [INFO] [stdout] 78 | | }), ms)); [INFO] [stdout] | |________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 76 | let _ = self.sender.send(Message::Timeout(Box::new(move || { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a method [INFO] [stdout] --> src/tick.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn shutdown(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a struct [INFO] [stdout] --> src/transfer.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Transfer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a method [INFO] [stdout] --> src/transfer.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn interest(&self, interest: ::Interest) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused `std::result::Result` that must be used [INFO] [stdout] --> src/transfer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | self.notify.send(Message::Interest(self.token, interest)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 24 | let _ = self.notify.send(Message::Interest(self.token, interest)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for a trait [INFO] [stdout] --> src/transport.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Transport: Evented + io::Read + io::Write {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 47 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0446`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tick` (lib test) due to 48 previous errors [INFO] running `Command { std: "docker" "inspect" "d689407d2d1334bb03370639062623da97f9dacbf9ddb0e65bd53c99d6948a5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d689407d2d1334bb03370639062623da97f9dacbf9ddb0e65bd53c99d6948a5b", kill_on_drop: false }` [INFO] [stdout] d689407d2d1334bb03370639062623da97f9dacbf9ddb0e65bd53c99d6948a5b