[INFO] cloning repository https://github.com/elnaddar/fawry_ecommerce [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elnaddar/fawry_ecommerce" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felnaddar%2Ffawry_ecommerce", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felnaddar%2Ffawry_ecommerce'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 062f68bcc268342d9293f6e77ea016064cd20ba6 [INFO] checking elnaddar/fawry_ecommerce against try#863511eff87e66198b396935f3b5c8a543022f53 for pr-139493-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felnaddar%2Ffawry_ecommerce" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/elnaddar/fawry_ecommerce [INFO] finished tweaking git repo https://github.com/elnaddar/fawry_ecommerce [INFO] tweaked toml for git repo https://github.com/elnaddar/fawry_ecommerce written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/elnaddar/fawry_ecommerce on toolchain 863511eff87e66198b396935f3b5c8a543022f53 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/elnaddar/fawry_ecommerce 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" "+863511eff87e66198b396935f3b5c8a543022f53" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking elnaddar/fawry_ecommerce against try#863511eff87e66198b396935f3b5c8a543022f53 for pr-139493-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felnaddar%2Ffawry_ecommerce" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/elnaddar/fawry_ecommerce [INFO] finished tweaking git repo https://github.com/elnaddar/fawry_ecommerce [INFO] tweaked toml for git repo https://github.com/elnaddar/fawry_ecommerce written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/elnaddar/fawry_ecommerce on toolchain 863511eff87e66198b396935f3b5c8a543022f53 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/elnaddar/fawry_ecommerce 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" "+863511eff87e66198b396935f3b5c8a543022f53" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.2.28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f2b6ed0f5d8ef7d835dd83c62def78f74c8cbb57d1f2ce32597492162ee6acc [INFO] running `Command { std: "docker" "start" "-a" "4f2b6ed0f5d8ef7d835dd83c62def78f74c8cbb57d1f2ce32597492162ee6acc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f2b6ed0f5d8ef7d835dd83c62def78f74c8cbb57d1f2ce32597492162ee6acc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f2b6ed0f5d8ef7d835dd83c62def78f74c8cbb57d1f2ce32597492162ee6acc", kill_on_drop: false }` [INFO] [stdout] 4f2b6ed0f5d8ef7d835dd83c62def78f74c8cbb57d1f2ce32597492162ee6acc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+863511eff87e66198b396935f3b5c8a543022f53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d254d447ebdedaf1626761615ce10cc57925f7ef68846510e2babc7ca91e52c6 [INFO] running `Command { std: "docker" "start" "-a" "d254d447ebdedaf1626761615ce10cc57925f7ef68846510e2babc7ca91e52c6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking fawry_ecommerce v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/product/structs/shipping_weight.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{self, write}; [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: `clap::builder::Str` [INFO] [stdout] --> src/cart/cart.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::builder::Str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/cart/cart.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | cart::{self, CartItem}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, Duration, Local}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/product/structs/shipping_weight.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{self, write}; [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: `clap::builder::Str` [INFO] [stdout] --> src/cart/cart.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::builder::Str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/cart/cart.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | cart::{self, CartItem}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, Duration, Local}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mobile_item` [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mobile_item = CartItem::from_product(4, mobile.clone()); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mobile_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `now` and `get_expiry_date` are never used [INFO] [stdout] --> src/product/structs/expiration_date.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl ExpirationDate { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn now() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn get_expiry_date(&self) -> DateTime { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_price` is never used [INFO] [stdout] --> src/product/structs/shipping_weight.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl ShippingWeight { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn calculate_price(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `msg` is never read [INFO] [stdout] --> src/traits/crud.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | pub msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `msg` is never read [INFO] [stdout] --> src/traits/crud.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Success { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | pub msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `update` and `delete` are never used [INFO] [stdout] --> src/traits/crud.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Crud { [INFO] [stdout] | ---- associated functions in this trait [INFO] [stdout] ... [INFO] [stdout] 18 | fn update(key: &K, v: V) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | fn delete(key: &K) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `delete` are never used [INFO] [stdout] --> src/cart/cart.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Cart { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn delete(name: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mobile_item` [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mobile_item = CartItem::from_product(4, mobile.clone()); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mobile_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `now` and `get_expiry_date` are never used [INFO] [stdout] --> src/product/structs/expiration_date.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl ExpirationDate { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn now() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn get_expiry_date(&self) -> DateTime { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_price` is never used [INFO] [stdout] --> src/product/structs/shipping_weight.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl ShippingWeight { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn calculate_price(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `msg` is never read [INFO] [stdout] --> src/traits/crud.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | pub msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `msg` is never read [INFO] [stdout] --> src/traits/crud.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Success { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | pub msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `update` and `delete` are never used [INFO] [stdout] --> src/traits/crud.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Crud { [INFO] [stdout] | ---- associated functions in this trait [INFO] [stdout] ... [INFO] [stdout] 18 | fn update(key: &K, v: V) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | fn delete(key: &K) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `delete` are never used [INFO] [stdout] --> src/cart/cart.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Cart { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn delete(name: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.51s [INFO] running `Command { std: "docker" "inspect" "d254d447ebdedaf1626761615ce10cc57925f7ef68846510e2babc7ca91e52c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d254d447ebdedaf1626761615ce10cc57925f7ef68846510e2babc7ca91e52c6", kill_on_drop: false }` [INFO] [stdout] d254d447ebdedaf1626761615ce10cc57925f7ef68846510e2babc7ca91e52c6