[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#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnowe2010%2Fpes" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/snowe2010/pes on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-3/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha2 v0.7.0 [INFO] [stderr] Downloaded fallible-iterator v0.1.4 [INFO] [stderr] Downloaded postgres-protocol v0.3.2 [INFO] [stderr] Downloaded postgres-shared v0.4.1 [INFO] [stderr] Downloaded postgres v0.15.2 [INFO] [stderr] Downloaded libc v0.2.37 [INFO] [stderr] Downloaded uuid v0.2.3 [INFO] [stderr] Downloaded socket2 v0.3.3 [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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 893c78c649ab2aefe4993592e71a9403e78f27b2bec85438ac94942fcd2f545c [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" "893c78c649ab2aefe4993592e71a9403e78f27b2bec85438ac94942fcd2f545c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "893c78c649ab2aefe4993592e71a9403e78f27b2bec85438ac94942fcd2f545c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "893c78c649ab2aefe4993592e71a9403e78f27b2bec85438ac94942fcd2f545c", kill_on_drop: false }` [INFO] [stdout] 893c78c649ab2aefe4993592e71a9403e78f27b2bec85438ac94942fcd2f545c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d6c938ef90cc56e0a7220d2f47e8359e66bde172b763ce778a5a36a6969f8b5 [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" "8d6c938ef90cc56e0a7220d2f47e8359e66bde172b763ce778a5a36a6969f8b5", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.9.0 [INFO] [stderr] Checking libc v0.2.37 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking arrayref v0.3.4 [INFO] [stderr] Checking constant_time_eq v0.1.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking md5 v0.3.7 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Checking fallible-iterator v0.1.4 [INFO] [stderr] Compiling unicode-normalization v0.1.5 [INFO] [stderr] Checking hex v0.2.0 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Checking phf_shared v0.7.21 [INFO] [stderr] Checking block-buffer v0.3.3 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking phf v0.7.21 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking socket2 v0.3.3 [INFO] [stderr] Checking bytes v0.4.6 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling syn v0.12.13 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking uuid v0.6.0 [INFO] [stderr] Checking uuid v0.2.3 [INFO] [stderr] Checking eventbus v0.1.5 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Checking digest v0.7.2 [INFO] [stderr] Checking crypto-mac v0.5.2 [INFO] [stderr] Compiling sha2 v0.7.0 [INFO] [stderr] Compiling 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] 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: 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: 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: 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] [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: 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] [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: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; 1 warning 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[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; 3 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] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8d6c938ef90cc56e0a7220d2f47e8359e66bde172b763ce778a5a36a6969f8b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d6c938ef90cc56e0a7220d2f47e8359e66bde172b763ce778a5a36a6969f8b5", kill_on_drop: false }` [INFO] [stdout] 8d6c938ef90cc56e0a7220d2f47e8359e66bde172b763ce778a5a36a6969f8b5