[INFO] cloning repository https://github.com/lileeei/janus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lileeei/janus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flileeei%2Fjanus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flileeei%2Fjanus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed8e73ff524fd88488115db5a4783d741072580b [INFO] checking lileeei/janus against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flileeei%2Fjanus" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lileeei/janus [INFO] finished tweaking git repo https://github.com/lileeei/janus [INFO] tweaked toml for git repo https://github.com/lileeei/janus written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lileeei/janus on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lileeei/janus already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-tungstenite v0.21.0 [INFO] [stderr] Downloaded portable-atomic-util v0.2.4 [INFO] [stderr] Downloaded rustls-native-certs v0.7.3 [INFO] [stderr] Downloaded tungstenite v0.21.0 [INFO] [stderr] Downloaded actix_derive v0.6.2 [INFO] [stderr] Downloaded redox_syscall v0.5.11 [INFO] [stderr] Downloaded env_logger v0.11.8 [INFO] [stderr] Downloaded actix-rt v2.10.0 [INFO] [stderr] Downloaded jiff-static v0.2.6 [INFO] [stderr] Downloaded actix v0.13.5 [INFO] [stderr] Downloaded openssl-sys v0.9.107 [INFO] [stderr] Downloaded winnow v0.7.6 [INFO] [stderr] Downloaded yaml-rust2 v0.10.1 [INFO] [stderr] Downloaded openssl v0.10.72 [INFO] [stderr] Downloaded jiff v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 406d9e57dda8ca3f89ac07cb65c2d981ac71c56d11bbfd7f46eea6b9eb3a7a01 [INFO] running `Command { std: "docker" "start" "-a" "406d9e57dda8ca3f89ac07cb65c2d981ac71c56d11bbfd7f46eea6b9eb3a7a01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "406d9e57dda8ca3f89ac07cb65c2d981ac71c56d11bbfd7f46eea6b9eb3a7a01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "406d9e57dda8ca3f89ac07cb65c2d981ac71c56d11bbfd7f46eea6b9eb3a7a01", kill_on_drop: false }` [INFO] [stdout] 406d9e57dda8ca3f89ac07cb65c2d981ac71c56d11bbfd7f46eea6b9eb3a7a01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01bc72b746e34fb5dc635a37290d9e05874e459efbc234d5b7b9c65274fe20d7 [INFO] running `Command { std: "docker" "start" "-a" "01bc72b746e34fb5dc635a37290d9e05874e459efbc234d5b7b9c65274fe20d7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling cc v1.2.18 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Checking winnow v0.7.6 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking data-encoding v2.8.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rustls-native-certs v0.7.3 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Checking janus v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking yaml-rust2 v0.10.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking rust-ini v0.21.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix_derive v0.6.2 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking toml_edit v0.22.24 [INFO] [stderr] Checking actix v0.13.5 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking toml v0.8.20 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Checking config v0.15.11 [INFO] [stderr] Checking janus-core v0.1.0 (/opt/rustwide/workdir/crates/janus-core) [INFO] [stderr] Checking janus-interfaces v0.1.0 (/opt/rustwide/workdir/crates/janus-interfaces) [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> crates/janus-interfaces/src/page.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> crates/janus-interfaces/src/page.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize` is never used [INFO] [stdout] --> crates/janus-core/src/config.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn serialize(duration: &Duration, serializer: S) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize` is never used [INFO] [stdout] --> crates/janus-core/src/config.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn serialize(duration: &Duration, serializer: S) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking janus-transport v0.1.0 (/opt/rustwide/workdir/crates/janus-transport) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/janus-transport/src/websocket.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut config = tokio_tungstenite::tungstenite::protocol::WebSocketConfig::default(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/janus-transport/src/websocket.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut config = tokio_tungstenite::tungstenite::protocol::WebSocketConfig::default(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking janus-protocol-handler v0.1.0 (/opt/rustwide/workdir/crates/janus-protocol-handler) [INFO] [stdout] error[E0603]: struct `JsonRpcRequest` is private [INFO] [stdout] --> crates/janus-protocol-handler/src/command_actor.rs:4:64 [INFO] [stdout] | [INFO] [stdout] 4 | CommandResult, CommandTimeout, IncomingJson, JsonRpcError, JsonRpcRequest, JsonRpcResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `JsonRpcRequest` is defined here [INFO] [stdout] --> crates/janus-protocol-handler/src/messages.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | struct JsonRpcRequest<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `JsonRpcRequest` is private [INFO] [stdout] --> crates/janus-protocol-handler/src/command_actor.rs:4:64 [INFO] [stdout] | [INFO] [stdout] 4 | CommandResult, CommandTimeout, IncomingJson, JsonRpcError, JsonRpcRequest, JsonRpcResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `JsonRpcRequest` is defined here [INFO] [stdout] --> crates/janus-protocol-handler/src/messages.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | struct JsonRpcRequest<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix::prelude::*` [INFO] [stdout] --> crates/janus-protocol-handler/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use actix::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix::prelude::*` [INFO] [stdout] --> crates/janus-protocol-handler/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use actix::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> crates/janus-protocol-handler/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::Value; // Re-export Value for convenience [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> crates/janus-protocol-handler/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::Value; // Re-export Value for convenience [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsonRpcError` [INFO] [stdout] --> crates/janus-protocol-handler/src/command_actor.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | CommandResult, CommandTimeout, IncomingJson, JsonRpcError, JsonRpcRequest, JsonRpcResponse, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsonRpcError` [INFO] [stdout] --> crates/janus-protocol-handler/src/command_actor.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | CommandResult, CommandTimeout, IncomingJson, JsonRpcError, JsonRpcRequest, JsonRpcResponse, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> crates/janus-protocol-handler/src/command_actor.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{collections::HashMap, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> crates/janus-protocol-handler/src/event_actor.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> crates/janus-protocol-handler/src/command_actor.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{collections::HashMap, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> crates/janus-protocol-handler/src/event_actor.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_err` found for unit type `()` in the current scope [INFO] [stdout] --> crates/janus-protocol-handler/src/command_actor.rs:79:44 [INFO] [stdout] | [INFO] [stdout] 79 | if self.event_actor.do_send(event).is_err() { [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_err` found for unit type `()` in the current scope [INFO] [stdout] --> crates/janus-protocol-handler/src/command_actor.rs:79:44 [INFO] [stdout] | [INFO] [stdout] 79 | if self.event_actor.do_send(event).is_err() { [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `JsonRpcError: Serialize` is not satisfied [INFO] [stdout] --> crates/janus-protocol-handler/src/command_actor.rs:232:106 [INFO] [stdout] | [INFO] [stdout] 232 | self.handle_event(None, "Protocol.error".to_string(), Some(serde_json::to_value(err_obj).unwrap_or_default())); [INFO] [stdout] | -------------------- ^^^^^^^ the trait `Serialize` is not implemented for `JsonRpcError` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `JsonRpcError` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 158 others [INFO] [stdout] note: required by a bound in `to_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/value/mod.rs:990:8 [INFO] [stdout] | [INFO] [stdout] 988 | pub fn to_value(value: T) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 989 | where [INFO] [stdout] 990 | T: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `JsonRpcError: Serialize` is not satisfied [INFO] [stdout] --> crates/janus-protocol-handler/src/command_actor.rs:232:106 [INFO] [stdout] | [INFO] [stdout] 232 | self.handle_event(None, "Protocol.error".to_string(), Some(serde_json::to_value(err_obj).unwrap_or_default())); [INFO] [stdout] | -------------------- ^^^^^^^ the trait `Serialize` is not implemented for `JsonRpcError` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `JsonRpcError` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 158 others [INFO] [stdout] note: required by a bound in `to_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/value/mod.rs:990:8 [INFO] [stdout] | [INFO] [stdout] 988 | pub fn to_value(value: T) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 989 | where [INFO] [stdout] 990 | T: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_err` found for unit type `()` in the current scope [INFO] [stdout] --> crates/janus-protocol-handler/src/event_actor.rs:113:49 [INFO] [stdout] | [INFO] [stdout] 113 | if recipient.do_send(event.clone()).is_err() { [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_err` found for unit type `()` in the current scope [INFO] [stdout] --> crates/janus-protocol-handler/src/event_actor.rs:113:49 [INFO] [stdout] | [INFO] [stdout] 113 | if recipient.do_send(event.clone()).is_err() { [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `janus-protocol-handler` (lib) due to 4 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `janus-protocol-handler` (lib test) due to 4 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "01bc72b746e34fb5dc635a37290d9e05874e459efbc234d5b7b9c65274fe20d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01bc72b746e34fb5dc635a37290d9e05874e459efbc234d5b7b9c65274fe20d7", kill_on_drop: false }` [INFO] [stdout] 01bc72b746e34fb5dc635a37290d9e05874e459efbc234d5b7b9c65274fe20d7