[INFO] fetching crate mioco 0.8.1... [INFO] testing mioco-0.8.1 against 1.55.0 for beta-1.56-1 [INFO] extracting crate mioco 0.8.1 into /workspace/builds/worker-68/source [INFO] validating manifest of crates.io crate mioco 0.8.1 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-68/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d97e0c7e530415d1f8799a2918a23d7ec345b68a2603b3bf03ac6479f12bdaba [INFO] running `Command { std: "docker" "start" "-a" "d97e0c7e530415d1f8799a2918a23d7ec345b68a2603b3bf03ac6479f12bdaba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d97e0c7e530415d1f8799a2918a23d7ec345b68a2603b3bf03ac6479f12bdaba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d97e0c7e530415d1f8799a2918a23d7ec345b68a2603b3bf03ac6479f12bdaba", kill_on_drop: false }` [INFO] [stdout] d97e0c7e530415d1f8799a2918a23d7ec345b68a2603b3bf03ac6479f12bdaba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 580d3dcf5c540d0cbfa89e40a7ec68d26c6a123105876be350d43faa9f73df34 [INFO] running `Command { std: "docker" "start" "-a" "580d3dcf5c540d0cbfa89e40a7ec68d26c6a123105876be350d43faa9f73df34", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bytes v0.3.0 [INFO] [stderr] Compiling slab v0.1.3 [INFO] [stderr] Compiling owning_ref v0.2.4 [INFO] [stderr] Compiling thread-scoped v1.0.2 [INFO] [stderr] Compiling spin v0.4.10 [INFO] [stderr] Compiling slab v0.2.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling nix v0.5.1 [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] Compiling nix v0.6.0 [INFO] [stderr] Compiling miow v0.1.5 [INFO] [stderr] Compiling context v1.0.1 [INFO] [stderr] Compiling mio v0.5.1 [INFO] [stderr] Compiling mioco v0.8.1 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RcEventSourceTrait + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + Sync` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RcEventSourceTrait + 'static` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SchedulerThread + 'static` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SchedulerThread` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + 'static` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Invoke + Send + 'a` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SchedulerThread + 'static` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SchedulerThread` [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 issue #80165 [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] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [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] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SchedulerThread + 'static` [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 issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn Scheduler` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Scheduler + 'static` [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 issue #80165 [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] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [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] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [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] = note: `#[warn(unused_mut)]` on by default [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] 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] error: aborting due to 2 previous errors; 21 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` due to 3 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "580d3dcf5c540d0cbfa89e40a7ec68d26c6a123105876be350d43faa9f73df34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "580d3dcf5c540d0cbfa89e40a7ec68d26c6a123105876be350d43faa9f73df34", kill_on_drop: false }` [INFO] [stdout] 580d3dcf5c540d0cbfa89e40a7ec68d26c6a123105876be350d43faa9f73df34