[INFO] cloning repository https://github.com/mister-teddy/leetcode-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mister-teddy/leetcode-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmister-teddy%2Fleetcode-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmister-teddy%2Fleetcode-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b985a3b67ada2f5b7e8f4ac02065d0079fd2a6f4
[INFO] checking mister-teddy/leetcode-rust against 28b6e691688c15cef4c60d9044274e7b84397870 for pr-162986
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmister-teddy%2Fleetcode-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mister-teddy/leetcode-rust
[INFO] finished tweaking git repo https://github.com/mister-teddy/leetcode-rust
[INFO] tweaked toml for git repo https://github.com/mister-teddy/leetcode-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mister-teddy/leetcode-rust on toolchain 28b6e691688c15cef4c60d9044274e7b84397870
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28b6e691688c15cef4c60d9044274e7b84397870" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mister-teddy/leetcode-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" "+28b6e691688c15cef4c60d9044274e7b84397870" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a3b1c64fe283131ff22f373aa62a0b1665f5405397400390870f64b064538590
[INFO] running `Command { std: "docker" "start" "a3b1c64fe283131ff22f373aa62a0b1665f5405397400390870f64b064538590", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a3b1c64fe283131ff22f373aa62a0b1665f5405397400390870f64b064538590", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a3b1c64fe283131ff22f373aa62a0b1665f5405397400390870f64b064538590" "/opt/rustwide/cargo-home/bin/cargo" "+28b6e691688c15cef4c60d9044274e7b84397870" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a3b1c64fe283131ff22f373aa62a0b1665f5405397400390870f64b064538590", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a3b1c64fe283131ff22f373aa62a0b1665f5405397400390870f64b064538590" "/opt/rustwide/cargo-home/bin/cargo" "+28b6e691688c15cef4c60d9044274e7b84397870" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking leetcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope
[INFO] [stdout]   --> src/bin/2966.rs:72:6
[INFO] [stdout]    |
[INFO] [stdout] 72 | impl Solution {
[INFO] [stdout]    |      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::DerefMut`
[INFO] [stdout]  --> src/bin/2966.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::DerefMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope
[INFO] [stdout]   --> src/bin/781.rs:36:6
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl Solution {
[INFO] [stdout]    |      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error: expected item after doc comment
[INFO] [stdout]    --> src/bin/3508.rs:169:1
[INFO] [stdout]     |
[INFO] [stdout] 169 | / /**
[INFO] [stdout] 170 | |  * Your Router object will be instantiated and called as such:
[INFO] [stdout] 171 | |  * let obj = Router::new(memoryLimit);
[INFO] [stdout] 172 | |  * let ret_1: bool = obj.add_packet(source, destination, timestamp);
[INFO] [stdout] 173 | |  * let ret_2: Vec<i32> = obj.forward_packet();
[INFO] [stdout] 174 | |  * let ret_3: i32 = obj.get_count(destination, startTime, endTime);
[INFO] [stdout] 175 | |  */
[INFO] [stdout]     | |___^ this doc comment doesn't document anything
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `leetcode` (bin "781" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `leetcode` (bin "3508") due to 1 previous error
[INFO] [stderr] error: could not compile `leetcode` (bin "2966" test) due to 1 previous error; 1 warning emitted
[INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope
[INFO] [stdout]   --> src/bin/1323.rs:46:6
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl Solution {
[INFO] [stdout]    |      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::IndexMut`
[INFO] [stdout]  --> src/bin/1323.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::IndexMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope
[INFO] [stdout]   --> src/bin/2044.rs:48:6
[INFO] [stdout]    |
[INFO] [stdout] 48 | impl Solution {
[INFO] [stdout]    |      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope
[INFO] [stdout]   --> src/bin/869.rs:29:6
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Solution {
[INFO] [stdout]    |      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope
[INFO] [stdout]   --> src/bin/3341.rs:68:6
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl Solution {
[INFO] [stdout]    |      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `leetcode` (bin "2044" test) due to 1 previous error
[INFO] [stderr] error: could not compile `leetcode` (bin "869" test) due to 1 previous error
[INFO] [stdout] error[E0601]: `main` function not found in crate `3341`
[INFO] [stdout]    --> src/bin/3341.rs:102:2
[INFO] [stdout]     |
[INFO] [stdout] 102 | }
[INFO] [stdout]     |  ^ consider adding a `main` function to `src/bin/3341.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `leetcode` (bin "1323" test) due to 1 previous error; 1 warning emitted
[INFO] [stdout] Some errors have detailed explanations: E0425, E0601.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `leetcode` (bin "3341") due to 2 previous errors
[INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope
[INFO] [stdout]   --> src/bin/2311.rs:50:6
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl Solution {
[INFO] [stdout]    |      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashMap`, `HashSet`, `VecDeque`, `char`, and `ops::Index`
[INFO] [stdout]  --> src/bin/2311.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     char,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 3 |     collections::{HashMap, HashSet, VecDeque},
[INFO] [stdout]   |                   ^^^^^^^  ^^^^^^^  ^^^^^^^^
[INFO] [stdout] 4 |     ops::Index,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `leetcode` (bin "2311" test) due to 1 previous error; 1 warning emitted
[INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope
[INFO] [stdout]   --> src/bin/1498.rs:45:6
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl Solution {
[INFO] [stdout]    |      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `1498`
[INFO] [stdout]    --> src/bin/1498.rs:123:2
[INFO] [stdout]     |
[INFO] [stdout] 123 | }
[INFO] [stdout]     |  ^ consider adding a `main` function to `src/bin/1498.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope
[INFO] [stdout]   --> src/bin/3375.rs:66:6
[INFO] [stdout]    |
[INFO] [stdout] 66 | impl Solution {
[INFO] [stdout]    |      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> src/bin/3375.rs:78:15
[INFO] [stdout]    |
[INFO] [stdout] 78 |         while (sorted[i] > k) {
[INFO] [stdout]    |               ^             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 78 -         while (sorted[i] > k) {
[INFO] [stdout] 78 +         while sorted[i] > k {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `leetcode` (bin "3375" test) due to 1 previous error; 1 warning emitted
[INFO] [stdout] Some errors have detailed explanations: E0425, E0601.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `leetcode` (bin "1498") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "a3b1c64fe283131ff22f373aa62a0b1665f5405397400390870f64b064538590", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3b1c64fe283131ff22f373aa62a0b1665f5405397400390870f64b064538590", kill_on_drop: false }`
[INFO] [stdout] a3b1c64fe283131ff22f373aa62a0b1665f5405397400390870f64b064538590
