[INFO] cloning repository https://github.com/PavelVavruska/hacker-code
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PavelVavruska/hacker-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPavelVavruska%2Fhacker-code", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPavelVavruska%2Fhacker-code'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dac4ed8541cf90fa2aa6992111a93d6bca1158c7
[INFO] testing PavelVavruska/hacker-code against 1.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPavelVavruska%2Fhacker-code" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/PavelVavruska/hacker-code on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/PavelVavruska/hacker-code
[INFO] finished tweaking git repo https://github.com/PavelVavruska/hacker-code
[INFO] tweaked toml for git repo https://github.com/PavelVavruska/hacker-code written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/PavelVavruska/hacker-code 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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 42084e0420c8a8ff02046bbb5480d6c884a1997a8421d77d250808b7a429f40a
[INFO] running `Command { std: "docker" "start" "-a" "42084e0420c8a8ff02046bbb5480d6c884a1997a8421d77d250808b7a429f40a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "42084e0420c8a8ff02046bbb5480d6c884a1997a8421d77d250808b7a429f40a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42084e0420c8a8ff02046bbb5480d6c884a1997a8421d77d250808b7a429f40a", kill_on_drop: false }`
[INFO] [stdout] 42084e0420c8a8ff02046bbb5480d6c884a1997a8421d77d250808b7a429f40a
[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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7ac8ff8ed9f9dd098f40319bcae17358d4cc7d52789f04e9d738a03ad18ec4dd
[INFO] running `Command { std: "docker" "start" "-a" "7ac8ff8ed9f9dd098f40319bcae17358d4cc7d52789f04e9d738a03ad18ec4dd", kill_on_drop: false }`
[INFO] [stderr]    Compiling hacker-code v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `Cacher_u32` should have an upper camel case name
[INFO] [stdout]  --> src/rust_book/closures_cacher.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Cacher_u32<T: Fn(u32) -> u32> {
[INFO] [stdout]   |        ^^^^^^^^^^ help: convert the identifier to upper camel case: `CacherU32`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/questions/palindrome_linked_list.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[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/questions/palindrome_linked_list.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 12 |     #[inline]
[INFO] [stdout] 13 |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_palindrome` is never used
[INFO] [stdout]   --> src/questions/palindrome_linked_list.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 18 |     pub fn is_palindrome(head: Option<Box<ListNode>>) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/questions/palindrome_number.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_palindrome`, `is_palindrome_i64_hack`, and `is_palindrome_string_version` are never used
[INFO] [stdout]   --> src/questions/palindrome_number.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout] 3  | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 7  |     pub fn is_palindrome(x: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn is_palindrome_i64_hack(x: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn is_palindrome_string_version(x: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/questions/reverse_linked_list.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/questions/reverse_linked_list.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 11 |     #[inline]
[INFO] [stdout] 12 |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `reverse_list` is never used
[INFO] [stdout]   --> src/questions/reverse_linked_list.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 17 |     pub fn reverse_list(head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/questions/roman_to_integer.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `roman_to_int` is never used
[INFO] [stdout]  --> src/questions/roman_to_integer.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 8 |     pub fn roman_to_int(s: String) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_number_of_pairs` is never used
[INFO] [stdout]  --> src/questions/socks.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn get_number_of_pairs(_number: i8, color_array: &[i8]) -> i8 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/questions/two_sums.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `two_sum` is never used
[INFO] [stdout]  --> src/questions/two_sums.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn two_sum(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_employee_to_department` is never used
[INFO] [stdout]  --> src/rust_book/collections_hashmap.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn add_employee_to_department(
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_employees_from_department` is never used
[INFO] [stdout]   --> src/rust_book/collections_hashmap.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn get_employees_from_department(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_employees_from_company` is never used
[INFO] [stdout]   --> src/rust_book/collections_hashmap.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn get_all_employees_from_company(company: &HashMap<String, Vec<String>>) -> Vec<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_pig_latin` is never used
[INFO] [stdout]  --> src/rust_book/collections_string.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn get_pig_latin(input_str: String) -> String {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_median` is never used
[INFO] [stdout]  --> src/rust_book/collections_vec.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn get_median(int_list: &mut Vec<i32>) -> f32 {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest` is never used
[INFO] [stdout]  --> src/rust_book/traits.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn largest<T: PartialOrd>(list: &[T]) -> &T {
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/rust_book/traits.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cacher_u32` is never constructed
[INFO] [stdout]  --> src/rust_book/closures_cacher.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Cacher_u32<T: Fn(u32) -> u32> {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `value` are never used
[INFO] [stdout]   --> src/rust_book/closures_cacher.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl<T: Fn(u32) -> u32> Cacher_u32<T> {
[INFO] [stdout]    | ------------------------------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(computation: T) -> Cacher_u32<T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn value(&mut self, number: u32) -> u32 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cacher` is never constructed
[INFO] [stdout]   --> src/rust_book/closures_cacher.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Cacher<T: Fn(U) -> U, U: Copy> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `value` are never used
[INFO] [stdout]   --> src/rust_book/closures_cacher.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl<T: Fn(U) -> U, U: Copy> Cacher<T, U> {
[INFO] [stdout]    | ----------------------------------------- associated items in this implementation
[INFO] [stdout] 35 |     pub fn new(computation: T) -> Cacher<T, U> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn value(&mut self, input_value: U) -> U {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CacherHash` is never constructed
[INFO] [stdout]   --> src/rust_book/closures_cacher.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | struct CacherHash<T: Fn(K) -> V, K: Eq+Hash, V: Copy+Eq+Hash > {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `value` are never used
[INFO] [stdout]   --> src/rust_book/closures_cacher.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | impl<T: Fn(K) -> V, K: Clone+Eq+Hash, V: Copy+Eq+Hash> CacherHash<T, K, V> {
[INFO] [stdout]    | -------------------------------------------------------------------------- associated items in this implementation
[INFO] [stdout] 62 |     pub fn new(computation: T) -> CacherHash<T, K, V> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn value(&mut self, input_value: K) -> V {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/rust_book/iterators.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Counter {
[INFO] [stdout]   | ------------ associated function in this implementation
[INFO] [stdout] 6 |     fn new() -> Counter {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 28 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.56s
[INFO] running `Command { std: "docker" "inspect" "7ac8ff8ed9f9dd098f40319bcae17358d4cc7d52789f04e9d738a03ad18ec4dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ac8ff8ed9f9dd098f40319bcae17358d4cc7d52789f04e9d738a03ad18ec4dd", kill_on_drop: false }`
[INFO] [stdout] 7ac8ff8ed9f9dd098f40319bcae17358d4cc7d52789f04e9d738a03ad18ec4dd
[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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c2d0539ec3f1157309975f35371cb3fce3311e75effbe7f6ddb45d16503bb5b0
[INFO] running `Command { std: "docker" "start" "-a" "c2d0539ec3f1157309975f35371cb3fce3311e75effbe7f6ddb45d16503bb5b0", kill_on_drop: false }`
[INFO] [stderr]    Compiling hacker-code v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `Cacher_u32` should have an upper camel case name
[INFO] [stdout]  --> src/rust_book/closures_cacher.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Cacher_u32<T: Fn(u32) -> u32> {
[INFO] [stdout]   |        ^^^^^^^^^^ help: convert the identifier to upper camel case: `CacherU32`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/rust_book/closures_cacher.rs:178:17
[INFO] [stdout]     |
[INFO] [stdout] 178 |             for i in 1..1000 {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_palindrome_i64_hack` and `is_palindrome_string_version` are never used
[INFO] [stdout]   --> src/questions/palindrome_number.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 3  | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn is_palindrome_i64_hack(x: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn is_palindrome_string_version(x: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_employees_from_department` is never used
[INFO] [stdout]   --> src/rust_book/collections_hashmap.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn get_employees_from_department(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/rust_book/traits.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]  --> src/rust_book/ref_weak_strong.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     struct Node {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 5 |         value: i32,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 6 |         parent: RefCell<Weak<Node>>,
[INFO] [stdout] 7 |         children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.05s
[INFO] running `Command { std: "docker" "inspect" "c2d0539ec3f1157309975f35371cb3fce3311e75effbe7f6ddb45d16503bb5b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2d0539ec3f1157309975f35371cb3fce3311e75effbe7f6ddb45d16503bb5b0", kill_on_drop: false }`
[INFO] [stdout] c2d0539ec3f1157309975f35371cb3fce3311e75effbe7f6ddb45d16503bb5b0
[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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 86891d79fd80dd15f1fe6e58c436fa25343f05d9a2efda8f31de505bfc931c39
[INFO] running `Command { std: "docker" "start" "-a" "86891d79fd80dd15f1fe6e58c436fa25343f05d9a2efda8f31de505bfc931c39", kill_on_drop: false }`
[INFO] [stderr] warning: type `Cacher_u32` should have an upper camel case name
[INFO] [stderr]  --> src/rust_book/closures_cacher.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 | struct Cacher_u32<T: Fn(u32) -> u32> {
[INFO] [stderr]   |        ^^^^^^^^^^ help: convert the identifier to upper camel case: `CacherU32`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> src/rust_book/closures_cacher.rs:178:17
[INFO] [stderr]     |
[INFO] [stderr] 178 |             for i in 1..1000 {
[INFO] [stderr]     |                 ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `is_palindrome_i64_hack` and `is_palindrome_string_version` are never used
[INFO] [stderr]   --> src/questions/palindrome_number.rs:46:12
[INFO] [stderr]    |
[INFO] [stderr] 3  | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 46 |     pub fn is_palindrome_i64_hack(x: i32) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 78 |     pub fn is_palindrome_string_version(x: i32) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_employees_from_department` is never used
[INFO] [stderr]   --> src/rust_book/collections_hashmap.rs:17:8
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub fn get_employees_from_department(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]   --> src/rust_book/traits.rs:13:4
[INFO] [stderr]    |
[INFO] [stderr] 13 | fn main() {
[INFO] [stderr]    |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `value` and `children` are never read
[INFO] [stderr]  --> src/rust_book/ref_weak_strong.rs:5:9
[INFO] [stderr]   |
[INFO] [stderr] 4 |     struct Node {
[INFO] [stderr]   |            ---- fields in this struct
[INFO] [stderr] 5 |         value: i32,
[INFO] [stderr]   |         ^^^^^
[INFO] [stderr] 6 |         parent: RefCell<Weak<Node>>,
[INFO] [stderr] 7 |         children: RefCell<Vec<Rc<Node>>>,
[INFO] [stderr]   |         ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `hacker-code` (bin "hacker-code" test) generated 6 warnings (run `cargo fix --bin "hacker-code" --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hacker_code-37227a347757bb0d)
[INFO] [stdout] 
[INFO] [stdout] running 29 tests
[INFO] [stdout] test questions::palindrome_linked_list::tests::test_example_2 ... ok
[INFO] [stdout] test questions::palindrome_linked_list::tests::test_example_1 ... ok
[INFO] [stdout] test questions::palindrome_linked_list::tests::test_example_3 ... ok
[INFO] [stdout] test questions::palindrome_number::tests::test_example_1 ... ok
[INFO] [stdout] test questions::palindrome_number::tests::test_example_3 ... ok
[INFO] [stdout] test questions::palindrome_number::tests::test_example_2 ... ok
[INFO] [stdout] test questions::reverse_linked_list::tests::test_example_1 ... ok
[INFO] [stdout] test questions::socks::tests::test_number_of_pairs_1 ... ok
[INFO] [stdout] test questions::socks::tests::test_number_of_pairs_2 ... ok
[INFO] [stdout] test questions::roman_to_integer::tests::test_example_2 ... ok
[INFO] [stdout] test questions::palindrome_number::tests::test_example_4 ... ok
[INFO] [stdout] test questions::roman_to_integer::tests::test_example_3 ... ok
[INFO] [stdout] test questions::roman_to_integer::tests::test_example_1 ... ok
[INFO] [stdout] test questions::roman_to_integer::tests::test_example_4 ... ok
[INFO] [stdout] test rust_book::closures_cacher::tests::test_generic_hashmap_usize_string_slice ... ok
[INFO] [stdout] test rust_book::closures_cacher::tests::test_generic_usize ... ok
[INFO] [stdout] test rust_book::closures_cacher::tests::test_generic_i32 ... ok
[INFO] [stdout] test rust_book::closures_cacher::tests::test_generic_hashmap_usize ... ok
[INFO] [stdout] test rust_book::closures_cacher::tests::test_u32 ... ok
[INFO] [stdout] test questions::socks::tests::test_number_of_pairs_3 ... ok
[INFO] [stdout] test questions::two_sums::tests::test_two_sum_1 ... ok
[INFO] [stdout] test rust_book::collections_vec::tests::test_get_median_even ... ok
[INFO] [stdout] test rust_book::collections_vec::tests::test_get_median_odd ... ok
[INFO] [stdout] test rust_book::collections_string::tests::test_get_vowel ... ok
[INFO] [stdout] test rust_book::ref_weak_strong::tests::test_scopes ... ok
[INFO] [stdout] test rust_book::traits::tests::test_main ... ok
[INFO] [stdout] test rust_book::collections_string::tests::test_get_consonant ... ok
[INFO] [stdout] test rust_book::iterators::tests::calling_next_directly ... ok
[INFO] [stdout] test rust_book::collections_hashmap::tests::test_get_consonant ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- rust_book::collections_hashmap::tests::test_get_consonant stdout ----
[INFO] [stdout] thread 'rust_book::collections_hashmap::tests::test_get_consonant' panicked at src/rust_book/collections_hashmap.rs:87:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: ["department: Engineering employees: Sally, Pavel", "department: Sales employees: Amir, George"]
[INFO] [stdout]  right: ["department: Sales employees: Amir, George", "department: Engineering employees: Sally, Pavel"]
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55a81086d2cc - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x55a81086d2cc - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55a81086d2cc - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x55a81086d2cc - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55a810897ba0 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x55a810897ba0 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x55a81086ac7f - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x55a81086d0b4 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55a81086d0b4 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55a81086ed77 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x55a81086ea63 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x55a81083f477 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x55a81083f477 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x55a81086f388 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x55a81086f388 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x55a81086f0de - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x55a81086d796 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x55a81086ee42 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x55a8107dcd55 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x55a8107dd16b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x55a8107f6f8e - core::panicking::assert_failed::h69fe08f1231ff2d7
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x55a810805793 - hacker_code::rust_book::collections_hashmap::tests::test_get_consonant::hc29a71a87460b7b6
[INFO] [stdout]                                at /opt/rustwide/workdir/src/rust_book/collections_hashmap.rs:87:9
[INFO] [stdout]   22:     0x55a810804d57 - hacker_code::rust_book::collections_hashmap::tests::test_get_consonant::{{closure}}::ha15cec0c0d81b111
[INFO] [stdout]                                at /opt/rustwide/workdir/src/rust_book/collections_hashmap.rs:55:28
[INFO] [stdout]   23:     0x55a8107e9196 - core::ops::function::FnOnce::call_once::h8620e37250c5e962
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55a810844acf - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x55a810844acf - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   26:     0x55a810843ae5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   27:     0x55a810843ae5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x55a810843ae5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   29:     0x55a810843ae5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   30:     0x55a810843ae5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   31:     0x55a810843ae5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   32:     0x55a810843ae5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   33:     0x55a81080bda6 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   34:     0x55a81080bda6 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   35:     0x55a810810e57 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   36:     0x55a810810e57 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x55a810810e57 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   38:     0x55a810810e57 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   39:     0x55a810810e57 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   40:     0x55a810810e57 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   41:     0x55a810810e57 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x55a810873e15 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   43:     0x55a810873e15 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x55a810873e15 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7fb6291efac3 - <unknown>
[INFO] [stdout]   46:     0x7fb629280bf4 - __clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     rust_book::collections_hashmap::tests::test_get_consonant
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 28 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin hacker-code`
[INFO] running `Command { std: "docker" "inspect" "86891d79fd80dd15f1fe6e58c436fa25343f05d9a2efda8f31de505bfc931c39", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86891d79fd80dd15f1fe6e58c436fa25343f05d9a2efda8f31de505bfc931c39", kill_on_drop: false }`
[INFO] [stdout] 86891d79fd80dd15f1fe6e58c436fa25343f05d9a2efda8f31de505bfc931c39
[INFO] testing PavelVavruska/hacker-code against beta-2023-12-22 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPavelVavruska%2Fhacker-code" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/PavelVavruska/hacker-code on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/PavelVavruska/hacker-code
[INFO] finished tweaking git repo https://github.com/PavelVavruska/hacker-code
[INFO] tweaked toml for git repo https://github.com/PavelVavruska/hacker-code written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/PavelVavruska/hacker-code 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-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4f1dc9125835156912f5e911d2343183db6a46f5ea8cbd60157a1dbcfe30c333
[INFO] running `Command { std: "docker" "start" "-a" "4f1dc9125835156912f5e911d2343183db6a46f5ea8cbd60157a1dbcfe30c333", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4f1dc9125835156912f5e911d2343183db6a46f5ea8cbd60157a1dbcfe30c333", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f1dc9125835156912f5e911d2343183db6a46f5ea8cbd60157a1dbcfe30c333", kill_on_drop: false }`
[INFO] [stdout] 4f1dc9125835156912f5e911d2343183db6a46f5ea8cbd60157a1dbcfe30c333
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b24e435662558f7d52ac9f8af017d6fe782b0e8a60c305b66ea3c430287fca87
[INFO] running `Command { std: "docker" "start" "-a" "b24e435662558f7d52ac9f8af017d6fe782b0e8a60c305b66ea3c430287fca87", kill_on_drop: false }`
[INFO] [stderr]    Compiling hacker-code v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `Cacher_u32` should have an upper camel case name
[INFO] [stdout]  --> src/rust_book/closures_cacher.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Cacher_u32<T: Fn(u32) -> u32> {
[INFO] [stdout]   |        ^^^^^^^^^^ help: convert the identifier to upper camel case: `CacherU32`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/questions/palindrome_linked_list.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[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/questions/palindrome_linked_list.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 12 |     #[inline]
[INFO] [stdout] 13 |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_palindrome` is never used
[INFO] [stdout]   --> src/questions/palindrome_linked_list.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 18 |     pub fn is_palindrome(head: Option<Box<ListNode>>) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/questions/palindrome_number.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_palindrome`, `is_palindrome_i64_hack`, and `is_palindrome_string_version` are never used
[INFO] [stdout]   --> src/questions/palindrome_number.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout] 3  | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 7  |     pub fn is_palindrome(x: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn is_palindrome_i64_hack(x: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn is_palindrome_string_version(x: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/questions/reverse_linked_list.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/questions/reverse_linked_list.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ListNode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 11 |     #[inline]
[INFO] [stdout] 12 |     fn new(val: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `reverse_list` is never used
[INFO] [stdout]   --> src/questions/reverse_linked_list.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Solution {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 17 |     pub fn reverse_list(head: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/questions/roman_to_integer.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `roman_to_int` is never used
[INFO] [stdout]  --> src/questions/roman_to_integer.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 8 |     pub fn roman_to_int(s: String) -> i32 {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_number_of_pairs` is never used
[INFO] [stdout]  --> src/questions/socks.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn get_number_of_pairs(_number: i8, color_array: &[i8]) -> i8 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout]  --> src/questions/two_sums.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Solution;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `two_sum` is never used
[INFO] [stdout]  --> src/questions/two_sums.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Solution {
[INFO] [stdout]   | ------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn two_sum(nums: Vec<i32>, target: i32) -> Vec<i32> {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_employee_to_department` is never used
[INFO] [stdout]  --> src/rust_book/collections_hashmap.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn add_employee_to_department(
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_employees_from_department` is never used
[INFO] [stdout]   --> src/rust_book/collections_hashmap.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn get_employees_from_department(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_employees_from_company` is never used
[INFO] [stdout]   --> src/rust_book/collections_hashmap.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn get_all_employees_from_company(company: &HashMap<String, Vec<String>>) -> Vec<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_pig_latin` is never used
[INFO] [stdout]  --> src/rust_book/collections_string.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn get_pig_latin(input_str: String) -> String {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_median` is never used
[INFO] [stdout]  --> src/rust_book/collections_vec.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn get_median(int_list: &mut Vec<i32>) -> f32 {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest` is never used
[INFO] [stdout]  --> src/rust_book/traits.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn largest<T: PartialOrd>(list: &[T]) -> &T {
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/rust_book/traits.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cacher_u32` is never constructed
[INFO] [stdout]  --> src/rust_book/closures_cacher.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Cacher_u32<T: Fn(u32) -> u32> {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `value` are never used
[INFO] [stdout]   --> src/rust_book/closures_cacher.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl<T: Fn(u32) -> u32> Cacher_u32<T> {
[INFO] [stdout]    | ------------------------------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(computation: T) -> Cacher_u32<T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn value(&mut self, number: u32) -> u32 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cacher` is never constructed
[INFO] [stdout]   --> src/rust_book/closures_cacher.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Cacher<T: Fn(U) -> U, U: Copy> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `value` are never used
[INFO] [stdout]   --> src/rust_book/closures_cacher.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl<T: Fn(U) -> U, U: Copy> Cacher<T, U> {
[INFO] [stdout]    | ----------------------------------------- associated items in this implementation
[INFO] [stdout] 35 |     pub fn new(computation: T) -> Cacher<T, U> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn value(&mut self, input_value: U) -> U {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CacherHash` is never constructed
[INFO] [stdout]   --> src/rust_book/closures_cacher.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | struct CacherHash<T: Fn(K) -> V, K: Eq+Hash, V: Copy+Eq+Hash > {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `value` are never used
[INFO] [stdout]   --> src/rust_book/closures_cacher.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | impl<T: Fn(K) -> V, K: Clone+Eq+Hash, V: Copy+Eq+Hash> CacherHash<T, K, V> {
[INFO] [stdout]    | -------------------------------------------------------------------------- associated items in this implementation
[INFO] [stdout] 62 |     pub fn new(computation: T) -> CacherHash<T, K, V> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn value(&mut self, input_value: K) -> V {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/rust_book/iterators.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Counter {
[INFO] [stdout]   | ------------ associated function in this implementation
[INFO] [stdout] 6 |     fn new() -> Counter {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 28 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.56s
[INFO] running `Command { std: "docker" "inspect" "b24e435662558f7d52ac9f8af017d6fe782b0e8a60c305b66ea3c430287fca87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b24e435662558f7d52ac9f8af017d6fe782b0e8a60c305b66ea3c430287fca87", kill_on_drop: false }`
[INFO] [stdout] b24e435662558f7d52ac9f8af017d6fe782b0e8a60c305b66ea3c430287fca87
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2a28d0cba88827180fd96e71199957fd7d61c556b957f5a554d4b42244cd8484
[INFO] running `Command { std: "docker" "start" "-a" "2a28d0cba88827180fd96e71199957fd7d61c556b957f5a554d4b42244cd8484", kill_on_drop: false }`
[INFO] [stderr]    Compiling hacker-code v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `Cacher_u32` should have an upper camel case name
[INFO] [stdout]  --> src/rust_book/closures_cacher.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Cacher_u32<T: Fn(u32) -> u32> {
[INFO] [stdout]   |        ^^^^^^^^^^ help: convert the identifier to upper camel case: `CacherU32`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/rust_book/closures_cacher.rs:178:17
[INFO] [stdout]     |
[INFO] [stdout] 178 |             for i in 1..1000 {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_palindrome_i64_hack` and `is_palindrome_string_version` are never used
[INFO] [stdout]   --> src/questions/palindrome_number.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 3  | impl Solution {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn is_palindrome_i64_hack(x: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn is_palindrome_string_version(x: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_employees_from_department` is never used
[INFO] [stdout]   --> src/rust_book/collections_hashmap.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn get_employees_from_department(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/rust_book/traits.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]  --> src/rust_book/ref_weak_strong.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     struct Node {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 5 |         value: i32,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 6 |         parent: RefCell<Weak<Node>>,
[INFO] [stdout] 7 |         children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.95s
[INFO] running `Command { std: "docker" "inspect" "2a28d0cba88827180fd96e71199957fd7d61c556b957f5a554d4b42244cd8484", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a28d0cba88827180fd96e71199957fd7d61c556b957f5a554d4b42244cd8484", kill_on_drop: false }`
[INFO] [stdout] 2a28d0cba88827180fd96e71199957fd7d61c556b957f5a554d4b42244cd8484
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a54b7752d7bfeb156d1127d69b372517ba6cb09ab5f44772eb2d745578eee937
[INFO] running `Command { std: "docker" "start" "-a" "a54b7752d7bfeb156d1127d69b372517ba6cb09ab5f44772eb2d745578eee937", kill_on_drop: false }`
[INFO] [stdout] 
[INFO] [stdout] running 29 tests
[INFO] [stderr] warning: type `Cacher_u32` should have an upper camel case name
[INFO] [stderr]  --> src/rust_book/closures_cacher.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 | struct Cacher_u32<T: Fn(u32) -> u32> {
[INFO] [stderr]   |        ^^^^^^^^^^ help: convert the identifier to upper camel case: `CacherU32`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> src/rust_book/closures_cacher.rs:178:17
[INFO] [stderr]     |
[INFO] [stderr] 178 |             for i in 1..1000 {
[INFO] [stderr]     |                 ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `is_palindrome_i64_hack` and `is_palindrome_string_version` are never used
[INFO] [stderr]   --> src/questions/palindrome_number.rs:46:12
[INFO] [stderr]    |
[INFO] [stderr] 3  | impl Solution {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 46 |     pub fn is_palindrome_i64_hack(x: i32) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 78 |     pub fn is_palindrome_string_version(x: i32) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_employees_from_department` is never used
[INFO] [stderr]   --> src/rust_book/collections_hashmap.rs:17:8
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub fn get_employees_from_department(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]   --> src/rust_book/traits.rs:13:4
[INFO] [stderr]    |
[INFO] [stderr] 13 | fn main() {
[INFO] [stderr]    |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `value` and `children` are never read
[INFO] [stderr]  --> src/rust_book/ref_weak_strong.rs:5:9
[INFO] [stderr]   |
[INFO] [stderr] 4 |     struct Node {
[INFO] [stderr]   |            ---- fields in this struct
[INFO] [stderr] 5 |         value: i32,
[INFO] [stderr]   |         ^^^^^
[INFO] [stderr] 6 |         parent: RefCell<Weak<Node>>,
[INFO] [stderr] 7 |         children: RefCell<Vec<Rc<Node>>>,
[INFO] [stderr]   |         ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `hacker-code` (bin "hacker-code" test) generated 6 warnings (run `cargo fix --bin "hacker-code" --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hacker_code-1c772d2da6ca0663)
[INFO] [stdout] test questions::palindrome_linked_list::tests::test_example_3 ... ok
[INFO] [stdout] test questions::palindrome_linked_list::tests::test_example_2 ... ok
[INFO] [stdout] test questions::palindrome_number::tests::test_example_4 ... ok
[INFO] [stdout] test questions::reverse_linked_list::tests::test_example_1 ... ok
[INFO] [stdout] test questions::palindrome_linked_list::tests::test_example_1 ... ok
[INFO] [stdout] test questions::roman_to_integer::tests::test_example_1 ... ok
[INFO] [stdout] test questions::roman_to_integer::tests::test_example_2 ... ok
[INFO] [stdout] test questions::socks::tests::test_number_of_pairs_1 ... ok
[INFO] [stdout] test questions::roman_to_integer::tests::test_example_3 ... ok
[INFO] [stdout] test questions::palindrome_number::tests::test_example_1 ... ok
[INFO] [stdout] test questions::two_sums::tests::test_two_sum_1 ... ok
[INFO] [stdout] test questions::roman_to_integer::tests::test_example_4 ... ok
[INFO] [stdout] test questions::socks::tests::test_number_of_pairs_2 ... ok
[INFO] [stdout] test questions::palindrome_number::tests::test_example_3 ... ok
[INFO] [stdout] test questions::socks::tests::test_number_of_pairs_3 ... ok
[INFO] [stdout] test rust_book::closures_cacher::tests::test_generic_i32 ... ok
[INFO] [stdout] test rust_book::closures_cacher::tests::test_generic_hashmap_usize ... ok
[INFO] [stdout] test rust_book::closures_cacher::tests::test_generic_hashmap_usize_string_slice ... ok
[INFO] [stdout] test rust_book::closures_cacher::tests::test_u32 ... ok
[INFO] [stdout] test rust_book::closures_cacher::tests::test_generic_usize ... ok
[INFO] [stdout] test questions::palindrome_number::tests::test_example_2 ... ok
[INFO] [stdout] test rust_book::collections_hashmap::tests::test_get_consonant ... ok
[INFO] [stdout] test rust_book::iterators::tests::calling_next_directly ... ok
[INFO] [stdout] test rust_book::collections_vec::tests::test_get_median_odd ... ok
[INFO] [stdout] test rust_book::traits::tests::test_main ... ok
[INFO] [stdout] test rust_book::ref_weak_strong::tests::test_scopes ... ok
[INFO] [stdout] test rust_book::collections_string::tests::test_get_vowel ... ok
[INFO] [stdout] test rust_book::collections_string::tests::test_get_consonant ... ok
[INFO] [stdout] test rust_book::collections_vec::tests::test_get_median_even ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "a54b7752d7bfeb156d1127d69b372517ba6cb09ab5f44772eb2d745578eee937", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a54b7752d7bfeb156d1127d69b372517ba6cb09ab5f44772eb2d745578eee937", kill_on_drop: false }`
[INFO] [stdout] a54b7752d7bfeb156d1127d69b372517ba6cb09ab5f44772eb2d745578eee937
