[INFO] cloning repository https://github.com/fcoelhomrc/rust-intro-course-project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fcoelhomrc/rust-intro-course-project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffcoelhomrc%2Frust-intro-course-project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffcoelhomrc%2Frust-intro-course-project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3a3761c19ab107d7a4dc6816c4ddb4a1f6d5136e [INFO] checking fcoelhomrc/rust-intro-course-project against try#723ab942d877517caf445dafde0416803ef56501 for pr-143857 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffcoelhomrc%2Frust-intro-course-project" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fcoelhomrc/rust-intro-course-project [INFO] finished tweaking git repo https://github.com/fcoelhomrc/rust-intro-course-project [INFO] tweaked toml for git repo https://github.com/fcoelhomrc/rust-intro-course-project written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fcoelhomrc/rust-intro-course-project on toolchain 723ab942d877517caf445dafde0416803ef56501 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+723ab942d877517caf445dafde0416803ef56501" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fcoelhomrc/rust-intro-course-project 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" "+723ab942d877517caf445dafde0416803ef56501" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: failed to save last-use data [INFO] [stderr] This may prevent cargo from accurately tracking what is being used in its global cache. This information is used for automatically removing unused data in the cache. [INFO] [stderr] [INFO] [stderr] database or disk is full [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] Error code 13: Insertion failed because database is full [INFO] checking fcoelhomrc/rust-intro-course-project against try#723ab942d877517caf445dafde0416803ef56501 for pr-143857 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffcoelhomrc%2Frust-intro-course-project" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fcoelhomrc/rust-intro-course-project [INFO] finished tweaking git repo https://github.com/fcoelhomrc/rust-intro-course-project [INFO] tweaked toml for git repo https://github.com/fcoelhomrc/rust-intro-course-project written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fcoelhomrc/rust-intro-course-project on toolchain 723ab942d877517caf445dafde0416803ef56501 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+723ab942d877517caf445dafde0416803ef56501" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fcoelhomrc/rust-intro-course-project 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" "+723ab942d877517caf445dafde0416803ef56501" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+723ab942d877517caf445dafde0416803ef56501" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44e6f8c23283dd4bcd6c91f4842a82e56dd10fa9f41cb4df61371e06cee120ce [INFO] running `Command { std: "docker" "start" "-a" "44e6f8c23283dd4bcd6c91f4842a82e56dd10fa9f41cb4df61371e06cee120ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44e6f8c23283dd4bcd6c91f4842a82e56dd10fa9f41cb4df61371e06cee120ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44e6f8c23283dd4bcd6c91f4842a82e56dd10fa9f41cb4df61371e06cee120ce", kill_on_drop: false }` [INFO] [stdout] 44e6f8c23283dd4bcd6c91f4842a82e56dd10fa9f41cb4df61371e06cee120ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+723ab942d877517caf445dafde0416803ef56501" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 689d50efb09b8b5dd724ff699f4dcf5f58d1f41d03e44a599709636305565762 [INFO] running `Command { std: "docker" "start" "-a" "689d50efb09b8b5dd724ff699f4dcf5f58d1f41d03e44a599709636305565762", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking rust-intro-course-project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/allocators.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::allocators::GreedyAllocator` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::allocators::GreedyAllocator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/allocators.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::ManagerError` [INFO] [stdout] --> src/allocators.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | use crate::errors::ManagerError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Slot` [INFO] [stdout] --> src/filters.rs:106:61 [INFO] [stdout] | [INFO] [stdout] 106 | use crate::{Item, MAX_INVENTORY_SIZE, Manager, Quality, Slot}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Local`, `NaiveDateTime`, and `TimeZone` [INFO] [stdout] --> src/filters.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | use chrono::{Local, NaiveDateTime, TimeZone}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::allocators::GreedyAllocator` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::allocators::GreedyAllocator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MAX_INVENTORY_SIZE` [INFO] [stdout] --> src/main.rs:378:23 [INFO] [stdout] | [INFO] [stdout] 378 | use super::{Item, MAX_INVENTORY_SIZE, Manager, Quality, Slot}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GreedyAllocator` [INFO] [stdout] --> src/main.rs:379:50 [INFO] [stdout] | [INFO] [stdout] 379 | use crate::allocators::{RoundRobinAllocator, GreedyAllocator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::ManagerError` [INFO] [stdout] --> src/main.rs:380:9 [INFO] [stdout] | [INFO] [stdout] 380 | use crate::errors::ManagerError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inventory` [INFO] [stdout] --> src/filters.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | fn filter(&self, item: &Item, inventory: &HashMap) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inventory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `as_array`, and `distance` are never used [INFO] [stdout] --> src/main.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl Slot { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 30 | fn new(row: usize, shelf: usize, zone: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn as_array(&self) -> [usize; 3] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn distance(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_filters` and `insert_filter` are never used [INFO] [stdout] --> src/main.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 214 | / impl Manager [INFO] [stdout] 215 | | where [INFO] [stdout] 216 | | A: AllocStrategy, [INFO] [stdout] | |_____________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 231 | fn set_filters(&mut self, filters: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn insert_filter(&mut self, filter: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_prev_alloc` is never used [INFO] [stdout] --> src/allocators.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl RoundRobinAllocator { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 59 | fn get_prev_alloc(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GreedyAllocator` is never constructed [INFO] [stdout] --> src/allocators.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct GreedyAllocator {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `slots_by_distance` is never used [INFO] [stdout] --> src/allocators.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 132 | impl GreedyAllocator { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 142 | fn slots_by_distance(dist: usize) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotFound` is never constructed [INFO] [stdout] --> src/errors.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ManagerError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | NotFound { slot: Slot }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ManagerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inventory` [INFO] [stdout] --> src/filters.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | fn filter(&self, item: &Item, inventory: &HashMap) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inventory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `as_array`, and `distance` are never used [INFO] [stdout] --> src/main.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl Slot { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 30 | fn new(row: usize, shelf: usize, zone: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn as_array(&self) -> [usize; 3] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn distance(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_filters` and `insert_filter` are never used [INFO] [stdout] --> src/main.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 214 | / impl Manager [INFO] [stdout] 215 | | where [INFO] [stdout] 216 | | A: AllocStrategy, [INFO] [stdout] | |_____________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 231 | fn set_filters(&mut self, filters: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn insert_filter(&mut self, filter: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_prev_alloc` is never used [INFO] [stdout] --> src/allocators.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl RoundRobinAllocator { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 59 | fn get_prev_alloc(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotFound` is never constructed [INFO] [stdout] --> src/errors.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ManagerError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | NotFound { slot: Slot }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ManagerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.51s [INFO] running `Command { std: "docker" "inspect" "689d50efb09b8b5dd724ff699f4dcf5f58d1f41d03e44a599709636305565762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "689d50efb09b8b5dd724ff699f4dcf5f58d1f41d03e44a599709636305565762", kill_on_drop: false }` [INFO] [stdout] 689d50efb09b8b5dd724ff699f4dcf5f58d1f41d03e44a599709636305565762