[INFO] cloning repository https://github.com/night-scholar/Rust-Leetcode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/night-scholar/Rust-Leetcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnight-scholar%2FRust-Leetcode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnight-scholar%2FRust-Leetcode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb6b1c23d77c1cac126bb0766390b13d2b55b47c [INFO] checking night-scholar/Rust-Leetcode against try#409ef99a7d4dc96ae91f65d4b48413ed174514d6 for pr-137633 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnight-scholar%2FRust-Leetcode" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/night-scholar/Rust-Leetcode on toolchain 409ef99a7d4dc96ae91f65d4b48413ed174514d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/night-scholar/Rust-Leetcode [INFO] finished tweaking git repo https://github.com/night-scholar/Rust-Leetcode [INFO] tweaked toml for git repo https://github.com/night-scholar/Rust-Leetcode written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/night-scholar/Rust-Leetcode 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" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] Error response from daemon: write /var/lib/docker/overlay2/30bb016c8741841a3660ac97458153e94d65039f94d29f130cd60da7184e4580/.tmp-lower2498121589: no space left on device [INFO] checking night-scholar/Rust-Leetcode against try#409ef99a7d4dc96ae91f65d4b48413ed174514d6 for pr-137633 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnight-scholar%2FRust-Leetcode" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to create directory for '/workspace/builds/worker-2-tc2/source/.git/logs/refs/remotes/origin/HEAD': No such file or directory [INFO] [stderr] error: unable to write symref for refs/remotes/origin/HEAD: No space left on device [INFO] [stderr] fatal: unable to update refs/remotes/origin/HEAD [INFO] checking night-scholar/Rust-Leetcode against try#409ef99a7d4dc96ae91f65d4b48413ed174514d6 for pr-137633 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnight-scholar%2FRust-Leetcode" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/night-scholar/Rust-Leetcode on toolchain 409ef99a7d4dc96ae91f65d4b48413ed174514d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/night-scholar/Rust-Leetcode [INFO] finished tweaking git repo https://github.com/night-scholar/Rust-Leetcode [INFO] tweaked toml for git repo https://github.com/night-scholar/Rust-Leetcode written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/night-scholar/Rust-Leetcode 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" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d6991db30633d1974cac5a8255328a32541c14b7cc457c9c5cded306491c62b [INFO] running `Command { std: "docker" "start" "-a" "9d6991db30633d1974cac5a8255328a32541c14b7cc457c9c5cded306491c62b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d6991db30633d1974cac5a8255328a32541c14b7cc457c9c5cded306491c62b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d6991db30633d1974cac5a8255328a32541c14b7cc457c9c5cded306491c62b", kill_on_drop: false }` [INFO] [stdout] 9d6991db30633d1974cac5a8255328a32541c14b7cc457c9c5cded306491c62b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1c045ae39a238af0c1c9abff4881ceb68168ec8429aa823b5ddc1083d0b1d75 [INFO] running `Command { std: "docker" "start" "-a" "d1c045ae39a238af0c1c9abff4881ceb68168ec8429aa823b5ddc1083d0b1d75", kill_on_drop: false }` [INFO] [stderr] Checking rust-leetcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: invalid character ' ' in crate name: `12_integer to_roman` [INFO] [stdout] | [INFO] [stdout] = help: you can either pass `--crate-name` on the command line or add `#![crate_name = "…"]` to set the crate name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope [INFO] [stdout] --> examples/13_roman_to_interger.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope [INFO] [stdout] --> examples/9_palindrome_number.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-leetcode` (example "12_integer to_roman") due to 1 previous error [INFO] [stdout] error[E0601]: `main` function not found in crate `13_roman_to_interger` [INFO] [stdout] --> examples/13_roman_to_interger.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 31 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/13_roman_to_interger.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0601]: `main` function not found in crate `9_palindrome_number` [INFO] [stdout] --> examples/9_palindrome_number.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 17 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/9_palindrome_number.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope [INFO] [stdout] --> examples/11_container_with_most_water.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0601. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope [INFO] [stdout] --> src/main.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `11_container_with_most_water` [INFO] [stdout] --> examples/11_container_with_most_water.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 21 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/11_container_with_most_water.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope [INFO] [stdout] --> examples/8_string_to_integer_atoi.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-leetcode` (example "9_palindrome_number") due to 2 previous errors [INFO] [stdout] error[E0601]: `main` function not found in crate `rust_leetcode` [INFO] [stdout] --> src/main.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 15 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `8_string_to_integer_atoi` [INFO] [stdout] --> examples/8_string_to_integer_atoi.rs:42:2 [INFO] [stdout] | [INFO] [stdout] 42 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/8_string_to_integer_atoi.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-leetcode` (example "13_roman_to_interger") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0412, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope [INFO] [stdout] --> examples/5_longest_palindrome.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-leetcode` (example "11_container_with_most_water") due to 2 previous errors [INFO] [stderr] error: could not compile `rust-leetcode` (bin "rust-leetcode") due to 2 previous errors [INFO] [stdout] error[E0601]: `main` function not found in crate `5_longest_palindrome` [INFO] [stdout] --> examples/5_longest_palindrome.rs:25:2 [INFO] [stdout] | [INFO] [stdout] 25 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/5_longest_palindrome.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope [INFO] [stdout] --> src/main.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope [INFO] [stdout] --> examples/6_zigZag_conversion.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-leetcode` (example "8_string_to_integer_atoi") due to 2 previous errors [INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope [INFO] [stdout] --> examples/3_length_of_longest_substring.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `6_zigZag_conversion` [INFO] [stdout] --> examples/6_zigZag_conversion.rs:29:2 [INFO] [stdout] | [INFO] [stdout] 29 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/6_zigZag_conversion.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope [INFO] [stdout] --> examples/14_longest_common_prefix.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope [INFO] [stdout] --> examples/7_reverse_integer.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `3_length_of_longest_substring` [INFO] [stdout] --> examples/3_length_of_longest_substring.rs:26:2 [INFO] [stdout] | [INFO] [stdout] 26 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/3_length_of_longest_substring.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `14_longest_common_prefix` [INFO] [stdout] --> examples/14_longest_common_prefix.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/14_longest_common_prefix.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-leetcode` (bin "rust-leetcode" test) due to 1 previous error [INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope [INFO] [stdout] --> examples/2_add_two_numbers.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ListNode` in this scope [INFO] [stdout] --> examples/2_add_two_numbers.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn add_two_numbers(l1: Option>, l2: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1 | impl Solution { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ListNode` in this scope [INFO] [stdout] --> examples/2_add_two_numbers.rs:2:70 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn add_two_numbers(l1: Option>, l2: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1 | impl Solution { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ListNode` in this scope [INFO] [stdout] --> examples/2_add_two_numbers.rs:2:96 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn add_two_numbers(l1: Option>, l2: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1 | impl Solution { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-leetcode` (example "5_longest_palindrome") due to 2 previous errors [INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope [INFO] [stdout] --> examples/4_find_median_sorted_arrays.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `2_add_two_numbers` [INFO] [stdout] --> examples/2_add_two_numbers.rs:46:2 [INFO] [stdout] | [INFO] [stdout] 46 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/2_add_two_numbers.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `4_find_median_sorted_arrays` [INFO] [stdout] --> examples/4_find_median_sorted_arrays.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 15 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/4_find_median_sorted_arrays.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `7_reverse_integer` [INFO] [stdout] --> examples/7_reverse_integer.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 15 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/7_reverse_integer.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ListNode` [INFO] [stdout] --> examples/2_add_two_numbers.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | let mut listHead = Some(Box::new(ListNode::new(0))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ListNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-leetcode` (example "6_zigZag_conversion") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ListNode` [INFO] [stdout] --> examples/2_add_two_numbers.rs:42:61 [INFO] [stdout] | [INFO] [stdout] 42 | listTail.as_mut().unwrap().next = Some(Box::new(ListNode::new(sum))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ListNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-leetcode` (example "7_reverse_integer") due to 2 previous errors [INFO] [stderr] error: could not compile `rust-leetcode` (example "3_length_of_longest_substring") due to 2 previous errors [INFO] [stderr] error: could not compile `rust-leetcode` (example "14_longest_common_prefix") due to 2 previous errors [INFO] [stderr] error: could not compile `rust-leetcode` (example "4_find_median_sorted_arrays") due to 2 previous errors [INFO] [stderr] error: could not compile `rust-leetcode` (example "2_add_two_numbers") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "d1c045ae39a238af0c1c9abff4881ceb68168ec8429aa823b5ddc1083d0b1d75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1c045ae39a238af0c1c9abff4881ceb68168ec8429aa823b5ddc1083d0b1d75", kill_on_drop: false }` [INFO] [stdout] d1c045ae39a238af0c1c9abff4881ceb68168ec8429aa823b5ddc1083d0b1d75