[INFO] cloning repository https://github.com/StefanoMazzuka/Rustaceans [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/StefanoMazzuka/Rustaceans" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStefanoMazzuka%2FRustaceans", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStefanoMazzuka%2FRustaceans'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6333bc2e1b639be678f3d303b6fbb0cfb78a0f1 [INFO] checking StefanoMazzuka/Rustaceans against try#e5b0618d996a6a3941e423fd3e170737b8dbdc92 for pr-151822 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStefanoMazzuka%2FRustaceans" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/StefanoMazzuka/Rustaceans [INFO] finished tweaking git repo https://github.com/StefanoMazzuka/Rustaceans [INFO] tweaked toml for git repo https://github.com/StefanoMazzuka/Rustaceans written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/StefanoMazzuka/Rustaceans on toolchain e5b0618d996a6a3941e423fd3e170737b8dbdc92 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/StefanoMazzuka/Rustaceans 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" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a318f3142f2864ef5492ae6ed7ca3490a13bf9fb3f303d17450d87966fd6efe [INFO] running `Command { std: "docker" "start" "-a" "4a318f3142f2864ef5492ae6ed7ca3490a13bf9fb3f303d17450d87966fd6efe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a318f3142f2864ef5492ae6ed7ca3490a13bf9fb3f303d17450d87966fd6efe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a318f3142f2864ef5492ae6ed7ca3490a13bf9fb3f303d17450d87966fd6efe", kill_on_drop: false }` [INFO] [stdout] 4a318f3142f2864ef5492ae6ed7ca3490a13bf9fb3f303d17450d87966fd6efe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8bf8d0efd65912351609de2b58ce36e551229cc9dcb39cbd0ba4dd54c56756c [INFO] running `Command { std: "docker" "start" "-a" "c8bf8d0efd65912351609de2b58ce36e551229cc9dcb39cbd0ba4dd54c56756c", kill_on_drop: false }` [INFO] [stderr] Checking Rustaceans v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::merge_sorted_array` [INFO] [stdout] --> src/tests/tests_merge_sorted_array.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::merge_sorted_array; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/remove_duplicates_from_sorted_array/solutions.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | if (nums.len() == 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2 - if (nums.len() == 1) { [INFO] [stdout] 2 + if nums.len() == 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/remove_duplicates_from_sorted_array/solutions.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | if (nums.len() > 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5 - if (nums.len() > 1) { [INFO] [stdout] 5 + if nums.len() > 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/remove_duplicates_from_sorted_array/solutions.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | if (nums.len() == 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2 - if (nums.len() == 1) { [INFO] [stdout] 2 + if nums.len() == 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/remove_duplicates_from_sorted_array/solutions.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | if (nums.len() > 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5 - if (nums.len() > 1) { [INFO] [stdout] 5 + if nums.len() > 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums1` [INFO] [stdout] --> src/merge_sorted_array/solutions.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn sol_javi(nums1: &mut Vec, m: i32, nums2: &mut Vec, n: i32) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nums1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/merge_sorted_array/solutions.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn sol_javi(nums1: &mut Vec, m: i32, nums2: &mut Vec, n: i32) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums2` [INFO] [stdout] --> src/merge_sorted_array/solutions.rs:18:47 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn sol_javi(nums1: &mut Vec, m: i32, nums2: &mut Vec, n: i32) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nums2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/merge_sorted_array/solutions.rs:18:69 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn sol_javi(nums1: &mut Vec, m: i32, nums2: &mut Vec, n: i32) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Rustaceans` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `rustaceans` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums1` [INFO] [stdout] --> src/merge_sorted_array/solutions.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn sol_javi(nums1: &mut Vec, m: i32, nums2: &mut Vec, n: i32) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nums1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/merge_sorted_array/solutions.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn sol_javi(nums1: &mut Vec, m: i32, nums2: &mut Vec, n: i32) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums2` [INFO] [stdout] --> src/merge_sorted_array/solutions.rs:18:47 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn sol_javi(nums1: &mut Vec, m: i32, nums2: &mut Vec, n: i32) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nums2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/merge_sorted_array/solutions.rs:18:69 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn sol_javi(nums1: &mut Vec, m: i32, nums2: &mut Vec, n: i32) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "c8bf8d0efd65912351609de2b58ce36e551229cc9dcb39cbd0ba4dd54c56756c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8bf8d0efd65912351609de2b58ce36e551229cc9dcb39cbd0ba4dd54c56756c", kill_on_drop: false }` [INFO] [stdout] c8bf8d0efd65912351609de2b58ce36e551229cc9dcb39cbd0ba4dd54c56756c