[INFO] cloning repository https://github.com/sierisimo/algorith-mx-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sierisimo/algorith-mx-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsierisimo%2Falgorith-mx-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsierisimo%2Falgorith-mx-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4a8a431f68c65eb9e9d50ab3a00a451fbf973f2 [INFO] checking sierisimo/algorith-mx-rust against try#169954edd744527414c631e9af1bbdc537b0cdf2 for pr-75192 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsierisimo%2Falgorith-mx-rust" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sierisimo/algorith-mx-rust on toolchain 169954edd744527414c631e9af1bbdc537b0cdf2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+169954edd744527414c631e9af1bbdc537b0cdf2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sierisimo/algorith-mx-rust [INFO] finished tweaking git repo https://github.com/sierisimo/algorith-mx-rust [INFO] tweaked toml for git repo https://github.com/sierisimo/algorith-mx-rust written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/sierisimo/algorith-mx-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+169954edd744527414c631e9af1bbdc537b0cdf2" "fetch" "--locked" "--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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+169954edd744527414c631e9af1bbdc537b0cdf2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cb018eeea731f7c34fa31d8d0114baf491f691b574e48de4a7cf33a3183cbd5 [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" "7cb018eeea731f7c34fa31d8d0114baf491f691b574e48de4a7cf33a3183cbd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cb018eeea731f7c34fa31d8d0114baf491f691b574e48de4a7cf33a3183cbd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cb018eeea731f7c34fa31d8d0114baf491f691b574e48de4a7cf33a3183cbd5", kill_on_drop: false }` [INFO] [stdout] 7cb018eeea731f7c34fa31d8d0114baf491f691b574e48de4a7cf33a3183cbd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+169954edd744527414c631e9af1bbdc537b0cdf2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cce2cc1ef13a581131fc3faed29b7dd38ddda272e7f5c72bc47f351cbda2b18a [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" "cce2cc1ef13a581131fc3faed29b7dd38ddda272e7f5c72bc47f351cbda2b18a", kill_on_drop: false }` [INFO] [stderr] Checking algorith-mx v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | while(idx_start != idx_end){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | while(idx_start != idx_end){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `numberToSearch` [INFO] [stdout] --> src/main.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | fn bigO(arrayOfInts: Vec, numberToSearch: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numberToSearch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `numberToSearch` [INFO] [stdout] --> src/main.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | fn bigO(arrayOfInts: Vec, numberToSearch: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numberToSearch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut idx_start = 0; [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/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut idx_end = arrayOfInts.len(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bigO` should have a snake case name [INFO] [stdout] --> src/main.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn bigO(arrayOfInts: Vec, numberToSearch: u32) { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `big_o` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `arrayOfInts` should have a snake case name [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | fn bigO(arrayOfInts: Vec, numberToSearch: u32) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `array_of_ints` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numberToSearch` should have a snake case name [INFO] [stdout] --> src/main.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | fn bigO(arrayOfInts: Vec, numberToSearch: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_to_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut idx_start = 0; [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/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut idx_end = arrayOfInts.len(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bigO` should have a snake case name [INFO] [stdout] --> src/main.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn bigO(arrayOfInts: Vec, numberToSearch: u32) { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `big_o` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `arrayOfInts` should have a snake case name [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | fn bigO(arrayOfInts: Vec, numberToSearch: u32) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `array_of_ints` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numberToSearch` should have a snake case name [INFO] [stdout] --> src/main.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | fn bigO(arrayOfInts: Vec, numberToSearch: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_to_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.40s [INFO] running `Command { std: "docker" "inspect" "cce2cc1ef13a581131fc3faed29b7dd38ddda272e7f5c72bc47f351cbda2b18a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cce2cc1ef13a581131fc3faed29b7dd38ddda272e7f5c72bc47f351cbda2b18a", kill_on_drop: false }` [INFO] [stdout] cce2cc1ef13a581131fc3faed29b7dd38ddda272e7f5c72bc47f351cbda2b18a