[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] checking snowe2010/pes against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnowe2010%2Fpes" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/snowe2010/pes on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "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-0/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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres v0.15.2 [INFO] [stderr] Downloaded fallible-iterator v0.1.4 [INFO] [stderr] Downloaded sha2 v0.7.0 [INFO] [stderr] Downloaded uuid v0.6.0 [INFO] [stderr] Downloaded uuid v0.2.3 [INFO] [stderr] Downloaded libc v0.2.37 [INFO] [stderr] Downloaded postgres-protocol v0.3.2 [INFO] [stderr] Downloaded socket2 v0.3.3 [INFO] [stderr] Downloaded eventbus v0.1.5 [INFO] [stderr] Downloaded postgres-shared v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c081aad6191ad32c581c7b6c63532b9374c19dd0d93422c67d8ffe808f21d835 [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" "c081aad6191ad32c581c7b6c63532b9374c19dd0d93422c67d8ffe808f21d835", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c081aad6191ad32c581c7b6c63532b9374c19dd0d93422c67d8ffe808f21d835", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c081aad6191ad32c581c7b6c63532b9374c19dd0d93422c67d8ffe808f21d835", kill_on_drop: false }` [INFO] [stdout] c081aad6191ad32c581c7b6c63532b9374c19dd0d93422c67d8ffe808f21d835 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef92050da8728fb714644fe61c32e24c68d398525b6f76ba8cef0f0f5b3878ec [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" "ef92050da8728fb714644fe61c32e24c68d398525b6f76ba8cef0f0f5b3878ec", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.9.0 [INFO] [stderr] Checking libc v0.2.37 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking matches v0.1.6 [INFO] [stderr] Checking arrayref v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking siphasher v0.2.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking fallible-iterator v0.1.4 [INFO] [stderr] Compiling md5 v0.3.7 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking block-buffer v0.3.3 [INFO] [stderr] Checking phf_shared v0.7.21 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling uuid v0.6.0 [INFO] [stderr] Compiling socket2 v0.3.3 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Compiling bytes v0.4.6 [INFO] [stderr] Compiling uuid v0.2.3 [INFO] [stderr] Checking phf v0.7.21 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling eventbus v0.1.5 [INFO] [stderr] Compiling syn v0.12.13 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking generic-array v0.9.0 [INFO] [stderr] Checking digest v0.7.2 [INFO] [stderr] Checking crypto-mac v0.5.2 [INFO] [stderr] Checking sha2 v0.7.0 [INFO] [stderr] Checking hmac v0.5.0 [INFO] [stderr] Checking postgres-protocol v0.3.2 [INFO] [stderr] Checking postgres-shared v0.4.1 [INFO] [stderr] Checking pes-build v0.1.0 (/opt/rustwide/workdir/pes-build) [INFO] [stderr] Checking postgres v0.15.2 [INFO] [stderr] Compiling hello_world v0.0.1 (/opt/rustwide/workdir/examples/hello_world) [INFO] [stderr] Checking pes-common v0.1.0 (/opt/rustwide/workdir/pes-common) [INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root [INFO] [stdout] --> pes-common/src/command_bus/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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] | ^^^^^ help: use `dyn`: `dyn Event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] 91 | pub fn new() -> EventBus { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> pes-common/src/command_bus/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> pes-common/src/event_bus/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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] | ^^^^^ help: use `dyn`: `dyn Event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] 84 | pub struct EventBus { [INFO] [stdout] | - required by this bound in `EventBus` [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] 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:6 [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] 84 | pub struct EventBus { [INFO] [stdout] | - required by this bound in `EventBus` [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] 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 84 | pub struct EventBus { [INFO] [stdout] | - required by this bound in `EventBus` [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] 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:6 [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] 84 | pub struct EventBus { [INFO] [stdout] | - required by this bound in `EventBus` [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] 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 7 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0277, E0412, E0468. [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] 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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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] | ^^^^^ help: use `dyn`: `dyn Event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] 84 | pub struct EventBus { [INFO] [stdout] | - required by this bound in `EventBus` [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] 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:6 [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] 84 | pub struct EventBus { [INFO] [stdout] | - required by this bound in `EventBus` [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] 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: build failed [INFO] running `Command { std: "docker" "inspect" "ef92050da8728fb714644fe61c32e24c68d398525b6f76ba8cef0f0f5b3878ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef92050da8728fb714644fe61c32e24c68d398525b6f76ba8cef0f0f5b3878ec", kill_on_drop: false }` [INFO] [stdout] ef92050da8728fb714644fe61c32e24c68d398525b6f76ba8cef0f0f5b3878ec