[INFO] cloning repository https://github.com/JaphetSamuel/rosetta [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JaphetSamuel/rosetta" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaphetSamuel%2Frosetta", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaphetSamuel%2Frosetta'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 553b34c75ea2b6fab811ca659d401ead6fafa956 [INFO] checking JaphetSamuel/rosetta against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaphetSamuel%2Frosetta" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JaphetSamuel/rosetta on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JaphetSamuel/rosetta [INFO] finished tweaking git repo https://github.com/JaphetSamuel/rosetta [INFO] tweaked toml for git repo https://github.com/JaphetSamuel/rosetta written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JaphetSamuel/rosetta 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21c22a6878b408eb696d0ee0bc8627098f865c3f5d09e0c3472819095c5d7d89 [INFO] running `Command { std: "docker" "start" "-a" "21c22a6878b408eb696d0ee0bc8627098f865c3f5d09e0c3472819095c5d7d89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21c22a6878b408eb696d0ee0bc8627098f865c3f5d09e0c3472819095c5d7d89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21c22a6878b408eb696d0ee0bc8627098f865c3f5d09e0c3472819095c5d7d89", kill_on_drop: false }` [INFO] [stdout] 21c22a6878b408eb696d0ee0bc8627098f865c3f5d09e0c3472819095c5d7d89 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 433c729fd8dfd7b956f90185ddcec195965febdb5536fab95f6c089004d0ee12 [INFO] running `Command { std: "docker" "start" "-a" "433c729fd8dfd7b956f90185ddcec195965febdb5536fab95f6c089004d0ee12", kill_on_drop: false }` [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking rosetta v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/fix_parser/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/fix_parser/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::message_struct::message_type` [INFO] [stdout] --> src/fix_parser/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::message_struct::message_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::message_struct::message_type` [INFO] [stdout] --> src/fix_parser/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::message_struct::message_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/connection_manager/mod.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::{Mutex, RwLock}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/connection_manager/mod.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::{Mutex, RwLock}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task` [INFO] [stdout] --> src/connection_manager/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::task; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task` [INFO] [stdout] --> src/connection_manager/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::task; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> src/connection_manager/mod.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | if let Ok((socket, addr)) = self.listener.accept().await { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/connection_manager/mod.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | if let Ok((socket, addr)) = self.listener.accept().await { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> src/connection_manager/mod.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | if let Ok((socket, addr)) = self.listener.accept().await { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/connection_manager/mod.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | if let Ok((socket, addr)) = self.listener.accept().await { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> src/connection_manager/mod.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | async fn handle_connection(socket: TcpStream, address: SocketAddr, connections: RwLock>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> src/connection_manager/mod.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | async fn handle_connection(socket: TcpStream, address: SocketAddr, connections: RwLock>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/message_struct/cotation_request_type.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn from(s: &str) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Version` is never constructed [INFO] [stdout] --> src/message_struct/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Version { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageType` is never constructed [INFO] [stdout] --> src/message_struct/message_type.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct MessageType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/message_struct/message_type.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl MessageType { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 8 | pub fn from(s: &str) -> MessageType { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_value` is never used [INFO] [stdout] --> src/message_struct/message_type.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_value(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CotationRequestType` is never constructed [INFO] [stdout] --> src/message_struct/cotation_request_type.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct CotationRequestType { value: String} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/message_struct/cotation_request_type.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl CotationRequestType { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 4 | [INFO] [stdout] 5 | pub fn from(s: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_value` is never used [INFO] [stdout] --> src/message_struct/cotation_request_type.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_value(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionInfo` is never constructed [INFO] [stdout] --> src/connection_manager/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ConnectionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionManager` is never constructed [INFO] [stdout] --> src/connection_manager/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ConnectionManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, `handle_connection`, and `close_connection` are never used [INFO] [stdout] --> src/connection_manager/mod.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl ConnectionManager { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 19 | pub async fn new(bind_address: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn start(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | async fn handle_connection(socket: TcpStream, address: SocketAddr, connections: RwLock>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn close_connection(&self, address: SocketAddr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/message_struct/cotation_request_type.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn from(s: &str) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Version` is never constructed [INFO] [stdout] --> src/message_struct/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Version { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageType` is never constructed [INFO] [stdout] --> src/message_struct/message_type.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct MessageType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/message_struct/message_type.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl MessageType { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 8 | pub fn from(s: &str) -> MessageType { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_value` is never used [INFO] [stdout] --> src/message_struct/message_type.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_value(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CotationRequestType` is never constructed [INFO] [stdout] --> src/message_struct/cotation_request_type.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct CotationRequestType { value: String} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/message_struct/cotation_request_type.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl CotationRequestType { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 4 | [INFO] [stdout] 5 | pub fn from(s: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_value` is never used [INFO] [stdout] --> src/message_struct/cotation_request_type.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_value(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionInfo` is never constructed [INFO] [stdout] --> src/connection_manager/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ConnectionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionManager` is never constructed [INFO] [stdout] --> src/connection_manager/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ConnectionManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, `handle_connection`, and `close_connection` are never used [INFO] [stdout] --> src/connection_manager/mod.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl ConnectionManager { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 19 | pub async fn new(bind_address: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn start(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | async fn handle_connection(socket: TcpStream, address: SocketAddr, connections: RwLock>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn close_connection(&self, address: SocketAddr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.18s [INFO] running `Command { std: "docker" "inspect" "433c729fd8dfd7b956f90185ddcec195965febdb5536fab95f6c089004d0ee12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "433c729fd8dfd7b956f90185ddcec195965febdb5536fab95f6c089004d0ee12", kill_on_drop: false }` [INFO] [stdout] 433c729fd8dfd7b956f90185ddcec195965febdb5536fab95f6c089004d0ee12 [INFO] checking JaphetSamuel/rosetta against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaphetSamuel%2Frosetta" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JaphetSamuel/rosetta on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JaphetSamuel/rosetta [INFO] finished tweaking git repo https://github.com/JaphetSamuel/rosetta [INFO] tweaked toml for git repo https://github.com/JaphetSamuel/rosetta written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JaphetSamuel/rosetta 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc6ae3c8584789b74fe27c14d60e9556964857ef5ae35faba6dd6d6d01001237 [INFO] running `Command { std: "docker" "start" "-a" "cc6ae3c8584789b74fe27c14d60e9556964857ef5ae35faba6dd6d6d01001237", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc6ae3c8584789b74fe27c14d60e9556964857ef5ae35faba6dd6d6d01001237", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc6ae3c8584789b74fe27c14d60e9556964857ef5ae35faba6dd6d6d01001237", kill_on_drop: false }` [INFO] [stdout] cc6ae3c8584789b74fe27c14d60e9556964857ef5ae35faba6dd6d6d01001237 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38e9ab9ec01049d58923a1b76324b100f1b42056956fc7cc3613cb5a1b0a4dbd [INFO] running `Command { std: "docker" "start" "-a" "38e9ab9ec01049d58923a1b76324b100f1b42056956fc7cc3613cb5a1b0a4dbd", kill_on_drop: false }` [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking rosetta v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/fix_parser/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::message_struct::message_type` [INFO] [stdout] --> src/fix_parser/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::message_struct::message_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/connection_manager/mod.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::{Mutex, RwLock}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task` [INFO] [stdout] --> src/connection_manager/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::task; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> src/connection_manager/mod.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | if let Ok((socket, addr)) = self.listener.accept().await { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/connection_manager/mod.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | if let Ok((socket, addr)) = self.listener.accept().await { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/fix_parser/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::message_struct::message_type` [INFO] [stdout] --> src/fix_parser/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::message_struct::message_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/connection_manager/mod.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::{Mutex, RwLock}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task` [INFO] [stdout] --> src/connection_manager/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::task; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> src/connection_manager/mod.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | async fn handle_connection(socket: TcpStream, address: SocketAddr, connections: RwLock>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/message_struct/cotation_request_type.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn from(s: &str) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Version` is never constructed [INFO] [stdout] --> src/message_struct/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Version { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageType` is never constructed [INFO] [stdout] --> src/message_struct/message_type.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct MessageType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/message_struct/message_type.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl MessageType { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 8 | pub fn from(s: &str) -> MessageType { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_value` is never used [INFO] [stdout] --> src/message_struct/message_type.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_value(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CotationRequestType` is never constructed [INFO] [stdout] --> src/message_struct/cotation_request_type.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct CotationRequestType { value: String} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/message_struct/cotation_request_type.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl CotationRequestType { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 4 | [INFO] [stdout] 5 | pub fn from(s: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_value` is never used [INFO] [stdout] --> src/message_struct/cotation_request_type.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_value(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionInfo` is never constructed [INFO] [stdout] --> src/connection_manager/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ConnectionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionManager` is never constructed [INFO] [stdout] --> src/connection_manager/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ConnectionManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, `handle_connection`, and `close_connection` are never used [INFO] [stdout] --> src/connection_manager/mod.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl ConnectionManager { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 19 | pub async fn new(bind_address: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn start(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | async fn handle_connection(socket: TcpStream, address: SocketAddr, connections: RwLock>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn close_connection(&self, address: SocketAddr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> src/connection_manager/mod.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | if let Ok((socket, addr)) = self.listener.accept().await { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/connection_manager/mod.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | if let Ok((socket, addr)) = self.listener.accept().await { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> src/connection_manager/mod.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | async fn handle_connection(socket: TcpStream, address: SocketAddr, connections: RwLock>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/message_struct/cotation_request_type.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn from(s: &str) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Version` is never constructed [INFO] [stdout] --> src/message_struct/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Version { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageType` is never constructed [INFO] [stdout] --> src/message_struct/message_type.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct MessageType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/message_struct/message_type.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl MessageType { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 8 | pub fn from(s: &str) -> MessageType { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_value` is never used [INFO] [stdout] --> src/message_struct/message_type.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_value(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CotationRequestType` is never constructed [INFO] [stdout] --> src/message_struct/cotation_request_type.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct CotationRequestType { value: String} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/message_struct/cotation_request_type.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl CotationRequestType { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 4 | [INFO] [stdout] 5 | pub fn from(s: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_value` is never used [INFO] [stdout] --> src/message_struct/cotation_request_type.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_value(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionInfo` is never constructed [INFO] [stdout] --> src/connection_manager/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ConnectionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionManager` is never constructed [INFO] [stdout] --> src/connection_manager/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ConnectionManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, `handle_connection`, and `close_connection` are never used [INFO] [stdout] --> src/connection_manager/mod.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl ConnectionManager { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 19 | pub async fn new(bind_address: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn start(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | async fn handle_connection(socket: TcpStream, address: SocketAddr, connections: RwLock>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn close_connection(&self, address: SocketAddr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.31s [INFO] running `Command { std: "docker" "inspect" "38e9ab9ec01049d58923a1b76324b100f1b42056956fc7cc3613cb5a1b0a4dbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38e9ab9ec01049d58923a1b76324b100f1b42056956fc7cc3613cb5a1b0a4dbd", kill_on_drop: false }` [INFO] [stdout] 38e9ab9ec01049d58923a1b76324b100f1b42056956fc7cc3613cb5a1b0a4dbd