[INFO] fetching crate mioco 0.8.1... [INFO] testing mioco-0.8.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate mioco 0.8.1 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate mioco 0.8.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4eab8c1263438c1e53b488d948c6b87324feaea66bd1fe5c46de27a9b347fa4 [INFO] running `Command { std: "docker" "start" "-a" "f4eab8c1263438c1e53b488d948c6b87324feaea66bd1fe5c46de27a9b347fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4eab8c1263438c1e53b488d948c6b87324feaea66bd1fe5c46de27a9b347fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4eab8c1263438c1e53b488d948c6b87324feaea66bd1fe5c46de27a9b347fa4", kill_on_drop: false }` [INFO] [stdout] f4eab8c1263438c1e53b488d948c6b87324feaea66bd1fe5c46de27a9b347fa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9d66bb729f5950b3bc99f75911da95429ca82ba431a41709ea390e77afecaa9 [INFO] running `Command { std: "docker" "start" "-a" "a9d66bb729f5950b3bc99f75911da95429ca82ba431a41709ea390e77afecaa9", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling slab v0.1.3 [INFO] [stderr] Compiling bytes v0.3.0 [INFO] [stderr] Compiling owning_ref v0.2.4 [INFO] [stderr] Compiling thread-scoped v1.0.2 [INFO] [stderr] Compiling slab v0.2.0 [INFO] [stderr] Compiling spin v0.4.10 [INFO] [stderr] Compiling context v1.0.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [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 mio v0.5.1 [INFO] [stderr] Compiling mioco v0.8.1 (/opt/rustwide/workdir) [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] = 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: 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] = 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 166 - pub blocked_on: Vec>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 141 - pub type UserDataAny = Arc>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 215 - scheduler: Box, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 294 - PropagatePanic(Box), [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - invoke: Box + Send + 'a>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 696 - scheduler: Arc>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 262 - fn spawn_thread(&self) -> Box; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 345 - fn spawn_thread(&self) -> Box { [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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 648 - scheduler: Box, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 735 - pub fn set_scheduler(&mut self, scheduler: Box) -> &mut Self { [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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 459 - pub fn to_trait(&self) -> Box { [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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 223 - pub fn new(shared: RcHandlerShared, scheduler: Box) -> Self { [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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 532 - if (&***arcref.owner() as &Any).downcast_ref::().is_some() { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 533 - Some(arcref.map(|ud| (&**ud as &Any).downcast_ref::().unwrap()) [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 971 - if (&***arcref.owner() as &Any).downcast_ref::().is_some() { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 972 - Some(arcref.map(|ud| (&**ud as &Any).downcast_ref::().unwrap()) [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] = 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" "a9d66bb729f5950b3bc99f75911da95429ca82ba431a41709ea390e77afecaa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9d66bb729f5950b3bc99f75911da95429ca82ba431a41709ea390e77afecaa9", kill_on_drop: false }` [INFO] [stdout] a9d66bb729f5950b3bc99f75911da95429ca82ba431a41709ea390e77afecaa9