[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] building GTxx/learn_rust against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGTxx%2Flearn_rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/GTxx/learn_rust on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-1-tc2/source/Cargo.toml
[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" "+334963c956d25708feab489a3816ae63f639355d" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] eccda9f1fe843a162c1fce8bc056fa05dd37b67d0d036b2177fa40033aaa0347
[INFO] running `Command { std: "docker" "start" "-a" "eccda9f1fe843a162c1fce8bc056fa05dd37b67d0d036b2177fa40033aaa0347", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eccda9f1fe843a162c1fce8bc056fa05dd37b67d0d036b2177fa40033aaa0347", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eccda9f1fe843a162c1fce8bc056fa05dd37b67d0d036b2177fa40033aaa0347", kill_on_drop: false }`
[INFO] [stdout] eccda9f1fe843a162c1fce8bc056fa05dd37b67d0d036b2177fa40033aaa0347
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5a8cc2b4ece01cb721728905938b7f043dd0bf2c31b3b9516fdab025d7eb2413
[INFO] running `Command { std: "docker" "start" "-a" "5a8cc2b4ece01cb721728905938b7f043dd0bf2c31b3b9516fdab025d7eb2413", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling 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[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] 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") due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "5a8cc2b4ece01cb721728905938b7f043dd0bf2c31b3b9516fdab025d7eb2413", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a8cc2b4ece01cb721728905938b7f043dd0bf2c31b3b9516fdab025d7eb2413", kill_on_drop: false }`
[INFO] [stdout] 5a8cc2b4ece01cb721728905938b7f043dd0bf2c31b3b9516fdab025d7eb2413
