[INFO] cloning repository https://github.com/0xlunar/leetcode_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xlunar/leetcode_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xlunar%2Fleetcode_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xlunar%2Fleetcode_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bea9ba0ead2a62e256c5efc12031ba93baf21022
[INFO] checking 0xlunar/leetcode_rs against master#683dd08db5808c41baceef49368fc82a6c4767bb for pr-149137
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xlunar%2Fleetcode_rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/0xlunar/leetcode_rs
[INFO] finished tweaking git repo https://github.com/0xlunar/leetcode_rs
[INFO] tweaked toml for git repo https://github.com/0xlunar/leetcode_rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0xlunar/leetcode_rs on toolchain 683dd08db5808c41baceef49368fc82a6c4767bb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+683dd08db5808c41baceef49368fc82a6c4767bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/0xlunar/leetcode_rs 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" "+683dd08db5808c41baceef49368fc82a6c4767bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+683dd08db5808c41baceef49368fc82a6c4767bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9efa0910391cc86dd30830cd1102937d6575c681ff1530d7a642c07ab389eb22
[INFO] running `Command { std: "docker" "start" "-a" "9efa0910391cc86dd30830cd1102937d6575c681ff1530d7a642c07ab389eb22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9efa0910391cc86dd30830cd1102937d6575c681ff1530d7a642c07ab389eb22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9efa0910391cc86dd30830cd1102937d6575c681ff1530d7a642c07ab389eb22", kill_on_drop: false }`
[INFO] [stdout] 9efa0910391cc86dd30830cd1102937d6575c681ff1530d7a642c07ab389eb22
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+683dd08db5808c41baceef49368fc82a6c4767bb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] be40945792a8a15f995b14667419527b00b574e06eb42e70ee4077aeba4c35be
[INFO] running `Command { std: "docker" "start" "-a" "be40945792a8a15f995b14667419527b00b574e06eb42e70ee4077aeba4c35be", kill_on_drop: false }`
[INFO] [stderr]     Checking leetcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope
[INFO] [stdout]   --> src/reverse_polish_notation.rs:1:6
[INFO] [stdout]    |
[INFO] [stdout]  1 | impl Solution {
[INFO] [stdout]    |      ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: these structs exist but are inaccessible
[INFO] [stdout]   --> src/contains_duplicate.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | struct Solution {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `crate::contains_duplicate::Solution`: not accessible
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/group_anagrams.rs:32:1
[INFO] [stdout]    |
[INFO] [stdout] 32 | struct Solution {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `crate::group_anagrams::Solution`: not accessible
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/is_anagram.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct Solution {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `crate::is_anagram::Solution`: not accessible
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/longest_consecutive.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Solution {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `crate::longest_consecutive::Solution`: not accessible
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/product_of_array_except_self.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct Solution {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `crate::product_of_array_except_self::Solution`: not accessible
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/top_k_frequent_elements.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct Solution {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `crate::top_k_frequent_elements::Solution`: not accessible
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/two_sum.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Solution {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `crate::two_sum::Solution`: not accessible
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/two_sum_ii.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct Solution {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `crate::two_sum_ii::Solution`: not accessible
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/valid_sudoku.rs:54:1
[INFO] [stdout]    |
[INFO] [stdout] 54 | struct Solution {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `crate::valid_sudoku::Solution`: not accessible
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::median_of_two_sorted_arrays::Solution;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::valid_palindrome::Solution;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::valid_parentheses::Solution;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope
[INFO] [stdout]   --> src/reverse_polish_notation.rs:1:6
[INFO] [stdout]    |
[INFO] [stdout]  1 | impl Solution {
[INFO] [stdout]    |      ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: these structs exist but are inaccessible
[INFO] [stdout]   --> src/contains_duplicate.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | struct Solution {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `crate::contains_duplicate::Solution`: not accessible
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/group_anagrams.rs:32:1
[INFO] [stdout]    |
[INFO] [stdout] 32 | struct Solution {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `crate::group_anagrams::Solution`: not accessible
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/is_anagram.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct Solution {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `crate::is_anagram::Solution`: not accessible
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/longest_consecutive.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Solution {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `crate::longest_consecutive::Solution`: not accessible
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/product_of_array_except_self.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct Solution {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `crate::product_of_array_except_self::Solution`: not accessible
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/top_k_frequent_elements.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct Solution {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `crate::top_k_frequent_elements::Solution`: not accessible
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/two_sum.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Solution {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `crate::two_sum::Solution`: not accessible
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/two_sum_ii.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct Solution {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `crate::two_sum_ii::Solution`: not accessible
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/valid_sudoku.rs:54:1
[INFO] [stdout]    |
[INFO] [stdout] 54 | struct Solution {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `crate::valid_sudoku::Solution`: not accessible
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::median_of_two_sorted_arrays::Solution;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::valid_palindrome::Solution;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::valid_parentheses::Solution;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/min_stack.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let mut sorted = self.stack.to_owned();
[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] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/min_stack.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let mut sorted = self.stack.to_owned();
[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 "leetcode") due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `leetcode` (bin "leetcode" test) due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "be40945792a8a15f995b14667419527b00b574e06eb42e70ee4077aeba4c35be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be40945792a8a15f995b14667419527b00b574e06eb42e70ee4077aeba4c35be", kill_on_drop: false }`
[INFO] [stdout] be40945792a8a15f995b14667419527b00b574e06eb42e70ee4077aeba4c35be
