[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKyando2%2FBitterHarmony" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kyando2/BitterHarmony 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/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-15/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lock_api v0.4.3 [INFO] [stderr] Downloaded hyper-tls v0.5.0 [INFO] [stderr] Downloaded openssl-sys v0.9.61 [INFO] [stderr] Downloaded tokio-native-tls v0.3.0 [INFO] [stderr] Downloaded security-framework-sys v2.2.0 [INFO] [stderr] Downloaded security-framework v2.2.0 [INFO] [stderr] Downloaded openssl v0.10.33 [INFO] [stderr] Downloaded libc v0.2.93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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] 059513d1138d3068c2a425cf7ff018c490f60e18508342b9201e0dc84c99f103 [INFO] running `Command { std: "docker" "start" "-a" "059513d1138d3068c2a425cf7ff018c490f60e18508342b9201e0dc84c99f103", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "059513d1138d3068c2a425cf7ff018c490f60e18508342b9201e0dc84c99f103", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "059513d1138d3068c2a425cf7ff018c490f60e18508342b9201e0dc84c99f103", kill_on_drop: false }` [INFO] [stdout] 059513d1138d3068c2a425cf7ff018c490f60e18508342b9201e0dc84c99f103 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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] c55ad930c0c67ca2622d26f6a0fcd428f8354b3d296af300a37949f85ca99378 [INFO] running `Command { std: "docker" "start" "-a" "c55ad930c0c67ca2622d26f6a0fcd428f8354b3d296af300a37949f85ca99378", 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] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling quote v1.0.9 [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 idna v0.2.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [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 pin-project v1.0.6 [INFO] [stderr] Compiling tungstenite v0.13.0 [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:87 [INFO] [stdout] | [INFO] [stdout] 56 | ...t>>, 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:50 [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:131 [INFO] [stdout] | [INFO] [stdout] 144 | ...>>, 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` due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c55ad930c0c67ca2622d26f6a0fcd428f8354b3d296af300a37949f85ca99378", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c55ad930c0c67ca2622d26f6a0fcd428f8354b3d296af300a37949f85ca99378", kill_on_drop: false }` [INFO] [stdout] c55ad930c0c67ca2622d26f6a0fcd428f8354b3d296af300a37949f85ca99378