[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 against try#de39175d9e0f63ff8967b81f9639ba28d11ae6ef for pr-135331 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweykon%2Fweykon_leetcode" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/weykon/weykon_leetcode on toolchain de39175d9e0f63ff8967b81f9639ba28d11ae6ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-1-tc2/source/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking weykon/weykon_leetcode against try#de39175d9e0f63ff8967b81f9639ba28d11ae6ef for pr-135331 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweykon%2Fweykon_leetcode" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/weykon/weykon_leetcode on toolchain de39175d9e0f63ff8967b81f9639ba28d11ae6ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-1-tc2/source/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2022cafb86e1701f321d1b1a9ad721e3cee93538cc31238b51f9ee413819c234 [INFO] running `Command { std: "docker" "start" "-a" "2022cafb86e1701f321d1b1a9ad721e3cee93538cc31238b51f9ee413819c234", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2022cafb86e1701f321d1b1a9ad721e3cee93538cc31238b51f9ee413819c234", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2022cafb86e1701f321d1b1a9ad721e3cee93538cc31238b51f9ee413819c234", kill_on_drop: false }` [INFO] [stdout] 2022cafb86e1701f321d1b1a9ad721e3cee93538cc31238b51f9ee413819c234 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6139290aca53b223b312394f62021df6bd4591c6706f19f740eee08729fe1f9 [INFO] running `Command { std: "docker" "start" "-a" "c6139290aca53b223b312394f62021df6bd4591c6706f19f740eee08729fe1f9", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.51 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking hashbrown v0.12.3 [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] [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)]` on by default [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)]` 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)]` 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>>) -> 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] --> _111_二叉树的最小深度/src/lib.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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>>) -> 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>>) -> 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>>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking _9_回文数 v0.1.0 (/opt/rustwide/workdir/_9_回文数) [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) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` 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)]` 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] 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] running `Command { std: "docker" "inspect" "c6139290aca53b223b312394f62021df6bd4591c6706f19f740eee08729fe1f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6139290aca53b223b312394f62021df6bd4591c6706f19f740eee08729fe1f9", kill_on_drop: false }` [INFO] [stdout] c6139290aca53b223b312394f62021df6bd4591c6706f19f740eee08729fe1f9