[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 try#3857be5045fe74bd0f296f6f4c23db10f8857f73 for pr-156807 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmister-teddy%2Fleetcode-rust" "/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/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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mister-teddy/leetcode-rust on toolchain 3857be5045fe74bd0f296f6f4c23db10f8857f73 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "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" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf326973a350d5559cb72c50caf7ad73117c379dd0b6e909c176625e8d96b8fd [INFO] running `Command { std: "docker" "start" "-a" "cf326973a350d5559cb72c50caf7ad73117c379dd0b6e909c176625e8d96b8fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf326973a350d5559cb72c50caf7ad73117c379dd0b6e909c176625e8d96b8fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf326973a350d5559cb72c50caf7ad73117c379dd0b6e909c176625e8d96b8fd", kill_on_drop: false }` [INFO] [stdout] cf326973a350d5559cb72c50caf7ad73117c379dd0b6e909c176625e8d96b8fd [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" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e458c0818a4497dd0a3429d1f945ec8fdcc48dbf065a9d5f1e912829b1cc1232 [INFO] running `Command { std: "docker" "start" "-a" "e458c0818a4497dd0a3429d1f945ec8fdcc48dbf065a9d5f1e912829b1cc1232", kill_on_drop: false }` [INFO] [stderr] Checking leetcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/368.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | if (dp[i] > dp[max_i]) { [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] 46 - if (dp[i] > dp[max_i]) { [INFO] [stdout] 46 + if dp[i] > dp[max_i] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/368.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `largest_divisible_subset` is never used [INFO] [stdout] --> src/bin/368.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 29 | pub fn largest_divisible_subset(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> src/bin/1123.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use core::panic; [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: `std::num::ParseIntError` [INFO] [stdout] --> src/bin/1123.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope [INFO] [stdout] --> src/bin/3442.rs:56:6 [INFO] [stdout] | [INFO] [stdout] 56 | 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/2444.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/bin/2444.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [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/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 `3442` [INFO] [stdout] --> src/bin/3442.rs:74:2 [INFO] [stdout] | [INFO] [stdout] 74 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/3442.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope [INFO] [stdout] --> src/bin/3372.rs:92:6 [INFO] [stdout] | [INFO] [stdout] 92 | 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/3201.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 61 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `3201` [INFO] [stdout] --> src/bin/3201.rs:85:2 [INFO] [stdout] | [INFO] [stdout] 85 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/3201.rs` [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 "3307" test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 "2444" 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 "3442") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leetcode` (bin "3201") due to 2 previous errors [INFO] [stderr] error: could not compile `leetcode` (bin "3372" test) due to 1 previous error [INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope [INFO] [stdout] --> src/bin/2410.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 43 | 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/2799.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `2410` [INFO] [stdout] --> src/bin/2410.rs:62:2 [INFO] [stdout] | [INFO] [stdout] 62 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/2410.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 "2410") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leetcode` (bin "2799" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "e458c0818a4497dd0a3429d1f945ec8fdcc48dbf065a9d5f1e912829b1cc1232", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e458c0818a4497dd0a3429d1f945ec8fdcc48dbf065a9d5f1e912829b1cc1232", kill_on_drop: false }` [INFO] [stdout] e458c0818a4497dd0a3429d1f945ec8fdcc48dbf065a9d5f1e912829b1cc1232