[INFO] cloning repository https://github.com/LuoZheng2002/csci561hw1
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LuoZheng2002/csci561hw1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuoZheng2002%2Fcsci561hw1", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuoZheng2002%2Fcsci561hw1'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c2b3bb460992526f501ec725cc15bb7f1b476eb6
[INFO] checking LuoZheng2002/csci561hw1 against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuoZheng2002%2Fcsci561hw1" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/LuoZheng2002/csci561hw1
[INFO] finished tweaking git repo https://github.com/LuoZheng2002/csci561hw1
[INFO] tweaked toml for git repo https://github.com/LuoZheng2002/csci561hw1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/LuoZheng2002/csci561hw1 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/LuoZheng2002/csci561hw1 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 2baf28bd35061f316dddbeb9b0bb421b874ea6c02f4c7feac73189918264785e
[INFO] running `Command { std: "docker" "start" "-a" "2baf28bd35061f316dddbeb9b0bb421b874ea6c02f4c7feac73189918264785e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2baf28bd35061f316dddbeb9b0bb421b874ea6c02f4c7feac73189918264785e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2baf28bd35061f316dddbeb9b0bb421b874ea6c02f4c7feac73189918264785e", kill_on_drop: false }`
[INFO] [stdout] 2baf28bd35061f316dddbeb9b0bb421b874ea6c02f4c7feac73189918264785e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 478d362040eb144ff685655cd1c43e9018d9a8bfb33fadd04400af6150fface1
[INFO] running `Command { std: "docker" "start" "-a" "478d362040eb144ff685655cd1c43e9018d9a8bfb33fadd04400af6150fface1", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]     Checking cfg-if v1.0.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking anstyle-query v1.1.4
[INFO] [stderr]     Checking generic-array v1.2.0
[INFO] [stderr]     Checking anstream v0.6.20
[INFO] [stderr]     Checking feistel v0.1.0
[INFO] [stderr]     Checking clap_builder v4.5.47
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking ordered-float v5.0.0
[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 clap_derive v4.5.47
[INFO] [stderr]     Checking clap v4.5.47
[INFO] [stderr]     Checking rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cmp::Reverse`
[INFO] [stdout]  --> src/cover_tree.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp::Reverse;
[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: `BinaryHeap`
[INFO] [stdout]  --> src/cover_tree.rs:3:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::{BTreeMap, BinaryHeap};
[INFO] [stdout]   |                                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ordered_float::NotNan`
[INFO] [stdout]  --> src/cover_tree.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ordered_float::NotNan;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::problem::RcKey`
[INFO] [stdout]  --> src/cover_tree.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::problem::RcKey;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ordered_float::NotNan`
[INFO] [stdout]  --> src/generator.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ordered_float::NotNan;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BinaryHeap`, `Ordering`, and `Reverse`
[INFO] [stdout]  --> src/genetic.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 |     cmp::{Ordering, Reverse},
[INFO] [stdout]   |           ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 5 |     collections::{BTreeSet, BinaryHeap, VecDeque},
[INFO] [stdout]   |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `seq::SliceRandom`
[INFO] [stdout]   --> src/genetic.rs:11:44
[INFO] [stdout]    |
[INFO] [stdout] 11 | use rand::{Rng, SeedableRng, rngs::StdRng, seq::SliceRandom};
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RcKey`
[INFO] [stdout]   --> src/genetic.rs:13:43
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::problem::{Population, Problem, RcKey, Solution};
[INFO] [stdout]    |                                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collections::BinaryHeap`
[INFO] [stdout]  --> src/problem.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     collections::BinaryHeap,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `seq::SliceRandom`
[INFO] [stdout]   --> src/problem.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     seq::SliceRandom,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Reverse`
[INFO] [stdout]  --> src/cover_tree.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp::Reverse;
[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: `BinaryHeap`
[INFO] [stdout]  --> src/cover_tree.rs:3:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::{BTreeMap, BinaryHeap};
[INFO] [stdout]   |                                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ordered_float::NotNan`
[INFO] [stdout]  --> src/cover_tree.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ordered_float::NotNan;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::problem::RcKey`
[INFO] [stdout]  --> src/cover_tree.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::problem::RcKey;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/genetic.rs:176:41
[INFO] [stdout]     |
[INFO] [stdout] 175 |   ...                   return;
[INFO] [stdout]     |                         ------ any code following this expression is unreachable
[INFO] [stdout] 176 | / ...                   assert!(
[INFO] [stdout] 177 | | ...                       new_child2
[INFO] [stdout] 178 | | ...                           .is_valid(parent2.order_without_loop.len() as u32)
[INFO] [stdout] 179 | | ...                   );
[INFO] [stdout]     | |_______________________^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ordered_float::NotNan`
[INFO] [stdout]  --> src/generator.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ordered_float::NotNan;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BinaryHeap`, `Ordering`, and `Reverse`
[INFO] [stdout]  --> src/genetic.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 |     cmp::{Ordering, Reverse},
[INFO] [stdout]   |           ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 5 |     collections::{BTreeSet, BinaryHeap, VecDeque},
[INFO] [stdout]   |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `seq::SliceRandom`
[INFO] [stdout]   --> src/genetic.rs:11:44
[INFO] [stdout]    |
[INFO] [stdout] 11 | use rand::{Rng, SeedableRng, rngs::StdRng, seq::SliceRandom};
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RcKey`
[INFO] [stdout]   --> src/genetic.rs:13:43
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::problem::{Population, Problem, RcKey, Solution};
[INFO] [stdout]    |                                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collections::BinaryHeap`
[INFO] [stdout]  --> src/problem.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     collections::BinaryHeap,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `seq::SliceRandom`
[INFO] [stdout]   --> src/problem.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     seq::SliceRandom,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/genetic.rs:176:41
[INFO] [stdout]     |
[INFO] [stdout] 175 |   ...                   return;
[INFO] [stdout]     |                         ------ any code following this expression is unreachable
[INFO] [stdout] 176 | / ...                   assert!(
[INFO] [stdout] 177 | | ...                       new_child2
[INFO] [stdout] 178 | | ...                           .is_valid(parent2.order_without_loop.len() as u32)
[INFO] [stdout] 179 | | ...                   );
[INFO] [stdout]     | |_______________________^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/random_perm.rs:62:23
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn feistel(&self, mut x: u32) -> u32 {
[INFO] [stdout]    |                       ----^
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `CoverTreeNodeChildrenIter` is never constructed
[INFO] [stdout]   --> src/cover_tree.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct CoverTreeNodeChildrenIter<'a, T: Ord + Clone + Distance + std::fmt::Debug> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/random_perm.rs:62:23
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn feistel(&self, mut x: u32) -> u32 {
[INFO] [stdout]    |                       ----^
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `CoverTreeNodeChildrenIter` is never constructed
[INFO] [stdout]   --> src/cover_tree.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct CoverTreeNodeChildrenIter<'a, T: Ord + Clone + Distance + std::fmt::Debug> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust` (lib) due to 1 previous error; 12 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust` (lib test) due to 1 previous error; 12 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "478d362040eb144ff685655cd1c43e9018d9a8bfb33fadd04400af6150fface1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "478d362040eb144ff685655cd1c43e9018d9a8bfb33fadd04400af6150fface1", kill_on_drop: false }`
[INFO] [stdout] 478d362040eb144ff685655cd1c43e9018d9a8bfb33fadd04400af6150fface1
