[INFO] cloning repository https://github.com/Medsko/study-crate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Medsko/study-crate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMedsko%2Fstudy-crate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMedsko%2Fstudy-crate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0cc2263369144822efe27caeeda5c4d1ce201581 [INFO] testing Medsko/study-crate against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMedsko%2Fstudy-crate" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Medsko/study-crate on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Medsko/study-crate [INFO] finished tweaking git repo https://github.com/Medsko/study-crate [INFO] tweaked toml for git repo https://github.com/Medsko/study-crate written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Medsko/study-crate already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 482b14b40adfd0d7337ad76e99341338afe800a3c6a98e55b0c2d564f3b75407 [INFO] running `Command { std: "docker" "start" "-a" "482b14b40adfd0d7337ad76e99341338afe800a3c6a98e55b0c2d564f3b75407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "482b14b40adfd0d7337ad76e99341338afe800a3c6a98e55b0c2d564f3b75407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "482b14b40adfd0d7337ad76e99341338afe800a3c6a98e55b0c2d564f3b75407", kill_on_drop: false }` [INFO] [stdout] 482b14b40adfd0d7337ad76e99341338afe800a3c6a98e55b0c2d564f3b75407 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ceaacec4e6c4990bed7ffc8723fe5561850eb2fafb81a7e4c9e57989ddddcf0 [INFO] running `Command { std: "docker" "start" "-a" "5ceaacec4e6c4990bed7ffc8723fe5561850eb2fafb81a7e4c9e57989ddddcf0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling study-crate v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/lib.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | match counts.iter().max_by_key(|&(key, value)| value) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/collections/vectors.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | match counts.iter().max_by_key(|&(key, value)| value) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `exercise` [INFO] [stdout] --> src/collections/exercises.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn exercise() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `employee_registration` [INFO] [stdout] --> src/collections/exercises.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn employee_registration() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `remove_employee` [INFO] [stdout] --> src/collections/exercises.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn remove_employee(register: &mut HashMap>, other_words: &mut SplitWhitespace) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `extract_full_name` [INFO] [stdout] --> src/collections/exercises.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn extract_full_name(words: &mut SplitWhitespace, stop: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `register_employee` [INFO] [stdout] --> src/collections/exercises.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn register_employee(register: &mut HashMap>, other_words: &mut SplitWhitespace) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_register` [INFO] [stdout] --> src/collections/exercises.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn print_register(register: &HashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hash_it_up` [INFO] [stdout] --> src/collections/hashmaps.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn hash_it_up() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `string_stuff` [INFO] [stdout] --> src/collections/strings.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn string_stuff() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `got_game` [INFO] [stdout] --> src/collections/strings.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn got_game() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_pig_latin` [INFO] [stdout] --> src/collections/strings.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn to_pig_latin(kosher: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_vowel` [INFO] [stdout] --> src/collections/strings.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn is_vowel(maybe_vowel: &char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yet_another_string` [INFO] [stdout] --> src/prepackages/ownership.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let yet_another_string = "Hi".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_yet_another_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `immutable_pointer` [INFO] [stdout] --> src/prepackages/ownership.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let immutable_pointer = &yet_another_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_immutable_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `another_immutable_pointer` [INFO] [stdout] --> src/prepackages/ownership.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let another_immutable_pointer = &yet_another_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_another_immutable_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pointer` [INFO] [stdout] --> src/prepackages/ownership.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let pointer = &mut yet_another_string; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `splice_first_four_chars` [INFO] [stdout] --> src/prepackages/ownership.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let splice_first_four_chars = &s[0..4]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_splice_first_four_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `splice_first_four_chars_also` [INFO] [stdout] --> src/prepackages/ownership.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let splice_first_four_chars_also = &s[..4]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_splice_first_four_chars_also` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `splice_chars_from_fourth` [INFO] [stdout] --> src/prepackages/ownership.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let splice_chars_from_fourth = &s[4..]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_splice_chars_from_fourth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second_user` [INFO] [stdout] --> src/prepackages/structs.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let second_user = User { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `four` [INFO] [stdout] --> src/prepackages/enums/enums.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let four = IpAddrKind::V4; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_four` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hip` [INFO] [stdout] --> src/prepackages/enums/enums.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let hip = IpAddrKind::V6; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loopback` [INFO] [stdout] --> src/prepackages/enums/enums.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let loopback = IpAddr { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `concise_loopback` [INFO] [stdout] --> src/prepackages/enums/enums.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let concise_loopback = ConciseIpAddr::V6(String::from("::1")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_concise_loopback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/prepackages/enums/enums.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let home = ConciseIpAddr::V4(127, 0, 0, 1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_home` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/collections/vectors.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | match counts.iter().max_by_key(|&(key, value)| value) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums` [INFO] [stdout] --> src/fp/closures.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | |nums| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/fp/closures.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | |num| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/fp/closures.rs:59:45 [INFO] [stdout] | [INFO] [stdout] 59 | let mut expensive_result = Cacher::new(|num| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.93s [INFO] running `Command { std: "docker" "inspect" "5ceaacec4e6c4990bed7ffc8723fe5561850eb2fafb81a7e4c9e57989ddddcf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ceaacec4e6c4990bed7ffc8723fe5561850eb2fafb81a7e4c9e57989ddddcf0", kill_on_drop: false }` [INFO] [stdout] 5ceaacec4e6c4990bed7ffc8723fe5561850eb2fafb81a7e4c9e57989ddddcf0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40c766b186baf010b5637c95400f01a91abcd2c8229cd662d96e042b7c6bc842 [INFO] running `Command { std: "docker" "start" "-a" "40c766b186baf010b5637c95400f01a91abcd2c8229cd662d96e042b7c6bc842", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/lib.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | match counts.iter().max_by_key(|&(key, value)| value) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/collections/vectors.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | match counts.iter().max_by_key(|&(key, value)| value) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `exercise` [INFO] [stdout] --> src/collections/exercises.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn exercise() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `employee_registration` [INFO] [stdout] --> src/collections/exercises.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn employee_registration() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `remove_employee` [INFO] [stdout] --> src/collections/exercises.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn remove_employee(register: &mut HashMap>, other_words: &mut SplitWhitespace) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `extract_full_name` [INFO] [stdout] --> src/collections/exercises.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn extract_full_name(words: &mut SplitWhitespace, stop: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `register_employee` [INFO] [stdout] --> src/collections/exercises.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn register_employee(register: &mut HashMap>, other_words: &mut SplitWhitespace) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_register` [INFO] [stdout] --> src/collections/exercises.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn print_register(register: &HashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hash_it_up` [INFO] [stdout] --> src/collections/hashmaps.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn hash_it_up() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `string_stuff` [INFO] [stdout] --> src/collections/strings.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn string_stuff() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `got_game` [INFO] [stdout] --> src/collections/strings.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn got_game() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_pig_latin` [INFO] [stdout] --> src/collections/strings.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn to_pig_latin(kosher: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_vowel` [INFO] [stdout] --> src/collections/strings.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn is_vowel(maybe_vowel: &char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling study-crate v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yet_another_string` [INFO] [stdout] --> src/prepackages/ownership.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let yet_another_string = "Hi".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_yet_another_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `immutable_pointer` [INFO] [stdout] --> src/prepackages/ownership.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let immutable_pointer = &yet_another_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_immutable_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `another_immutable_pointer` [INFO] [stdout] --> src/prepackages/ownership.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let another_immutable_pointer = &yet_another_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_another_immutable_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pointer` [INFO] [stdout] --> src/prepackages/ownership.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let pointer = &mut yet_another_string; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `splice_first_four_chars` [INFO] [stdout] --> src/prepackages/ownership.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let splice_first_four_chars = &s[0..4]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_splice_first_four_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `splice_first_four_chars_also` [INFO] [stdout] --> src/prepackages/ownership.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let splice_first_four_chars_also = &s[..4]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_splice_first_four_chars_also` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `splice_chars_from_fourth` [INFO] [stdout] --> src/prepackages/ownership.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let splice_chars_from_fourth = &s[4..]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_splice_chars_from_fourth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second_user` [INFO] [stdout] --> src/prepackages/structs.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let second_user = User { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `four` [INFO] [stdout] --> src/prepackages/enums/enums.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let four = IpAddrKind::V4; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_four` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hip` [INFO] [stdout] --> src/prepackages/enums/enums.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let hip = IpAddrKind::V6; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loopback` [INFO] [stdout] --> src/prepackages/enums/enums.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let loopback = IpAddr { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `concise_loopback` [INFO] [stdout] --> src/prepackages/enums/enums.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let concise_loopback = ConciseIpAddr::V6(String::from("::1")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_concise_loopback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/prepackages/enums/enums.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let home = ConciseIpAddr::V4(127, 0, 0, 1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_home` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/collections/vectors.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | match counts.iter().max_by_key(|&(key, value)| value) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums` [INFO] [stdout] --> src/fp/closures.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | |nums| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/fp/closures.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | |num| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/fp/closures.rs:59:45 [INFO] [stdout] | [INFO] [stdout] 59 | let mut expensive_result = Cacher::new(|num| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemTimeError` [INFO] [stdout] --> src/fp/closures.rs:79:33 [INFO] [stdout] | [INFO] [stdout] 79 | use std::time::{SystemTime, SystemTimeError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/lib.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | match counts.iter().max_by_key(|&(key, value)| value) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/collections/vectors.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | match counts.iter().max_by_key(|&(key, value)| value) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `exercise` [INFO] [stdout] --> src/collections/exercises.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn exercise() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `employee_registration` [INFO] [stdout] --> src/collections/exercises.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn employee_registration() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `remove_employee` [INFO] [stdout] --> src/collections/exercises.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn remove_employee(register: &mut HashMap>, other_words: &mut SplitWhitespace) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `extract_full_name` [INFO] [stdout] --> src/collections/exercises.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn extract_full_name(words: &mut SplitWhitespace, stop: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `register_employee` [INFO] [stdout] --> src/collections/exercises.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn register_employee(register: &mut HashMap>, other_words: &mut SplitWhitespace) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_register` [INFO] [stdout] --> src/collections/exercises.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn print_register(register: &HashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hash_it_up` [INFO] [stdout] --> src/collections/hashmaps.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn hash_it_up() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `string_stuff` [INFO] [stdout] --> src/collections/strings.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn string_stuff() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `got_game` [INFO] [stdout] --> src/collections/strings.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn got_game() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yet_another_string` [INFO] [stdout] --> src/prepackages/ownership.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let yet_another_string = "Hi".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_yet_another_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `immutable_pointer` [INFO] [stdout] --> src/prepackages/ownership.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let immutable_pointer = &yet_another_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_immutable_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `another_immutable_pointer` [INFO] [stdout] --> src/prepackages/ownership.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let another_immutable_pointer = &yet_another_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_another_immutable_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pointer` [INFO] [stdout] --> src/prepackages/ownership.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let pointer = &mut yet_another_string; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `splice_first_four_chars` [INFO] [stdout] --> src/prepackages/ownership.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let splice_first_four_chars = &s[0..4]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_splice_first_four_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `splice_first_four_chars_also` [INFO] [stdout] --> src/prepackages/ownership.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let splice_first_four_chars_also = &s[..4]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_splice_first_four_chars_also` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `splice_chars_from_fourth` [INFO] [stdout] --> src/prepackages/ownership.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let splice_chars_from_fourth = &s[4..]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_splice_chars_from_fourth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second_user` [INFO] [stdout] --> src/prepackages/structs.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let second_user = User { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `four` [INFO] [stdout] --> src/prepackages/enums/enums.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let four = IpAddrKind::V4; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_four` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hip` [INFO] [stdout] --> src/prepackages/enums/enums.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let hip = IpAddrKind::V6; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loopback` [INFO] [stdout] --> src/prepackages/enums/enums.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let loopback = IpAddr { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `concise_loopback` [INFO] [stdout] --> src/prepackages/enums/enums.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let concise_loopback = ConciseIpAddr::V6(String::from("::1")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_concise_loopback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/prepackages/enums/enums.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let home = ConciseIpAddr::V4(127, 0, 0, 1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_home` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/collections/vectors.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | match counts.iter().max_by_key(|&(key, value)| value) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums` [INFO] [stdout] --> src/fp/closures.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | |nums| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/fp/closures.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | |num| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/fp/closures.rs:59:45 [INFO] [stdout] | [INFO] [stdout] 59 | let mut expensive_result = Cacher::new(|num| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v1` [INFO] [stdout] --> src/fp/closures.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let v1 = c.value(1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.74s [INFO] running `Command { std: "docker" "inspect" "40c766b186baf010b5637c95400f01a91abcd2c8229cd662d96e042b7c6bc842", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40c766b186baf010b5637c95400f01a91abcd2c8229cd662d96e042b7c6bc842", kill_on_drop: false }` [INFO] [stdout] 40c766b186baf010b5637c95400f01a91abcd2c8229cd662d96e042b7c6bc842 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2f412c306f7cfebe994853175222e1f53ce96a2b66461438044ac2dee27f68e0 [INFO] running `Command { std: "docker" "start" "-a" "2f412c306f7cfebe994853175222e1f53ce96a2b66461438044ac2dee27f68e0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/lib.rs:23:39 [INFO] [stderr] | [INFO] [stderr] 23 | match counts.iter().max_by_key(|&(key, value)| value) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/collections/vectors.rs:35:39 [INFO] [stderr] | [INFO] [stderr] 35 | match counts.iter().max_by_key(|&(key, value)| value) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `exercise` [INFO] [stderr] --> src/collections/exercises.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn exercise() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `employee_registration` [INFO] [stderr] --> src/collections/exercises.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn employee_registration() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `remove_employee` [INFO] [stderr] --> src/collections/exercises.rs:70:4 [INFO] [stderr] | [INFO] [stderr] 70 | fn remove_employee(register: &mut HashMap>, other_words: &mut SplitWhitespace) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `extract_full_name` [INFO] [stderr] --> src/collections/exercises.rs:90:4 [INFO] [stderr] | [INFO] [stderr] 90 | fn extract_full_name(words: &mut SplitWhitespace, stop: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `register_employee` [INFO] [stderr] --> src/collections/exercises.rs:108:4 [INFO] [stderr] | [INFO] [stderr] 108 | fn register_employee(register: &mut HashMap>, other_words: &mut SplitWhitespace) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `print_register` [INFO] [stderr] --> src/collections/exercises.rs:119:4 [INFO] [stderr] | [INFO] [stderr] 119 | fn print_register(register: &HashMap>) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `hash_it_up` [INFO] [stderr] --> src/collections/hashmaps.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn hash_it_up() { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `string_stuff` [INFO] [stderr] --> src/collections/strings.rs:2:8 [INFO] [stderr] | [INFO] [stderr] 2 | pub fn string_stuff() { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `got_game` [INFO] [stderr] --> src/collections/strings.rs:22:4 [INFO] [stderr] | [INFO] [stderr] 22 | fn got_game() -> String { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `to_pig_latin` [INFO] [stderr] --> src/collections/strings.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn to_pig_latin(kosher: &String) -> String { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `is_vowel` [INFO] [stderr] --> src/collections/strings.rs:53:4 [INFO] [stderr] | [INFO] [stderr] 53 | fn is_vowel(maybe_vowel: &char) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `study-crate` (lib) generated 13 warnings [INFO] [stderr] warning: `study-crate` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] warning: unused variable: `yet_another_string` [INFO] [stderr] --> src/prepackages/ownership.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | let yet_another_string = "Hi".to_string(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_yet_another_string` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `immutable_pointer` [INFO] [stderr] --> src/prepackages/ownership.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | let immutable_pointer = &yet_another_string; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_immutable_pointer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `another_immutable_pointer` [INFO] [stderr] --> src/prepackages/ownership.rs:76:9 [INFO] [stderr] | [INFO] [stderr] 76 | let another_immutable_pointer = &yet_another_string; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_another_immutable_pointer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pointer` [INFO] [stderr] --> src/prepackages/ownership.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | let pointer = &mut yet_another_string; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `splice_first_four_chars` [INFO] [stderr] --> src/prepackages/ownership.rs:111:9 [INFO] [stderr] | [INFO] [stderr] 111 | let splice_first_four_chars = &s[0..4]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_splice_first_four_chars` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `splice_first_four_chars_also` [INFO] [stderr] --> src/prepackages/ownership.rs:112:9 [INFO] [stderr] | [INFO] [stderr] 112 | let splice_first_four_chars_also = &s[..4]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_splice_first_four_chars_also` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `splice_chars_from_fourth` [INFO] [stderr] --> src/prepackages/ownership.rs:114:9 [INFO] [stderr] | [INFO] [stderr] 114 | let splice_chars_from_fourth = &s[4..]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_splice_chars_from_fourth` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `second_user` [INFO] [stderr] --> src/prepackages/structs.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | let second_user = User { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_user` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `four` [INFO] [stderr] --> src/prepackages/enums/enums.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | let four = IpAddrKind::V4; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_four` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hip` [INFO] [stderr] --> src/prepackages/enums/enums.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | let hip = IpAddrKind::V6; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_hip` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `loopback` [INFO] [stderr] --> src/prepackages/enums/enums.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | let loopback = IpAddr { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loopback` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `concise_loopback` [INFO] [stderr] --> src/prepackages/enums/enums.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | let concise_loopback = ConciseIpAddr::V6(String::from("::1")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_concise_loopback` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `home` [INFO] [stderr] --> src/prepackages/enums/enums.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | let home = ConciseIpAddr::V4(127, 0, 0, 1); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_home` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `nums` [INFO] [stderr] --> src/fp/closures.rs:52:10 [INFO] [stderr] | [INFO] [stderr] 52 | |nums| { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num` [INFO] [stderr] --> src/fp/closures.rs:49:6 [INFO] [stderr] | [INFO] [stderr] 49 | |num| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num` [INFO] [stderr] --> src/fp/closures.rs:59:45 [INFO] [stderr] | [INFO] [stderr] 59 | let mut expensive_result = Cacher::new(|num| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stderr] [INFO] [stderr] warning: unused import: `SystemTimeError` [INFO] [stderr] --> src/fp/closures.rs:79:33 [INFO] [stderr] | [INFO] [stderr] 79 | use std::time::{SystemTime, SystemTimeError}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v1` [INFO] [stderr] --> src/fp/closures.rs:118:13 [INFO] [stderr] | [INFO] [stderr] 118 | let v1 = c.value(1); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_v1` [INFO] [stderr] [INFO] [stderr] warning: `study-crate` (bin "study-crate") generated 17 warnings (1 duplicate) [INFO] [stderr] warning: `study-crate` (bin "study-crate" test) generated 19 warnings (17 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.14s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/study_crate-dfce322068585085) [INFO] [stdout] running 4 tests [INFO] [stdout] test collections::strings::tests::to_pig_latin_identifies_pseudo_vowel ... ok [INFO] [stdout] test collections::strings::tests::to_pig_latin_identifies_vowel ... ok [INFO] [stdout] test tests::find_mode_chars ... ok [INFO] [stdout] test collections::strings::tests::to_pig_latin_identifies_consonant ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/study_crate-acb7c5d204a34fbd) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test collections::strings::tests::to_pig_latin_identifies_consonant ... ok [INFO] [stdout] test fp::closures::tests::call_with_different_values ... ok [INFO] [stdout] test fp::closures::tests::move_value_closure ... ok [INFO] [stdout] test collections::strings::tests::to_pig_latin_identifies_vowel ... ok [INFO] [stdout] test collections::strings::tests::to_pig_latin_identifies_pseudo_vowel ... ok [INFO] [stdout] test generics::functions::tests::test_find_largest ... ok [INFO] [stdout] test prepackages::ownership::tests::slice_first_word_returns_entire_word ... ok [INFO] [stdout] test prepackages::ownership::tests::slice_first_word_returns_first ... ok [INFO] [stdout] test exceptions::tests::test_succinct_read ... FAILED [INFO] [stdout] test prepackages::gg::tests::panics_on_greater_than_100 - should panic ... ok [INFO] [stdout] test exceptions::tests::test_read_username_from_file ... FAILED [INFO] [stdout] test prepackages::gg::tests::panics_on_smaller_than_1 - should panic ... ok [INFO] [stderr] error: test failed, to rerun pass '--bin study-crate' [INFO] [stdout] test fp::closures::tests::returns_cached_value ... ok [INFO] [stdout] test fp::closures::tests::insanity_is_accepted ... ok [INFO] [stdout] test fp::closures::tests::simulated_expensive_calculation_closure ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- exceptions::tests::test_succinct_read stdout ---- [INFO] [stdout] thread 'exceptions::tests::test_succinct_read' panicked at 'assertion failed: result.is_ok()', src/exceptions.rs:85:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x556ccebcf650 - std::backtrace_rs::backtrace::libunwind::trace::h99dbb39dca18857d [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x556ccebcf650 - std::backtrace_rs::backtrace::trace_unsynchronized::h832861927e9cfedf [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x556ccebcf650 - std::sys_common::backtrace::_print_fmt::h3d18154c77dcf310 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x556ccebcf650 - ::fmt::he312f4ad5b9bb346 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x556ccebf1eec - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x556ccebcc4e5 - std::io::Write::write_fmt::h65d36b96410d80d7 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x556ccebd17cb - std::sys_common::backtrace::_print::h65d996766de40da4 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x556ccebd17cb - std::sys_common::backtrace::print::h40df9727e635f303 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x556ccebd17cb - std::panicking::default_hook::{{closure}}::hd2da4327dea91a51 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x556ccebd12dc - std::panicking::default_hook::h3d55120ad6ada158 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x556ccebd1e94 - std::panicking::rust_panic_with_hook::hf85dd0bb545e3b55 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x556ccebd1947 - std::panicking::begin_panic_handler::{{closure}}::h736ae969434da9fa [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:517:13 [INFO] [stdout] 12: 0x556ccebcfb2c - std::sys_common::backtrace::__rust_end_short_backtrace::h6133bb80b1d6c3e0 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x556ccebd18d9 - rust_begin_unwind [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x556cceb693b1 - core::panicking::panic_fmt::hcf5f6d96e1dd7099 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x556cceb692fd - core::panicking::panic::hd695e3b1d0dd4ef4 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/panicking.rs:50:5 [INFO] [stdout] 16: 0x556cceb7d044 - study_crate::exceptions::tests::test_succinct_read::hd0a51184955560a9 [INFO] [stdout] at /opt/rustwide/workdir/src/exceptions.rs:85:9 [INFO] [stdout] 17: 0x556cceb7cf6a - study_crate::exceptions::tests::test_succinct_read::{{closure}}::h8e8ea2942010b1f2 [INFO] [stdout] at /opt/rustwide/workdir/src/exceptions.rs:83:5 [INFO] [stdout] 18: 0x556cceb76f7e - core::ops::function::FnOnce::call_once::h34f9226bc9c86136 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x556ccebb0303 - core::ops::function::FnOnce::call_once::h227fa683a5745bd3 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x556ccebb0303 - test::__rust_begin_short_backtrace::h3a193bd570ada00a [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:578:5 [INFO] [stdout] 21: 0x556ccebaed78 - as core::ops::function::FnOnce>::call_once::h262d2f411717179a [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 22: 0x556ccebaed78 - as core::ops::function::FnOnce<()>>::call_once::hfec00caec3e52a7b [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panic.rs:347:9 [INFO] [stdout] 23: 0x556ccebaed78 - std::panicking::try::do_call::ha5f42e76ffda569d [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:401:40 [INFO] [stdout] 24: 0x556ccebaed78 - std::panicking::try::h53f36df0935b9500 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:365:19 [INFO] [stdout] 25: 0x556ccebaed78 - std::panic::catch_unwind::h5a497f74b0ce006f [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panic.rs:434:14 [INFO] [stdout] 26: 0x556ccebaed78 - test::run_test_in_process::hab0aead337f48a88 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:601:18 [INFO] [stdout] 27: 0x556ccebaed78 - test::run_test::run_test_inner::{{closure}}::h632c383164d4cba2 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:493:39 [INFO] [stdout] 28: 0x556cceb7d4fd - test::run_test::run_test_inner::{{closure}}::h7c4b3612891a4b58 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:520:37 [INFO] [stdout] 29: 0x556cceb7d4fd - std::sys_common::backtrace::__rust_begin_short_backtrace::habf7d8a08419d00e [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 30: 0x556cceb81c28 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h3acba502e2068204 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 31: 0x556cceb81c28 - as core::ops::function::FnOnce<()>>::call_once::h526ef819c1964a35 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panic.rs:347:9 [INFO] [stdout] 32: 0x556cceb81c28 - std::panicking::try::do_call::hc0b5663d6373cec8 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:401:40 [INFO] [stdout] 33: 0x556cceb81c28 - std::panicking::try::ha9007ede9d35dcd6 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:365:19 [INFO] [stdout] 34: 0x556cceb81c28 - std::panic::catch_unwind::hf60d56329ebbb81c [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panic.rs:434:14 [INFO] [stdout] 35: 0x556cceb81c28 - std::thread::Builder::spawn_unchecked::{{closure}}::hb1722d498f4ce777 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 36: 0x556cceb81c28 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h15eb01325730c962 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 37: 0x556ccebd6a57 - as core::ops::function::FnOnce>::call_once::h09f167e08fc945ff [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 38: 0x556ccebd6a57 - as core::ops::function::FnOnce>::call_once::hf814fe85eeb118e0 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 39: 0x556ccebd6a57 - std::sys::unix::thread::Thread::new::thread_start::hb71b17934c5f5e68 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys/unix/thread.rs:91:17 [INFO] [stdout] 40: 0x7f4e75ac2609 - start_thread [INFO] [stdout] 41: 0x7f4e75d4d293 - clone [INFO] [stdout] 42: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- exceptions::tests::test_read_username_from_file stdout ---- [INFO] [stdout] thread 'exceptions::tests::test_read_username_from_file' panicked at 'assertion failed: result.is_ok()', src/exceptions.rs:78:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x556ccebcf650 - std::backtrace_rs::backtrace::libunwind::trace::h99dbb39dca18857d [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x556ccebcf650 - std::backtrace_rs::backtrace::trace_unsynchronized::h832861927e9cfedf [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x556ccebcf650 - std::sys_common::backtrace::_print_fmt::h3d18154c77dcf310 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x556ccebcf650 - ::fmt::he312f4ad5b9bb346 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x556ccebf1eec - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x556ccebcc4e5 - std::io::Write::write_fmt::h65d36b96410d80d7 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x556ccebd17cb - std::sys_common::backtrace::_print::h65d996766de40da4 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x556ccebd17cb - std::sys_common::backtrace::print::h40df9727e635f303 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x556ccebd17cb - std::panicking::default_hook::{{closure}}::hd2da4327dea91a51 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x556ccebd12dc - std::panicking::default_hook::h3d55120ad6ada158 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x556ccebd1e94 - std::panicking::rust_panic_with_hook::hf85dd0bb545e3b55 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x556ccebd1947 - std::panicking::begin_panic_handler::{{closure}}::h736ae969434da9fa [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:517:13 [INFO] [stdout] 12: 0x556ccebcfb2c - std::sys_common::backtrace::__rust_end_short_backtrace::h6133bb80b1d6c3e0 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x556ccebd18d9 - rust_begin_unwind [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x556cceb693b1 - core::panicking::panic_fmt::hcf5f6d96e1dd7099 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x556cceb692fd - core::panicking::panic::hd695e3b1d0dd4ef4 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/panicking.rs:50:5 [INFO] [stdout] 16: 0x556cceb7ce74 - study_crate::exceptions::tests::test_read_username_from_file::h7bd6e1d77dfb04a9 [INFO] [stdout] at /opt/rustwide/workdir/src/exceptions.rs:78:9 [INFO] [stdout] 17: 0x556cceb7cd9a - study_crate::exceptions::tests::test_read_username_from_file::{{closure}}::h46a40df4b20967ec [INFO] [stdout] at /opt/rustwide/workdir/src/exceptions.rs:76:5 [INFO] [stdout] 18: 0x556cceb76fbe - core::ops::function::FnOnce::call_once::h3b841c3ca6b9c660 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x556ccebb0303 - core::ops::function::FnOnce::call_once::h227fa683a5745bd3 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x556ccebb0303 - test::__rust_begin_short_backtrace::h3a193bd570ada00a [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:578:5 [INFO] [stdout] 21: 0x556ccebaed78 - as core::ops::function::FnOnce>::call_once::h262d2f411717179a [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 22: 0x556ccebaed78 - as core::ops::function::FnOnce<()>>::call_once::hfec00caec3e52a7b [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panic.rs:347:9 [INFO] [stdout] 23: 0x556ccebaed78 - std::panicking::try::do_call::ha5f42e76ffda569d [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:401:40 [INFO] [stdout] 24: 0x556ccebaed78 - std::panicking::try::h53f36df0935b9500 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:365:19 [INFO] [stdout] 25: 0x556ccebaed78 - std::panic::catch_unwind::h5a497f74b0ce006f [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panic.rs:434:14 [INFO] [stdout] 26: 0x556ccebaed78 - test::run_test_in_process::hab0aead337f48a88 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:601:18 [INFO] [stdout] 27: 0x556ccebaed78 - test::run_test::run_test_inner::{{closure}}::h632c383164d4cba2 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:493:39 [INFO] [stdout] 28: 0x556cceb7d4fd - test::run_test::run_test_inner::{{closure}}::h7c4b3612891a4b58 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/test/src/lib.rs:520:37 [INFO] [stdout] 29: 0x556cceb7d4fd - std::sys_common::backtrace::__rust_begin_short_backtrace::habf7d8a08419d00e [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 30: 0x556cceb81c28 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h3acba502e2068204 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 31: 0x556cceb81c28 - as core::ops::function::FnOnce<()>>::call_once::h526ef819c1964a35 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panic.rs:347:9 [INFO] [stdout] 32: 0x556cceb81c28 - std::panicking::try::do_call::hc0b5663d6373cec8 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:401:40 [INFO] [stdout] 33: 0x556cceb81c28 - std::panicking::try::ha9007ede9d35dcd6 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panicking.rs:365:19 [INFO] [stdout] 34: 0x556cceb81c28 - std::panic::catch_unwind::hf60d56329ebbb81c [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/panic.rs:434:14 [INFO] [stdout] 35: 0x556cceb81c28 - std::thread::Builder::spawn_unchecked::{{closure}}::hb1722d498f4ce777 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 36: 0x556cceb81c28 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h15eb01325730c962 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 37: 0x556ccebd6a57 - as core::ops::function::FnOnce>::call_once::h09f167e08fc945ff [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 38: 0x556ccebd6a57 - as core::ops::function::FnOnce>::call_once::hf814fe85eeb118e0 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 39: 0x556ccebd6a57 - std::sys::unix::thread::Thread::new::thread_start::hb71b17934c5f5e68 [INFO] [stdout] at /rustc/b70888601af92f6cdc0364abab3446e418b91d36/library/std/src/sys/unix/thread.rs:91:17 [INFO] [stdout] 40: 0x7f4e75ac2609 - start_thread [INFO] [stdout] 41: 0x7f4e75d4d293 - clone [INFO] [stdout] 42: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] exceptions::tests::test_read_username_from_file [INFO] [stdout] exceptions::tests::test_succinct_read [INFO] [stdout] [INFO] [stdout] test result: FAILED. 13 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2f412c306f7cfebe994853175222e1f53ce96a2b66461438044ac2dee27f68e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f412c306f7cfebe994853175222e1f53ce96a2b66461438044ac2dee27f68e0", kill_on_drop: false }` [INFO] [stdout] 2f412c306f7cfebe994853175222e1f53ce96a2b66461438044ac2dee27f68e0