[INFO] cloning repository https://github.com/FrenzyExists/codingbat-rust-solutions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FrenzyExists/codingbat-rust-solutions" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrenzyExists%2Fcodingbat-rust-solutions", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrenzyExists%2Fcodingbat-rust-solutions'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 35ddf9bc2b5f9e9b5e29376919985bef50c34d3a [INFO] testing FrenzyExists/codingbat-rust-solutions against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrenzyExists%2Fcodingbat-rust-solutions" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FrenzyExists/codingbat-rust-solutions on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FrenzyExists/codingbat-rust-solutions [INFO] finished tweaking git repo https://github.com/FrenzyExists/codingbat-rust-solutions [INFO] tweaked toml for git repo https://github.com/FrenzyExists/codingbat-rust-solutions written to /workspace/builds/worker-29/source/Cargo.toml [INFO] crate git repo https://github.com/FrenzyExists/codingbat-rust-solutions already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 065973dd128dda41b7aceb4e3d9ca30200d77d6cc4d00e524a52f7b27a501a68 [INFO] running `Command { std: "docker" "start" "-a" "065973dd128dda41b7aceb4e3d9ca30200d77d6cc4d00e524a52f7b27a501a68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "065973dd128dda41b7aceb4e3d9ca30200d77d6cc4d00e524a52f7b27a501a68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "065973dd128dda41b7aceb4e3d9ca30200d77d6cc4d00e524a52f7b27a501a68", kill_on_drop: false }` [INFO] [stdout] 065973dd128dda41b7aceb4e3d9ca30200d77d6cc4d00e524a52f7b27a501a68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9cc9ef28852defc1985cac1e2259ea5b083a4dc21732ac148d2099640d7acff [INFO] running `Command { std: "docker" "start" "-a" "c9cc9ef28852defc1985cac1e2259ea5b083a4dc21732ac148d2099640d7acff", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling argh_shared v0.1.6 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling argh_derive v0.1.6 [INFO] [stderr] Compiling argh v0.1.6 [INFO] [stderr] Compiling codingbat-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/warmup1.rs:390:20 [INFO] [stdout] | [INFO] [stdout] 390 | pub fn back_around(string: &str) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/warmup1.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | pub fn close_10(n: i32) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/warmup1.rs:425:16 [INFO] [stdout] | [INFO] [stdout] 425 | pub fn del_del(string: &str) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/warmup1.rs:472:17 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn has_teen(a: i32, b: i32, c: i32) -> bool {return false;} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/warmup1.rs:472:25 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn has_teen(a: i32, b: i32, c: i32) -> bool {return false;} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/warmup1.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn has_teen(a: i32, b: i32, c: i32) -> bool {return false;} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/warmup1.rs:486:16 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn icy_hot(a: i32, b: i32) -> bool {return false;} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/warmup1.rs:486:24 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn icy_hot(a: i32, b: i32) -> bool {return false;} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/warmup1.rs:500:16 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn in_1020(a: i32, b: i32) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/warmup1.rs:500:24 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn in_1020(a: i32, b: i32) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/warmup1.rs:517:16 [INFO] [stdout] | [INFO] [stdout] 517 | pub fn in_3050(a: i32, b:i32) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/warmup1.rs:517:24 [INFO] [stdout] | [INFO] [stdout] 517 | pub fn in_3050(a: i32, b:i32) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/warmup1.rs:532:16 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn int_max(a: i32, b: i32, c: i32) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/warmup1.rs:532:24 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn int_max(a: i32, b: i32, c: i32) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/warmup1.rs:532:32 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn int_max(a: i32, b: i32, c: i32) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/warmup1.rs:550:14 [INFO] [stdout] | [INFO] [stdout] 550 | pub fn or_35(n: i32) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/warmup1.rs:597:17 [INFO] [stdout] | [INFO] [stdout] 597 | pub fn start_hi(string: &str) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/warmup2.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn double_x(string: &str) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/warmup2.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn front_times(string: &str, n: i32) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/warmup2.rs:135:34 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn front_times(string: &str, n: i32) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/warmup2.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn string_times(string: &str, n: i32) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/warmup2.rs:165:35 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn string_times(string: &str, n: i32) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.63s [INFO] running `Command { std: "docker" "inspect" "c9cc9ef28852defc1985cac1e2259ea5b083a4dc21732ac148d2099640d7acff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9cc9ef28852defc1985cac1e2259ea5b083a4dc21732ac148d2099640d7acff", kill_on_drop: false }` [INFO] [stdout] c9cc9ef28852defc1985cac1e2259ea5b083a4dc21732ac148d2099640d7acff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e571fdd4c22a0cabcd79d57721a87e82cd7465ccf0cf39f151bdee68e0d61fbc [INFO] running `Command { std: "docker" "start" "-a" "e571fdd4c22a0cabcd79d57721a87e82cd7465ccf0cf39f151bdee68e0d61fbc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/warmup1.rs:390:20 [INFO] [stdout] | [INFO] [stdout] 390 | pub fn back_around(string: &str) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/warmup1.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | pub fn close_10(n: i32) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/warmup1.rs:425:16 [INFO] [stdout] | [INFO] [stdout] 425 | pub fn del_del(string: &str) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/warmup1.rs:472:17 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn has_teen(a: i32, b: i32, c: i32) -> bool {return false;} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/warmup1.rs:472:25 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn has_teen(a: i32, b: i32, c: i32) -> bool {return false;} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/warmup1.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn has_teen(a: i32, b: i32, c: i32) -> bool {return false;} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/warmup1.rs:486:16 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn icy_hot(a: i32, b: i32) -> bool {return false;} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/warmup1.rs:486:24 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn icy_hot(a: i32, b: i32) -> bool {return false;} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/warmup1.rs:500:16 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn in_1020(a: i32, b: i32) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/warmup1.rs:500:24 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn in_1020(a: i32, b: i32) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/warmup1.rs:517:16 [INFO] [stdout] | [INFO] [stdout] 517 | pub fn in_3050(a: i32, b:i32) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/warmup1.rs:517:24 [INFO] [stdout] | [INFO] [stdout] 517 | pub fn in_3050(a: i32, b:i32) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/warmup1.rs:532:16 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn int_max(a: i32, b: i32, c: i32) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/warmup1.rs:532:24 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn int_max(a: i32, b: i32, c: i32) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/warmup1.rs:532:32 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn int_max(a: i32, b: i32, c: i32) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/warmup1.rs:550:14 [INFO] [stdout] | [INFO] [stdout] 550 | pub fn or_35(n: i32) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/warmup1.rs:597:17 [INFO] [stdout] | [INFO] [stdout] 597 | pub fn start_hi(string: &str) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/warmup2.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn double_x(string: &str) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/warmup2.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn front_times(string: &str, n: i32) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling codingbat-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/warmup2.rs:135:34 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn front_times(string: &str, n: i32) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/warmup2.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn string_times(string: &str, n: i32) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/warmup2.rs:165:35 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn string_times(string: &str, n: i32) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/warmup1.rs:390:20 [INFO] [stdout] | [INFO] [stdout] 390 | pub fn back_around(string: &str) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/warmup1.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | pub fn close_10(n: i32) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/warmup1.rs:425:16 [INFO] [stdout] | [INFO] [stdout] 425 | pub fn del_del(string: &str) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/warmup1.rs:472:17 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn has_teen(a: i32, b: i32, c: i32) -> bool {return false;} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/warmup1.rs:472:25 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn has_teen(a: i32, b: i32, c: i32) -> bool {return false;} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/warmup1.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn has_teen(a: i32, b: i32, c: i32) -> bool {return false;} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/warmup1.rs:486:16 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn icy_hot(a: i32, b: i32) -> bool {return false;} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/warmup1.rs:486:24 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn icy_hot(a: i32, b: i32) -> bool {return false;} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/warmup1.rs:500:16 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn in_1020(a: i32, b: i32) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/warmup1.rs:500:24 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn in_1020(a: i32, b: i32) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/warmup1.rs:517:16 [INFO] [stdout] | [INFO] [stdout] 517 | pub fn in_3050(a: i32, b:i32) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/warmup1.rs:517:24 [INFO] [stdout] | [INFO] [stdout] 517 | pub fn in_3050(a: i32, b:i32) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/warmup1.rs:532:16 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn int_max(a: i32, b: i32, c: i32) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/warmup1.rs:532:24 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn int_max(a: i32, b: i32, c: i32) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/warmup1.rs:532:32 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn int_max(a: i32, b: i32, c: i32) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/warmup1.rs:550:14 [INFO] [stdout] | [INFO] [stdout] 550 | pub fn or_35(n: i32) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/warmup1.rs:597:17 [INFO] [stdout] | [INFO] [stdout] 597 | pub fn start_hi(string: &str) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/warmup2.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn double_x(string: &str) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/warmup2.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn front_times(string: &str, n: i32) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/warmup2.rs:135:34 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn front_times(string: &str, n: i32) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/warmup2.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn string_times(string: &str, n: i32) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/warmup2.rs:165:35 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn string_times(string: &str, n: i32) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `codingbat_rust::warmup2::*` [INFO] [stdout] --> tests/integration_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use codingbat_rust::warmup2::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `String` with `&&str` [INFO] [stdout] --> tests/integration_test.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(back_around(input), output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `String == &&str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&&str>` is not implemented for `String` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_test.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(diff_21(*input), output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `&{integer}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `String` with `&&str` [INFO] [stdout] --> tests/integration_test.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | assert_eq!(end_up(input), output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `String == &&str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&&str>` is not implemented for `String` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `String` with `&&str` [INFO] [stdout] --> tests/integration_test.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | assert_eq!(front_22(input), output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `String == &&str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&&str>` is not implemented for `String` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `String` with `&&str` [INFO] [stdout] --> tests/integration_test.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | assert_eq!(front_3(input), output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `String == &&str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&&str>` is not implemented for `String` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `String` with `&&str` [INFO] [stdout] --> tests/integration_test.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | assert_eq!(front_back(input), output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `String == &&str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&&str>` is not implemented for `String` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_test.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | assert_eq!(has_teen(input[0], input[1], input[2]), output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `&bool` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_test.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | assert_eq!(icy_hot(input[0], input[1]), output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `&bool` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_test.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | assert_eq!(in_1020(input[0], input[1]), output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `&bool` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_test.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | assert_eq!(in_3050(input[0], input[1]), output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `&bool` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_test.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | assert_eq!(int_max(input[0], input[1], input[2]), output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `&{integer}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `codingbat-rust` due to 12 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e571fdd4c22a0cabcd79d57721a87e82cd7465ccf0cf39f151bdee68e0d61fbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e571fdd4c22a0cabcd79d57721a87e82cd7465ccf0cf39f151bdee68e0d61fbc", kill_on_drop: false }` [INFO] [stdout] e571fdd4c22a0cabcd79d57721a87e82cd7465ccf0cf39f151bdee68e0d61fbc