[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 beta-2025-04-20 for beta-1.87-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPavelVavruska%2Fhacker-code" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PavelVavruska/hacker-code on toolchain beta-2025-04-20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-20" "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-7-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-2025-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aaff5000c3b803c730c0acdc49353f753dd43a99409ad73d4fd5aeffbe62a248 [INFO] running `Command { std: "docker" "start" "-a" "aaff5000c3b803c730c0acdc49353f753dd43a99409ad73d4fd5aeffbe62a248", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aaff5000c3b803c730c0acdc49353f753dd43a99409ad73d4fd5aeffbe62a248", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaff5000c3b803c730c0acdc49353f753dd43a99409ad73d4fd5aeffbe62a248", kill_on_drop: false }` [INFO] [stdout] aaff5000c3b803c730c0acdc49353f753dd43a99409ad73d4fd5aeffbe62a248 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c87d039b7851f1bc928c43a395fe2f401d68b51494f30e2407ea63d31cc08166 [INFO] running `Command { std: "docker" "start" "-a" "c87d039b7851f1bc928c43a395fe2f401d68b51494f30e2407ea63d31cc08166", 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 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>) -> 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>) -> Option> { [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, target: i32) -> Vec { [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>) -> Vec { [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) -> 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(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 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 u32> Cacher_u32 { [INFO] [stdout] | ------------------------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(computation: T) -> Cacher_u32 { [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 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 U, U: Copy> Cacher { [INFO] [stdout] | ----------------------------------------- associated items in this implementation [INFO] [stdout] 35 | pub fn new(computation: T) -> Cacher { [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 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 V, K: Clone+Eq+Hash, V: Copy+Eq+Hash> CacherHash { [INFO] [stdout] | -------------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 62 | pub fn new(computation: T) -> CacherHash { [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: struct `Counter` is never constructed [INFO] [stdout] --> src/rust_book/iterators.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Counter { [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "c87d039b7851f1bc928c43a395fe2f401d68b51494f30e2407ea63d31cc08166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c87d039b7851f1bc928c43a395fe2f401d68b51494f30e2407ea63d31cc08166", kill_on_drop: false }` [INFO] [stdout] c87d039b7851f1bc928c43a395fe2f401d68b51494f30e2407ea63d31cc08166 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-20" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e2cb613af37f43190bccbd66172823a600f8bf54451bcb1fbc525edc0ea82a1 [INFO] running `Command { std: "docker" "start" "-a" "2e2cb613af37f43190bccbd66172823a600f8bf54451bcb1fbc525edc0ea82a1", 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 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>, [INFO] [stdout] 7 | children: RefCell>>, [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.18s [INFO] running `Command { std: "docker" "inspect" "2e2cb613af37f43190bccbd66172823a600f8bf54451bcb1fbc525edc0ea82a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e2cb613af37f43190bccbd66172823a600f8bf54451bcb1fbc525edc0ea82a1", kill_on_drop: false }` [INFO] [stdout] 2e2cb613af37f43190bccbd66172823a600f8bf54451bcb1fbc525edc0ea82a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-20" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ef1a9e9d9974e9325c46401af21340ed18785e60550318487a76579ab9de8fbb [INFO] running `Command { std: "docker" "start" "-a" "ef1a9e9d9974e9325c46401af21340ed18785e60550318487a76579ab9de8fbb", 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] [stdout] [INFO] [stderr] 4 | struct Cacher_u32 u32> { [INFO] [stdout] running 29 tests [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>, [INFO] [stderr] 7 | children: RefCell>>, [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 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hacker_code-6a14d8f2f12958c0) [INFO] [stdout] test questions::palindrome_linked_list::tests::test_example_1 ... ok [INFO] [stdout] test questions::palindrome_linked_list::tests::test_example_2 ... 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_2 ... ok [INFO] [stdout] test questions::palindrome_number::tests::test_example_3 ... 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::roman_to_integer::tests::test_example_1 ... ok [INFO] [stdout] test questions::roman_to_integer::tests::test_example_2 ... ok [INFO] [stdout] test questions::roman_to_integer::tests::test_example_3 ... ok [INFO] [stdout] test questions::roman_to_integer::tests::test_example_4 ... 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::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::closures_cacher::tests::test_generic_hashmap_usize ... ok [INFO] [stdout] test rust_book::closures_cacher::tests::test_generic_i32 ... ok [INFO] [stdout] test rust_book::closures_cacher::tests::test_u32 ... 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::collections_string::tests::test_get_consonant ... ok [INFO] [stdout] test rust_book::collections_string::tests::test_get_vowel ... 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::iterators::tests::calling_next_directly ... ok [INFO] [stdout] test rust_book::ref_weak_strong::tests::test_scopes ... ok [INFO] [stdout] test rust_book::traits::tests::test_main ... ok [INFO] [stderr] error: test failed, to rerun pass `--bin hacker-code` [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] [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: 0x621a17928272 - std::backtrace_rs::backtrace::libunwind::trace::h507910ea2af87506 [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x621a17928272 - std::backtrace_rs::backtrace::trace_unsynchronized::hbabde69a364028b6 [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x621a17928272 - std::sys::backtrace::_print_fmt::h72da4ea05d9c19c7 [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x621a17928272 - ::fmt::he17e4d1deb030513 [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x621a1794eea3 - core::fmt::rt::Argument::fmt::h6eb34452b7bf7f3e [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/core/src/fmt/rt.rs:184:76 [INFO] [stdout] 5: 0x621a1794eea3 - core::fmt::write::hb586d8faf4da872c [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/core/src/fmt/mod.rs:1481:21 [INFO] [stdout] 6: 0x621a17925943 - std::io::default_write_fmt::h6aa08ecbfa48c5ff [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x621a17925943 - std::io::Write::write_fmt::hacff69e787d8280c [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/io/mod.rs:1914:13 [INFO] [stdout] 8: 0x621a179280c2 - std::sys::backtrace::BacktraceLock::print::ha9ae06d9686ed6f5 [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x621a1792965c - std::panicking::default_hook::{{closure}}::h1e26c2dd6a86c552 [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/panicking.rs:300:22 [INFO] [stdout] 10: 0x621a179294b2 - std::panicking::default_hook::ha087cd2c96e9dccb [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x621a178f3d94 - as core::ops::function::Fn>::call::hfc67e750ea60d79e [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x621a178f3d94 - test::test_main::{{closure}}::h8bc5950b0281f6a8 [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/test/src/lib.rs:136:21 [INFO] [stdout] 13: 0x621a1792a0d3 - as core::ops::function::Fn>::call::he82122b1f05fbb69 [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x621a1792a0d3 - std::panicking::rust_panic_with_hook::hb6297a615c41feb1 [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x621a17929daa - std::panicking::begin_panic_handler::{{closure}}::h331b749dc5aaed6d [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x621a17928769 - std::sys::backtrace::__rust_end_short_backtrace::had488ac7042f2d24 [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x621a17929a3d - __rustc[df3c1e297e3414ab]::rust_begin_unwind [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x621a17895fd0 - core::panicking::panic_fmt::hbe33a1fea5c5feea [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x621a17896327 - core::panicking::assert_failed_inner::h3e55bb762ae648e1 [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/core/src/panicking.rs:425:17 [INFO] [stdout] 20: 0x621a178af61c - core::panicking::assert_failed::h14fe9ac3d7e93335 [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/core/src/panicking.rs:380:5 [INFO] [stdout] 21: 0x621a178b4aae - hacker_code::rust_book::collections_hashmap::tests::test_get_consonant::hac8dc7f8e321b12b [INFO] [stdout] at /opt/rustwide/workdir/src/rust_book/collections_hashmap.rs:87:9 [INFO] [stdout] 22: 0x621a178b40c7 - hacker_code::rust_book::collections_hashmap::tests::test_get_consonant::{{closure}}::hbc773a6701957e69 [INFO] [stdout] at /opt/rustwide/workdir/src/rust_book/collections_hashmap.rs:55:28 [INFO] [stdout] 23: 0x621a178a0736 - core::ops::function::FnOnce::call_once::h122759ab46decc74 [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x621a178f96cb - core::ops::function::FnOnce::call_once::h9f27fbe475af7e00 [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x621a178f96cb - test::__rust_begin_short_backtrace::h9bcfcf8eb616a474 [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/test/src/lib.rs:638:18 [INFO] [stdout] 26: 0x621a178f86df - test::run_test_in_process::{{closure}}::hb976ca28ca432a94 [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/test/src/lib.rs:661:60 [INFO] [stdout] 27: 0x621a178f86df - as core::ops::function::FnOnce<()>>::call_once::h48efcb650f3b09f1 [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x621a178f86df - std::panicking::try::do_call::hb33d0805d7d22799 [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x621a178f86df - std::panicking::try::h3dba5fb1393795eb [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x621a178f86df - std::panic::catch_unwind::h172524697db16a3d [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x621a178f86df - test::run_test_in_process::h0fdde63751df31c1 [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/test/src/lib.rs:661:27 [INFO] [stdout] 32: 0x621a178f86df - test::run_test::{{closure}}::hcb298933802060ae [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/test/src/lib.rs:582:43 [INFO] [stdout] 33: 0x621a178bce34 - test::run_test::{{closure}}::h531558d375c0c753 [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/test/src/lib.rs:612:41 [INFO] [stdout] 34: 0x621a178bce34 - std::sys::backtrace::__rust_begin_short_backtrace::h1c7e21874339ac4b [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x621a178c06ca - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf36f474960f6b3bd [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x621a178c06ca - as core::ops::function::FnOnce<()>>::call_once::hf7a3133f853835ff [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x621a178c06ca - std::panicking::try::do_call::heaad6640209dda75 [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x621a178c06ca - std::panicking::try::h11ee8b72ee6fba6e [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x621a178c06ca - std::panic::catch_unwind::h6b1b8a79a33133df [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x621a178c06ca - std::thread::Builder::spawn_unchecked_::{{closure}}::h6e3d3f6a0b8d9edc [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x621a178c06ca - core::ops::function::FnOnce::call_once{{vtable.shim}}::hda16d6ccb84a4fd4 [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x621a1792be1b - as core::ops::function::FnOnce>::call_once::h5f5aabfc4e50f1ef [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x621a1792be1b - as core::ops::function::FnOnce>::call_once::hd941fff5c0147baa [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x621a1792be1b - std::sys::pal::unix::thread::Thread::new::thread_start::h1a8b3433428bb7a3 [INFO] [stdout] at /rustc/386abeb93ab8e683357f54ffe76ae53861b2d984/library/std/src/sys/pal/unix/thread.rs:109:17 [INFO] [stdout] 45: 0x799e1b302aa4 - [INFO] [stdout] 46: 0x799e1b38fa34 - clone [INFO] [stdout] 47: 0x0 - [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.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ef1a9e9d9974e9325c46401af21340ed18785e60550318487a76579ab9de8fbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef1a9e9d9974e9325c46401af21340ed18785e60550318487a76579ab9de8fbb", kill_on_drop: false }` [INFO] [stdout] ef1a9e9d9974e9325c46401af21340ed18785e60550318487a76579ab9de8fbb