[INFO] cloning repository https://github.com/sungwooHa/rust-algorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sungwooHa/rust-algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsungwooHa%2Frust-algorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsungwooHa%2Frust-algorithm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5e94b36c22b3faa38a57726b83003843734dbb8 [INFO] testing sungwooHa/rust-algorithm against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsungwooHa%2Frust-algorithm" "/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/sungwooHa/rust-algorithm on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sungwooHa/rust-algorithm [INFO] finished tweaking git repo https://github.com/sungwooHa/rust-algorithm [INFO] tweaked toml for git repo https://github.com/sungwooHa/rust-algorithm written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sungwooHa/rust-algorithm 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" "+414482f6a0d4e7290f614300581a0b55442552a3" "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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffd8c5affd957c3c0b507733af8818c6c9f5920252152a04abb30371fbd4c8cc [INFO] running `Command { std: "docker" "start" "-a" "ffd8c5affd957c3c0b507733af8818c6c9f5920252152a04abb30371fbd4c8cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffd8c5affd957c3c0b507733af8818c6c9f5920252152a04abb30371fbd4c8cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffd8c5affd957c3c0b507733af8818c6c9f5920252152a04abb30371fbd4c8cc", kill_on_drop: false }` [INFO] [stdout] ffd8c5affd957c3c0b507733af8818c6c9f5920252152a04abb30371fbd4c8cc [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf1f2f7dd3124fa1d64ef4b59ec6d7e3f2b6c634c3e1beb6631f526fb6a7b2c8 [INFO] running `Command { std: "docker" "start" "-a" "cf1f2f7dd3124fa1d64ef4b59ec6d7e3f2b6c634c3e1beb6631f526fb6a7b2c8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling rust-algorithm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/bronze/lv2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/bronze/lv4.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/sprout/inputNCalc.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/sprout/inputNCalc.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/sprout/inputNCalc.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/sprout/inputNCalc.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `age` [INFO] [stdout] --> src/gold/lv5.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let age: i64 = input.trim().parse().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_age` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `numb_stone` [INFO] [stdout] --> src/gold/lv5.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let numb_stone: i64 = input.trim().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numb_stone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/gold/lv5.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let k: i64 = iter.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `numbers` [INFO] [stdout] --> src/silver/lv4.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let numbers: Vec = (0..number) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numbers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sum` is never read [INFO] [stdout] --> src/silver/lv5.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut sum = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_common_era` [INFO] [stdout] --> src/sprout/output.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | let (is_common_era, year) = if in_days >= 719468 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_common_era` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `year` [INFO] [stdout] --> src/sprout/output.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | let (is_common_era, year) = if in_days >= 719468 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem23739` is never used [INFO] [stdout] --> src/bronze/lv1.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn problem23739() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem5364` is never used [INFO] [stdout] --> src/bronze/lv2.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn problem5364() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem25270` is never used [INFO] [stdout] --> src/bronze/lv3.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn problem25270() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2440` is never used [INFO] [stdout] --> src/bronze/lv4.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn problem2440() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem23795` is never used [INFO] [stdout] --> src/bronze/lv4.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn problem23795() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem15717` is never used [INFO] [stdout] --> src/gold/lv5.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn problem15717() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem9660` is never used [INFO] [stdout] --> src/gold/lv5.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn problem9660() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem22115` is never used [INFO] [stdout] --> src/gold/lv5.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn problem22115() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem11502` is never used [INFO] [stdout] --> src/silver/lv4.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn problem11502() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1015` is never used [INFO] [stdout] --> src/silver/lv4.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn problem1015() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2018` is never used [INFO] [stdout] --> src/silver/lv5.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn problem2018() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/array_problem.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/array_problem.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/array_problem.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/array_problem.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/func_problem.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/func_problem.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/inputNCalc.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/inputNCalc.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/inputNCalc.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/inputNCalc.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/inputNCalc.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/output.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/output.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problemByChrono` is never used [INFO] [stdout] --> src/sprout/output.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn problemByChrono() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_current_date` is never used [INFO] [stdout] --> src/sprout/output.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_current_date() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/output.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/output.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/output.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/string_problem.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `inputNCalc` should have a snake case name [INFO] [stdout] --> src/sprout.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod inputNCalc; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `input_ncalc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problemByChrono` should have a snake case name [INFO] [stdout] --> src/sprout/output.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn problemByChrono() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `problem_by_chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.23s [INFO] running `Command { std: "docker" "inspect" "cf1f2f7dd3124fa1d64ef4b59ec6d7e3f2b6c634c3e1beb6631f526fb6a7b2c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf1f2f7dd3124fa1d64ef4b59ec6d7e3f2b6c634c3e1beb6631f526fb6a7b2c8", kill_on_drop: false }` [INFO] [stdout] cf1f2f7dd3124fa1d64ef4b59ec6d7e3f2b6c634c3e1beb6631f526fb6a7b2c8 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 047640f7925947b56b0dd6d2bb0e653a48779d767a87b4efce51243c61f65d53 [INFO] running `Command { std: "docker" "start" "-a" "047640f7925947b56b0dd6d2bb0e653a48779d767a87b4efce51243c61f65d53", kill_on_drop: false }` [INFO] [stderr] Compiling rust-algorithm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/bronze/lv2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/bronze/lv4.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/sprout/inputNCalc.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/sprout/inputNCalc.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/sprout/inputNCalc.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/sprout/inputNCalc.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `age` [INFO] [stdout] --> src/gold/lv5.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let age: i64 = input.trim().parse().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_age` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `numb_stone` [INFO] [stdout] --> src/gold/lv5.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let numb_stone: i64 = input.trim().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numb_stone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/gold/lv5.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let k: i64 = iter.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `numbers` [INFO] [stdout] --> src/silver/lv4.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let numbers: Vec = (0..number) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numbers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sum` is never read [INFO] [stdout] --> src/silver/lv5.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut sum = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_common_era` [INFO] [stdout] --> src/sprout/output.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | let (is_common_era, year) = if in_days >= 719468 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_common_era` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `year` [INFO] [stdout] --> src/sprout/output.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | let (is_common_era, year) = if in_days >= 719468 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem23739` is never used [INFO] [stdout] --> src/bronze/lv1.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn problem23739() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem5364` is never used [INFO] [stdout] --> src/bronze/lv2.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn problem5364() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem25270` is never used [INFO] [stdout] --> src/bronze/lv3.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn problem25270() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2440` is never used [INFO] [stdout] --> src/bronze/lv4.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn problem2440() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem23795` is never used [INFO] [stdout] --> src/bronze/lv4.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn problem23795() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem15717` is never used [INFO] [stdout] --> src/gold/lv5.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn problem15717() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem9660` is never used [INFO] [stdout] --> src/gold/lv5.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn problem9660() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem22115` is never used [INFO] [stdout] --> src/gold/lv5.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn problem22115() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem11502` is never used [INFO] [stdout] --> src/silver/lv4.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn problem11502() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1015` is never used [INFO] [stdout] --> src/silver/lv4.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn problem1015() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2018` is never used [INFO] [stdout] --> src/silver/lv5.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn problem2018() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/array_problem.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/array_problem.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/array_problem.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/array_problem.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/func_problem.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/func_problem.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/inputNCalc.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/inputNCalc.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/inputNCalc.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/inputNCalc.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/inputNCalc.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/output.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/output.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problemByChrono` is never used [INFO] [stdout] --> src/sprout/output.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn problemByChrono() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_current_date` is never used [INFO] [stdout] --> src/sprout/output.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_current_date() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/output.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/output.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/output.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/string_problem.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `inputNCalc` should have a snake case name [INFO] [stdout] --> src/sprout.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod inputNCalc; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `input_ncalc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problemByChrono` should have a snake case name [INFO] [stdout] --> src/sprout/output.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn problemByChrono() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `problem_by_chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/bronze/lv2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/bronze/lv4.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/sprout/inputNCalc.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/sprout/inputNCalc.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/sprout/inputNCalc.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/sprout/inputNCalc.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `age` [INFO] [stdout] --> src/gold/lv5.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let age: i64 = input.trim().parse().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_age` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `numb_stone` [INFO] [stdout] --> src/gold/lv5.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let numb_stone: i64 = input.trim().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numb_stone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/gold/lv5.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let k: i64 = iter.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `numbers` [INFO] [stdout] --> src/silver/lv4.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let numbers: Vec = (0..number) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numbers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sum` is never read [INFO] [stdout] --> src/silver/lv5.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut sum = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_common_era` [INFO] [stdout] --> src/sprout/output.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | let (is_common_era, year) = if in_days >= 719468 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_common_era` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `year` [INFO] [stdout] --> src/sprout/output.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | let (is_common_era, year) = if in_days >= 719468 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem23739` is never used [INFO] [stdout] --> src/bronze/lv1.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn problem23739() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem5364` is never used [INFO] [stdout] --> src/bronze/lv2.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn problem5364() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem25270` is never used [INFO] [stdout] --> src/bronze/lv3.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn problem25270() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2440` is never used [INFO] [stdout] --> src/bronze/lv4.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn problem2440() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem23795` is never used [INFO] [stdout] --> src/bronze/lv4.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn problem23795() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem15717` is never used [INFO] [stdout] --> src/gold/lv5.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn problem15717() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem9660` is never used [INFO] [stdout] --> src/gold/lv5.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn problem9660() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem22115` is never used [INFO] [stdout] --> src/gold/lv5.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn problem22115() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem11502` is never used [INFO] [stdout] --> src/silver/lv4.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn problem11502() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem1015` is never used [INFO] [stdout] --> src/silver/lv4.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn problem1015() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem2018` is never used [INFO] [stdout] --> src/silver/lv5.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn problem2018() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/array_problem.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/array_problem.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/array_problem.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/func_problem.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/func_problem.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/inputNCalc.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/inputNCalc.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/inputNCalc.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/inputNCalc.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/inputNCalc.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/output.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/output.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problemByChrono` is never used [INFO] [stdout] --> src/sprout/output.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn problemByChrono() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_current_date` is never used [INFO] [stdout] --> src/sprout/output.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_current_date() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/output.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/output.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/output.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problem` is never used [INFO] [stdout] --> src/sprout/string_problem.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn problem() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `inputNCalc` should have a snake case name [INFO] [stdout] --> src/sprout.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod inputNCalc; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `input_ncalc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `problemByChrono` should have a snake case name [INFO] [stdout] --> src/sprout/output.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn problemByChrono() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `problem_by_chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "047640f7925947b56b0dd6d2bb0e653a48779d767a87b4efce51243c61f65d53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "047640f7925947b56b0dd6d2bb0e653a48779d767a87b4efce51243c61f65d53", kill_on_drop: false }` [INFO] [stdout] 047640f7925947b56b0dd6d2bb0e653a48779d767a87b4efce51243c61f65d53 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ffd43570c682f0af0edfd20e51b0c2afd264c605c3b0ca470289c2644689ff94 [INFO] running `Command { std: "docker" "start" "-a" "ffd43570c682f0af0edfd20e51b0c2afd264c605c3b0ca470289c2644689ff94", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::result` [INFO] [stderr] --> src/bronze/lv2.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::result; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: denote infinite loops with `loop { ... }` [INFO] [stderr] --> src/bronze/lv4.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | while true { [INFO] [stderr] | ^^^^^^^^^^ help: use `loop` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(while_true)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> src/sprout/inputNCalc.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> src/sprout/inputNCalc.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> src/sprout/inputNCalc.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> src/sprout/inputNCalc.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `age` [INFO] [stderr] --> src/gold/lv5.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | let age: i64 = input.trim().parse().unwrap(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_age` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `numb_stone` [INFO] [stderr] --> src/gold/lv5.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | let numb_stone: i64 = input.trim().parse().unwrap(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numb_stone` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `k` [INFO] [stderr] --> src/gold/lv5.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | let k: i64 = iter.next().unwrap().parse().unwrap(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `numbers` [INFO] [stderr] --> src/silver/lv4.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | let numbers: Vec = (0..number) [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numbers` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `sum` is never read [INFO] [stderr] --> src/silver/lv5.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | let mut sum = 0; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: unused variable: `is_common_era` [INFO] [stdout] running 1 test [INFO] [stderr] --> src/sprout/output.rs:29:14 [INFO] [stderr] | [INFO] [stderr] 29 | let (is_common_era, year) = if in_days >= 719468 { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_common_era` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `year` [INFO] [stderr] --> src/sprout/output.rs:29:29 [INFO] [stderr] | [INFO] [stderr] 29 | let (is_common_era, year) = if in_days >= 719468 { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_year` [INFO] [stderr] [INFO] [stderr] warning: function `problem23739` is never used [INFO] [stderr] --> src/bronze/lv1.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn problem23739() { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `problem5364` is never used [INFO] [stderr] --> src/bronze/lv2.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn problem5364() { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem25270` is never used [INFO] [stderr] --> src/bronze/lv3.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn problem25270() { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem2440` is never used [INFO] [stderr] --> src/bronze/lv4.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn problem2440() { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem23795` is never used [INFO] [stderr] --> src/bronze/lv4.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn problem23795() { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem15717` is never used [INFO] [stderr] --> src/gold/lv5.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn problem15717() { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem9660` is never used [INFO] [stderr] --> src/gold/lv5.rs:52:8 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn problem9660() { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem22115` is never used [INFO] [stderr] --> src/gold/lv5.rs:62:8 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn problem22115() { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem11502` is never used [INFO] [stderr] --> src/silver/lv4.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn problem11502() { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem1015` is never used [INFO] [stderr] --> src/silver/lv4.rs:62:8 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn problem1015() { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem2018` is never used [INFO] [stderr] --> src/silver/lv5.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn problem2018() { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem` is never used [INFO] [stderr] --> src/sprout/array_problem.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn problem() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem` is never used [INFO] [stderr] --> src/sprout/array_problem.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn problem() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem` is never used [INFO] [stderr] --> src/sprout/array_problem.rs:84:12 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn problem() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem` is never used [INFO] [stderr] --> src/sprout/array_problem.rs:106:12 [INFO] [stderr] | [INFO] [stderr] 106 | pub fn problem() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem` is never used [INFO] [stderr] --> src/sprout/func_problem.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn problem() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem` is never used [INFO] [stderr] --> src/sprout/func_problem.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn problem() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem` is never used [INFO] [stderr] --> src/sprout/inputNCalc.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | pub fn problem() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem` is never used [INFO] [stderr] --> src/sprout/inputNCalc.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn problem() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem` is never used [INFO] [stderr] --> src/sprout/inputNCalc.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn problem() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem` is never used [INFO] [stderr] --> src/sprout/inputNCalc.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn problem() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem` is never used [INFO] [stderr] --> src/sprout/inputNCalc.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn problem() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem` is never used [INFO] [stderr] --> src/sprout/output.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | pub fn problem() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem` is never used [INFO] [stderr] --> src/sprout/output.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn problem() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problemByChrono` is never used [INFO] [stderr] --> src/sprout/output.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn problemByChrono() { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_current_date` is never used [INFO] [stderr] --> src/sprout/output.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn get_current_date() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem` is never used [INFO] [stderr] --> src/sprout/output.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn problem() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem` is never used [INFO] [stderr] --> src/sprout/output.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn problem() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem` is never used [INFO] [stderr] --> src/sprout/output.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn problem() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `problem` is never used [INFO] [stderr] --> src/sprout/string_problem.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn problem() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: module `inputNCalc` should have a snake case name [INFO] [stderr] --> src/sprout.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub mod inputNCalc; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `input_ncalc` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `problemByChrono` should have a snake case name [INFO] [stderr] --> src/sprout/output.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn problemByChrono() { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `problem_by_chrono` [INFO] [stderr] [INFO] [stderr] warning: `rust-algorithm` (lib) generated 45 warnings (run `cargo fix --lib -p rust-algorithm` to apply 6 suggestions) [INFO] [stderr] warning: `rust-algorithm` (lib test) generated 44 warnings (44 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_algorithm-53f5be34adbb6a7c) [INFO] [stdout] test sprout::array_problem::problem10871::tests::test_problem ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- sprout::array_problem::problem10871::tests::test_problem stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'sprout::array_problem::problem10871::tests::test_problem' panicked at src/sprout/array_problem.rs:10:49: [INFO] [stdout] called `Option::unwrap()` on a `None` value [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5cfd313e5ff2 - std::backtrace_rs::backtrace::libunwind::trace::h2a54ddf40adf8cf8 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5cfd313e5ff2 - std::backtrace_rs::backtrace::trace_unsynchronized::h332dec2b3594a10b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5cfd313e5ff2 - std::sys::backtrace::_print_fmt::hcb3dee91dccac105 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5cfd313e5ff2 - ::fmt::h2f02338d4ae6d8b0 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5cfd31409d83 - core::fmt::rt::Argument::fmt::h8705d664b1839d6c [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5cfd31409d83 - core::fmt::write::h5e77c22335cabc7f [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/fmt/mod.rs:1446:25 [INFO] [stdout] 6: 0x5cfd313e29f3 - std::io::default_write_fmt::h5c16109ce8878b06 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5cfd313e29f3 - std::io::Write::write_fmt::h183cd11c08a12e04 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/io/mod.rs:1914:13 [INFO] [stdout] 8: 0x5cfd313e5e42 - std::sys::backtrace::BacktraceLock::print::hb22254026b13323e [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5cfd313e757c - std::panicking::default_hook::{{closure}}::h15ac4e3ee7801be5 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:300:22 [INFO] [stdout] 10: 0x5cfd313e73d2 - std::panicking::default_hook::h15db2a3343942a16 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5cfd313ae004 - as core::ops::function::Fn>::call::ha02114eecd5b8f69 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x5cfd313ae004 - test::test_main_with_exit_callback::{{closure}}::hfb76c9b760818eb2 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5cfd313e8073 - as core::ops::function::Fn>::call::h325134fa51136753 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1980:9 [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] 14: 0x5cfd313e8073 - std::panicking::rust_panic_with_hook::h67f3fa85499b6cf9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5cfd313e7cf6 - std::panicking::begin_panic_handler::{{closure}}::h40a30e994b26720e [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:699:13 [INFO] [stdout] 16: 0x5cfd313e64f9 - std::sys::backtrace::__rust_end_short_backtrace::hb5bcb2f6ea295c8b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x5cfd313e79bd - __rustc[bf3627c2b8b7eae9]::rust_begin_unwind [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5cfd314088c0 - core::panicking::panic_fmt::h20722ae9d0312a90 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5cfd3140894c - core::panicking::panic::h06c338e7a7a2afdf [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x5cfd31408839 - core::option::unwrap_failed::hd4b4cfc119ced727 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/option.rs:2040:5 [INFO] [stdout] 21: 0x5cfd31373b31 - core::option::Option::unwrap::h8d1045c4759131e5 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/option.rs:1003:21 [INFO] [stdout] 22: 0x5cfd31373b31 - rust_algorithm::sprout::array_problem::problem10871::problem::h35b1dfbff04f3942 [INFO] [stdout] at /opt/rustwide/workdir/src/sprout/array_problem.rs:10:37 [INFO] [stdout] 23: 0x5cfd313742b6 - rust_algorithm::sprout::array_problem::problem10871::tests::test_problem::hfc8262706bb5eda8 [INFO] [stdout] at /opt/rustwide/workdir/src/sprout/array_problem.rs:30:13 [INFO] [stdout] 24: 0x5cfd31374297 - rust_algorithm::sprout::array_problem::problem10871::tests::test_problem::{{closure}}::h68fcfac93f41d4ef [INFO] [stdout] at /opt/rustwide/workdir/src/sprout/array_problem.rs:29:26 [INFO] [stdout] 25: 0x5cfd31372576 - core::ops::function::FnOnce::call_once::h5c12644083371c54 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5cfd313b37bb - core::ops::function::FnOnce::call_once::h57f6f31c364c320b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x5cfd313b37bb - test::__rust_begin_short_backtrace::h517520f4c2bfc013 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:648:18 [INFO] [stdout] 28: 0x5cfd313b2a12 - test::run_test_in_process::{{closure}}::h0914ac5f2719bf90 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:671:60 [INFO] [stdout] 29: 0x5cfd313b2a12 - as core::ops::function::FnOnce<()>>::call_once::h6fe627a8560ee122 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x5cfd313b2a12 - std::panicking::try::do_call::h8e4a522b2d07b5d9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:589:40 [INFO] [stdout] 31: 0x5cfd313b2a12 - std::panicking::try::h254b443d279d1f8a [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:552:19 [INFO] [stdout] 32: 0x5cfd313b2a12 - std::panic::catch_unwind::he39107e495b94aed [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x5cfd313b2a12 - test::run_test_in_process::hb9053e7102e6de40 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:671:27 [INFO] [stdout] 34: 0x5cfd313b2a12 - test::run_test::{{closure}}::hed53f683e9967fc9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:592:43 [INFO] [stdout] 35: 0x5cfd31375e04 - test::run_test::{{closure}}::h1b1395a97621c24c [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:622:41 [INFO] [stdout] 36: 0x5cfd31375e04 - std::sys::backtrace::__rust_begin_short_backtrace::hd15d7342920b94e4 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 37: 0x5cfd3137982a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf7d3403d2a997ad4 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x5cfd3137982a - as core::ops::function::FnOnce<()>>::call_once::h804cb151403aed57 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x5cfd3137982a - std::panicking::try::do_call::h83a3328114f83651 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:589:40 [INFO] [stdout] 40: 0x5cfd3137982a - std::panicking::try::h5371451a86d476d0 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:552:19 [INFO] [stdout] 41: 0x5cfd3137982a - std::panic::catch_unwind::h2d1b89e7535ca74a [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x5cfd3137982a - std::thread::Builder::spawn_unchecked_::{{closure}}::h169c242c7f876b92 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x5cfd3137982a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4115e0f997976371 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x5cfd313e991b - as core::ops::function::FnOnce>::call_once::hbc3fa83432d7fd73 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 45: 0x5cfd313e991b - as core::ops::function::FnOnce>::call_once::heba5519d10f2c030 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 46: 0x5cfd313e991b - std::sys::pal::unix::thread::Thread::new::thread_start::h211a36f354245501 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 47: 0x78fdb5386aa4 - [INFO] [stdout] 48: 0x78fdb5413a34 - clone [INFO] [stdout] 49: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] sprout::array_problem::problem10871::tests::test_problem [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ffd43570c682f0af0edfd20e51b0c2afd264c605c3b0ca470289c2644689ff94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffd43570c682f0af0edfd20e51b0c2afd264c605c3b0ca470289c2644689ff94", kill_on_drop: false }` [INFO] [stdout] ffd43570c682f0af0edfd20e51b0c2afd264c605c3b0ca470289c2644689ff94