[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] testing snowe2010/pes against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnowe2010%2Fpes" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/snowe2010/pes on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-18/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.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded socket2 v0.3.3 [INFO] [stderr] Downloaded eventbus v0.1.5 [INFO] [stderr] Downloaded uuid v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1df1ae115c76b9f30f43c6fc18b7b38d37b76920b0e9ae92bf39cc1ff15d024 [INFO] running `Command { std: "docker" "start" "-a" "b1df1ae115c76b9f30f43c6fc18b7b38d37b76920b0e9ae92bf39cc1ff15d024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1df1ae115c76b9f30f43c6fc18b7b38d37b76920b0e9ae92bf39cc1ff15d024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1df1ae115c76b9f30f43c6fc18b7b38d37b76920b0e9ae92bf39cc1ff15d024", kill_on_drop: false }` [INFO] [stdout] b1df1ae115c76b9f30f43c6fc18b7b38d37b76920b0e9ae92bf39cc1ff15d024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d38ccb026c0fbba3c05c061ade36a39fd9316bb48f3392496d28aaee435db01f [INFO] running `Command { std: "docker" "start" "-a" "d38ccb026c0fbba3c05c061ade36a39fd9316bb48f3392496d28aaee435db01f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.37 [INFO] [stderr] Compiling typenum v1.9.0 [INFO] [stderr] Compiling arrayref v0.3.4 [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] Compiling safemem v0.2.0 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling unicode-normalization v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling fallible-iterator v0.1.4 [INFO] [stderr] Compiling md5 v0.3.7 [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 proc-macro2 v0.2.3 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling syn v0.12.13 [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 bytes v0.4.6 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling uuid v0.6.0 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling uuid v0.2.3 [INFO] [stderr] Compiling digest v0.7.2 [INFO] [stderr] Compiling crypto-mac v0.5.2 [INFO] [stderr] Compiling eventbus v0.1.5 [INFO] [stderr] Compiling sha2 v0.7.0 [INFO] [stderr] Compiling hmac v0.5.0 [INFO] [stderr] Compiling postgres-protocol v0.3.2 [INFO] [stderr] Compiling postgres-shared v0.4.1 [INFO] [stderr] Compiling postgres v0.15.2 [INFO] [stderr] Compiling pes-build v0.1.0 (/opt/rustwide/workdir/pes-build) [INFO] [stderr] Compiling pes-common v0.1.0 (/opt/rustwide/workdir/pes-common) [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] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d38ccb026c0fbba3c05c061ade36a39fd9316bb48f3392496d28aaee435db01f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d38ccb026c0fbba3c05c061ade36a39fd9316bb48f3392496d28aaee435db01f", kill_on_drop: false }` [INFO] [stdout] d38ccb026c0fbba3c05c061ade36a39fd9316bb48f3392496d28aaee435db01f