[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] building coolarec/spooling against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoolarec%2Fspooling" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/coolarec/spooling on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3f6eb820af18051a51e23d39112a72f3d0a4c9dae93de91bc184c3262b38e99 [INFO] running `Command { std: "docker" "start" "-a" "a3f6eb820af18051a51e23d39112a72f3d0a4c9dae93de91bc184c3262b38e99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3f6eb820af18051a51e23d39112a72f3d0a4c9dae93de91bc184c3262b38e99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3f6eb820af18051a51e23d39112a72f3d0a4c9dae93de91bc184c3262b38e99", kill_on_drop: false }` [INFO] [stdout] a3f6eb820af18051a51e23d39112a72f3d0a4c9dae93de91bc184c3262b38e99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e795456e3fe1b3d8b1d9103b9a671f4ca56bf62d2c2bb93501d94fe4e9b2449c [INFO] running `Command { std: "docker" "start" "-a" "e795456e3fe1b3d8b1d9103b9a671f4ca56bf62d2c2bb93501d94fe4e9b2449c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling actix-router v0.5.3 [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 ordered-float v1.1.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling pom v3.4.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling http-range v0.1.5 [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 zerofrom v0.1.6 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling lopdf v0.26.0 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling printpdf v0.3.4 [INFO] [stderr] Compiling genpdf v0.2.0 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling actix-files v0.6.6 [INFO] [stderr] Compiling 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)]` (part of `#[warn(nonstandard_style)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [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: 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: 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)]` (part of `#[warn(nonstandard_style)]`) 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 `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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 19s [INFO] running `Command { std: "docker" "inspect" "e795456e3fe1b3d8b1d9103b9a671f4ca56bf62d2c2bb93501d94fe4e9b2449c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e795456e3fe1b3d8b1d9103b9a671f4ca56bf62d2c2bb93501d94fe4e9b2449c", kill_on_drop: false }` [INFO] [stdout] e795456e3fe1b3d8b1d9103b9a671f4ca56bf62d2c2bb93501d94fe4e9b2449c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4cad76e1591d4a9b3f7202941f8b1a2b8c858413b2dca4f48b58d7a91d0edec [INFO] running `Command { std: "docker" "start" "-a" "e4cad76e1591d4a9b3f7202941f8b1a2b8c858413b2dca4f48b58d7a91d0edec", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` (part of `#[warn(nonstandard_style)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(nonstandard_style)]`) 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)]` (part of `#[warn(unused)]`) 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: 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.32s [INFO] running `Command { std: "docker" "inspect" "e4cad76e1591d4a9b3f7202941f8b1a2b8c858413b2dca4f48b58d7a91d0edec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4cad76e1591d4a9b3f7202941f8b1a2b8c858413b2dca4f48b58d7a91d0edec", kill_on_drop: false }` [INFO] [stdout] e4cad76e1591d4a9b3f7202941f8b1a2b8c858413b2dca4f48b58d7a91d0edec