[INFO] cloning repository https://github.com/joanne-cmd/rust_store_inventory_system [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joanne-cmd/rust_store_inventory_system" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoanne-cmd%2Frust_store_inventory_system", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoanne-cmd%2Frust_store_inventory_system'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eceb487eb75824507248ffdd6a52c8a9141d6022 [INFO] checking joanne-cmd/rust_store_inventory_system against try#411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51 for pr-138844 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoanne-cmd%2Frust_store_inventory_system" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 44% (264/591) Updating files: 45% (266/591) Updating files: 46% (272/591) Updating files: 47% (278/591) Updating files: 47% (281/591) error: unable to write file target/debug/deps/rust_store_inventory_system-b9aa08ef204cb8db [INFO] [stderr] error: unable to write file target/debug/deps/rust_store_inventory_system-b9aa08ef204cb8db.d [INFO] [stderr] Updating files: 48% (284/591) error: unable to write file target/debug/deps/rust_store_inventory_system-d2dfdf1fca26f02c.d [INFO] [stderr] error: unable to write file target/debug/deps/rust_store_inventory_system-d94c760a25cf2821.d [INFO] [stderr] error: unable to write file target/debug/deps/rust_store_inventory_system-dfdfc81daaad8243.d [INFO] [stderr] error: unable to write file target/debug/deps/rust_store_inventory_system-e2f354a8fe079f37 [INFO] [stderr] error: unable to write file target/debug/deps/rust_store_inventory_system-e2f354a8fe079f37.d [INFO] [stderr] error: unable to write file target/debug/deps/rust_store_inventory_system-fd9e616709d72e54.d [INFO] [stderr] Updating files: 49% (290/591) error: unable to write file target/debug/deps/ryu-b89ee630aa130939.d [INFO] [stderr] error: unable to write file target/debug/deps/ryu-d8b58d36d8b0724c.d [INFO] [stderr] error: unable to write file target/debug/deps/serde-73a27d82a0a3c92a.d [INFO] [stderr] error: unable to write file target/debug/deps/serde-df5c137597f26c5d.d [INFO] [stderr] error: unable to write file target/debug/deps/serde_derive-908bc6a3f32d9c7c.d [INFO] [stderr] error: unable to write file target/debug/deps/serde_json-41ddf09a230309d2.d [INFO] [stderr] Updating files: 50% (296/591) error: unable to write file target/debug/deps/serde_json-7c2d729f2eb9671b.d [INFO] [stderr] error: unable to write file target/debug/deps/syn-de775388347ba6a5.d [INFO] [stderr] error: unable to write file target/debug/deps/unicode_ident-64e02e57bff7dfd7.d [INFO] [stderr] fatal: cannot create directory at 'target/debug/incremental': No space left on device [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking joanne-cmd/rust_store_inventory_system against try#411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51 for pr-138844 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoanne-cmd%2Frust_store_inventory_system" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joanne-cmd/rust_store_inventory_system on toolchain 411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/joanne-cmd/rust_store_inventory_system [INFO] finished tweaking git repo https://github.com/joanne-cmd/rust_store_inventory_system [INFO] tweaked toml for git repo https://github.com/joanne-cmd/rust_store_inventory_system written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/joanne-cmd/rust_store_inventory_system 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" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5eae28e98795058e796525955af51c4f22b8d4e2c63fa5298cb42018a7fcb3f [INFO] running `Command { std: "docker" "start" "-a" "f5eae28e98795058e796525955af51c4f22b8d4e2c63fa5298cb42018a7fcb3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5eae28e98795058e796525955af51c4f22b8d4e2c63fa5298cb42018a7fcb3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5eae28e98795058e796525955af51c4f22b8d4e2c63fa5298cb42018a7fcb3f", kill_on_drop: false }` [INFO] [stdout] f5eae28e98795058e796525955af51c4f22b8d4e2c63fa5298cb42018a7fcb3f [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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+411f3ca0d8086d5a27e2aaa79b9ff41f53ab2f51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc09b996ed640315b91f337e9dbfe233e80c661ff36c448a956a3ea5cf40f9f7 [INFO] running `Command { std: "docker" "start" "-a" "bc09b996ed640315b91f337e9dbfe233e80c661ff36c448a956a3ea5cf40f9f7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking rust_store_inventory_system v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | /// Create an instance of Sale [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | let sale_date = NaiveDate::from_ymd(2024, 11, 20); // Set sale date [INFO] [stdout] | -------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | /// Create an instance of Sale [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | let sale_date = NaiveDate::from_ymd(2024, 11, 20); // Set sale date [INFO] [stdout] | -------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/main.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | let sale_date = NaiveDate::from_ymd(2024, 11, 20); // Set sale date [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut sale = Sale::new("slippers", 2, 29.99, sale_date); // Create sale instance [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: associated items `has_stock`, `delete_product`, and `load_from_file` are never used [INFO] [stdout] --> src/inventory.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Inventory { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn has_stock(&self, name: &str, quantity: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn delete_product(&mut self, name: &str)-> Result<(), String>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn load_from_file(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/main.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | let sale_date = NaiveDate::from_ymd(2024, 11, 20); // Set sale date [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut sale = Sale::new("slippers", 2, 29.99, sale_date); // Create sale instance [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: associated items `has_stock`, `delete_product`, and `load_from_file` are never used [INFO] [stdout] --> src/inventory.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Inventory { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn has_stock(&self, name: &str, quantity: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn delete_product(&mut self, name: &str)-> Result<(), String>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn load_from_file(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.44s [INFO] running `Command { std: "docker" "inspect" "bc09b996ed640315b91f337e9dbfe233e80c661ff36c448a956a3ea5cf40f9f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc09b996ed640315b91f337e9dbfe233e80c661ff36c448a956a3ea5cf40f9f7", kill_on_drop: false }` [INFO] [stdout] bc09b996ed640315b91f337e9dbfe233e80c661ff36c448a956a3ea5cf40f9f7