[INFO] cloning repository https://github.com/rajeshkumarrobert/rust-problems [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rajeshkumarrobert/rust-problems" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/rajeshkumarrobert/rust-problems [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rajeshkumarrobert/rust-problems" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems'... [INFO] [stderr] fatal: error closing file /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems/packed-refs.new: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/rajeshkumarrobert/rust-problems [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rajeshkumarrobert/rust-problems" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems'... [INFO] [stderr] error: failed to write new configuration file /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems/config.lock [INFO] [stderr] fatal: could not set 'core.filemode' to 'true' [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/rajeshkumarrobert/rust-problems [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rajeshkumarrobert/rust-problems" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/fsmonitor-watchman.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems/hooks/fsmonitor-watchman.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/rajeshkumarrobert/rust-problems [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rajeshkumarrobert/rust-problems" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems/hooks/: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/rajeshkumarrobert/rust-problems [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rajeshkumarrobert/rust-problems" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/rajeshkumarrobert/rust-problems [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rajeshkumarrobert/rust-problems" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/rajeshkumarrobert/rust-problems [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rajeshkumarrobert/rust-problems" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/rajeshkumarrobert/rust-problems [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rajeshkumarrobert/rust-problems" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/rajeshkumarrobert/rust-problems [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rajeshkumarrobert/rust-problems" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/rajeshkumarrobert/rust-problems [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rajeshkumarrobert/rust-problems" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/rajeshkumarrobert/rust-problems [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rajeshkumarrobert/rust-problems" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e44b2757b15283a6e2a70498d93fd8d4764902f1 [INFO] checking rajeshkumarrobert/rust-problems against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to create directory for '/workspace/builds/worker-3-tc2/source/.git/logs/refs/remotes/origin/HEAD': No such file or directory [INFO] started tweaking git repo https://github.com/rajeshkumarrobert/rust-problems [INFO] finished tweaking git repo https://github.com/rajeshkumarrobert/rust-problems [INFO] tweaked toml for git repo https://github.com/rajeshkumarrobert/rust-problems written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rajeshkumarrobert/rust-problems on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rajeshkumarrobert/rust-problems 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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] Error response from daemon: write /var/lib/docker/overlay2/aae0455649974acd0638636597aaeaf79ffc1099f5f5fc888c9f63b2c92fd829-init/.tmp-lower4093348269: no space left on device [INFO] checking rajeshkumarrobert/rust-problems against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajeshkumarrobert%2Frust-problems" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rajeshkumarrobert/rust-problems [INFO] finished tweaking git repo https://github.com/rajeshkumarrobert/rust-problems [INFO] tweaked toml for git repo https://github.com/rajeshkumarrobert/rust-problems written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rajeshkumarrobert/rust-problems on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rajeshkumarrobert/rust-problems 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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 532bff7925893705c0fdf04c53f5256c5fa3a42004c38b96abc36bb2495bd0c6 [INFO] running `Command { std: "docker" "start" "-a" "532bff7925893705c0fdf04c53f5256c5fa3a42004c38b96abc36bb2495bd0c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "532bff7925893705c0fdf04c53f5256c5fa3a42004c38b96abc36bb2495bd0c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "532bff7925893705c0fdf04c53f5256c5fa3a42004c38b96abc36bb2495bd0c6", kill_on_drop: false }` [INFO] [stdout] 532bff7925893705c0fdf04c53f5256c5fa3a42004c38b96abc36bb2495bd0c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13840b3f41e5eab084feb5b94aaa862e2982a3f5f90137d6de29328b16031840 [INFO] running `Command { std: "docker" "start" "-a" "13840b3f41e5eab084feb5b94aaa862e2982a3f5f90137d6de29328b16031840", kill_on_drop: false }` [INFO] [stderr] Checking rust-problems v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `final_res` is never read [INFO] [stdout] --> src/leetcode/add_two_numbers.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | let mut final_res = ListNode{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_listnode` [INFO] [stdout] --> src/leetcode/add_two_numbers.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | let mut result_listnode : Option> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_listnode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/leetcode/add_two_numbers.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | let mut result_listnode : Option> = None; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `final_res` is never read [INFO] [stdout] --> src/leetcode/add_two_numbers.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | let mut final_res = ListNode{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_listnode` [INFO] [stdout] --> src/leetcode/add_two_numbers.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | let mut result_listnode : Option> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_listnode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/leetcode/add_two_numbers.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | let mut result_listnode : Option> = None; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ListNode` is never constructed [INFO] [stdout] --> src/leetcode/add_two_numbers.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ListNode { [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/leetcode/add_two_numbers.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 8 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 9 | #[inline] [INFO] [stdout] 10 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/leetcode/add_two_numbers.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Solution{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_two_numbers` is never used [INFO] [stdout] --> src/leetcode/add_two_numbers.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 22 | pub fn add_two_numbers(l1: Option>, l2: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `three_sum` is never used [INFO] [stdout] --> src/leetcode/three_sum.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn three_sum(mut nums: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ListNode` is never constructed [INFO] [stdout] --> src/leetcode/add_two_numbers.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ListNode { [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/leetcode/add_two_numbers.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 8 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 9 | #[inline] [INFO] [stdout] 10 | pub fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/leetcode/add_two_numbers.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Solution{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_two_numbers` is never used [INFO] [stdout] --> src/leetcode/add_two_numbers.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 22 | pub fn add_two_numbers(l1: Option>, l2: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `three_sum` is never used [INFO] [stdout] --> src/leetcode/three_sum.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn three_sum(mut nums: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "13840b3f41e5eab084feb5b94aaa862e2982a3f5f90137d6de29328b16031840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13840b3f41e5eab084feb5b94aaa862e2982a3f5f90137d6de29328b16031840", kill_on_drop: false }` [INFO] [stdout] 13840b3f41e5eab084feb5b94aaa862e2982a3f5f90137d6de29328b16031840