[INFO] cloning repository https://github.com/harshagarwal2245/FerrisPizza [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/harshagarwal2245/FerrisPizza" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharshagarwal2245%2FFerrisPizza", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharshagarwal2245%2FFerrisPizza'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b51754ef12069b9e3353c05acde5c93786f812ae [INFO] checking harshagarwal2245/FerrisPizza against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharshagarwal2245%2FFerrisPizza" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/harshagarwal2245/FerrisPizza [INFO] finished tweaking git repo https://github.com/harshagarwal2245/FerrisPizza [INFO] tweaked toml for git repo https://github.com/harshagarwal2245/FerrisPizza written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/harshagarwal2245/FerrisPizza on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/harshagarwal2245/FerrisPizza 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-3-tc2/source/ferrispizza_cli/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e7a960b6431fed365810a663f8aff64c3fb54bb1bb183c971d5a80cd3cb5a34 [INFO] running `Command { std: "docker" "start" "-a" "4e7a960b6431fed365810a663f8aff64c3fb54bb1bb183c971d5a80cd3cb5a34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e7a960b6431fed365810a663f8aff64c3fb54bb1bb183c971d5a80cd3cb5a34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e7a960b6431fed365810a663f8aff64c3fb54bb1bb183c971d5a80cd3cb5a34", kill_on_drop: false }` [INFO] [stdout] 4e7a960b6431fed365810a663f8aff64c3fb54bb1bb183c971d5a80cd3cb5a34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f768783a825e521d9f32c7a56b3895fe64ec93bf2b2d88d71ccb148a3cf64706 [INFO] running `Command { std: "docker" "start" "-a" "f768783a825e521d9f32c7a56b3895fe64ec93bf2b2d88d71ccb148a3cf64706", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/ferrispizza_cli/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking ferrispizza_lib v0.1.0 (/opt/rustwide/workdir/ferrispizza_lib) [INFO] [stdout] warning: unused imports: `Farmhouse` and `Margherita` [INFO] [stdout] --> ferrispizza_lib/src/pizza/crust.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use super::base::{Margherita, Farmhouse}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `order` should have an upper camel case name [INFO] [stdout] --> ferrispizza_lib/src/order/Order.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct order { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Order` [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: type `order` should have an upper camel case name [INFO] [stdout] --> ferrispizza_lib/src/order/Order.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct order { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Order` [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: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> ferrispizza_lib/src/patterns/adapter.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> ferrispizza_lib/src/patterns/adapter.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::r#gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> ferrispizza_lib/src/patterns/adapter.rs:94:31 [INFO] [stdout] | [INFO] [stdout] 94 | let chance: f64 = rng.r#gen(); // 0.0..1.0 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::r#gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> ferrispizza_lib/src/patterns/adapter.rs:94:31 [INFO] [stdout] | [INFO] [stdout] 94 | let chance: f64 = rng.r#gen(); // 0.0..1.0 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UpiAdapter` is never used [INFO] [stdout] --> ferrispizza_lib/src/patterns/adapter.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait UpiAdapter: PaymentAdapter {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CardAdapter` is never used [INFO] [stdout] --> ferrispizza_lib/src/patterns/adapter.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait CardAdapter: PaymentAdapter {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Order` should have a snake case name [INFO] [stdout] --> ferrispizza_lib/src/order.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod Order; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `order` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UpiAdapter` is never used [INFO] [stdout] --> ferrispizza_lib/src/patterns/adapter.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait UpiAdapter: PaymentAdapter {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CardAdapter` is never used [INFO] [stdout] --> ferrispizza_lib/src/patterns/adapter.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait CardAdapter: PaymentAdapter {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Order` should have a snake case name [INFO] [stdout] --> ferrispizza_lib/src/order.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod Order; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `order` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ferrispizza_cli v0.1.0 (/opt/rustwide/workdir/ferrispizza_cli) [INFO] [stdout] warning: unused import: `BillingError` [INFO] [stdout] --> ferrispizza_cli/src/commands/order.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use ferrispizza_lib::errors::{BillingError, OrderError}; [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: `BillingError` [INFO] [stdout] --> ferrispizza_cli/src/commands/order.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use ferrispizza_lib::errors::{BillingError, OrderError}; [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 variable: `billing` [INFO] [stdout] --> ferrispizza_cli/src/commands/pay.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let billing = BillingEngine::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_billing` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `order_channel`, `id_gen`, and `billing` are never read [INFO] [stdout] --> ferrispizza_cli/src/app.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FerrisPizzaApp { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 8 | pub order_channel: OrderChannel, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub order_state: SharedOrderState, [INFO] [stdout] 10 | pub id_gen: IdGenerator, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | pub billing: BillingEngine, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `billing` [INFO] [stdout] --> ferrispizza_cli/src/commands/pay.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let billing = BillingEngine::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_billing` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `order_channel`, `id_gen`, and `billing` are never read [INFO] [stdout] --> ferrispizza_cli/src/app.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FerrisPizzaApp { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 8 | pub order_channel: OrderChannel, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub order_state: SharedOrderState, [INFO] [stdout] 10 | pub id_gen: IdGenerator, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | pub billing: BillingEngine, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.78s [INFO] running `Command { std: "docker" "inspect" "f768783a825e521d9f32c7a56b3895fe64ec93bf2b2d88d71ccb148a3cf64706", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f768783a825e521d9f32c7a56b3895fe64ec93bf2b2d88d71ccb148a3cf64706", kill_on_drop: false }` [INFO] [stdout] f768783a825e521d9f32c7a56b3895fe64ec93bf2b2d88d71ccb148a3cf64706