[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 try#d5830e3d3b571fe52cdf4b7b34be99be74dc65ea+target=i686-unknown-linux-musl for musl_1_2_upgrade_i686_unknown_linux_musl [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPavelVavruska%2Fhacker-code" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PavelVavruska/hacker-code on toolchain d5830e3d3b571fe52cdf4b7b34be99be74dc65ea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "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-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" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf9eef99ca6520ee482edb3d52e860f6f4f1efb0acd774b63c665d55eeca899e [INFO] running `Command { std: "docker" "start" "-a" "bf9eef99ca6520ee482edb3d52e860f6f4f1efb0acd774b63c665d55eeca899e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf9eef99ca6520ee482edb3d52e860f6f4f1efb0acd774b63c665d55eeca899e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf9eef99ca6520ee482edb3d52e860f6f4f1efb0acd774b63c665d55eeca899e", kill_on_drop: false }` [INFO] [stdout] bf9eef99ca6520ee482edb3d52e860f6f4f1efb0acd774b63c665d55eeca899e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "build" "--frozen" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2a779d6b0a4405f3065d6cd719d3e0ae48ac5baa584f0c22f2643357a1574ecf [INFO] running `Command { std: "docker" "start" "-a" "2a779d6b0a4405f3065d6cd719d3e0ae48ac5baa584f0c22f2643357a1574ecf", 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] 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] 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 function `is_palindrome` is never used [INFO] [stdout] --> src/questions/palindrome_number.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn is_palindrome(x: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_palindrome_i64_hack` is never used [INFO] [stdout] --> src/questions/palindrome_number.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn is_palindrome_i64_hack(x: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_palindrome_string_version` is never used [INFO] [stdout] --> src/questions/palindrome_number.rs:78:12 [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] 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] 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] 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] 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: 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: 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 function `new` is never used [INFO] [stdout] --> src/rust_book/closures_cacher.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(computation: T) -> Cacher_u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `value` is never used [INFO] [stdout] --> src/rust_book/closures_cacher.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn value(&mut self, number: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rust_book/closures_cacher.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(computation: T) -> Cacher { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `value` is never used [INFO] [stdout] --> src/rust_book/closures_cacher.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn value(&mut self, input_value: U) -> U { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rust_book/closures_cacher.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(computation: T) -> CacherHash { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `value` is never used [INFO] [stdout] --> src/rust_book/closures_cacher.rs:69:12 [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] 6 | fn new() -> Counter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "2a779d6b0a4405f3065d6cd719d3e0ae48ac5baa584f0c22f2643357a1574ecf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a779d6b0a4405f3065d6cd719d3e0ae48ac5baa584f0c22f2643357a1574ecf", kill_on_drop: false }` [INFO] [stdout] 2a779d6b0a4405f3065d6cd719d3e0ae48ac5baa584f0c22f2643357a1574ecf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "test" "--frozen" "--no-run" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 99f2f0f974eb82d6954bf2351fea7a3036707c884bdb339d1812630d41bb7560 [INFO] running `Command { std: "docker" "start" "-a" "99f2f0f974eb82d6954bf2351fea7a3036707c884bdb339d1812630d41bb7560", 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 function `is_palindrome_i64_hack` is never used [INFO] [stdout] --> src/questions/palindrome_number.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn is_palindrome_i64_hack(x: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_palindrome_string_version` is never used [INFO] [stdout] --> src/questions/palindrome_number.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn is_palindrome_string_version(x: i32) -> bool { [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 `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] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.18s [INFO] running `Command { std: "docker" "inspect" "99f2f0f974eb82d6954bf2351fea7a3036707c884bdb339d1812630d41bb7560", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99f2f0f974eb82d6954bf2351fea7a3036707c884bdb339d1812630d41bb7560", kill_on_drop: false }` [INFO] [stdout] 99f2f0f974eb82d6954bf2351fea7a3036707c884bdb339d1812630d41bb7560 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "test" "--frozen" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 574d99ee578316320ee15b68ef0915a9d61b6902c6e5de2421d09d7526769c4d [INFO] running `Command { std: "docker" "start" "-a" "574d99ee578316320ee15b68ef0915a9d61b6902c6e5de2421d09d7526769c4d", 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 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 function `is_palindrome_i64_hack` is never used [INFO] [stderr] --> src/questions/palindrome_number.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn is_palindrome_i64_hack(x: i32) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `is_palindrome_string_version` is never used [INFO] [stderr] --> src/questions/palindrome_number.rs:78:12 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn is_palindrome_string_version(x: i32) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/hacker_code-5ff40923b7e4e229) [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::roman_to_integer::tests::test_example_2 ... ok [INFO] [stdout] test questions::roman_to_integer::tests::test_example_3 ... ok [INFO] [stdout] test questions::reverse_linked_list::tests::test_example_1 ... ok [INFO] [stdout] test questions::palindrome_number::tests::test_example_4 ... ok [INFO] [stdout] test questions::roman_to_integer::tests::test_example_4 ... ok [INFO] [stdout] test questions::roman_to_integer::tests::test_example_1 ... ok [INFO] [stdout] test questions::socks::tests::test_number_of_pairs_1 ... ok [INFO] [stdout] test questions::two_sums::tests::test_two_sum_1 ... ok [INFO] [stdout] test questions::socks::tests::test_number_of_pairs_3 ... ok [INFO] [stdout] test questions::socks::tests::test_number_of_pairs_2 ... 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_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_usize ... ok [INFO] [stdout] test rust_book::closures_cacher::tests::test_generic_i32 ... 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::iterators::tests::calling_next_directly ... ok [INFO] [stdout] test rust_book::closures_cacher::tests::test_generic_hashmap_usize_string_slice ... ok [INFO] [stdout] test rust_book::collections_vec::tests::test_get_median_odd ... ok [INFO] [stdout] test rust_book::closures_cacher::tests::test_u32 ... 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_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 'assertion failed: `(left == right)` [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"]`', src/rust_book/collections_hashmap.rs:87:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x80d3d11 - std::backtrace_rs::backtrace::libunwind::trace::hd97f390175e4d375 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x80d3d11 - std::backtrace_rs::backtrace::trace_unsynchronized::h9e4d1346fdbe15c5 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x80d3d11 - std::sys_common::backtrace::_print_fmt::h2d3f477d48c20ea8 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/sys_common/backtrace.rs:65:5 [INFO] [stdout] 3: 0x80d3d11 - ::fmt::h2e4fc3d0b8c80e4b [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x81113ec - core::fmt::write::h4ab0d13aa1c0ffdf [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/fmt/mod.rs:1213:17 [INFO] [stdout] 5: 0x80d145b - std::io::Write::write_fmt::hc0e5cbe2e336a35c [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/io/mod.rs:1682:15 [INFO] [stdout] 6: 0x80d3b16 - std::sys_common::backtrace::_print::he83a0656b60804f4 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 7: 0x80d3b16 - std::sys_common::backtrace::print::he5889ca5768e8d1c [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 8: 0x80d56f5 - std::panicking::default_hook::{{closure}}::ha81712de98b54398 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:267:22 [INFO] [stdout] 9: 0x80d53f5 - std::panicking::default_hook::he5857a041ac6b670 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:283:9 [INFO] [stdout] 10: 0x80b352c - core::ops::function::Fn::call::h47ada2d4dc8687c6 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/ops/function.rs:79:5 [INFO] [stdout] 11: 0x80a9a39 - as core::ops::function::Fn>::call::h32210aeb8cc578f9 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/alloc/src/boxed.rs:2002:9 [INFO] [stdout] 12: 0x80a9a39 - test::test_main::{{closure}}::h8466694f5bd858c9 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/test/src/lib.rs:135:21 [INFO] [stdout] 13: 0x80d5e31 - as core::ops::function::Fn>::call::h5bc67f704e9605b2 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/alloc/src/boxed.rs:2002:9 [INFO] [stdout] 14: 0x80d5e31 - std::panicking::rust_panic_with_hook::h764b8fe75e8ba68c [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:692:13 [INFO] [stdout] 15: 0x80d5bec - std::panicking::begin_panic_handler::{{closure}}::h04438436866ada8a [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:579:13 [INFO] [stdout] 16: 0x80d418a - std::sys_common::backtrace::__rust_end_short_backtrace::hb43e7524728cf453 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/sys_common/backtrace.rs:137:18 [INFO] [stdout] 17: 0x80d58c3 - rust_begin_unwind [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:575:5 [INFO] [stdout] 18: 0x804c600 - core::panicking::panic_fmt::ha026792c47a5830b [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/panicking.rs:64:14 [INFO] [stdout] 19: 0x804c97b - core::panicking::assert_failed_inner::h1e9c902f12865031 [INFO] [stdout] 20: 0x8070e9d - core::panicking::assert_failed::h8c3dc54586e3b976 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/panicking.rs:212:5 [INFO] [stdout] 21: 0x807328d - hacker_code::rust_book::collections_hashmap::tests::test_get_consonant::hb77cbff23d6bb18e [INFO] [stdout] at /opt/rustwide/workdir/src/rust_book/collections_hashmap.rs:87:9 [INFO] [stdout] 22: 0x8072797 - hacker_code::rust_book::collections_hashmap::tests::test_get_consonant::{{closure}}::h16665467858d8e6c [INFO] [stdout] at /opt/rustwide/workdir/src/rust_book/collections_hashmap.rs:55:29 [INFO] [stdout] 23: 0x806479d - core::ops::function::FnOnce::call_once::hf752a168c4c4b3f7 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x80ae4ce - core::ops::function::FnOnce::call_once::h3969063a3b87f847 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x80ae4ce - test::__rust_begin_short_backtrace::h4b8703a824c9f4d1 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/test/src/lib.rs:656:18 [INFO] [stdout] 26: 0x8082220 - test::run_test::{{closure}}::he242fd19981fa5cd [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/test/src/lib.rs:647:30 [INFO] [stdout] 27: 0x8082220 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h706575526aa71778 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x80ad607 - as core::ops::function::FnOnce>::call_once::hafe155c229ed3840 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 29: 0x80ad607 - as core::ops::function::FnOnce<()>>::call_once::hccf8545804efeabc [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 30: 0x80ad607 - std::panicking::try::do_call::h14c088d0ccd71a85 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:483:40 [INFO] [stdout] 31: 0x80ad607 - std::panicking::try::h5bee4f0fb041d03c [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:447:19 [INFO] [stdout] 32: 0x80ad607 - std::panic::catch_unwind::hc4a3b19ca4039446 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panic.rs:140:14 [INFO] [stdout] 33: 0x80ad607 - test::run_test_in_process::h01c4cf5424b4aa16 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/test/src/lib.rs:679:27 [INFO] [stdout] 34: 0x80ad607 - test::run_test::run_test_inner::{{closure}}::h2b730e73e85dc07e [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/test/src/lib.rs:573:39 [INFO] [stdout] 35: 0x807c94a - test::run_test::run_test_inner::{{closure}}::h1e6de70351d982ef [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/test/src/lib.rs:600:37 [INFO] [stdout] 36: 0x807c94a - std::sys_common::backtrace::__rust_begin_short_backtrace::h11ed077933f178e3 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/sys_common/backtrace.rs:121:18 [INFO] [stdout] 37: 0x80822fb - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha60d98b360ed53c8 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/thread/mod.rs:558:17 [INFO] [stdout] 38: 0x80822fb - as core::ops::function::FnOnce<()>>::call_once::h5e10cae340573322 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 39: 0x80822fb - std::panicking::try::do_call::h47dd5d7a0750d636 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:483:40 [INFO] [stdout] 40: 0x80822fb - std::panicking::try::hcaac73f0ac4cf9b2 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:447:19 [INFO] [stdout] 41: 0x80822fb - std::panic::catch_unwind::h9fe9d263cb0da10f [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panic.rs:140:14 [INFO] [stdout] 42: 0x80822fb - std::thread::Builder::spawn_unchecked_::{{closure}}::h2c0f796f4234fbbe [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x80822fb - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd8a5d36b54e84e44 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x80d9d5d - as core::ops::function::FnOnce>::call_once::hbac986b07f477b52 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 45: 0x80d9d5d - as core::ops::function::FnOnce>::call_once::h5768035ad531add2 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 46: 0x80d9d5d - std::sys::unix::thread::Thread::new::thread_start::h48056988cddec68b [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/sys/unix/thread.rs:108:17 [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" "574d99ee578316320ee15b68ef0915a9d61b6902c6e5de2421d09d7526769c4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "574d99ee578316320ee15b68ef0915a9d61b6902c6e5de2421d09d7526769c4d", kill_on_drop: false }` [INFO] [stdout] 574d99ee578316320ee15b68ef0915a9d61b6902c6e5de2421d09d7526769c4d