[INFO] cloning repository https://github.com/Lucasjlw/Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lucasjlw/Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucasjlw%2FRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucasjlw%2FRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d01639d4ff6ef666e61dc1a1de6ada5b2091649c [INFO] checking Lucasjlw/Rust against try#b4c55082edd8dec08ce8af276d7054d9c4db20c4 for pr-147984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucasjlw%2FRust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Lucasjlw/Rust [INFO] finished tweaking git repo https://github.com/Lucasjlw/Rust [INFO] tweaked toml for git repo https://github.com/Lucasjlw/Rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Lucasjlw/Rust on toolchain b4c55082edd8dec08ce8af276d7054d9c4db20c4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Lucasjlw/Rust 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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "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] | [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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking Lucasjlw/Rust against try#b4c55082edd8dec08ce8af276d7054d9c4db20c4 for pr-147984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucasjlw%2FRust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Lucasjlw/Rust [INFO] finished tweaking git repo https://github.com/Lucasjlw/Rust [INFO] tweaked toml for git repo https://github.com/Lucasjlw/Rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Lucasjlw/Rust on toolchain b4c55082edd8dec08ce8af276d7054d9c4db20c4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Lucasjlw/Rust 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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "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] | [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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f50b6e5ffd2b7a69d0062abaedc6bfde97718ba98bd3724865143a66be85813 [INFO] running `Command { std: "docker" "start" "-a" "8f50b6e5ffd2b7a69d0062abaedc6bfde97718ba98bd3724865143a66be85813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f50b6e5ffd2b7a69d0062abaedc6bfde97718ba98bd3724865143a66be85813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f50b6e5ffd2b7a69d0062abaedc6bfde97718ba98bd3724865143a66be85813", kill_on_drop: false }` [INFO] [stdout] 8f50b6e5ffd2b7a69d0062abaedc6bfde97718ba98bd3724865143a66be85813 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f01fb975a0ae8820d5b3ec62c9894b47a1250e25c077d1542c7a1a091785ffc8 [INFO] running `Command { std: "docker" "start" "-a" "f01fb975a0ae8820d5b3ec62c9894b47a1250e25c077d1542c7a1a091785ffc8", 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] | [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.168 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking miniz_oxide v0.8.2 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking compression v0.1.0 (/opt/rustwide/workdir/projects/compression) [INFO] [stderr] Checking neural_network v0.1.0 (/opt/rustwide/workdir/projects/neuralnetwork) [INFO] [stderr] Checking image v0.1.0 (/opt/rustwide/workdir/projects/image) [INFO] [stdout] warning: method `feed_forward` is never used [INFO] [stdout] --> projects/neuralnetwork/src/main.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl Network { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | fn feed_forward(&self, data: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `weights` is never read [INFO] [stdout] --> projects/neuralnetwork/src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | struct Layer { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 51 | pub weights: Vec [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_type` [INFO] [stdout] --> projects/image/src/main.rs:62:53 [INFO] [stdout] | [INFO] [stdout] 62 | fn generate_IHDR_chunk(width: u32, height: u32, color_type: usize) -> [u8; 25] { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChunkType` is never used [INFO] [stdout] --> projects/image/src/main.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | enum ChunkType { [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 functions `from` and `load_from_file` are never used [INFO] [stdout] --> projects/image/src/main.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl PNG { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 25 | fn from(data: Vec) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn load_from_file(path: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> projects/image/src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | std::fs::write(path, self.data.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 48 | let _ = std::fs::write(path, self.data.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_type` [INFO] [stdout] --> projects/image/src/main.rs:62:53 [INFO] [stdout] | [INFO] [stdout] 62 | fn generate_IHDR_chunk(width: u32, height: u32, color_type: usize) -> [u8; 25] { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChunkType` is never used [INFO] [stdout] --> projects/image/src/main.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | enum ChunkType { [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 functions `from` and `load_from_file` are never used [INFO] [stdout] --> projects/image/src/main.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl PNG { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 25 | fn from(data: Vec) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn load_from_file(path: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> projects/image/src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | std::fs::write(path, self.data.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 48 | let _ = std::fs::write(path, self.data.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking url-shortener v0.1.0 (/opt/rustwide/workdir/projects/shortener) [INFO] [stdout] warning: method `generate_IHDR_chunk` should have a snake case name [INFO] [stdout] --> projects/image/src/main.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn generate_IHDR_chunk(width: u32, height: u32, color_type: usize) -> [u8; 25] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_ihdr_chunk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_IDAT_chunk` should have a snake case name [INFO] [stdout] --> projects/image/src/main.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | fn generate_IDAT_chunk(width: u32, height: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_idat_chunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_IHDR_chunk` should have a snake case name [INFO] [stdout] --> projects/image/src/main.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn generate_IHDR_chunk(width: u32, height: u32, color_type: usize) -> [u8; 25] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_ihdr_chunk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_IDAT_chunk` should have a snake case name [INFO] [stdout] --> projects/image/src/main.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | fn generate_IDAT_chunk(width: u32, height: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_idat_chunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_IEND_chunk` should have a snake case name [INFO] [stdout] --> projects/image/src/main.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | fn generate_IEND_chunk() -> [u8; 12] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_iend_chunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_IEND_chunk` should have a snake case name [INFO] [stdout] --> projects/image/src/main.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | fn generate_IEND_chunk() -> [u8; 12] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_iend_chunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `feed_forward` is never used [INFO] [stdout] --> projects/neuralnetwork/src/main.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl Network { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | fn feed_forward(&self, data: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `weights` is never read [INFO] [stdout] --> projects/neuralnetwork/src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | struct Layer { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 51 | pub weights: Vec [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> projects/shortener/src/main.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{stdin, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> projects/shortener/src/main.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | while (table.has(&shortcode)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 79 - while (table.has(&shortcode)) { [INFO] [stdout] 79 + while table.has(&shortcode) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> projects/shortener/src/main.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{stdin, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> projects/shortener/src/main.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | while (table.has(&shortcode)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 79 - while (table.has(&shortcode)) { [INFO] [stdout] 79 + while table.has(&shortcode) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking crusty v0.1.0 (/opt/rustwide/workdir/projects/crusty) [INFO] [stdout] warning: fields `listener` and `connections` are never read [INFO] [stdout] --> projects/crusty/src/server/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Server { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | listener: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | connections: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `listener` and `connections` are never read [INFO] [stdout] --> projects/crusty/src/server/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Server { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | listener: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | connections: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking serde_json v1.0.133 [INFO] [stderr] Checking chat_server v0.1.0 (/opt/rustwide/workdir/projects/chat/server) [INFO] [stderr] Checking task-manager v0.1.0 (/opt/rustwide/workdir/projects/tmanager) [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> projects/chat/server/src/html/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Read; [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: `html::HtmlReader` [INFO] [stdout] --> projects/chat/server/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use html::HtmlReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> projects/chat/server/src/main.rs:242:19 [INFO] [stdout] | [INFO] [stdout] 242 | } else if (payload_len <= 65535) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 242 - } else if (payload_len <= 65535) { [INFO] [stdout] 242 + } else if payload_len <= 65535 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor` [INFO] [stdout] --> projects/chat/server/src/html/mod.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn read_file(path: &str, cursor: usize) -> Result, impl Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> projects/chat/server/src/main.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | if let Ok(mut stream) = stream { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> projects/tmanager/src/main.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | if (task.id == task_id) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 107 - if (task.id == task_id) { [INFO] [stdout] 107 + if task.id == task_id { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> projects/tmanager/src/main.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | if (tasks.get(i).unwrap().id == task_id) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 118 - if (tasks.get(i).unwrap().id == task_id) { [INFO] [stdout] 118 + if tasks.get(i).unwrap().id == task_id { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> projects/chat/server/src/main.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | Ok(n) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> projects/chat/server/src/html/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Read; [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: `html::HtmlReader` [INFO] [stdout] --> projects/chat/server/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use html::HtmlReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> projects/chat/server/src/main.rs:242:19 [INFO] [stdout] | [INFO] [stdout] 242 | } else if (payload_len <= 65535) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 242 - } else if (payload_len <= 65535) { [INFO] [stdout] 242 + } else if payload_len <= 65535 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fin` [INFO] [stdout] --> projects/chat/server/src/main.rs:192:25 [INFO] [stdout] | [INFO] [stdout] 192 | let fin = (buffer[0] & 0b10000000) != 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> projects/chat/server/src/main.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HtmlReader` is never constructed [INFO] [stdout] --> projects/chat/server/src/html/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct HtmlReader { [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 `read_file` is never used [INFO] [stdout] --> projects/chat/server/src/html/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl HtmlReader { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 10 | pub fn read_file(path: &str, cursor: usize) -> Result, impl Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor` [INFO] [stdout] --> projects/chat/server/src/html/mod.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn read_file(path: &str, cursor: usize) -> Result, impl Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> projects/chat/server/src/main.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | if let Ok(mut stream) = stream { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> projects/tmanager/src/main.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | if (task.id == task_id) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 107 - if (task.id == task_id) { [INFO] [stdout] 107 + if task.id == task_id { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> projects/tmanager/src/main.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | if (tasks.get(i).unwrap().id == task_id) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 118 - if (tasks.get(i).unwrap().id == task_id) { [INFO] [stdout] 118 + if tasks.get(i).unwrap().id == task_id { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> projects/chat/server/src/main.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | Ok(n) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fin` [INFO] [stdout] --> projects/chat/server/src/main.rs:192:25 [INFO] [stdout] | [INFO] [stdout] 192 | let fin = (buffer[0] & 0b10000000) != 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> projects/chat/server/src/main.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HtmlReader` is never constructed [INFO] [stdout] --> projects/chat/server/src/html/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct HtmlReader { [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 `read_file` is never used [INFO] [stdout] --> projects/chat/server/src/html/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl HtmlReader { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 10 | pub fn read_file(path: &str, cursor: usize) -> Result, impl Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.38s [INFO] running `Command { std: "docker" "inspect" "f01fb975a0ae8820d5b3ec62c9894b47a1250e25c077d1542c7a1a091785ffc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f01fb975a0ae8820d5b3ec62c9894b47a1250e25c077d1542c7a1a091785ffc8", kill_on_drop: false }` [INFO] [stdout] f01fb975a0ae8820d5b3ec62c9894b47a1250e25c077d1542c7a1a091785ffc8