[INFO] cloning repository https://github.com/Kyando2/BitterHarmony [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kyando2/BitterHarmony" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKyando2%2FBitterHarmony", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKyando2%2FBitterHarmony'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3a17d663f03dfa069a4913743f0025e6c8cdc406 [INFO] testing Kyando2/BitterHarmony against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKyando2%2FBitterHarmony" "/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/Kyando2/BitterHarmony on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kyando2/BitterHarmony [INFO] finished tweaking git repo https://github.com/Kyando2/BitterHarmony [INFO] tweaked toml for git repo https://github.com/Kyando2/BitterHarmony written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Kyando2/BitterHarmony already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06884184e05bdb7003599ce08ea7f29c9761a0c6eb311f624ebbe4c219443c67 [INFO] running `Command { std: "docker" "start" "-a" "06884184e05bdb7003599ce08ea7f29c9761a0c6eb311f624ebbe4c219443c67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06884184e05bdb7003599ce08ea7f29c9761a0c6eb311f624ebbe4c219443c67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06884184e05bdb7003599ce08ea7f29c9761a0c6eb311f624ebbe4c219443c67", kill_on_drop: false }` [INFO] [stdout] 06884184e05bdb7003599ce08ea7f29c9761a0c6eb311f624ebbe4c219443c67 [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" "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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc7ba9f4da432e327e0cda3509374e9e44a8f3ca519f87504e847a9841c47794 [INFO] running `Command { std: "docker" "start" "-a" "cc7ba9f4da432e327e0cda3509374e9e44a8f3ca519f87504e847a9841c47794", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling tungstenite v0.13.0 [INFO] [stderr] Compiling pin-project v1.0.6 [INFO] [stderr] Compiling tokio-util v0.6.5 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.2 [INFO] [stderr] Compiling hyper v0.14.5 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.2 [INFO] [stderr] Compiling bitter_harmony v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `!`, `(`, `...`, `..=`, `..`, `::`, `:`, `{`, or `|`, found `,` [INFO] [stdout] --> src/client/handler.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | fn on_message(&Self, ctx: Context); [INFO] [stdout] | ^ expected one of 9 possible tokens [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 4 | fn on_message(_: &Self, ctx: Context); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `...`, `..=`, `..`, `::`, `:`, `{`, or `|`, found `,` [INFO] [stdout] --> src/client/handler.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | fn on_command(&Self, ctx: Context); [INFO] [stdout] | ^ expected one of 9 possible tokens [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 5 | fn on_command(_: &Self, ctx: Context); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/gateway/runner.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use tungstenite::{connect, Message, WebSocket, client::AutoStream}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::BitterHandler` [INFO] [stdout] --> src/client/default.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::BitterHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `BitterHandler` cannot be made into an object [INFO] [stdout] --> src/gateway/runner.rs:56:77 [INFO] [stdout] | [INFO] [stdout] 56 | ...ocket>>, handle: Arc>) -> Arc>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `BitterHandler` 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] --> src/client/handler.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait BitterHandler { [INFO] [stdout] | ------------- this trait cannot be made into an object... [INFO] [stdout] 4 | fn on_message(&Self, ctx: Context); [INFO] [stdout] | ^^^^^^^^^^ ...because associated function `on_message` has no `self` parameter [INFO] [stdout] 5 | fn on_command(&Self, ctx: Context); [INFO] [stdout] | ^^^^^^^^^^ ...because associated function `on_command` has no `self` parameter [INFO] [stdout] help: consider turning `on_message` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 4 | fn on_message(&self, &Self, ctx: Context); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: alternatively, consider constraining `on_message` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 4 | fn on_message(&Self, ctx: Context) where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider turning `on_command` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 5 | fn on_command(&self, &Self, ctx: Context); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: alternatively, consider constraining `on_command` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 5 | fn on_command(&Self, ctx: Context) where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `BitterHandler` cannot be made into an object [INFO] [stdout] --> src/gateway/runner.rs:87:40 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn connect(&mut self, handler: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `BitterHandler` 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] --> src/client/handler.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait BitterHandler { [INFO] [stdout] | ------------- this trait cannot be made into an object... [INFO] [stdout] 4 | fn on_message(&Self, ctx: Context); [INFO] [stdout] | ^^^^^^^^^^ ...because associated function `on_message` has no `self` parameter [INFO] [stdout] 5 | fn on_command(&Self, ctx: Context); [INFO] [stdout] | ^^^^^^^^^^ ...because associated function `on_command` has no `self` parameter [INFO] [stdout] help: consider turning `on_message` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 4 | fn on_message(&self, &Self, ctx: Context); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: alternatively, consider constraining `on_message` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 4 | fn on_message(&Self, ctx: Context) where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider turning `on_command` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 5 | fn on_command(&self, &Self, ctx: Context); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: alternatively, consider constraining `on_command` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 5 | fn on_command(&Self, ctx: Context) where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `BitterHandler` cannot be made into an object [INFO] [stdout] --> src/gateway/runner.rs:144:121 [INFO] [stdout] | [INFO] [stdout] 144 | ...cket>>, handler: Arc>) -> Worker { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `BitterHandler` 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] --> src/client/handler.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait BitterHandler { [INFO] [stdout] | ------------- this trait cannot be made into an object... [INFO] [stdout] 4 | fn on_message(&Self, ctx: Context); [INFO] [stdout] | ^^^^^^^^^^ ...because associated function `on_message` has no `self` parameter [INFO] [stdout] 5 | fn on_command(&Self, ctx: Context); [INFO] [stdout] | ^^^^^^^^^^ ...because associated function `on_command` has no `self` parameter [INFO] [stdout] help: consider turning `on_message` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 4 | fn on_message(&self, &Self, ctx: Context); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: alternatively, consider constraining `on_message` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 4 | fn on_message(&Self, ctx: Context) where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider turning `on_command` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 5 | fn on_command(&self, &Self, ctx: Context); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: alternatively, consider constraining `on_command` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 5 | fn on_command(&Self, ctx: Context) where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitter_harmony` [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" "cc7ba9f4da432e327e0cda3509374e9e44a8f3ca519f87504e847a9841c47794", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc7ba9f4da432e327e0cda3509374e9e44a8f3ca519f87504e847a9841c47794", kill_on_drop: false }` [INFO] [stdout] cc7ba9f4da432e327e0cda3509374e9e44a8f3ca519f87504e847a9841c47794