[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 master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoolarec%2Fspooling" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/coolarec/spooling on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded const_fn v0.4.11 [INFO] [stderr] Downloaded zip v0.5.13 [INFO] [stderr] Downloaded lopdf v0.26.0 [INFO] [stderr] Downloaded genpdf v0.2.0 [INFO] [stderr] Downloaded printpdf v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a87bdc19f20f7e5a63968df92b4aa8b0433e9a1e01e9ae791ed3b9370eda9157 [INFO] running `Command { std: "docker" "start" "-a" "a87bdc19f20f7e5a63968df92b4aa8b0433e9a1e01e9ae791ed3b9370eda9157", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a87bdc19f20f7e5a63968df92b4aa8b0433e9a1e01e9ae791ed3b9370eda9157", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a87bdc19f20f7e5a63968df92b4aa8b0433e9a1e01e9ae791ed3b9370eda9157", kill_on_drop: false }` [INFO] [stdout] a87bdc19f20f7e5a63968df92b4aa8b0433e9a1e01e9ae791ed3b9370eda9157 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d9cffd17af233b3cde280847c4c7fb691d29374d5c5fb7ae5ee97280c8b6fbf [INFO] running `Command { std: "docker" "start" "-a" "2d9cffd17af233b3cde280847c4c7fb691d29374d5c5fb7ae5ee97280c8b6fbf", 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 regex-automata v0.4.9 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling bstr v1.12.0 [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-utils v3.0.1 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling pom v3.4.0 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling regex v1.11.1 [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 yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.15 [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 tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling lopdf v0.26.0 [INFO] [stderr] Compiling http-range v0.1.5 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling printpdf v0.3.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling actix-http v3.11.0 [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: 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)]` (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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 36s [INFO] running `Command { std: "docker" "inspect" "2d9cffd17af233b3cde280847c4c7fb691d29374d5c5fb7ae5ee97280c8b6fbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d9cffd17af233b3cde280847c4c7fb691d29374d5c5fb7ae5ee97280c8b6fbf", kill_on_drop: false }` [INFO] [stdout] 2d9cffd17af233b3cde280847c4c7fb691d29374d5c5fb7ae5ee97280c8b6fbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e8da3acfc9052147aa8ca717dc109db6d5c850e3589c48da45c849dabfc7e72 [INFO] running `Command { std: "docker" "start" "-a" "9e8da3acfc9052147aa8ca717dc109db6d5c850e3589c48da45c849dabfc7e72", 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: 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: 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)]` (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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "9e8da3acfc9052147aa8ca717dc109db6d5c850e3589c48da45c849dabfc7e72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e8da3acfc9052147aa8ca717dc109db6d5c850e3589c48da45c849dabfc7e72", kill_on_drop: false }` [INFO] [stdout] 9e8da3acfc9052147aa8ca717dc109db6d5c850e3589c48da45c849dabfc7e72