[INFO] crate mioco 0.8.1 is already in cache [INFO] testing mioco-0.8.1 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate mioco 0.8.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate mioco 0.8.1 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", 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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0217bc35f1af7b26751cf3bae7b505b139ff54b5f765150fd0a4b6d16bf7e61 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c0217bc35f1af7b26751cf3bae7b505b139ff54b5f765150fd0a4b6d16bf7e61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0217bc35f1af7b26751cf3bae7b505b139ff54b5f765150fd0a4b6d16bf7e61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0217bc35f1af7b26751cf3bae7b505b139ff54b5f765150fd0a4b6d16bf7e61", kill_on_drop: false }` [INFO] [stdout] c0217bc35f1af7b26751cf3bae7b505b139ff54b5f765150fd0a4b6d16bf7e61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f59793d014652255cc83ff99721750b901b9e1684081141945c25e06bf87104f [INFO] running `Command { std: "docker" "start" "-a" "f59793d014652255cc83ff99721750b901b9e1684081141945c25e06bf87104f", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v0.3.0 [INFO] [stderr] Compiling slab v0.1.3 [INFO] [stderr] Compiling slab v0.2.0 [INFO] [stderr] Compiling spin v0.4.10 [INFO] [stderr] Compiling owning_ref v0.2.4 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling context v1.0.1 [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 item '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 item '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 item '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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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: unused doc comment [INFO] [stdout] --> src/thread.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | /// [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] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/thread.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | /// This reference is used to store a reference to a currently executing [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] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/thread.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | /// mioco coroutine. [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] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/thread.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | /// [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] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/thread.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | /// Should not be used directly, use `tl_current_coroutine()` instead. [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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 `src::sync::mpsc::ReceiverCore` in public interface [INFO] [stdout] --> src/sync/mpsc.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct ReceiverCore { [INFO] [stdout] | - `src::sync::mpsc::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 `src::timer::TimerCore` in public interface [INFO] [stdout] --> src/timer.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct TimerCore { [INFO] [stdout] | - `src::timer::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; 26 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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "f59793d014652255cc83ff99721750b901b9e1684081141945c25e06bf87104f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f59793d014652255cc83ff99721750b901b9e1684081141945c25e06bf87104f", kill_on_drop: false }` [INFO] [stdout] f59793d014652255cc83ff99721750b901b9e1684081141945c25e06bf87104f