[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 8006091eb71ae7d9e9bccb66c6122c9d68af4466 for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmister-teddy%2Fleetcode-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/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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mister-teddy/leetcode-rust on toolchain 8006091eb71ae7d9e9bccb66c6122c9d68af4466 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "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" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 03eb790ea59ba74c2cee478ef457aa4418f38c80fb6f6666bfe2b748c52695d5 [INFO] running `Command { std: "docker" "start" "03eb790ea59ba74c2cee478ef457aa4418f38c80fb6f6666bfe2b748c52695d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03eb790ea59ba74c2cee478ef457aa4418f38c80fb6f6666bfe2b748c52695d5", 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" "03eb790ea59ba74c2cee478ef457aa4418f38c80fb6f6666bfe2b748c52695d5" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03eb790ea59ba74c2cee478ef457aa4418f38c80fb6f6666bfe2b748c52695d5", 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" "03eb790ea59ba74c2cee478ef457aa4418f38c80fb6f6666bfe2b748c52695d5" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "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/3307.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `3307` [INFO] [stdout] --> src/bin/3307.rs:81:2 [INFO] [stdout] | [INFO] [stdout] 81 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/3307.rs` [INFO] [stdout] [INFO] [stdout] [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/2563.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 40 | 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[E0425]: cannot find type `Solution` in this scope [INFO] [stdout] --> src/bin/1394.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | 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/781.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `1394` [INFO] [stdout] --> src/bin/1394.rs:54:2 [INFO] [stdout] | [INFO] [stdout] 54 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/1394.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope [INFO] [stdout] --> src/bin/2434.rs:56:6 [INFO] [stdout] | [INFO] [stdout] 56 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `2434` [INFO] [stdout] --> src/bin/2434.rs:86:2 [INFO] [stdout] | [INFO] [stdout] 86 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/2434.rs` [INFO] [stdout] [INFO] [stdout] [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] 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 "2563" test) due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `leetcode` (bin "2966" test) due to 1 previous error; 1 warning emitted [INFO] [stderr] error: could not compile `leetcode` (bin "781" test) due to 1 previous error [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 = 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] [stdout] error[E0425]: cannot find type `Solution` in this scope [INFO] [stdout] --> src/bin/3362.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | 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/2918.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `leetcode` (bin "3508") due to 1 previous error [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] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [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] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leetcode` (bin "1323" test) due to 1 previous error; 1 warning emitted [INFO] [stderr] error: could not compile `leetcode` (bin "3307") due to 2 previous errors [INFO] [stderr] error: could not compile `leetcode` (bin "1394") due to 2 previous errors [INFO] [stderr] error: could not compile `leetcode` (bin "2918" test) due to 1 previous error [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] [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] [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] [stderr] error: could not compile `leetcode` (bin "1498") due to 2 previous errors [INFO] [stderr] error: could not compile `leetcode` (bin "2434") due to 2 previous errors [INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope [INFO] [stdout] --> src/bin/2210.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 50 | 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/2537.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 40 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `2537` [INFO] [stdout] --> src/bin/2537.rs:79:2 [INFO] [stdout] | [INFO] [stdout] 79 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/2537.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope [INFO] [stdout] --> src/bin/3443.rs:93:6 [INFO] [stdout] | [INFO] [stdout] 93 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `3443` [INFO] [stdout] --> src/bin/3443.rs:132:2 [INFO] [stdout] | [INFO] [stdout] 132 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/3443.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `leetcode` (bin "3362" test) due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [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 "2537") due to 2 previous errors [INFO] [stderr] error: could not compile `leetcode` (bin "2311" test) due to 1 previous error; 1 warning emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [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 "2210" test) due to 1 previous error [INFO] [stderr] error: could not compile `leetcode` (bin "3443") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "03eb790ea59ba74c2cee478ef457aa4418f38c80fb6f6666bfe2b748c52695d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03eb790ea59ba74c2cee478ef457aa4418f38c80fb6f6666bfe2b748c52695d5", kill_on_drop: false }` [INFO] [stdout] 03eb790ea59ba74c2cee478ef457aa4418f38c80fb6f6666bfe2b748c52695d5