[INFO] cloning repository https://github.com/snowe2010/pes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/snowe2010/pes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnowe2010%2Fpes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnowe2010%2Fpes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3381a3221496a9971be1310b44d6ab2994499aff [INFO] documenting snowe2010/pes against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnowe2010%2Fpes" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/snowe2010/pes on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/snowe2010/pes [INFO] finished tweaking git repo https://github.com/snowe2010/pes [INFO] tweaked toml for git repo https://github.com/snowe2010/pes written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/snowe2010/pes already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid v0.2.3 [INFO] [stderr] Downloaded digest v0.7.2 [INFO] [stderr] Downloaded sha2 v0.7.0 [INFO] [stderr] Downloaded libc v0.2.37 [INFO] [stderr] Downloaded uuid v0.6.0 [INFO] [stderr] Downloaded eventbus v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9396b4d040c8f8d3936a285cdd371c0b9dd714aca35554965678bd919ef4dccf [INFO] running `Command { std: "docker" "start" "-a" "9396b4d040c8f8d3936a285cdd371c0b9dd714aca35554965678bd919ef4dccf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9396b4d040c8f8d3936a285cdd371c0b9dd714aca35554965678bd919ef4dccf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9396b4d040c8f8d3936a285cdd371c0b9dd714aca35554965678bd919ef4dccf", kill_on_drop: false }` [INFO] [stdout] 9396b4d040c8f8d3936a285cdd371c0b9dd714aca35554965678bd919ef4dccf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "RUSTDOCFLAGS=--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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2149c096b805112596e0ec05a649791a13cfc310d1e4bcb5f021a7b86adbeba4 [INFO] running `Command { std: "docker" "start" "-a" "2149c096b805112596e0ec05a649791a13cfc310d1e4bcb5f021a7b86adbeba4", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.9.0 [INFO] [stderr] Checking libc v0.2.37 [INFO] [stderr] Compiling constant_time_eq v0.1.3 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling matches v0.1.6 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Checking arrayref v0.3.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.5 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking md5 v0.3.7 [INFO] [stderr] Compiling fallible-iterator v0.1.4 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Checking proc-macro2 v0.2.3 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Checking phf_shared v0.7.21 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling socket2 v0.3.3 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling bytes v0.4.6 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking quote v0.4.2 [INFO] [stderr] Checking syn v0.12.13 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking uuid v0.6.0 [INFO] [stderr] Checking generic-array v0.9.0 [INFO] [stderr] Checking uuid v0.2.3 [INFO] [stderr] Checking eventbus v0.1.5 [INFO] [stderr] Compiling digest v0.7.2 [INFO] [stderr] Compiling crypto-mac v0.5.2 [INFO] [stderr] Compiling sha2 v0.7.0 [INFO] [stderr] Compiling hmac v0.5.0 [INFO] [stderr] Compiling postgres-protocol v0.3.2 [INFO] [stderr] Checking postgres-shared v0.4.1 [INFO] [stderr] Documenting pes-build v0.1.0 (/opt/rustwide/workdir/pes-build) [INFO] [stderr] Compiling pes-build v0.1.0 (/opt/rustwide/workdir/pes-build) [INFO] [stderr] Checking postgres v0.15.2 [INFO] [stdout] warning: unresolved link to `command_handler` [INFO] [stdout] --> pes-build/src/lib.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | /// Parse a list of items for #[command_handler]ed functions (recurse into modules) [INFO] [stdout] | ^^^^^^^^^^^^^^^ no item named `command_handler` in scope [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pes-common v0.1.0 (/opt/rustwide/workdir/pes-common) [INFO] [stderr] Documenting pes-common v0.1.0 (/opt/rustwide/workdir/pes-common) [INFO] [stderr] Compiling hello_world v0.0.1 (/opt/rustwide/workdir/examples/hello_world) [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 90 | impl EventBus { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 91 | pub fn new() -> EventBus { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 90 | impl EventBus { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 91 | pub fn new() -> EventBus { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> pes-common/src/command_bus/mod.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | fn event_metadata(F) -> R where F: FnOnce(&CommandMetadata) -> R; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: F` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> pes-common/src/command_bus/mod.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | fn mut_metadata(F) -> R where F: FnOnce(&mut CommandMetadata) -> R; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: F` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> pes-common/src/command_bus/mod.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | fn cancel(&mut self, bool) { panic!() } [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | fn cancel(&mut self, bool) { panic!() } [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | impl EventBus { [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] 90 - impl EventBus { [INFO] [stdout] 90 + impl EventBus { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn Event + 'static)` cannot be known at compilation time [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:90:6 [INFO] [stdout] | [INFO] [stdout] 90 | impl EventBus { [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn Event + 'static)` [INFO] [stdout] note: required by a bound in `EventBus` [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct EventBus { [INFO] [stdout] | ^ required by this bound in `EventBus` [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 84 | pub struct EventBus { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Event` cannot be made into an object [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | impl EventBus { [INFO] [stdout] | ^^^^^ `Event` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub trait Event { [INFO] [stdout] | ----- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 75 | fn cancellable() -> bool { false } [INFO] [stdout] | ^^^^^^^^^^^ ...because associated function `cancellable` has no `self` parameter [INFO] [stdout] help: consider turning `cancellable` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 75 | fn cancellable(&self) -> bool { false } [INFO] [stdout] | +++++ [INFO] [stdout] help: alternatively, consider constraining `cancellable` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 75 | fn cancellable() -> bool where Self: Sized { false } [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn Event + 'static)` cannot be known at compilation time [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn register(&'static self, f: fn(&mut T), priority: i32) -> EventHandlerId where T: Event { [INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn Event + 'static)` [INFO] [stdout] note: required by a bound in `EventBus` [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct EventBus { [INFO] [stdout] | ^ required by this bound in `EventBus` [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 84 | pub struct EventBus { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Event` cannot be made into an object [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn register(&'static self, f: fn(&mut T), priority: i32) -> EventHandlerId where T: Event { [INFO] [stdout] | ^^^^^^^^^^^^^ `Event` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub trait Event { [INFO] [stdout] | ----- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 75 | fn cancellable() -> bool { false } [INFO] [stdout] | ^^^^^^^^^^^ ...because associated function `cancellable` has no `self` parameter [INFO] [stdout] help: consider turning `cancellable` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 75 | fn cancellable(&self) -> bool { false } [INFO] [stdout] | +++++ [INFO] [stdout] help: alternatively, consider constraining `cancellable` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 75 | fn cancellable() -> bool where Self: Sized { false } [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0277, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 90 | impl EventBus { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 91 | pub fn new() -> EventBus { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> pes-common/src/command_bus/mod.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | fn event_metadata(F) -> R where F: FnOnce(&CommandMetadata) -> R; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: F` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> pes-common/src/command_bus/mod.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | fn mut_metadata(F) -> R where F: FnOnce(&mut CommandMetadata) -> R; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: F` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> pes-common/src/command_bus/mod.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | fn cancel(&mut self, bool) { panic!() } [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | fn cancel(&mut self, bool) { panic!() } [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pes-common` due to 6 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | impl EventBus { [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] 90 - impl EventBus { [INFO] [stdout] 90 + impl EventBus { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn Event + 'static)` cannot be known at compilation time [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:90:6 [INFO] [stdout] | [INFO] [stdout] 90 | impl EventBus { [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn Event + 'static)` [INFO] [stdout] note: required by a bound in `EventBus` [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct EventBus { [INFO] [stdout] | ^ required by this bound in `EventBus` [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 84 | pub struct EventBus { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Event` cannot be made into an object [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | impl EventBus { [INFO] [stdout] | ^^^^^ `Event` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub trait Event { [INFO] [stdout] | ----- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 75 | fn cancellable() -> bool { false } [INFO] [stdout] | ^^^^^^^^^^^ ...because associated function `cancellable` has no `self` parameter [INFO] [stdout] help: consider turning `cancellable` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 75 | fn cancellable(&self) -> bool { false } [INFO] [stdout] | +++++ [INFO] [stdout] help: alternatively, consider constraining `cancellable` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 75 | fn cancellable() -> bool where Self: Sized { false } [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn Event + 'static)` cannot be known at compilation time [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn register(&'static self, f: fn(&mut T), priority: i32) -> EventHandlerId where T: Event { [INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn Event + 'static)` [INFO] [stdout] note: required by a bound in `EventBus` [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct EventBus { [INFO] [stdout] | ^ required by this bound in `EventBus` [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 84 | pub struct EventBus { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Event` cannot be made into an object [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn register(&'static self, f: fn(&mut T), priority: i32) -> EventHandlerId where T: Event { [INFO] [stdout] | ^^^^^^^^^^^^^ `Event` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub trait Event { [INFO] [stdout] | ----- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 75 | fn cancellable() -> bool { false } [INFO] [stdout] | ^^^^^^^^^^^ ...because associated function `cancellable` has no `self` parameter [INFO] [stdout] help: consider turning `cancellable` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 75 | fn cancellable(&self) -> bool { false } [INFO] [stdout] | +++++ [INFO] [stdout] help: alternatively, consider constraining `cancellable` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 75 | fn cancellable() -> bool where Self: Sized { false } [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0277, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pes-common` due to 6 previous errors; 5 warnings emitted [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not document `pes-common` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type lib --crate-name pes_common pes-common/src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=ef9167a7a8f17453 -L dependency=/opt/rustwide/target/debug/deps --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-c01f93f163b9147d.rmeta --extern postgres=/opt/rustwide/target/debug/deps/libpostgres-e303ecbf0ddb37ec.rmeta --extern uuid=/opt/rustwide/target/debug/deps/libuuid-1d63247e4b8e1d03.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "2149c096b805112596e0ec05a649791a13cfc310d1e4bcb5f021a7b86adbeba4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2149c096b805112596e0ec05a649791a13cfc310d1e4bcb5f021a7b86adbeba4", kill_on_drop: false }` [INFO] [stdout] 2149c096b805112596e0ec05a649791a13cfc310d1e4bcb5f021a7b86adbeba4