[INFO] cloning repository https://github.com/luatnd/rust-dsa-boilerplate
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luatnd/rust-dsa-boilerplate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluatnd%2Frust-dsa-boilerplate", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluatnd%2Frust-dsa-boilerplate'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 54e927dd8557ad78be13d195c592ab587619cb3b
[INFO] checking luatnd/rust-dsa-boilerplate against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluatnd%2Frust-dsa-boilerplate" "/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/luatnd/rust-dsa-boilerplate
[INFO] finished tweaking git repo https://github.com/luatnd/rust-dsa-boilerplate
[INFO] tweaked toml for git repo https://github.com/luatnd/rust-dsa-boilerplate written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/luatnd/rust-dsa-boilerplate on toolchain a5689b034ad287112f709693384a37f1377eb9cc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/luatnd/rust-dsa-boilerplate 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8523328ac1ebac35ecfbcebd2b7873f1fb82407d2147b42209c8c91caa104c8e
[INFO] running `Command { std: "docker" "start" "8523328ac1ebac35ecfbcebd2b7873f1fb82407d2147b42209c8c91caa104c8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8523328ac1ebac35ecfbcebd2b7873f1fb82407d2147b42209c8c91caa104c8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8523328ac1ebac35ecfbcebd2b7873f1fb82407d2147b42209c8c91caa104c8e" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8523328ac1ebac35ecfbcebd2b7873f1fb82407d2147b42209c8c91caa104c8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8523328ac1ebac35ecfbcebd2b7873f1fb82407d2147b42209c8c91caa104c8e" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]     Checking getrandom v0.2.9
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking dsa-rust v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> src/other/playground.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 |   use super::*;
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `l1`
[INFO] [stdout]   --> src/leetcode/l0002_add_two_numbers.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 73 |     l1: Option<Box<ListNode>>,
[INFO] [stdout]    |     ^^ help: if this is intentional, prefix it with an underscore: `_l1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `l2`
[INFO] [stdout]   --> src/leetcode/l0002_add_two_numbers.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 74 |     l2: Option<Box<ListNode>>,
[INFO] [stdout]    |     ^^ help: if this is intentional, prefix it with an underscore: `_l2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `traverse_linked_list` is never used
[INFO] [stdout]   --> src/util/linked_list.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn traverse_linked_list(head: &ListNode3Ref) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/leetcode/l0001_two_sum.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Solution {}
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `two_sum` is never used
[INFO] [stdout]   --> src/leetcode/l0001_two_sum.rs:24:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 24 |   pub fn two_sum(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]   --> src/leetcode/l0002_add_two_numbers.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Solution {}
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `add_two_numbers` and `add_two_numbers_naive` are never used
[INFO] [stdout]   --> src/leetcode/l0002_add_two_numbers.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 26 |   pub fn add_two_numbers(
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |   pub fn add_two_numbers_naive(
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/other/this_is_template.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Solution {}
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `sum` and `sum_naive` are never used
[INFO] [stdout]   --> src/other/this_is_template.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 10 |   pub fn sum(a: i32, b: i32) -> i32 {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |   pub fn sum_naive(a: i32, b: i32) -> i32 {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `i32`
[INFO] [stdout]  --> src/util/number.rs:5:3
[INFO] [stdout]   |
[INFO] [stdout] 5 |   num.into()
[INFO] [stdout]   |   ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]   = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]   |
[INFO] [stdout] 5 -   num.into()
[INFO] [stdout] 5 +   num
[INFO] [stdout]   |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]   |
[INFO] [stdout] 5 -   num.into()
[INFO] [stdout] 5 +   <i32 as Into<_>>::into(num)
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dsa-rust` (lib) due to 1 previous error; 9 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `l1`
[INFO] [stdout]   --> src/leetcode/l0002_add_two_numbers.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 73 |     l1: Option<Box<ListNode>>,
[INFO] [stdout]    |     ^^ help: if this is intentional, prefix it with an underscore: `_l1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `l2`
[INFO] [stdout]   --> src/leetcode/l0002_add_two_numbers.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 74 |     l2: Option<Box<ListNode>>,
[INFO] [stdout]    |     ^^ help: if this is intentional, prefix it with an underscore: `_l2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `traverse_linked_list` is never used
[INFO] [stdout]   --> src/util/linked_list.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn traverse_linked_list(head: &ListNode3Ref) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `i32`
[INFO] [stdout]  --> src/util/number.rs:5:3
[INFO] [stdout]   |
[INFO] [stdout] 5 |   num.into()
[INFO] [stdout]   |   ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]   = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]   |
[INFO] [stdout] 5 -   num.into()
[INFO] [stdout] 5 +   num
[INFO] [stdout]   |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]   |
[INFO] [stdout] 5 -   num.into()
[INFO] [stdout] 5 +   <i32 as Into<_>>::into(num)
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dsa-rust` (lib test) due to 1 previous error; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8523328ac1ebac35ecfbcebd2b7873f1fb82407d2147b42209c8c91caa104c8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8523328ac1ebac35ecfbcebd2b7873f1fb82407d2147b42209c8c91caa104c8e", kill_on_drop: false }`
[INFO] [stdout] 8523328ac1ebac35ecfbcebd2b7873f1fb82407d2147b42209c8c91caa104c8e
