[INFO] cloning repository https://github.com/coolarec/spooling [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/coolarec/spooling" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoolarec%2Fspooling", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoolarec%2Fspooling'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c21d3331daedbee63b30d746a1549558f49dd7fe [INFO] checking coolarec/spooling against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoolarec%2Fspooling" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/coolarec/spooling [INFO] finished tweaking git repo https://github.com/coolarec/spooling [INFO] tweaked toml for git repo https://github.com/coolarec/spooling written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/coolarec/spooling on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/coolarec/spooling 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ee3c43626253b2b5df2f36363d34ef82ac6e6b1f88357295db6935418f604eb [INFO] running `Command { std: "docker" "start" "-a" "3ee3c43626253b2b5df2f36363d34ef82ac6e6b1f88357295db6935418f604eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ee3c43626253b2b5df2f36363d34ef82ac6e6b1f88357295db6935418f604eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ee3c43626253b2b5df2f36363d34ef82ac6e6b1f88357295db6935418f604eb", kill_on_drop: false }` [INFO] [stdout] 3ee3c43626253b2b5df2f36363d34ef82ac6e6b1f88357295db6935418f604eb [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8cba9f785254d310bbde1a8b05c81f73c127cbf9ca957ec2fd55f02afb73922 [INFO] running `Command { std: "docker" "start" "-a" "e8cba9f785254d310bbde1a8b05c81f73c127cbf9ca957ec2fd55f02afb73922", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Checking bytestring v1.4.0 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking brotli v8.0.1 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking cookie v0.16.2 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking pom v3.4.0 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-http v3.11.0 [INFO] [stderr] Checking lopdf v0.26.0 [INFO] [stderr] Checking printpdf v0.3.4 [INFO] [stderr] Checking genpdf v0.2.0 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Checking actix-files v0.6.6 [INFO] [stderr] Checking spooling v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `rawJob` should have an upper camel case name [INFO] [stdout] --> src/osim/SPOOLing.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct rawJob { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `RawJob` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/osim/NoSPOOLing.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{App, Error, HttpResponse, HttpServer, Responder, Result, web}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `osim::NoSPOOLing::NoSPOOLing` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use osim::NoSPOOLing::NoSPOOLing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `rawJob` should have an upper camel case name [INFO] [stdout] --> src/osim/SPOOLing.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct rawJob { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `RawJob` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/osim/NoSPOOLing.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{App, Error, HttpResponse, HttpServer, Responder, Result, web}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `osim::NoSPOOLing::NoSPOOLing` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use osim::NoSPOOLing::NoSPOOLing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/osim/NoSPOOLing.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut status_map = self.status_map.clone(); [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] --> src/osim/NoSPOOLing.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | let mut status_map = self.status_map.clone(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/osim/NoSPOOLing.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut status_map = self.status_map.clone(); [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] --> src/osim/NoSPOOLing.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | let mut status_map = self.status_map.clone(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start_printing` and `display` are never used [INFO] [stdout] --> src/job.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Job { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn start_printing(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn display(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/osim/SPOOLing.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Buffer { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Buffer` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `try_pop` and `capacity` are never used [INFO] [stdout] --> src/osim/SPOOLing.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Buffer { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn try_pop(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/osim/SPOOLing.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct HeapWell { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 128 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HeapWell` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push`, `pop`, `peek`, and `is_empty` are never used [INFO] [stdout] --> src/osim/SPOOLing.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl HeapWell { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn push(&self, item: T) -> Result<(), T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn pop(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn peek(&self) -> Option [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoSPOOLing` is never constructed [INFO] [stdout] --> src/osim/NoSPOOLing.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct NoSPOOLing { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_status`, `submit_job`, and `get_active_job_id` are never used [INFO] [stdout] --> src/osim/NoSPOOLing.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl NoSPOOLing { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(printer: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get_status(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn submit_job(&self, data: rawJob) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_active_job_id(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_status` and `set_status` are never used [INFO] [stdout] --> src/printer.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Printer{ [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_status(&self) -> PrinterStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn set_status(&mut self, new_status: PrinterStatus) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `SPOOLing` should have a snake case name [INFO] [stdout] --> src/osim/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod SPOOLing; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `spooling` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `NoSPOOLing` should have a snake case name [INFO] [stdout] --> src/osim/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod NoSPOOLing; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `no_spooling` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start_printing` and `display` are never used [INFO] [stdout] --> src/job.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Job { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn start_printing(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn display(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/osim/SPOOLing.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Buffer { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Buffer` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `try_pop` and `capacity` are never used [INFO] [stdout] --> src/osim/SPOOLing.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Buffer { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn try_pop(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/osim/SPOOLing.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct HeapWell { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 128 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HeapWell` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push`, `pop`, `peek`, and `is_empty` are never used [INFO] [stdout] --> src/osim/SPOOLing.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl HeapWell { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn push(&self, item: T) -> Result<(), T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn pop(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn peek(&self) -> Option [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoSPOOLing` is never constructed [INFO] [stdout] --> src/osim/NoSPOOLing.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct NoSPOOLing { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_status`, `submit_job`, and `get_active_job_id` are never used [INFO] [stdout] --> src/osim/NoSPOOLing.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl NoSPOOLing { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(printer: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get_status(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn submit_job(&self, data: rawJob) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_active_job_id(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_status` and `set_status` are never used [INFO] [stdout] --> src/printer.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Printer{ [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_status(&self) -> PrinterStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn set_status(&mut self, new_status: PrinterStatus) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `SPOOLing` should have a snake case name [INFO] [stdout] --> src/osim/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod SPOOLing; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `spooling` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `NoSPOOLing` should have a snake case name [INFO] [stdout] --> src/osim/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod NoSPOOLing; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `no_spooling` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.96s [INFO] running `Command { std: "docker" "inspect" "e8cba9f785254d310bbde1a8b05c81f73c127cbf9ca957ec2fd55f02afb73922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8cba9f785254d310bbde1a8b05c81f73c127cbf9ca957ec2fd55f02afb73922", kill_on_drop: false }` [INFO] [stdout] e8cba9f785254d310bbde1a8b05c81f73c127cbf9ca957ec2fd55f02afb73922