[INFO] cloning repository https://github.com/hugefiver/leetcode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hugefiver/leetcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhugefiver%2Fleetcode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhugefiver%2Fleetcode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e633adc21e3fc2e3e593d91c72679f6def46454 [INFO] building hugefiver/leetcode against try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhugefiver%2Fleetcode" "/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/hugefiver/leetcode on toolchain 9b5e8b16bd1c4acf4cf8e6880368314cf021a987 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hugefiver/leetcode [INFO] finished tweaking git repo https://github.com/hugefiver/leetcode [INFO] tweaked toml for git repo https://github.com/hugefiver/leetcode written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hugefiver/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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f267c7b75604fb5e6f6c4d6498cfadfb97f7ec8d28170fa55a187a6bdd5ae9f [INFO] running `Command { std: "docker" "start" "-a" "0f267c7b75604fb5e6f6c4d6498cfadfb97f7ec8d28170fa55a187a6bdd5ae9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f267c7b75604fb5e6f6c4d6498cfadfb97f7ec8d28170fa55a187a6bdd5ae9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f267c7b75604fb5e6f6c4d6498cfadfb97f7ec8d28170fa55a187a6bdd5ae9f", kill_on_drop: false }` [INFO] [stdout] 0f267c7b75604fb5e6f6c4d6498cfadfb97f7ec8d28170fa55a187a6bdd5ae9f [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a02f126b5a55fb751599fc9c2452c05417a086351a75d62b02b714ab03beccaf [INFO] running `Command { std: "docker" "start" "-a" "a02f126b5a55fb751599fc9c2452c05417a086351a75d62b02b714ab03beccaf", kill_on_drop: false }` [INFO] [stderr] Compiling leetcode-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `reverse_words` is never used [INFO] [stdout] --> src/bin/p151-reverse-words-in-a-string.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 1 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 2 | pub fn reverse_words(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/p151-reverse-words-in-a-string.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_build/src/builder/scope.rs:1724:17: cannot unwind from goto -> bb77 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at compiler/rustc_mir_build/src/builder/scope.rs:1724:17: [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/bin/p26-remove-duplicates-from-sorted-array.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Box [INFO] [stderr] stack backtrace: [INFO] [stdout] warning: associated function `remove_duplicates` is never used [INFO] [stdout] --> src/bin/p26-remove-duplicates-from-sorted-array.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 4 | pub fn remove_duplicates(nums: &mut Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 0: 0x7c70f7781caa - ::fmt::h636462e57d5ef1e1 [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/p26-remove-duplicates-from-sorted-array.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 1: 0x7c70f7e13cbc - core::fmt::write::h067060808ac50eb9 [INFO] [stderr] 2: 0x7c70f8d28e11 - std::io::Write::write_fmt::h4674fa2ed7c0dfdd [INFO] [stderr] 3: 0x7c70f7781b02 - std::sys::backtrace::BacktraceLock::print::h0c77148acfb0b5e9 [INFO] [stderr] 4: 0x7c70f7783ffa - std::panicking::default_hook::{{closure}}::h30daa8e7c6ccb09d [INFO] [stderr] 5: 0x7c70f7783e43 - std::panicking::default_hook::h25f21dc0f2064615 [INFO] [stderr] 6: 0x7c70f68eff28 - std[b36e883d67eb0403]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x7c70f77847b8 - std::panicking::rust_panic_with_hook::hc98438687e833605 [INFO] [stderr] 8: 0x7c70f692a341 - std[b36e883d67eb0403]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 9: 0x7c70f691f526 - std[b36e883d67eb0403]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 10: 0x7c70f691f50d - std[b36e883d67eb0403]::panicking::begin_panic:: [INFO] [stderr] 11: 0x7c70f69342a1 - ::emit_producing_guarantee [INFO] [stderr] 12: 0x7c70f6e84fdc - ::span_bug:: [INFO] [stderr] 13: 0x7c70f6f0a897 - rustc_middle[8ad6e8ce52578819]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 14: 0x7c70f6ef006a - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 15: 0x7c70f6eefefb - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 16: 0x7c70f5334437 - rustc_middle[8ad6e8ce52578819]::util::bug::span_bug_fmt:: [INFO] [stderr] 17: 0x7c70f87d541b - ::build_unwind_tree [INFO] [stderr] 18: 0x7c70f87cd7cd - rustc_mir_build[73684a27b88b946a]::builder::mir_build [INFO] [stderr] 19: 0x7c70f7e07714 - rustc_mir_transform[857cd804783fef4d]::mir_built [INFO] [stderr] 20: 0x7c70f7e076d7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 21: 0x7c70f80953d1 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 22: 0x7c70f8094f8d - rustc_query_impl[1e55094a59e290f4]::query_impl::mir_built::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 23: 0x7c70f4e67185 - rustc_mir_build[73684a27b88b946a]::check_unsafety::check_unsafety [INFO] [stderr] 24: 0x7c70f86e98a7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 25: 0x7c70f86e9b69 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 26: 0x7c70f86e97d1 - rustc_query_impl[1e55094a59e290f4]::query_impl::check_unsafety::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 27: 0x7c70f829bd32 - rustc_interface[b59e7ee7606ca029]::passes::run_required_analyses [INFO] [stderr] 28: 0x7c70f8d2cc9e - rustc_interface[b59e7ee7606ca029]::passes::analysis [INFO] [stderr] 29: 0x7c70f8d2cc6f - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 30: 0x7c70f8d7b355 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 31: 0x7c70f8d7b08e - rustc_query_impl[1e55094a59e290f4]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 32: 0x7c70f8d701de - rustc_interface[b59e7ee7606ca029]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} [INFO] [stderr] 33: 0x7c70f8ddff51 - rustc_interface[b59e7ee7606ca029]::interface::run_compiler::<(), rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 34: 0x7c70f8cf5087 - std[b36e883d67eb0403]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 35: 0x7c70f8cf551c - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[303105738bd0c2ae]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 36: 0x7c70f8cf6aef - std::sys::pal::unix::thread::Thread::new::thread_start::ha554cc4ba6335b05 [INFO] [stderr] 37: 0x7c70fa412ac3 - [INFO] [stderr] 38: 0x7c70fa4a3a04 - clone [INFO] [stderr] 39: 0x0 - [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2025-01-01T00_19_21-33.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.85.0-nightly (9b5e8b16b 2024-12-19) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type bin -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [mir_built] building MIR for `::is_valid` [INFO] [stdout] warning: associated function `sum_even_after_queries` is never used [INFO] [stdout] --> src/bin/p985-sum-of-even-numbers-after-queries.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 1 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 2 | pub fn sum_even_after_queries(nums: Vec, queries: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] #1 [check_unsafety] unsafety-checking `::is_valid` [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/p985-sum-of-even-numbers-after-queries.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] #2 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/p10-regular.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `inorder_traversal` is never used [INFO] [stdout] --> src/bin/p94-binary-tree-inorder-traversal.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 22 | pub fn inorder_traversal(root: Option>>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/p94-binary-tree-inorder-traversal.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `merge_two_lists` and `merge` are never used [INFO] [stdout] --> src/bin/p21-merge-two-sorted-lists.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Solution { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 18 | pub fn merge_two_lists( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn merge(l1: Option>, l2: Option>) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `leetcode-rs` (bin "p20-valid-parentheses") [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bin/p21-merge-two-sorted-lists.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 51 | #[inline] [INFO] [stdout] 52 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/p21-merge-two-sorted-lists.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Caused by: [INFO] [stdout] warning: associated function `remove_stones` is never used [INFO] [stdout] --> src/bin/p947-most-stones-removed-with-same-row-or-column.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 50 | pub fn remove_stones(stones: Vec>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/bin/rustc --crate-name p20_valid_parentheses --edition=2021 src/bin/p20-valid-parentheses.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=af976898f3306154 -C extra-filename=-a4077d22bacd81a0 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid -Dtail-expr-drop-order` (exit status: 101) [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/p947-most-stones-removed-with-same-row-or-column.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function `is_match` is never used [INFO] [stdout] --> src/bin/p10-regular.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 4 | pub fn is_match(s: String, p: String) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegularExp` is never constructed [INFO] [stdout] --> src/bin/p10-regular.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct RegularExp { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bin/p10-regular.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl RegularExp { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 15 | pub fn parse(p: String) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn parse_pattern(s: &str, idx: &mut u32, until: char) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn parse_group(s: &str, idx: &mut u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn match_all(self, s: String) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn match_items(s: &[u8], from: usize, m: &MatchItem) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn match_group(s: &[u8], from: usize, g: &Group) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn match_star(s: &[u8], from: usize, g: &Group) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MatchItem` is never used [INFO] [stdout] --> src/bin/p10-regular.rs:133:6 [INFO] [stdout] | [INFO] [stdout] 133 | enum MatchItem { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Group` is never constructed [INFO] [stdout] --> src/bin/p10-regular.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | struct Group { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `shortest_path` is never used [INFO] [stdout] --> src/bin/p1293-shortest-path-in-a-grid-with-obstacles-elimination-2.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 1 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 2 | pub fn shortest_path(grid: Vec>, k: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/p1293-shortest-path-in-a-grid-with-obstacles-elimination-2.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/p10-regular-readable-nfa.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_match` is never used [INFO] [stdout] --> src/bin/p10-regular-readable-nfa.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 4 | pub fn is_match(s: String, p: String) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pattern` is never constructed [INFO] [stdout] --> src/bin/p10-regular-readable-nfa.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct Pattern(Vec); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `matches`, `is_repeat`, `next_state`, `insert_all_reachable`, and `at_final_state` are never used [INFO] [stdout] --> src/bin/p10-regular-readable-nfa.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Pattern { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 49 | fn new(p: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn matches(&self, state: usize, ch: u8) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn is_repeat(&self, state: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn next_state(&self, state: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn insert_all_reachable(&self, states: &mut HashSet, mut state: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn at_final_state(&self, state: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `merge_k_lists` and `merge` are never used [INFO] [stdout] --> src/bin/p23-merge-k-sorted-lists.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Solution { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 18 | pub fn merge_k_lists(lists: Vec>>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn merge(pre: &mut Box, lists: &mut Vec>>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bin/p23-merge-k-sorted-lists.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 62 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 63 | #[inline] [INFO] [stdout] 64 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/p23-merge-k-sorted-lists.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `delete_middle` and `travel` are never used [INFO] [stdout] --> src/bin/p2095-delete-the-middle-node-of-a-linked-list.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 1 | impl Solution { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 2 | pub fn delete_middle(mut head: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn travel(head: &mut Option>, n: i32) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bin/p2095-delete-the-middle-node-of-a-linked-list.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 33 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 34 | #[inline] [INFO] [stdout] 35 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/p2095-delete-the-middle-node-of-a-linked-list.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `min_mutation` and `adjacent` are never used [INFO] [stdout] --> src/bin/p433-minimum-genetic-mutation-2.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Solution { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 4 | pub fn min_mutation(start: String, end: String, bank: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn adjacent(a: &str, b: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/p433-minimum-genetic-mutation-2.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a02f126b5a55fb751599fc9c2452c05417a086351a75d62b02b714ab03beccaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a02f126b5a55fb751599fc9c2452c05417a086351a75d62b02b714ab03beccaf", kill_on_drop: false }` [INFO] [stdout] a02f126b5a55fb751599fc9c2452c05417a086351a75d62b02b714ab03beccaf