[INFO] cloning repository https://github.com/joelittyab-git/Excal-MQ [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joelittyab-git/Excal-MQ" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelittyab-git%2FExcal-MQ", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelittyab-git%2FExcal-MQ'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 35dbcba373fd08923ea1239ac34ed626572c1be3 [INFO] testing joelittyab-git/Excal-MQ against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelittyab-git%2FExcal-MQ" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/joelittyab-git/Excal-MQ [INFO] finished tweaking git repo https://github.com/joelittyab-git/Excal-MQ [INFO] tweaked toml for git repo https://github.com/joelittyab-git/Excal-MQ written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/joelittyab-git/Excal-MQ on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/joelittyab-git/Excal-MQ 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.1.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 649eb5eb53658a6c6f868c97ec59ca73d4b40c0a5f42d80d279866fe09b5273d [INFO] running `Command { std: "docker" "start" "-a" "649eb5eb53658a6c6f868c97ec59ca73d4b40c0a5f42d80d279866fe09b5273d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "649eb5eb53658a6c6f868c97ec59ca73d4b40c0a5f42d80d279866fe09b5273d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "649eb5eb53658a6c6f868c97ec59ca73d4b40c0a5f42d80d279866fe09b5273d", kill_on_drop: false }` [INFO] [stdout] 649eb5eb53658a6c6f868c97ec59ca73d4b40c0a5f42d80d279866fe09b5273d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0bee3bfc46548bdaf455174e9ed15aac63ef65a13b03ce467e73ecdae015dce [INFO] running `Command { std: "docker" "start" "-a" "d0bee3bfc46548bdaf455174e9ed15aac63ef65a13b03ce467e73ecdae015dce", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tokio v1.39.3 [INFO] [stderr] Compiling net v0.1.0 (/opt/rustwide/workdir/net) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> net/src/socket/client/mod.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 198 | Ok(e) => return Ok(()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MessageTransferProtocolPayload` [INFO] [stdout] --> net/src/socket/data.rs:1:82 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::protocol::{error::ProtocolError, interface::{MessageTransferProtocol, MessageTransferProtocolPayload}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MessageTransferProtocol` [INFO] [stdout] --> net/src/socket/data.rs:1:57 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::protocol::{error::ProtocolError, interface::{MessageTransferProtocol, MessageTransferProtocolPayload}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address` and `data` are never read [INFO] [stdout] --> net/src/socket/server/data.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct SocketData { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 41 | address: SocketAddr, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 42 | data: Data, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `construct` is never used [INFO] [stdout] --> net/src/protocol/mod.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 98 | impl MTPResponse { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | fn construct(status: MTPStatusCode, headers: MTPHeaders, storage: MTPStorage) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MTPPayload` is never constructed [INFO] [stdout] --> net/src/protocol/mod.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | struct MTPPayload{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> net/src/protocol/mod.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 181 | impl MTPPayload { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 182 | fn construct(headers:MTPHeaders, message:Option, request:MTPRequestType)->Self{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn subscribe(headers:MTPHeaders, message:Option)->Self{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | fn unsubscribe(headers:MTPHeaders, message:Option)->Self{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | fn publish(headers:MTPHeaders, message:Option)->Self{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | fn pull(headers:MTPHeaders, message:Option)->Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | fn ping(headers:MTPHeaders, message:Option)->Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | fn manage(headers:MTPHeaders, message:Option)->Self{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `actions` is never read [INFO] [stdout] --> net/src/protocol/mod.rs:236:6 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct MTPManagerActions { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 236 | actions: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `code` and `description` are never used [INFO] [stdout] --> net/src/protocol/error.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 169 | impl ProtocolError { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | fn code(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | fn description(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: unused import: `error::ServerSocketError` [INFO] [stdout] --> server/src/preface/prologue/interface.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use net::socket::server::{data::SocketData, error::ServerSocketError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::PrologueError` [INFO] [stdout] --> server/src/core/mod.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::preface::prologue::{error::PrologueError, interface::Prologue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> server/src/preface/prologue/mod.rs:44:42 [INFO] [stdout] | [INFO] [stdout] 40 | let mut socket_data_transfered = socket_data; [INFO] [stdout] | ----------- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 44 | socket_data_transfered = middleware.parse(socket_data_transfered); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `SocketData`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `SocketData` [INFO] [stdout] found enum `Result` [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 44 | socket_data_transfered = middleware.parse(socket_data_transfered).expect("REASON"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket_data` [INFO] [stdout] --> server/src/preface/prologue/mod.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | async fn run_prologue(&mut self, socket_data:SocketData){ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket_data` [INFO] [stdout] --> server/src/preface/prologue/mod.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | async fn secure(&mut self, socket_data:SocketData){ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> server/src/preface/prologue/error.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `server` (bin "server") due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d0bee3bfc46548bdaf455174e9ed15aac63ef65a13b03ce467e73ecdae015dce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0bee3bfc46548bdaf455174e9ed15aac63ef65a13b03ce467e73ecdae015dce", kill_on_drop: false }` [INFO] [stdout] d0bee3bfc46548bdaf455174e9ed15aac63ef65a13b03ce467e73ecdae015dce