[INFO] cloning repository https://github.com/KhodingNow/cli_Project_wRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KhodingNow/cli_Project_wRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKhodingNow%2Fcli_Project_wRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKhodingNow%2Fcli_Project_wRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0a8d88477fbcd7fefed8b11abe16d9f57948e4c [INFO] checking KhodingNow/cli_Project_wRust against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKhodingNow%2Fcli_Project_wRust" "/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/KhodingNow/cli_Project_wRust [INFO] finished tweaking git repo https://github.com/KhodingNow/cli_Project_wRust [INFO] tweaked toml for git repo https://github.com/KhodingNow/cli_Project_wRust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KhodingNow/cli_Project_wRust 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/KhodingNow/cli_Project_wRust 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] 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] dd5e8f18e877493e9c90c51e036bb7cbe2de7f0b220b7323afd5618d062bc57f [INFO] running `Command { std: "docker" "start" "-a" "dd5e8f18e877493e9c90c51e036bb7cbe2de7f0b220b7323afd5618d062bc57f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd5e8f18e877493e9c90c51e036bb7cbe2de7f0b220b7323afd5618d062bc57f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd5e8f18e877493e9c90c51e036bb7cbe2de7f0b220b7323afd5618d062bc57f", kill_on_drop: false }` [INFO] [stdout] dd5e8f18e877493e9c90c51e036bb7cbe2de7f0b220b7323afd5618d062bc57f [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] 3a70796fa05a71f145ced2f97e35796481dd1ad9cf16296e73435db9b0ddeb0e [INFO] running `Command { std: "docker" "start" "-a" "3a70796fa05a71f145ced2f97e35796481dd1ad9cf16296e73435db9b0ddeb0e", kill_on_drop: false }` [INFO] [stderr] Checking minigrep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0428]: the name `Rectangle` is defined multiple times [INFO] [stdout] --> src/main.rs:209:4 [INFO] [stdout] | [INFO] [stdout] 184 | struct Rectangle { [INFO] [stdout] | ---------------- previous definition of the type `Rectangle` here [INFO] [stdout] ... [INFO] [stdout] 209 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `Rectangle` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Rectangle` must be defined only once in the type namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `Rectangle` is defined multiple times [INFO] [stdout] --> src/main.rs:209:4 [INFO] [stdout] | [INFO] [stdout] 184 | struct Rectangle { [INFO] [stdout] | ---------------- previous definition of the type `Rectangle` here [INFO] [stdout] ... [INFO] [stdout] 209 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `Rectangle` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Rectangle` must be defined only once in the type namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `Rectangle` is defined multiple times [INFO] [stdout] --> src/main.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 184 | struct Rectangle { [INFO] [stdout] | ---------------- previous definition of the type `Rectangle` here [INFO] [stdout] ... [INFO] [stdout] 226 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `Rectangle` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Rectangle` must be defined only once in the type namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `Rectangle` is defined multiple times [INFO] [stdout] --> src/main.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 184 | struct Rectangle { [INFO] [stdout] | ---------------- previous definition of the type `Rectangle` here [INFO] [stdout] ... [INFO] [stdout] 226 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `Rectangle` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Rectangle` must be defined only once in the type namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Shoes` in this scope [INFO] [stdout] --> src/main.rs:312:29 [INFO] [stdout] | [INFO] [stdout] 307 | struct Shoe { [INFO] [stdout] | ----------- similarly named struct `Shoe` defined here [INFO] [stdout] ... [INFO] [stdout] 312 | fn shoes_in_size(shoes: Vec, shoes_size: u32) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 312 - fn shoes_in_size(shoes: Vec, shoes_size: u32) -> Vec { [INFO] [stdout] 312 + fn shoes_in_size(shoes: Vec, shoes_size: u32) -> Vec { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 312 | fn shoes_in_size(shoes: Vec, shoes_size: u32) -> Vec { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Debug` for type `main::Rectangle` [INFO] [stdout] --> src/main.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 183 | #[derive(Debug)] [INFO] [stdout] | ----- first implementation here [INFO] [stdout] ... [INFO] [stdout] 208 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ conflicting implementation for `main::Rectangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Debug` for type `main::Rectangle` [INFO] [stdout] --> src/main.rs:225:10 [INFO] [stdout] | [INFO] [stdout] 183 | #[derive(Debug)] [INFO] [stdout] | ----- first implementation here [INFO] [stdout] ... [INFO] [stdout] 225 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ conflicting implementation for `main::Rectangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Shoes` in this scope [INFO] [stdout] --> src/main.rs:312:29 [INFO] [stdout] | [INFO] [stdout] 307 | struct Shoe { [INFO] [stdout] | ----------- similarly named struct `Shoe` defined here [INFO] [stdout] ... [INFO] [stdout] 312 | fn shoes_in_size(shoes: Vec, shoes_size: u32) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 312 - fn shoes_in_size(shoes: Vec, shoes_size: u32) -> Vec { [INFO] [stdout] 312 + fn shoes_in_size(shoes: Vec, shoes_size: u32) -> Vec { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 312 | fn shoes_in_size(shoes: Vec, shoes_size: u32) -> Vec { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Shoe` in this scope [INFO] [stdout] --> src/main.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | Shoe { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Shoe` in this scope [INFO] [stdout] --> src/main.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | Shoe { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Shoe` in this scope [INFO] [stdout] --> src/main.rs:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | Shoe { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Shoe` in this scope [INFO] [stdout] --> src/main.rs:342:21 [INFO] [stdout] | [INFO] [stdout] 342 | Shoe { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Shoe` in this scope [INFO] [stdout] --> src/main.rs:347:21 [INFO] [stdout] | [INFO] [stdout] 347 | Shoe { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> src/main.rs:263:1 [INFO] [stdout] | [INFO] [stdout] 263 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnameable_test_items)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> src/main.rs:288:1 [INFO] [stdout] | [INFO] [stdout] 288 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/main.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Debug` for type `main::Rectangle` [INFO] [stdout] --> src/main.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 183 | #[derive(Debug)] [INFO] [stdout] | ----- first implementation here [INFO] [stdout] ... [INFO] [stdout] 208 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ conflicting implementation for `main::Rectangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Debug` for type `main::Rectangle` [INFO] [stdout] --> src/main.rs:225:10 [INFO] [stdout] | [INFO] [stdout] 183 | #[derive(Debug)] [INFO] [stdout] | ----- first implementation here [INFO] [stdout] ... [INFO] [stdout] 225 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ conflicting implementation for `main::Rectangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `println` [INFO] [stdout] --> src/main.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | println("{list:#?}, sorted in {num_sort_operations} operations"); [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 243 | println!("{list:#?}, sorted in {num_sort_operations} operations"); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `println` [INFO] [stdout] --> src/main.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | println("{list:#?}, sorted in {num_sort_operations} operations"); [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 243 | println!("{list:#?}, sorted in {num_sort_operations} operations"); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `shoes_in_size` in this scope [INFO] [stdout] --> src/main.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | let in_my_size = shoes_in_size(shoes, 10); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0119, E0423, E0425, E0428. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0119`. [INFO] [stdout] [INFO] [stderr] error: could not compile `minigrep` (bin "minigrep") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0119, E0422, E0423, E0425, E0428. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0119`. [INFO] [stdout] [INFO] [stderr] error: could not compile `minigrep` (bin "minigrep" test) due to 12 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3a70796fa05a71f145ced2f97e35796481dd1ad9cf16296e73435db9b0ddeb0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a70796fa05a71f145ced2f97e35796481dd1ad9cf16296e73435db9b0ddeb0e", kill_on_drop: false }` [INFO] [stdout] 3a70796fa05a71f145ced2f97e35796481dd1ad9cf16296e73435db9b0ddeb0e