[INFO] cloning repository https://github.com/Monles/Rust-Billing-Application [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Monles/Rust-Billing-Application" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMonles%2FRust-Billing-Application", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMonles%2FRust-Billing-Application'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d73cba8fe0e75afa03321b7709b00d4d796169cb [INFO] testing Monles/Rust-Billing-Application against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMonles%2FRust-Billing-Application" "/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/Monles/Rust-Billing-Application on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Monles/Rust-Billing-Application [INFO] finished tweaking git repo https://github.com/Monles/Rust-Billing-Application [INFO] tweaked toml for git repo https://github.com/Monles/Rust-Billing-Application written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Monles/Rust-Billing-Application 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" "+beta-2025-01-12" "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] 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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a33bfcfed773f90742f4b229889aceb98394dda4128e0d186d1991fc4fdc423a [INFO] running `Command { std: "docker" "start" "-a" "a33bfcfed773f90742f4b229889aceb98394dda4128e0d186d1991fc4fdc423a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a33bfcfed773f90742f4b229889aceb98394dda4128e0d186d1991fc4fdc423a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a33bfcfed773f90742f4b229889aceb98394dda4128e0d186d1991fc4fdc423a", kill_on_drop: false }` [INFO] [stdout] a33bfcfed773f90742f4b229889aceb98394dda4128e0d186d1991fc4fdc423a [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f8863efdfccfd03916260fa7546d195bef67afaa6ede0d03fda684f3f3e1ecc [INFO] running `Command { std: "docker" "start" "-a" "0f8863efdfccfd03916260fa7546d195bef67afaa6ede0d03fda684f3f3e1ecc", kill_on_drop: false }` [INFO] [stderr] Compiling Rust-Billing-Application v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/bin/02-trait_default.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | let p = Package::default(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `weight` is never read [INFO] [stdout] --> src/bin/02-trait_default.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 1 | struct Package{ [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 2 | weight: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bin/02-trait_default.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 5 | impl Package{ [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 6 | fn new(weight: f64) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `carPart` in this scope [INFO] [stdout] --> src/bin/05-generics-and-structure.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | impl Convey for carPart{ [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists (notice the capitalization): `CarPart` [INFO] [stdout] ... [INFO] [stdout] 32 | struct CarPart { [INFO] [stdout] | -------------- similarly named struct `CarPart` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `body` and `colour` are never read [INFO] [stdout] --> src/bin/06-generics-and-structure.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 10 | struct Vehicle { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 11 | body: B, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | colour: C, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vehicle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CarPart: Convey` is not satisfied [INFO] [stdout] --> src/bin/05-generics-and-structure.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut belt: ConveyorBelt = ConveyorBelt{items: vec![] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Convey` is not implemented for `CarPart` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ConveyorBelt` [INFO] [stdout] --> src/bin/05-generics-and-structure.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | struct ConveyorBelt { [INFO] [stdout] | ^^^^^^ required by this bound in `ConveyorBelt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CarPart: Convey` is not satisfied [INFO] [stdout] --> src/bin/05-generics-and-structure.rs:41:61 [INFO] [stdout] | [INFO] [stdout] 41 | let mut belt: ConveyorBelt = ConveyorBelt{items: vec![] }; [INFO] [stdout] | ^^^^^^ the trait `Convey` is not implemented for `CarPart` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ConveyorBelt` [INFO] [stdout] --> src/bin/05-generics-and-structure.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | struct ConveyorBelt { [INFO] [stdout] | ^^^^^^ required by this bound in `ConveyorBelt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cargo1` [INFO] [stdout] --> src/bin/04-generics-and-functions.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | let cargo1 = Cargo; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cargo1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cargo2` [INFO] [stdout] --> src/bin/04-generics-and-functions.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | let cargo2 = Cargo; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cargo2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `add` exists for struct `ConveyorBelt`, but its trait bounds were not satisfied [INFO] [stdout] --> src/bin/05-generics-and-structure.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct ConveyorBelt { [INFO] [stdout] | ------------------------------ method `add` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 32 | struct CarPart { [INFO] [stdout] | -------------- doesn't satisfy `CarPart: Convey` [INFO] [stdout] ... [INFO] [stdout] 42 | belt.add(CarPart::default()); [INFO] [stdout] | ^^^ method cannot be called on `ConveyorBelt` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `CarPart: Convey` was not satisfied [INFO] [stdout] --> src/bin/05-generics-and-structure.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl ConveyorBelt { [INFO] [stdout] | ^^^^^^ --------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Convey` must be implemented [INFO] [stdout] --> src/bin/05-generics-and-structure.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | trait Convey { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `add`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `CarPart` in the current scope [INFO] [stdout] --> src/bin/05-generics-and-structure.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 32 | struct CarPart { [INFO] [stdout] | -------------- function or associated item `default` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 42 | belt.add(CarPart::default()); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `CarPart` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Rust-Billing-Application` (bin "05-generics-and-structure") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0f8863efdfccfd03916260fa7546d195bef67afaa6ede0d03fda684f3f3e1ecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f8863efdfccfd03916260fa7546d195bef67afaa6ede0d03fda684f3f3e1ecc", kill_on_drop: false }` [INFO] [stdout] 0f8863efdfccfd03916260fa7546d195bef67afaa6ede0d03fda684f3f3e1ecc