[INFO] cloning repository https://github.com/goodwillcoding/rust-exercises [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/goodwillcoding/rust-exercises" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoodwillcoding%2Frust-exercises", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoodwillcoding%2Frust-exercises'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 202233db71f749b11d215b21682268c414167758 [INFO] checking goodwillcoding/rust-exercises against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoodwillcoding%2Frust-exercises" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/goodwillcoding/rust-exercises on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/goodwillcoding/rust-exercises [INFO] finished tweaking git repo https://github.com/goodwillcoding/rust-exercises [INFO] tweaked toml for git repo https://github.com/goodwillcoding/rust-exercises written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/goodwillcoding/rust-exercises already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c69f51ffad6a6e9f1ecd742afa8ffce026d4b6873d488f1568074153bc284aee [INFO] running `Command { std: "docker" "start" "-a" "c69f51ffad6a6e9f1ecd742afa8ffce026d4b6873d488f1568074153bc284aee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c69f51ffad6a6e9f1ecd742afa8ffce026d4b6873d488f1568074153bc284aee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c69f51ffad6a6e9f1ecd742afa8ffce026d4b6873d488f1568074153bc284aee", kill_on_drop: false }` [INFO] [stdout] c69f51ffad6a6e9f1ecd742afa8ffce026d4b6873d488f1568074153bc284aee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87563623e08dc3bec5ffd417e661c71c099a822753b3bafb85a6bf659e49eff6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "87563623e08dc3bec5ffd417e661c71c099a822753b3bafb85a6bf659e49eff6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling getrandom v0.1.10 [INFO] [stderr] Checking simple-error v0.2.0 [INFO] [stderr] Checking test_bin v0.2.0 [INFO] [stderr] Checking problem5 v0.1.0 (/opt/rustwide/workdir/problems/problem5) [INFO] [stderr] Checking problem2 v0.1.0 (/opt/rustwide/workdir/problems/problem2) [INFO] [stderr] Checking problem4 v0.1.0 (/opt/rustwide/workdir/problems/problem4) [INFO] [stderr] Checking problem1 v0.1.0 (/opt/rustwide/workdir/problems/problem1) [INFO] [stderr] Checking problem7 v0.1.0 (/opt/rustwide/workdir/problems/problem7) [INFO] [stderr] Checking exercises v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> problems/problem7/src/lib.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn singleton(x: i64) -> Set { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> problems/problem7/src/lib.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn contains(s: &Set, x: i64) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> problems/problem7/src/lib.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn union(s1: Set, s2: Set) -> Set { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> problems/problem7/src/lib.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn union(s1: Set, s2: Set) -> Set { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> problems/problem7/src/lib.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn intersect(s1: Set, s2: Set) -> Set { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> problems/problem7/src/lib.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn intersect(s1: Set, s2: Set) -> Set { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> problems/problem7/src/lib.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn diff(s1: Set, s2: Set) -> Set { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> problems/problem4/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> problems/problem7/src/lib.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn diff(s1: Set, s2: Set) -> Set { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> problems/problem7/src/lib.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn filter(s: Set, p: fn(i64) -> bool) -> Set { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> problems/problem7/src/lib.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn filter(s: Set, p: fn(i64) -> bool) -> Set { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> problems/problem7/src/lib.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn forall(s: Set, p: Box bool>) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> problems/problem7/src/lib.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn forall(s: Set, p: Box bool>) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> problems/problem7/src/lib.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn exists(s: Set, p: Box bool>) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> problems/problem7/src/lib.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn exists(s: Set, p: Box bool>) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> problems/problem7/src/lib.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn map(s: Set, f: fn(i64) -> i64) -> Set { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> problems/problem7/src/lib.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn map(s: Set, f: fn(i64) -> i64) -> Set { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elems` [INFO] [stdout] --> problems/problem4/src/lib.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn make_flower_box(elems: Vec<&str>) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_elems` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> problems/problem4/src/lib.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn format_line(s: &str, max_length: usize) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_length` [INFO] [stdout] --> problems/problem4/src/lib.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn format_line(s: &str, max_length: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> problems/problem4/src/lib.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn format_border(s: &str, length: usize) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> problems/problem4/src/lib.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn format_border(s: &str, length: usize) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elems` [INFO] [stdout] --> problems/problem4/src/lib.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_max_line_length(elems: &Vec<&str>) -> usize { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_elems` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> problems/problem4/src/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut flower_box = String::new(); [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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> problems/problem7/src/lib.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn singleton(x: i64) -> Set { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> problems/problem7/src/lib.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn contains(s: &Set, x: i64) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> problems/problem7/src/lib.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn union(s1: Set, s2: Set) -> Set { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> problems/problem7/src/lib.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn union(s1: Set, s2: Set) -> Set { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> problems/problem7/src/lib.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn intersect(s1: Set, s2: Set) -> Set { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> problems/problem7/src/lib.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn intersect(s1: Set, s2: Set) -> Set { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> problems/problem7/src/lib.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn diff(s1: Set, s2: Set) -> Set { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> problems/problem7/src/lib.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn diff(s1: Set, s2: Set) -> Set { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> problems/problem7/src/lib.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn filter(s: Set, p: fn(i64) -> bool) -> Set { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> problems/problem7/src/lib.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn filter(s: Set, p: fn(i64) -> bool) -> Set { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> problems/problem7/src/lib.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn forall(s: Set, p: Box bool>) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> problems/problem7/src/lib.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn forall(s: Set, p: Box bool>) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> problems/problem7/src/lib.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn exists(s: Set, p: Box bool>) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> problems/problem7/src/lib.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn exists(s: Set, p: Box bool>) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> problems/problem7/src/lib.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn map(s: Set, f: fn(i64) -> i64) -> Set { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> problems/problem7/src/lib.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn map(s: Set, f: fn(i64) -> i64) -> Set { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> problems/problem4/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> problems/problem5/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> problems/problem5/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elems` [INFO] [stdout] --> problems/problem4/src/lib.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn make_flower_box(elems: Vec<&str>) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_elems` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> problems/problem4/src/lib.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn format_line(s: &str, max_length: usize) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_length` [INFO] [stdout] --> problems/problem4/src/lib.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn format_line(s: &str, max_length: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> problems/problem4/src/lib.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn format_border(s: &str, length: usize) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> problems/problem4/src/lib.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn format_border(s: &str, length: usize) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elems` [INFO] [stdout] --> problems/problem4/src/lib.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_max_line_length(elems: &Vec<&str>) -> usize { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_elems` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> problems/problem4/src/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut flower_box = String::new(); [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> problems/problem5/src/lib.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new () -> Self {} [INFO] [stdout] | --- ^^^^ expected struct `Mortgage`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> problems/problem5/src/lib.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new () -> Self {} [INFO] [stdout] | --- ^^^^ expected struct `Mortgage`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `problem5` [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "87563623e08dc3bec5ffd417e661c71c099a822753b3bafb85a6bf659e49eff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87563623e08dc3bec5ffd417e661c71c099a822753b3bafb85a6bf659e49eff6", kill_on_drop: false }` [INFO] [stdout] 87563623e08dc3bec5ffd417e661c71c099a822753b3bafb85a6bf659e49eff6