[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 master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnight-scholar%2FRust-Leetcode" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/night-scholar/Rust-Leetcode on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-6-tc1/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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1036669efe844244922da0a1747e8b49f4a1a14befb15ace9fddc8e706007c4d [INFO] running `Command { std: "docker" "start" "-a" "1036669efe844244922da0a1747e8b49f4a1a14befb15ace9fddc8e706007c4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1036669efe844244922da0a1747e8b49f4a1a14befb15ace9fddc8e706007c4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1036669efe844244922da0a1747e8b49f4a1a14befb15ace9fddc8e706007c4d", kill_on_drop: false }` [INFO] [stdout] 1036669efe844244922da0a1747e8b49f4a1a14befb15ace9fddc8e706007c4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dee59976854014a6fc246da384f965cb2acfa006aca6f43e5adcf051f61c884e [INFO] running `Command { std: "docker" "start" "-a" "dee59976854014a6fc246da384f965cb2acfa006aca6f43e5adcf051f61c884e", 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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-leetcode` (example "12_integer to_roman") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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] 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/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[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[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] [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] [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] 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[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[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] error: aborting due to 2 previous errors [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: aborting due to 2 previous errors [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 `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[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 "6_zigZag_conversion") due to 3 previous errors [INFO] [stdout] error: aborting due to 2 previous errors [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: aborting due to 2 previous errors [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: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [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] [stderr] error: could not compile `rust-leetcode` (example "4_find_median_sorted_arrays") due to 3 previous errors [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[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] [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] [stderr] error: could not compile `rust-leetcode` (example "13_roman_to_interger") due to 3 previous errors [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-leetcode` (example "11_container_with_most_water") due to 3 previous errors [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] [stderr] error: could not compile `rust-leetcode` (example "14_longest_common_prefix") due to 3 previous errors [INFO] [stderr] error: could not compile `rust-leetcode` (bin "rust-leetcode") due to 3 previous errors [INFO] [stderr] error: could not compile `rust-leetcode` (example "2_add_two_numbers") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "dee59976854014a6fc246da384f965cb2acfa006aca6f43e5adcf051f61c884e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dee59976854014a6fc246da384f965cb2acfa006aca6f43e5adcf051f61c884e", kill_on_drop: false }` [INFO] [stdout] dee59976854014a6fc246da384f965cb2acfa006aca6f43e5adcf051f61c884e