[INFO] cloning repository https://github.com/MaxiGott/advent_of_code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MaxiGott/advent_of_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxiGott%2Fadvent_of_code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxiGott%2Fadvent_of_code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d6f8c5f14508ab629ef5ae8165afe98c6d41e424 [INFO] building MaxiGott/advent_of_code against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxiGott%2Fadvent_of_code" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MaxiGott/advent_of_code on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MaxiGott/advent_of_code [INFO] finished tweaking git repo https://github.com/MaxiGott/advent_of_code [INFO] tweaked toml for git repo https://github.com/MaxiGott/advent_of_code written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MaxiGott/advent_of_code already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 104f7f64c80da261b19cad080b2ba3e36a09e95929707f0752bab67b24c09218 [INFO] running `Command { std: "docker" "start" "-a" "104f7f64c80da261b19cad080b2ba3e36a09e95929707f0752bab67b24c09218", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "104f7f64c80da261b19cad080b2ba3e36a09e95929707f0752bab67b24c09218", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "104f7f64c80da261b19cad080b2ba3e36a09e95929707f0752bab67b24c09218", kill_on_drop: false }` [INFO] [stdout] 104f7f64c80da261b19cad080b2ba3e36a09e95929707f0752bab67b24c09218 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b172743f5c9fa073874ea7e1518eb6910f263ceec562a0590d53e6a3fd91a9c [INFO] running `Command { std: "docker" "start" "-a" "6b172743f5c9fa073874ea7e1518eb6910f263ceec562a0590d53e6a3fd91a9c", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HashMap` and `VecDeque` [INFO] [stdout] --> src/challenges/day_8.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, VecDeque}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `points` is never read [INFO] [stdout] --> src/challenges/day_2.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let mut points = 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: value assigned to `points` is never read [INFO] [stdout] --> src/challenges/day_2.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut points = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/challenges/day_3.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut result = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_k` [INFO] [stdout] --> src/challenges/day_7.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | for (s_k, s_val) in sizes.clone(){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_s_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_k` [INFO] [stdout] --> src/challenges/day_7.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | for (s_k, s_val) in sizes.clone(){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_s_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/challenges/day_8.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | let mut below = get_below(idx, jdx, grid.clone()); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/challenges/day_8.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | let mut right = grid.clone()[idx][jdx +1..].to_vec(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Elf` is never constructed [INFO] [stdout] --> src/challenges/day_1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Elf { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/challenges/day_1.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Elf { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(id: usize, calories: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_results` is never used [INFO] [stdout] --> src/challenges/day_1.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn show_results(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decide_game` is never used [INFO] [stdout] --> src/challenges/day_2.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn decide_game(opp: &str, my: &str) -> i32{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decide_game_2` is never used [INFO] [stdout] --> src/challenges/day_2.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn decide_game_2(opp: &str, my: &str) -> i32{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_results` is never used [INFO] [stdout] --> src/challenges/day_2.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn show_results(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersection` is never used [INFO] [stdout] --> src/challenges/day_3.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn intersection(nums: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval_char` is never used [INFO] [stdout] --> src/challenges/day_3.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn eval_char(common_char: char) -> u32{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_results` is never used [INFO] [stdout] --> src/challenges/day_3.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn show_results(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_results` is never used [INFO] [stdout] --> src/challenges/day_4.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn show_results(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_regularly` is never used [INFO] [stdout] --> src/challenges/day_5.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn split_regularly(text: &str, idx: usize) -> Vec<&str>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/challenges/day_5.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn run(stacks: Vec>, rearrangement: Vec>, old: bool){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_results` is never used [INFO] [stdout] --> src/challenges/day_5.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn show_results(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_unique_elements` is never used [INFO] [stdout] --> src/challenges/day_6.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn has_unique_elements(iter: T) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_start` is never used [INFO] [stdout] --> src/challenges/day_6.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn find_start(str: &str) -> i32{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_results` is never used [INFO] [stdout] --> src/challenges/day_6.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn show_results(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_results` is never used [INFO] [stdout] --> src/challenges/day_7.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn show_results(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/challenges/day_5.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | let mut copy_string = text.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/challenges/day_5.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | if split.clone() != ""{ [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.59s [INFO] running `Command { std: "docker" "inspect" "6b172743f5c9fa073874ea7e1518eb6910f263ceec562a0590d53e6a3fd91a9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b172743f5c9fa073874ea7e1518eb6910f263ceec562a0590d53e6a3fd91a9c", kill_on_drop: false }` [INFO] [stdout] 6b172743f5c9fa073874ea7e1518eb6910f263ceec562a0590d53e6a3fd91a9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f4c063a516ef806137fe9fcc6d6c8810f93cba3e8645b28ef0183fe655dfc74 [INFO] running `Command { std: "docker" "start" "-a" "3f4c063a516ef806137fe9fcc6d6c8810f93cba3e8645b28ef0183fe655dfc74", kill_on_drop: false }` [INFO] [stderr] Compiling advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HashMap` and `VecDeque` [INFO] [stdout] --> src/challenges/day_8.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashMap, VecDeque}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `points` is never read [INFO] [stdout] --> src/challenges/day_2.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let mut points = 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: value assigned to `points` is never read [INFO] [stdout] --> src/challenges/day_2.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut points = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/challenges/day_3.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut result = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_k` [INFO] [stdout] --> src/challenges/day_7.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | for (s_k, s_val) in sizes.clone(){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_s_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s_k` [INFO] [stdout] --> src/challenges/day_7.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | for (s_k, s_val) in sizes.clone(){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_s_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/challenges/day_8.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | let mut below = get_below(idx, jdx, grid.clone()); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/challenges/day_8.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | let mut right = grid.clone()[idx][jdx +1..].to_vec(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Elf` is never constructed [INFO] [stdout] --> src/challenges/day_1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Elf { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/challenges/day_1.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Elf { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(id: usize, calories: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_results` is never used [INFO] [stdout] --> src/challenges/day_1.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn show_results(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decide_game` is never used [INFO] [stdout] --> src/challenges/day_2.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn decide_game(opp: &str, my: &str) -> i32{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decide_game_2` is never used [INFO] [stdout] --> src/challenges/day_2.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn decide_game_2(opp: &str, my: &str) -> i32{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_results` is never used [INFO] [stdout] --> src/challenges/day_2.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn show_results(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersection` is never used [INFO] [stdout] --> src/challenges/day_3.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn intersection(nums: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval_char` is never used [INFO] [stdout] --> src/challenges/day_3.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn eval_char(common_char: char) -> u32{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_results` is never used [INFO] [stdout] --> src/challenges/day_3.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn show_results(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_results` is never used [INFO] [stdout] --> src/challenges/day_4.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn show_results(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_regularly` is never used [INFO] [stdout] --> src/challenges/day_5.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn split_regularly(text: &str, idx: usize) -> Vec<&str>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/challenges/day_5.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn run(stacks: Vec>, rearrangement: Vec>, old: bool){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_results` is never used [INFO] [stdout] --> src/challenges/day_5.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn show_results(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_unique_elements` is never used [INFO] [stdout] --> src/challenges/day_6.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn has_unique_elements(iter: T) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_start` is never used [INFO] [stdout] --> src/challenges/day_6.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn find_start(str: &str) -> i32{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_results` is never used [INFO] [stdout] --> src/challenges/day_6.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn show_results(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_results` is never used [INFO] [stdout] --> src/challenges/day_7.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn show_results(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/challenges/day_5.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | let mut copy_string = text.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/challenges/day_5.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | if split.clone() != ""{ [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "3f4c063a516ef806137fe9fcc6d6c8810f93cba3e8645b28ef0183fe655dfc74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f4c063a516ef806137fe9fcc6d6c8810f93cba3e8645b28ef0183fe655dfc74", kill_on_drop: false }` [INFO] [stdout] 3f4c063a516ef806137fe9fcc6d6c8810f93cba3e8645b28ef0183fe655dfc74