[INFO] fetching crate leetcode_for_rust 0.1.2... [INFO] extracting crate leetcode_for_rust 0.1.2 into work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/reg/leetcode_for_rust/0.1.2 [INFO] extracting crate leetcode_for_rust 0.1.2 into work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/leetcode_for_rust/0.1.2 [INFO] validating manifest of leetcode_for_rust-0.1.2 on toolchain master#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of leetcode_for_rust-0.1.2 on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing leetcode_for_rust-0.1.2 [INFO] finished frobbing leetcode_for_rust-0.1.2 [INFO] frobbed toml for leetcode_for_rust-0.1.2 written to work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/reg/leetcode_for_rust/0.1.2/Cargo.toml [INFO] started frobbing leetcode_for_rust-0.1.2 [INFO] finished frobbing leetcode_for_rust-0.1.2 [INFO] frobbed toml for leetcode_for_rust-0.1.2 written to work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/leetcode_for_rust/0.1.2/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing leetcode_for_rust-0.1.2 against try#e212b7d492c96d3837691ba29d32d5f468933fb8 for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-5/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/leetcode_for_rust/0.1.2:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "build" "--frozen"` [INFO] [stdout] 06ddbaf277902019a1c505b58550b55039b464c467b0d5b07b3e0ef5a0ac817e [INFO] running `"docker" "start" "-a" "06ddbaf277902019a1c505b58550b55039b464c467b0d5b07b3e0ef5a0ac817e"` [INFO] [stderr] Compiling leetcode_for_rust v0.1.2 (/opt/crater/workdir) [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/cd206_reverse_linked_list/mod.rs:69:3 [INFO] [stderr] | [INFO] [stderr] 69 | fn new(val: i32) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.29s [INFO] running `"docker" "inspect" "06ddbaf277902019a1c505b58550b55039b464c467b0d5b07b3e0ef5a0ac817e"` [INFO] running `"docker" "rm" "-f" "06ddbaf277902019a1c505b58550b55039b464c467b0d5b07b3e0ef5a0ac817e"` [INFO] [stdout] 06ddbaf277902019a1c505b58550b55039b464c467b0d5b07b3e0ef5a0ac817e [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-5/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/leetcode_for_rust/0.1.2:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "test" "--frozen" "--no-run"` [INFO] [stdout] dd5b5e3db040737a9163df79aa1142cfa75fc7011880d74e1bc95d2570308a7b [INFO] running `"docker" "start" "-a" "dd5b5e3db040737a9163df79aa1142cfa75fc7011880d74e1bc95d2570308a7b"` [INFO] [stderr] Compiling leetcode_for_rust v0.1.2 (/opt/crater/workdir) [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/cd206_reverse_linked_list/mod.rs:69:3 [INFO] [stderr] | [INFO] [stderr] 69 | fn new(val: i32) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `"docker" "inspect" "dd5b5e3db040737a9163df79aa1142cfa75fc7011880d74e1bc95d2570308a7b"` [INFO] running `"docker" "rm" "-f" "dd5b5e3db040737a9163df79aa1142cfa75fc7011880d74e1bc95d2570308a7b"` [INFO] [stdout] dd5b5e3db040737a9163df79aa1142cfa75fc7011880d74e1bc95d2570308a7b [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-5/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/leetcode_for_rust/0.1.2:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "test" "--frozen"` [INFO] [stdout] 354ef1b0bb2c44854cfe807e03b0ee35ee4ae55cf8794ec808bc6dea86f77b84 [INFO] running `"docker" "start" "-a" "354ef1b0bb2c44854cfe807e03b0ee35ee4ae55cf8794ec808bc6dea86f77b84"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running /opt/crater/target/debug/deps/leetcode_for_rust-e98d46ac45687363 [INFO] [stderr] Doc-tests leetcode_for_rust [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test src/cd206_reverse_linked_list/mod.rs - cd206_reverse_linked_list (line 7) ... FAILED [INFO] [stdout] test src/cd20_valid_parentheses/mod.rs - cd20_valid_parentheses (line 30) ... FAILED [INFO] [stdout] test src/cd20_valid_parentheses/mod.rs - cd20_valid_parentheses (line 22) ... FAILED [INFO] [stdout] test src/cd20_valid_parentheses/mod.rs - cd20_valid_parentheses (line 14) ... FAILED [INFO] [stdout] test src/cd20_valid_parentheses/mod.rs - cd20_valid_parentheses (line 38) ... FAILED [INFO] [stdout] test src/cd01_two_sum/mod.rs - cd01_two_sum::two_sum (line 26) ... FAILED [INFO] [stdout] test src/cd01_two_sum/mod.rs - cd01_two_sum (line 9) ... FAILED [INFO] [stdout] test src/cd20_valid_parentheses/mod.rs - cd20_valid_parentheses (line 46) ... FAILED [INFO] [stdout] test src/cd01_two_sum/mod.rs - cd01_two_sum::two_sum (line 55) ... FAILED [INFO] [stdout] test src/cd20_valid_parentheses/mod.rs - cd20_valid_parentheses::is_valid (line 61) ... FAILED [INFO] [stdout] test src/cd232_implement_queue_using_stacks/mod.rs - cd232_implement_queue_using_stacks (line 11) ... FAILED [INFO] [stdout] test src/cd232_implement_queue_using_stacks/mod.rs - cd232_implement_queue_using_stacks::MyQueue (line 35) ... FAILED [INFO] [stdout] test src/cd206_reverse_linked_list/mod.rs - cd206_reverse_linked_list::reverse_list (line 25) ... FAILED [INFO] [stdout] test src/cd20_valid_parentheses/mod.rs - cd20_valid_parentheses::is_valid2 (line 115) ... FAILED [INFO] [stdout] test src/cd239_sliding_window_maximum/mod.rs - cd239_sliding_window_maximum::max_sliding_window (line 36) ... ok [INFO] [stdout] test src/cd239_sliding_window_maximum/mod.rs - cd239_sliding_window_maximum::max_sliding_window (line 71) ... ok [INFO] [stdout] test src/cd242_valid_anagram/mod.rs - cd242_valid_anagram::is_anagram (line 67) ... ok [INFO] [stdout] test src/cd242_valid_anagram/mod.rs - cd242_valid_anagram::is_anagram (line 36) ... ok [INFO] [stdout] test src/cd239_sliding_window_maximum/mod.rs - cd239_sliding_window_maximum (line 7) ... FAILED [INFO] [stdout] test src/cd703_kth_largest_element_in_a_stream/mod.rs - cd703_kth_largest_element_in_a_stream (line 9) ... FAILED [INFO] [stdout] test src/cd242_valid_anagram/mod.rs - cd242_valid_anagram (line 14) ... FAILED [INFO] [stdout] test src/cd703_kth_largest_element_in_a_stream/mod.rs - cd703_kth_largest_element_in_a_stream::KthLargest (line 32) ... ok [INFO] [stdout] test src/cd242_valid_anagram/mod.rs - cd242_valid_anagram (line 7) ... FAILED [INFO] [stdout] test src/cd703_kth_largest_element_in_a_stream/mod.rs - cd703_kth_largest_element_in_a_stream::KthLargest (line 67) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/cd206_reverse_linked_list/mod.rs - cd206_reverse_linked_list (line 7) stdout ---- [INFO] [stdout] error: expected type, found `1` [INFO] [stdout] --> src/cd206_reverse_linked_list/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 3 | Input: 1->2->3->4->5->NULL [INFO] [stdout] | ^ expecting a type here because of type ascription [INFO] [stdout] | [INFO] [stdout] = note: #![feature(type_ascription)] lets you annotate an expression with a type: `: ` [INFO] [stdout] note: this expression expects an ascribed type after the colon [INFO] [stdout] --> src/cd206_reverse_linked_list/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 3 | Input: 1->2->3->4->5->NULL [INFO] [stdout] | ^^^^^ [INFO] [stdout] = help: this might be indicative of a syntax error elsewhere [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cd20_valid_parentheses/mod.rs - cd20_valid_parentheses (line 30) stdout ---- [INFO] [stdout] error: expected type, found `"(]"` [INFO] [stdout] --> src/cd20_valid_parentheses/mod.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 3 | Input: "(]" [INFO] [stdout] | ^^^^ expecting a type here because of type ascription [INFO] [stdout] | [INFO] [stdout] = note: #![feature(type_ascription)] lets you annotate an expression with a type: `: ` [INFO] [stdout] note: this expression expects an ascribed type after the colon [INFO] [stdout] --> src/cd20_valid_parentheses/mod.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 3 | Input: "(]" [INFO] [stdout] | ^^^^^ [INFO] [stdout] = help: this might be indicative of a syntax error elsewhere [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cd20_valid_parentheses/mod.rs - cd20_valid_parentheses (line 22) stdout ---- [INFO] [stdout] error: expected type, found `"()[]{}"` [INFO] [stdout] --> src/cd20_valid_parentheses/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 3 | Input: "()[]{}" [INFO] [stdout] | ^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] | [INFO] [stdout] = note: #![feature(type_ascription)] lets you annotate an expression with a type: `: ` [INFO] [stdout] note: this expression expects an ascribed type after the colon [INFO] [stdout] --> src/cd20_valid_parentheses/mod.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 3 | Input: "()[]{}" [INFO] [stdout] | ^^^^^ [INFO] [stdout] = help: this might be indicative of a syntax error elsewhere [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cd20_valid_parentheses/mod.rs - cd20_valid_parentheses (line 14) stdout ---- [INFO] [stdout] error: expected type, found `"()"` [INFO] [stdout] --> src/cd20_valid_parentheses/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 3 | Input: "()" [INFO] [stdout] | ^^^^ expecting a type here because of type ascription [INFO] [stdout] | [INFO] [stdout] = note: #![feature(type_ascription)] lets you annotate an expression with a type: `: ` [INFO] [stdout] note: this expression expects an ascribed type after the colon [INFO] [stdout] --> src/cd20_valid_parentheses/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 3 | Input: "()" [INFO] [stdout] | ^^^^^ [INFO] [stdout] = help: this might be indicative of a syntax error elsewhere [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cd20_valid_parentheses/mod.rs - cd20_valid_parentheses (line 38) stdout ---- [INFO] [stdout] error: expected type, found `"([)]"` [INFO] [stdout] --> src/cd20_valid_parentheses/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 3 | Input: "([)]" [INFO] [stdout] | ^^^^^^ expecting a type here because of type ascription [INFO] [stdout] | [INFO] [stdout] = note: #![feature(type_ascription)] lets you annotate an expression with a type: `: ` [INFO] [stdout] note: this expression expects an ascribed type after the colon [INFO] [stdout] --> src/cd20_valid_parentheses/mod.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 3 | Input: "([)]" [INFO] [stdout] | ^^^^^ [INFO] [stdout] = help: this might be indicative of a syntax error elsewhere [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cd01_two_sum/mod.rs - cd01_two_sum::two_sum (line 26) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope [INFO] [stdout] --> src/cd01_two_sum/mod.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 5 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cd01_two_sum/mod.rs - cd01_two_sum (line 9) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `nums` [INFO] [stdout] --> src/cd01_two_sum/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 3 | Given nums = [2, 7, 11, 15], target = 9, [INFO] [stdout] | ^^^^ expected one of 8 possible tokens here [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Given` in this scope [INFO] [stdout] --> src/cd01_two_sum/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 3 | Given nums = [2, 7, 11, 15], target = 9, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cd20_valid_parentheses/mod.rs - cd20_valid_parentheses (line 46) stdout ---- [INFO] [stdout] error: expected type, found `"{[]}"` [INFO] [stdout] --> src/cd20_valid_parentheses/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 3 | Input: "{[]}" [INFO] [stdout] | ^^^^^^ expecting a type here because of type ascription [INFO] [stdout] | [INFO] [stdout] = note: #![feature(type_ascription)] lets you annotate an expression with a type: `: ` [INFO] [stdout] note: this expression expects an ascribed type after the colon [INFO] [stdout] --> src/cd20_valid_parentheses/mod.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 3 | Input: "{[]}" [INFO] [stdout] | ^^^^^ [INFO] [stdout] = help: this might be indicative of a syntax error elsewhere [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cd01_two_sum/mod.rs - cd01_two_sum::two_sum (line 55) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope [INFO] [stdout] --> src/cd01_two_sum/mod.rs:56:6 [INFO] [stdout] | [INFO] [stdout] 3 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cd20_valid_parentheses/mod.rs - cd20_valid_parentheses::is_valid (line 61) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope [INFO] [stdout] --> src/cd20_valid_parentheses/mod.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 5 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cd232_implement_queue_using_stacks/mod.rs - cd232_implement_queue_using_stacks (line 11) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `queue` [INFO] [stdout] --> src/cd232_implement_queue_using_stacks/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 3 | MyQueue queue = new MyQueue(); [INFO] [stdout] | ^^^^^ expected one of 8 possible tokens here [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MyQueue` in this scope [INFO] [stdout] --> src/cd232_implement_queue_using_stacks/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 3 | MyQueue queue = new MyQueue(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use leetcode_for_rust::cd232_implement_queue_using_stacks::MyQueue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cd232_implement_queue_using_stacks/mod.rs - cd232_implement_queue_using_stacks::MyQueue (line 35) stdout ---- [INFO] [stdout] error[E0585]: found a documentation comment that doesn't document anything [INFO] [stdout] --> src/cd232_implement_queue_using_stacks/mod.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 45 | / /** [INFO] [stdout] 46 | | * Your MyQueue object will be instantiated and called as such: [INFO] [stdout] 47 | | * let obj = MyQueue::new(); [INFO] [stdout] 48 | | * obj.push(x); [INFO] [stdout] ... | [INFO] [stdout] 51 | | * let ret_4: bool = obj.empty(); [INFO] [stdout] 52 | | */ [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: doc comments must come before what they document, maybe a comment was intended with `//`? [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0585`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cd206_reverse_linked_list/mod.rs - cd206_reverse_linked_list::reverse_list (line 25) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope [INFO] [stdout] --> src/cd206_reverse_linked_list/mod.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 4 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ListNode` in this scope [INFO] [stdout] --> src/cd206_reverse_linked_list/mod.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn reverse_list(head: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 3 | use leetcode_for_rust::cd206_reverse_linked_list::ListNode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ListNode` in this scope [INFO] [stdout] --> src/cd206_reverse_linked_list/mod.rs:28:68 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn reverse_list(head: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 3 | use leetcode_for_rust::cd206_reverse_linked_list::ListNode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cd20_valid_parentheses/mod.rs - cd20_valid_parentheses::is_valid2 (line 115) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope [INFO] [stdout] --> src/cd20_valid_parentheses/mod.rs:118:6 [INFO] [stdout] | [INFO] [stdout] 5 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cd239_sliding_window_maximum/mod.rs - cd239_sliding_window_maximum (line 7) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,` [INFO] [stdout] --> src/cd239_sliding_window_maximum/mod.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 3 | Input: nums = [1,3,-1,-3,5,3,6,7], and k = 3 [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator here [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Input` in this scope [INFO] [stdout] --> src/cd239_sliding_window_maximum/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 3 | Input: nums = [1,3,-1,-3,5,3,6,7], and k = 3 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: maybe you meant to write an assignment here: `let Input` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `nums` in this scope [INFO] [stdout] --> src/cd239_sliding_window_maximum/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 3 | Input: nums = [1,3,-1,-3,5,3,6,7], and k = 3 [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: maybe you meant to write an assignment here: `let nums` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cd703_kth_largest_element_in_a_stream/mod.rs - cd703_kth_largest_element_in_a_stream (line 9) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `k` [INFO] [stdout] --> src/cd703_kth_largest_element_in_a_stream/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 3 | int k = 3; [INFO] [stdout] | ^ expected one of 8 possible tokens here [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `int` in this scope [INFO] [stdout] --> src/cd703_kth_largest_element_in_a_stream/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 3 | int k = 3; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cd242_valid_anagram/mod.rs - cd242_valid_anagram (line 14) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,` [INFO] [stdout] --> src/cd242_valid_anagram/mod.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 3 | Input: s = "rat", t = "car" [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator here [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Input` in this scope [INFO] [stdout] --> src/cd242_valid_anagram/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 3 | Input: s = "rat", t = "car" [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: maybe you meant to write an assignment here: `let Input` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `s` in this scope [INFO] [stdout] --> src/cd242_valid_anagram/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 3 | Input: s = "rat", t = "car" [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: maybe you meant to write an assignment here: `let s` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cd242_valid_anagram/mod.rs - cd242_valid_anagram (line 7) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,` [INFO] [stdout] --> src/cd242_valid_anagram/mod.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 3 | Input: s = "anagram", t = "nagaram" [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator here [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Input` in this scope [INFO] [stdout] --> src/cd242_valid_anagram/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 3 | Input: s = "anagram", t = "nagaram" [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: maybe you meant to write an assignment here: `let Input` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `s` in this scope [INFO] [stdout] --> src/cd242_valid_anagram/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 3 | Input: s = "anagram", t = "nagaram" [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: maybe you meant to write an assignment here: `let s` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/cd01_two_sum/mod.rs - cd01_two_sum (line 9) [INFO] [stdout] src/cd01_two_sum/mod.rs - cd01_two_sum::two_sum (line 26) [INFO] [stdout] src/cd01_two_sum/mod.rs - cd01_two_sum::two_sum (line 55) [INFO] [stdout] src/cd206_reverse_linked_list/mod.rs - cd206_reverse_linked_list (line 7) [INFO] [stdout] src/cd206_reverse_linked_list/mod.rs - cd206_reverse_linked_list::reverse_list (line 25) [INFO] [stdout] src/cd20_valid_parentheses/mod.rs - cd20_valid_parentheses (line 14) [INFO] [stdout] src/cd20_valid_parentheses/mod.rs - cd20_valid_parentheses (line 22) [INFO] [stdout] src/cd20_valid_parentheses/mod.rs - cd20_valid_parentheses (line 30) [INFO] [stdout] src/cd20_valid_parentheses/mod.rs - cd20_valid_parentheses (line 38) [INFO] [stdout] src/cd20_valid_parentheses/mod.rs - cd20_valid_parentheses (line 46) [INFO] [stdout] src/cd20_valid_parentheses/mod.rs - cd20_valid_parentheses::is_valid (line 61) [INFO] [stdout] src/cd20_valid_parentheses/mod.rs - cd20_valid_parentheses::is_valid2 (line 115) [INFO] [stdout] src/cd232_implement_queue_using_stacks/mod.rs - cd232_implement_queue_using_stacks (line 11) [INFO] [stdout] src/cd232_implement_queue_using_stacks/mod.rs - cd232_implement_queue_using_stacks::MyQueue (line 35) [INFO] [stdout] src/cd239_sliding_window_maximum/mod.rs - cd239_sliding_window_maximum (line 7) [INFO] [stdout] src/cd242_valid_anagram/mod.rs - cd242_valid_anagram (line 14) [INFO] [stdout] src/cd242_valid_anagram/mod.rs - cd242_valid_anagram (line 7) [INFO] [stdout] src/cd703_kth_largest_element_in_a_stream/mod.rs - cd703_kth_largest_element_in_a_stream (line 9) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 6 passed; 18 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "354ef1b0bb2c44854cfe807e03b0ee35ee4ae55cf8794ec808bc6dea86f77b84"` [INFO] running `"docker" "rm" "-f" "354ef1b0bb2c44854cfe807e03b0ee35ee4ae55cf8794ec808bc6dea86f77b84"` [INFO] [stdout] 354ef1b0bb2c44854cfe807e03b0ee35ee4ae55cf8794ec808bc6dea86f77b84