[INFO] fetching crate mioco 0.8.1... [INFO] checking mioco-0.8.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate mioco 0.8.1 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate mioco 0.8.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 mioco 0.8.1 [INFO] finished tweaking crates.io crate mioco 0.8.1 [INFO] tweaked toml for crates.io crate mioco 0.8.1 written to /workspace/builds/worker-3-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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 58 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 clippy v0.0.85 (available: v0.0.302) [INFO] [stderr] Adding clippy_lints v0.0.85 (available: v0.0.212) [INFO] [stderr] Adding context v1.0.1 (available: v3.0.0) [INFO] [stderr] Adding env_logger v0.3.5 (available: v0.11.5) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [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 nix v0.6.0 (available: v0.29.0) [INFO] [stderr] Adding nom v1.2.4 (available: v7.1.3) [INFO] [stderr] Adding owning_ref v0.2.4 (available: v0.4.1) [INFO] [stderr] Adding rand v0.3.23 (available: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [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 rustc_version v0.1.7 (available: v0.4.1) [INFO] [stderr] Adding semver v0.1.20 (available: v1.0.23) [INFO] [stderr] Adding semver v0.2.3 (available: v1.0.23) [INFO] [stderr] Adding slab v0.1.3 (available: v0.4.9) [INFO] [stderr] Adding slab v0.2.0 (available: v0.4.9) [INFO] [stderr] Adding spin v0.4.10 (available: v0.9.8) [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 toml v0.1.30 (available: v0.8.19) [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 owning_ref v0.2.4 [INFO] [stderr] Downloaded thread-scoped v1.0.2 [INFO] [stderr] Downloaded miow v0.1.5 [INFO] [stderr] Downloaded slab v0.2.0 [INFO] [stderr] Downloaded slab v0.1.3 [INFO] [stderr] Downloaded mio v0.5.1 [INFO] [stderr] Downloaded context v1.0.1 [INFO] [stderr] Downloaded clippy_lints v0.0.85 [INFO] [stderr] Downloaded clippy v0.0.85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] e920c99adc3025ad3c103a7151e471dc3da0a57e6a90a56c29e20124a940f8b7 [INFO] running `Command { std: "docker" "start" "-a" "e920c99adc3025ad3c103a7151e471dc3da0a57e6a90a56c29e20124a940f8b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e920c99adc3025ad3c103a7151e471dc3da0a57e6a90a56c29e20124a940f8b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e920c99adc3025ad3c103a7151e471dc3da0a57e6a90a56c29e20124a940f8b7", kill_on_drop: false }` [INFO] [stdout] e920c99adc3025ad3c103a7151e471dc3da0a57e6a90a56c29e20124a940f8b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 6f5d2d49d4a797dd402e20983094d64f070e03f4d631b665748d8b16dbba9d0d [INFO] running `Command { std: "docker" "start" "-a" "6f5d2d49d4a797dd402e20983094d64f070e03f4d631b665748d8b16dbba9d0d", 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] Compiling semver v0.1.20 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking slab v0.1.3 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking bytes v0.3.0 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Compiling context v1.0.1 [INFO] [stderr] Checking thread-scoped v1.0.2 [INFO] [stderr] Checking spin v0.4.10 [INFO] [stderr] Checking slab v0.2.0 [INFO] [stderr] Checking owning_ref v0.2.4 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling rustc_version v0.1.7 [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] Compiling nix v0.6.0 [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 mioco v0.8.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> lib.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #![allow(private_in_public)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sync/mpsc.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | try!(self.sender.send(t)); [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/sync/mpsc.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | try!(self.sender.send(t)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unix.rs:122:36 [INFO] [stdout] | [INFO] [stdout] 122 | let (raw_reader, raw_writer) = try!(mio_orig::unix::pipe()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/thread.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / /// Current coroutine thread-local reference [INFO] [stdout] 20 | | /// [INFO] [stdout] 21 | | /// This reference is used to store a reference to a currently executing [INFO] [stdout] 22 | | /// mioco coroutine. [INFO] [stdout] 23 | | /// [INFO] [stdout] 24 | | /// Should not be used directly, use `tl_current_coroutine()` instead. [INFO] [stdout] | |_---------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> lib.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #![allow(private_in_public)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sync/mpsc.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | try!(self.sender.send(t)); [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/sync/mpsc.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | try!(self.sender.send(t)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/unix.rs:122:36 [INFO] [stdout] | [INFO] [stdout] 122 | let (raw_reader, raw_writer) = try!(mio_orig::unix::pipe()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/thread.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / /// Current coroutine thread-local reference [INFO] [stdout] 20 | | /// [INFO] [stdout] 21 | | /// This reference is used to store a reference to a currently executing [INFO] [stdout] 22 | | /// mioco coroutine. [INFO] [stdout] 23 | | /// [INFO] [stdout] 24 | | /// Should not be used directly, use `tl_current_coroutine()` instead. [INFO] [stdout] | |_---------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> tests.rs:411:33 [INFO] [stdout] | [INFO] [stdout] 411 | r:reader => { panic!("reader fired first!") }, [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 411 - r:reader => { panic!("reader fired first!") }, [INFO] [stdout] 411 + r:reader => panic!("reader fired first!"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> tests.rs:1503:34 [INFO] [stdout] | [INFO] [stdout] 1503 | r:timer_b => {panic!("wrong timer fired!")}, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 1503 - r:timer_b => {panic!("wrong timer fired!")}, [INFO] [stdout] 1503 + r:timer_b => panic!("wrong timer fired!"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> tests.rs:1596:29 [INFO] [stdout] | [INFO] [stdout] 1596 | r:reader => { panic!("reader fired first!") }, [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 1596 - r:reader => { panic!("reader fired first!") }, [INFO] [stdout] 1596 + r:reader => panic!("reader fired first!"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coroutine.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | pub blocked_on: Vec>, [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] 166 | pub blocked_on: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coroutine.rs:141:32 [INFO] [stdout] | [INFO] [stdout] 141 | pub type UserDataAny = Arc>; [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] 141 | pub type UserDataAny = Arc>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/thread.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 215 | scheduler: 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] 215 | scheduler: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/thread.rs:294:24 [INFO] [stdout] | [INFO] [stdout] 294 | PropagatePanic(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] 294 | PropagatePanic(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/thunk.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | invoke: Box + Send + 'a>, [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] 12 | invoke: Box + Send + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mod.rs:696:24 [INFO] [stdout] | [INFO] [stdout] 696 | scheduler: Arc>, [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] 696 | scheduler: Arc>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coroutine.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | pub blocked_on: Vec>, [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] 166 | pub blocked_on: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coroutine.rs:141:32 [INFO] [stdout] | [INFO] [stdout] 141 | pub type UserDataAny = Arc>; [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] 141 | pub type UserDataAny = Arc>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/thread.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 215 | scheduler: 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] 215 | scheduler: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/thread.rs:294:24 [INFO] [stdout] | [INFO] [stdout] 294 | PropagatePanic(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] 294 | PropagatePanic(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/thunk.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | invoke: Box + Send + 'a>, [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] 12 | invoke: Box + Send + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mod.rs:696:24 [INFO] [stdout] | [INFO] [stdout] 696 | scheduler: Arc>, [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] 696 | scheduler: Arc>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mod.rs:262:35 [INFO] [stdout] | [INFO] [stdout] 262 | fn spawn_thread(&self) -> 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] 262 | fn spawn_thread(&self) -> Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mod.rs:345:35 [INFO] [stdout] | [INFO] [stdout] 345 | fn spawn_thread(&self) -> 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] 345 | fn spawn_thread(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/evented.rs:459:35 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn to_trait(&self) -> 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] 459 | pub fn to_trait(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mod.rs:648:41 [INFO] [stdout] | [INFO] [stdout] 648 | scheduler: 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] 648 | scheduler: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mod.rs:735:52 [INFO] [stdout] | [INFO] [stdout] 735 | pub fn set_scheduler(&mut self, scheduler: Box) -> &mut Self { [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] 735 | pub fn set_scheduler(&mut self, scheduler: Box) -> &mut Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mod.rs:262:35 [INFO] [stdout] | [INFO] [stdout] 262 | fn spawn_thread(&self) -> 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] 262 | fn spawn_thread(&self) -> Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mod.rs:345:35 [INFO] [stdout] | [INFO] [stdout] 345 | fn spawn_thread(&self) -> 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] 345 | fn spawn_thread(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/evented.rs:459:35 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn to_trait(&self) -> 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] 459 | pub fn to_trait(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mod.rs:648:41 [INFO] [stdout] | [INFO] [stdout] 648 | scheduler: 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] 648 | scheduler: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mod.rs:735:52 [INFO] [stdout] | [INFO] [stdout] 735 | pub fn set_scheduler(&mut self, scheduler: Box) -> &mut Self { [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] 735 | pub fn set_scheduler(&mut self, scheduler: Box) -> &mut Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/thread.rs:223:56 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn new(shared: RcHandlerShared, scheduler: Box) -> Self { [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] 223 | pub fn new(shared: RcHandlerShared, scheduler: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/thread.rs:223:56 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn new(shared: RcHandlerShared, scheduler: Box) -> Self { [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] 223 | pub fn new(shared: RcHandlerShared, scheduler: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | fn spawn_thread(&self) -> 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] 650 | fn spawn_thread(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests.rs:692:39 [INFO] [stdout] | [INFO] [stdout] 692 | fn spawn_thread(&self) -> 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] 692 | fn spawn_thread(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests.rs:743:39 [INFO] [stdout] | [INFO] [stdout] 743 | fn spawn_thread(&self) -> 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] 743 | fn spawn_thread(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests.rs:1080:39 [INFO] [stdout] | [INFO] [stdout] 1080 | fn spawn_thread(&self) -> 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] 1080 | fn spawn_thread(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mod.rs:532:40 [INFO] [stdout] | [INFO] [stdout] 532 | if (&***arcref.owner() as &Any).downcast_ref::().is_some() { [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] 532 | if (&***arcref.owner() as &dyn Any).downcast_ref::().is_some() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mod.rs:533:49 [INFO] [stdout] | [INFO] [stdout] 533 | Some(arcref.map(|ud| (&**ud as &Any).downcast_ref::().unwrap()) [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] 533 | Some(arcref.map(|ud| (&**ud as &dyn Any).downcast_ref::().unwrap()) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mod.rs:971:36 [INFO] [stdout] | [INFO] [stdout] 971 | if (&***arcref.owner() as &Any).downcast_ref::().is_some() { [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] 971 | if (&***arcref.owner() as &dyn Any).downcast_ref::().is_some() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mod.rs:972:45 [INFO] [stdout] | [INFO] [stdout] 972 | Some(arcref.map(|ud| (&**ud as &Any).downcast_ref::().unwrap()) [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] 972 | Some(arcref.map(|ud| (&**ud as &dyn Any).downcast_ref::().unwrap()) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mod.rs:532:40 [INFO] [stdout] | [INFO] [stdout] 532 | if (&***arcref.owner() as &Any).downcast_ref::().is_some() { [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] 532 | if (&***arcref.owner() as &dyn Any).downcast_ref::().is_some() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/evented.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let mut common = &mut shared.0.borrow_mut().common; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mod.rs:533:49 [INFO] [stdout] | [INFO] [stdout] 533 | Some(arcref.map(|ud| (&**ud as &Any).downcast_ref::().unwrap()) [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] 533 | Some(arcref.map(|ud| (&**ud as &dyn Any).downcast_ref::().unwrap()) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mod.rs:971:36 [INFO] [stdout] | [INFO] [stdout] 971 | if (&***arcref.owner() as &Any).downcast_ref::().is_some() { [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] 971 | if (&***arcref.owner() as &dyn Any).downcast_ref::().is_some() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mod.rs:972:45 [INFO] [stdout] | [INFO] [stdout] 972 | Some(arcref.map(|ud| (&**ud as &Any).downcast_ref::().unwrap()) [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] 972 | Some(arcref.map(|ud| (&**ud as &dyn Any).downcast_ref::().unwrap()) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/coroutine.rs:376:17 [INFO] [stdout] | [INFO] [stdout] 376 | let mut common = &mut event_source.common_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mod.rs:984:9 [INFO] [stdout] | [INFO] [stdout] 984 | let mut coroutine = unsafe { tl_current_coroutine() }; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mod.rs:995:9 [INFO] [stdout] | [INFO] [stdout] 995 | let mut coroutine = unsafe { tl_current_coroutine() }; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: private type `ReceiverCore` in public interface [INFO] [stdout] --> src/sync/mpsc.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct ReceiverCore { [INFO] [stdout] | ---------------------- `ReceiverCore` declared as private [INFO] [stdout] ... [INFO] [stdout] 35 | type Raw = ReceiverCore; [INFO] [stdout] | ^^^^^^^^ can't leak private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ReceiverCore` is more private than the item ` as EventedImpl>::shared` [INFO] [stdout] --> src/sync/mpsc.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | fn shared(&self) -> &RcEventSource> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method ` as EventedImpl>::shared` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ReceiverCore` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/sync/mpsc.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | struct ReceiverCore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: private type `TimerCore` in public interface [INFO] [stdout] --> src/timer.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct TimerCore { [INFO] [stdout] | ---------------- `TimerCore` declared as private [INFO] [stdout] ... [INFO] [stdout] 47 | type Raw = TimerCore; [INFO] [stdout] | ^^^^^^^^ can't leak private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TimerCore` is more private than the item `::shared` [INFO] [stdout] --> src/timer.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | fn shared(&self) -> &RcEventSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::shared` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TimerCore` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/timer.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | struct TimerCore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0446`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/evented.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let mut common = &mut shared.0.borrow_mut().common; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mioco` (lib) due to 3 previous errors; 27 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/coroutine.rs:376:17 [INFO] [stdout] | [INFO] [stdout] 376 | let mut common = &mut event_source.common_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mod.rs:984:9 [INFO] [stdout] | [INFO] [stdout] 984 | let mut coroutine = unsafe { tl_current_coroutine() }; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mod.rs:995:9 [INFO] [stdout] | [INFO] [stdout] 995 | let mut coroutine = unsafe { tl_current_coroutine() }; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: private type `ReceiverCore` in public interface [INFO] [stdout] --> src/sync/mpsc.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct ReceiverCore { [INFO] [stdout] | ---------------------- `ReceiverCore` declared as private [INFO] [stdout] ... [INFO] [stdout] 35 | type Raw = ReceiverCore; [INFO] [stdout] | ^^^^^^^^ can't leak private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ReceiverCore` is more private than the item ` as EventedImpl>::shared` [INFO] [stdout] --> src/sync/mpsc.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | fn shared(&self) -> &RcEventSource> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method ` as EventedImpl>::shared` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ReceiverCore` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/sync/mpsc.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | struct ReceiverCore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: private type `TimerCore` in public interface [INFO] [stdout] --> src/timer.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct TimerCore { [INFO] [stdout] | ---------------- `TimerCore` declared as private [INFO] [stdout] ... [INFO] [stdout] 47 | type Raw = TimerCore; [INFO] [stdout] | ^^^^^^^^ can't leak private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TimerCore` is more private than the item `::shared` [INFO] [stdout] --> src/timer.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | fn shared(&self) -> &RcEventSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::shared` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TimerCore` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/timer.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | struct TimerCore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 34 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 `mioco` (lib test) due to 3 previous errors; 34 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6f5d2d49d4a797dd402e20983094d64f070e03f4d631b665748d8b16dbba9d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f5d2d49d4a797dd402e20983094d64f070e03f4d631b665748d8b16dbba9d0d", kill_on_drop: false }` [INFO] [stdout] 6f5d2d49d4a797dd402e20983094d64f070e03f4d631b665748d8b16dbba9d0d