[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 master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [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 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 862e8da7e59c0cb0193395caa50bd28385161fecf927817e9c93786aa9ad8a85 [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" "862e8da7e59c0cb0193395caa50bd28385161fecf927817e9c93786aa9ad8a85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "862e8da7e59c0cb0193395caa50bd28385161fecf927817e9c93786aa9ad8a85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "862e8da7e59c0cb0193395caa50bd28385161fecf927817e9c93786aa9ad8a85", kill_on_drop: false }` [INFO] [stdout] 862e8da7e59c0cb0193395caa50bd28385161fecf927817e9c93786aa9ad8a85 [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4ace5b679e069500f5015c86ab771afe4320bf855f732875ec8f1d1a3f161fe [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" "b4ace5b679e069500f5015c86ab771afe4320bf855f732875ec8f1d1a3f161fe", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: 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: 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: 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.70s [INFO] running `Command { std: "docker" "inspect" "b4ace5b679e069500f5015c86ab771afe4320bf855f732875ec8f1d1a3f161fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4ace5b679e069500f5015c86ab771afe4320bf855f732875ec8f1d1a3f161fe", kill_on_drop: false }` [INFO] [stdout] b4ace5b679e069500f5015c86ab771afe4320bf855f732875ec8f1d1a3f161fe