[INFO] cloning repository https://github.com/GTxx/learn_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GTxx/learn_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGTxx%2Flearn_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGTxx%2Flearn_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b4dc2ad0d71f20b8eb03792f5b8269ce8d7cb321
[INFO] checking GTxx/learn_rust against master#8f21a5c92ea55c348c275a1bc4fedbdf181e0d64 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGTxx%2Flearn_rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/GTxx/learn_rust
[INFO] finished tweaking git repo https://github.com/GTxx/learn_rust
[INFO] tweaked toml for git repo https://github.com/GTxx/learn_rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/GTxx/learn_rust on toolchain 8f21a5c92ea55c348c275a1bc4fedbdf181e0d64
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/GTxx/learn_rust 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" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 17c1efe53353282c460696a14aab70aa8633725fae4ebb1b8f04aa4e86ea48c9
[INFO] running `Command { std: "docker" "start" "-a" "17c1efe53353282c460696a14aab70aa8633725fae4ebb1b8f04aa4e86ea48c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "17c1efe53353282c460696a14aab70aa8633725fae4ebb1b8f04aa4e86ea48c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "17c1efe53353282c460696a14aab70aa8633725fae4ebb1b8f04aa4e86ea48c9", kill_on_drop: false }`
[INFO] [stdout] 17c1efe53353282c460696a14aab70aa8633725fae4ebb1b8f04aa4e86ea48c9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3d4615a99782f8266aa734c6d32313d6f1f6f3f200e7703e57b42926439844b6
[INFO] running `Command { std: "docker" "start" "-a" "3d4615a99782f8266aa734c6d32313d6f1f6f3f200e7703e57b42926439844b6", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking learn_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0603]: function `find_queen_position` is private
[INFO] [stdout]   --> src/main.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout] 5  | use queen::find_queen_position; 
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^ private function
[INFO] [stdout]    |
[INFO] [stdout] note: the function `find_queen_position` is defined here
[INFO] [stdout]   --> src/queen.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn find_queen_position(result: Vec<Location>, row: i8) -> HashSet<i8>{
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: function `find_queen_position` is private
[INFO] [stdout]   --> src/main.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout] 5  | use queen::find_queen_position; 
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^ private function
[INFO] [stdout]    |
[INFO] [stdout] note: the function `find_queen_position` is defined here
[INFO] [stdout]   --> src/queen.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn find_queen_position(result: Vec<Location>, row: i8) -> HashSet<i8>{
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/queen.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn find_queen_position(result: Vec<Location>, row: i8) -> HashSet<i8>{
[INFO] [stdout]    |                                                           ----------- expected `HashSet<i8>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 26 |     return available_col.difference(&disabled_col)
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `HashSet<i8>`, found `Difference<'_, i8, RandomState>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `HashSet<i8>`
[INFO] [stdout]               found struct `std::collections::hash_set::Difference<'_, i8, RandomState>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/queen.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn find_queen_position(result: Vec<Location>, row: i8) -> HashSet<i8>{
[INFO] [stdout]    |                                                           ----------- expected `HashSet<i8>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 26 |     return available_col.difference(&disabled_col)
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `HashSet<i8>`, found `Difference<'_, i8, RandomState>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `HashSet<i8>`
[INFO] [stdout]               found struct `std::collections::hash_set::Difference<'_, i8, RandomState>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `result` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> src/queen.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let result = vec![queen_location.col];
[INFO] [stdout]    |         ^^^^^^ not mutable
[INFO] [stdout] 13 |     if left > 0 { result.push(left) }
[INFO] [stdout]    |                   ------ cannot borrow as mutable
[INFO] [stdout] 14 |     if right < 8 { result.push(right) }
[INFO] [stdout]    |                    ------ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut result = vec![queen_location.col];
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/main.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let y: i32 = 123;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `result` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> src/queen.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let result = vec![queen_location.col];
[INFO] [stdout]    |         ^^^^^^ not mutable
[INFO] [stdout] 13 |     if left > 0 { result.push(left) }
[INFO] [stdout]    |                   ------ cannot borrow as mutable
[INFO] [stdout] 14 |     if right < 8 { result.push(right) }
[INFO] [stdout]    |                    ------ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut result = vec![queen_location.col];
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/main.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let y: i32 = 123;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0596, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0596, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `learn_rust` (bin "learn_rust" test) due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `learn_rust` (bin "learn_rust") due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "3d4615a99782f8266aa734c6d32313d6f1f6f3f200e7703e57b42926439844b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d4615a99782f8266aa734c6d32313d6f1f6f3f200e7703e57b42926439844b6", kill_on_drop: false }`
[INFO] [stdout] 3d4615a99782f8266aa734c6d32313d6f1f6f3f200e7703e57b42926439844b6
