[INFO] cloning repository https://github.com/weykon/weykon_leetcode
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/weykon/weykon_leetcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweykon%2Fweykon_leetcode", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweykon%2Fweykon_leetcode'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 34d88bef94e060ac5d1d9cd0d32bccb4410a9759
[INFO] checking weykon/weykon_leetcode/34d88bef94e060ac5d1d9cd0d32bccb4410a9759 against master#31a9463c6e2794a59ce57a8f37abc6966afc2a58 for pr-149045
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweykon%2Fweykon_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] started tweaking git repo https://github.com/weykon/weykon_leetcode
[INFO] finished tweaking git repo https://github.com/weykon/weykon_leetcode
[INFO] tweaked toml for git repo https://github.com/weykon/weykon_leetcode written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/weykon/weykon_leetcode on toolchain 31a9463c6e2794a59ce57a8f37abc6966afc2a58
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/weykon/weykon_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" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: /workspace/builds/worker-6-tc1/source/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded toml v0.7.2
[INFO] [stderr]   Downloaded proc-macro2 v1.0.51
[INFO] [stderr]   Downloaded serde_spanned v0.6.1
[INFO] [stderr]   Downloaded toml_edit v0.19.3
[INFO] [stderr]   Downloaded nom8 v0.2.0
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3f537b4f7ebb2b4109781a6dcdad141f6c8a47a63eae66200ee531343d0bbb7e
[INFO] running `Command { std: "docker" "start" "-a" "3f537b4f7ebb2b4109781a6dcdad141f6c8a47a63eae66200ee531343d0bbb7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3f537b4f7ebb2b4109781a6dcdad141f6c8a47a63eae66200ee531343d0bbb7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f537b4f7ebb2b4109781a6dcdad141f6c8a47a63eae66200ee531343d0bbb7e", kill_on_drop: false }`
[INFO] [stdout] 3f537b4f7ebb2b4109781a6dcdad141f6c8a47a63eae66200ee531343d0bbb7e
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8bf9288b177cfbe4fd69699731aae0956d4852219cf25b9cf7ae0f8e6eec6b5a
[INFO] running `Command { std: "docker" "start" "-a" "8bf9288b177cfbe4fd69699731aae0956d4852219cf25b9cf7ae0f8e6eec6b5a", kill_on_drop: false }`
[INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling proc-macro2 v1.0.51
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling serde_derive v1.0.152
[INFO] [stderr]    Compiling serde v1.0.152
[INFO] [stderr]     Checking regex-syntax v0.6.28
[INFO] [stderr]     Checking _111_二叉树的最小深度 v0.1.0 (/opt/rustwide/workdir/_111_二叉树的最小深度)
[INFO] [stderr]     Checking _1047_删除字符串中的所有相邻重复项 v0.1.0 (/opt/rustwide/workdir/_1047_删除字符串中的所有相邻重复项)
[INFO] [stderr]     Checking _9_回文数 v0.1.0 (/opt/rustwide/workdir/_9_回文数)
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]     Checking nom8 v0.2.0
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> _9_回文数/src/lib.rs:10:37
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn is_palindrome(x: i32) -> bool {
[INFO] [stdout]    |            -------------            ^^^^ expected `bool`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `_9_回文数` (lib test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> _9_回文数/src/lib.rs:10:37
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn is_palindrome(x: i32) -> bool {
[INFO] [stdout]    |            -------------            ^^^^ expected `bool`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> _111_二叉树的最小深度/src/lib.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> _111_二叉树的最小深度/src/lib.rs:93:1
[INFO] [stdout]    |
[INFO] [stdout] 93 | mod tests {
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `_9_回文数` (lib) due to 1 previous error
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> _1047_删除字符串中的所有相邻重复项/src/lib.rs:9:30
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn remove_duplicates(s: String) -> String {
[INFO] [stdout]   |                              ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> _1047_删除字符串中的所有相邻重复项/src/lib.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | 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]  --> _1047_删除字符串中的所有相邻重复项/src/lib.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn remove_duplicates(s: String) -> String {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> _111_二叉树的最小深度/src/lib.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | 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 `min_depth` is never used
[INFO] [stdout]   --> _111_二叉树的最小深度/src/lib.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 31 |     pub fn min_depth(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pruning` is never used
[INFO] [stdout]   --> _111_二叉树的最小深度/src/lib.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn pruning(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_solution` is never used
[INFO] [stdout]   --> _111_二叉树的最小深度/src/lib.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn borrow_solution(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]  --> _1047_删除字符串中的所有相邻重复项/src/lib.rs:9:30
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn remove_duplicates(s: String) -> String {
[INFO] [stdout]   |                              ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> _1047_删除字符串中的所有相邻重复项/src/lib.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | 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]  --> _1047_删除字符串中的所有相邻重复项/src/lib.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn remove_duplicates(s: String) -> String {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_solution` is never used
[INFO] [stdout]   --> _111_二叉树的最小深度/src/lib.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn borrow_solution(root: Option<Rc<RefCell<TreeNode>>>) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "8bf9288b177cfbe4fd69699731aae0956d4852219cf25b9cf7ae0f8e6eec6b5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8bf9288b177cfbe4fd69699731aae0956d4852219cf25b9cf7ae0f8e6eec6b5a", kill_on_drop: false }`
[INFO] [stdout] 8bf9288b177cfbe4fd69699731aae0956d4852219cf25b9cf7ae0f8e6eec6b5a
