[INFO] cloning repository https://github.com/tbqjxmz/leetcode-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tbqjxmz/leetcode-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftbqjxmz%2Fleetcode-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftbqjxmz%2Fleetcode-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9db1f07181f691ade76ec9201c197d972b89a400 [INFO] testing tbqjxmz/leetcode-rs against beta-2025-09-21 for beta-1.91-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftbqjxmz%2Fleetcode-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tbqjxmz/leetcode-rs [INFO] finished tweaking git repo https://github.com/tbqjxmz/leetcode-rs [INFO] tweaked toml for git repo https://github.com/tbqjxmz/leetcode-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tbqjxmz/leetcode-rs on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tbqjxmz/leetcode-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91301d84fb088050455914f3f03b624e2beb12d639cc71f86eecbaaab6344300 [INFO] running `Command { std: "docker" "start" "-a" "91301d84fb088050455914f3f03b624e2beb12d639cc71f86eecbaaab6344300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91301d84fb088050455914f3f03b624e2beb12d639cc71f86eecbaaab6344300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91301d84fb088050455914f3f03b624e2beb12d639cc71f86eecbaaab6344300", kill_on_drop: false }` [INFO] [stdout] 91301d84fb088050455914f3f03b624e2beb12d639cc71f86eecbaaab6344300 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27bfa15ef8b5a2ebc0ea7360fbeb90f2886fb9d64dad7ca622ec3b7449943424 [INFO] running `Command { std: "docker" "start" "-a" "27bfa15ef8b5a2ebc0ea7360fbeb90f2886fb9d64dad7ca622ec3b7449943424", kill_on_drop: false }` [INFO] [stderr] Compiling leetcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/3190使所有元素都可以被-3-整除的最少操作数.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `minimum_operations` is never used [INFO] [stdout] --> src/bin/3190使所有元素都可以被-3-整除的最少操作数.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 64 | pub fn minimum_operations(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' (62) panicked at compiler/rustc_session/src/config.rs:1213:17: [INFO] [stderr] byte index 39 is not a char boundary; it is inside '除' (bytes 37..40) of `3190使所有元素都可以被_3_整除的最少操作数-ff43c33670f64ed6.3190使所有元素都可以被_3_整除的最少操作数.448a42c09842f420-cgu.0.rcgu.dwo` [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7f1cee649ef3 - ::fmt::h67edf0e4d33c343c [INFO] [stderr] 1: 0x7f1ceee01b58 - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stderr] 2: 0x7f1cf042446f - std::io::Write::write_fmt::h051fe4a9e4fdbf48 [INFO] [stderr] 3: 0x7f1cee60fd82 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stderr] 4: 0x7f1cee615cb9 - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stderr] 5: 0x7f1cee6157e3 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stderr] 6: 0x7f1ced5fcbc7 - std[964350b2783e405f]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x7f1cee6160df - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stderr] 8: 0x7f1cee615e9a - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stderr] 9: 0x7f1cee60feb9 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stderr] 10: 0x7f1cee5f063d - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stderr] 11: 0x7f1ceace6d70 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stderr] 12: 0x7f1cecfe9a2a - core::str::slice_error_fail_rt::h700ee414a0d841a0 [INFO] [stderr] 13: 0x7f1cecd4295a - core::str::slice_error_fail::h8c49db9109e1b7da [INFO] [stderr] 14: 0x7f1cefc150b5 - ::temp_path_ext_for_cgu [INFO] [stderr] 15: 0x7f1cefc14770 - ::split_dwarf_path [INFO] [stderr] 16: 0x7f1ceefd7fd6 - rustc_codegen_llvm[3aab703f563ef983]::base::compile_codegen_unit::module_codegen [INFO] [stderr] 17: 0x7f1cf01bd7e2 - ::compile_codegen_unit [INFO] [stderr] 18: 0x7f1cf01bb764 - ::codegen_crate [INFO] [stderr] 19: 0x7f1cf01b11b0 - ::codegen_and_build_linker [INFO] [stderr] 20: 0x7f1cf01aecd5 - rustc_interface[89ceac0529af2cd8]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[c00a9a62f1a7ca6a]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} [INFO] [stderr] 21: 0x7f1cf011cafe - rustc_interface[89ceac0529af2cd8]::interface::run_compiler::<(), rustc_driver_impl[c00a9a62f1a7ca6a]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 22: 0x7f1cf002fd78 - std[964350b2783e405f]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 23: 0x7f1cf002fa48 - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[dc8158927f5e781c]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 24: 0x7f1cf003548d - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a [INFO] [stderr] 25: 0x7f1ce988aaa4 - [INFO] [stderr] 26: 0x7f1ce9917a34 - clone [INFO] [stderr] 27: 0x0 - [INFO] [stderr] [INFO] [stderr] error: the compiler unexpectedly panicked. this is a bug. [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: rustc 1.91.0-beta.3 (bb624dcb4 2025-09-20) 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] end of query stack [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/3无重复字符的最长子串.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `length_of_longest_substring` is never used [INFO] [stdout] --> src/bin/3无重复字符的最长子串.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 60 | pub fn length_of_longest_substring(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/66加一.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `plus_one` is never used [INFO] [stdout] --> src/bin/66加一.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 66 | pub fn plus_one(digits: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/9回文数.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `leetcode` (bin "3190使所有元素都可以被-3-整除的最少操作数"); 2 warnings emitted [INFO] [stdout] warning: associated function `is_palindrome` is never used [INFO] [stdout] --> src/bin/9回文数.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 68 | pub fn is_palindrome(x: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/21合并两个有序链表.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let mut cur = &mut head; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Caused by: [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/21合并两个有序链表.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/beta-2025-09-21-x86_64-unknown-linux-gnu/bin/rustc --crate-name '3190使所有元素都可以被_3_整除的最少操作数' --edition=2024 'src/bin/3190使所有元素都可以被-3-整除的最少操作数.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,test)' --check-cfg 'cfg(feature, values())' -C metadata=a680d2c193e1d288 -C extra-filename=-ff43c33670f64ed6 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn` (exit status: 101) [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bin/21合并两个有序链表.rs:64:8 [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function `merge_two_lists` is never used [INFO] [stdout] --> src/bin/21合并两个有序链表.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 87 | pub fn merge_two_lists( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/13罗马数字转整数.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `roman_to_int` is never used [INFO] [stdout] --> src/bin/13罗马数字转整数.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 97 | pub fn roman_to_int(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/26删除有序数组中的重复项.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `remove_duplicates` is never used [INFO] [stdout] --> src/bin/26删除有序数组中的重复项.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 80 | pub fn remove_duplicates(nums: &mut Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/69x-的平方根.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `my_sqrt` is never used [INFO] [stdout] --> src/bin/69x-的平方根.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 54 | pub fn my_sqrt(x: i32) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/bin/4寻找两个正序数组的中位数.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/58最后一个单词的长度.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `length_of_last_word` is never used [INFO] [stdout] --> src/bin/58最后一个单词的长度.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 63 | pub fn length_of_last_word(s: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/70爬楼梯.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `climb_stairs` is never used [INFO] [stdout] --> src/bin/70爬楼梯.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 57 | pub fn climb_stairs(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/5最长回文子串.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `longest_palindrome`, `longest_palindrome2`, and `longest_palindrome3` are never used [INFO] [stdout] --> src/bin/5最长回文子串.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Solution { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 50 | pub fn longest_palindrome(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn longest_palindrome2(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn longest_palindrome3(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/1两数之和.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `two_sum` is never used [INFO] [stdout] --> src/bin/1两数之和.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn two_sum(nums: Vec, target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/121best-time-to-buy-and-sell-stock.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `max_profit` is never used [INFO] [stdout] --> src/bin/121best-time-to-buy-and-sell-stock.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 60 | pub fn max_profit(prices: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/4寻找两个正序数组的中位数.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `find_median_sorted_arrays` is never used [INFO] [stdout] --> src/bin/4寻找两个正序数组的中位数.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 61 | pub fn find_median_sorted_arrays(nums1: Vec, nums2: Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/55jump-game.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `can_jump` is never used [INFO] [stdout] --> src/bin/55jump-game.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 55 | pub fn can_jump(nums: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/bin/45jump-game-ii.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `jump` is never used [INFO] [stdout] --> src/bin/45jump-game-ii.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 63 | pub fn jump(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "27bfa15ef8b5a2ebc0ea7360fbeb90f2886fb9d64dad7ca622ec3b7449943424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27bfa15ef8b5a2ebc0ea7360fbeb90f2886fb9d64dad7ca622ec3b7449943424", kill_on_drop: false }` [INFO] [stdout] 27bfa15ef8b5a2ebc0ea7360fbeb90f2886fb9d64dad7ca622ec3b7449943424