[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 a5689b034ad287112f709693384a37f1377eb9cc 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mister-teddy/leetcode-rust on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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] 7d588b807262078c83bd9e498a532055f867601d07ede12ac58d4b93d8825c78 [INFO] running `Command { std: "docker" "start" "7d588b807262078c83bd9e498a532055f867601d07ede12ac58d4b93d8825c78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d588b807262078c83bd9e498a532055f867601d07ede12ac58d4b93d8825c78", 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" "7d588b807262078c83bd9e498a532055f867601d07ede12ac58d4b93d8825c78" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d588b807262078c83bd9e498a532055f867601d07ede12ac58d4b93d8825c78", 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" "7d588b807262078c83bd9e498a532055f867601d07ede12ac58d4b93d8825c78" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "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/3330.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 54 | 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/342.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | 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/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[E0425]: cannot find type `Solution` in this scope [INFO] [stdout] --> src/bin/1290.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 50 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ListNode` in this scope [INFO] [stdout] --> src/bin/1290.rs:51:47 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_decimal_value(head: Option>) -> i32 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 50 | impl Solution { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `342` [INFO] [stdout] --> src/bin/342.rs:37:2 [INFO] [stdout] | [INFO] [stdout] 37 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/342.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `3330` [INFO] [stdout] --> src/bin/3330.rs:67:2 [INFO] [stdout] | [INFO] [stdout] 67 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/3330.rs` [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] 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] 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 "342") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `leetcode` (bin "3330") due to 2 previous errors [INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope [INFO] [stdout] --> src/bin/2566.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | 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[E0601]: `main` function not found in crate `2444` [INFO] [stdout] --> src/bin/2444.rs:64:2 [INFO] [stdout] | [INFO] [stdout] 64 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/2444.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `leetcode` (bin "1290" test) due to 2 previous errors [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 "2566" test) due to 1 previous error [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/2551.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut res = 0; [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] [stderr] error: could not compile `leetcode` (bin "3201") due to 2 previous errors [INFO] [stdout] warning: unused variable: `weights` [INFO] [stdout] --> src/bin/2551.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn put_marbles(weights: Vec, k: i32) -> i64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weights` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/bin/2551.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn put_marbles(weights: Vec, k: i32) -> i64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `leetcode` (bin "2444") due to 2 previous errors; 1 warning emitted [INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope [INFO] [stdout] --> src/bin/2294.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 57 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::i32`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/bin/2294.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::i32; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope [INFO] [stdout] --> src/bin/1922.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | 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/1128.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `1128` [INFO] [stdout] --> src/bin/1128.rs:44:2 [INFO] [stdout] | [INFO] [stdout] 44 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/1128.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope [INFO] [stdout] --> src/bin/3445.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> src/bin/3445.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{char, vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `3445` [INFO] [stdout] --> src/bin/3445.rs:113:2 [INFO] [stdout] | [INFO] [stdout] 113 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/3445.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 "2294" test) due to 1 previous error; 1 warning emitted [INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope [INFO] [stdout] --> src/bin/2929.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::panic::AssertUnwindSafe` [INFO] [stdout] --> src/bin/2929.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::panic::AssertUnwindSafe; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [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] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leetcode` (bin "2929" test) due to 1 previous error; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0425, E0601. [INFO] [stdout] [INFO] [stderr] error: could not compile `leetcode` (bin "1128") due to 2 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leetcode` (bin "3445") due to 2 previous errors; 1 warning emitted [INFO] [stdout] error[E0425]: cannot find type `Solution` in this scope [INFO] [stdout] --> src/bin/73.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] [stderr] error: could not compile `leetcode` (bin "1922" test) due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leetcode` (bin "73" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "7d588b807262078c83bd9e498a532055f867601d07ede12ac58d4b93d8825c78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d588b807262078c83bd9e498a532055f867601d07ede12ac58d4b93d8825c78", kill_on_drop: false }` [INFO] [stdout] 7d588b807262078c83bd9e498a532055f867601d07ede12ac58d4b93d8825c78