[INFO] cloning repository https://github.com/code-rust/collatz-sequence
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/code-rust/collatz-sequence" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcode-rust%2Fcollatz-sequence", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcode-rust%2Fcollatz-sequence'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4f2aa32902e0e74ec7977403be7f4baf303b8d1f
[INFO] checking code-rust/collatz-sequence against 846e51f66b1e7b49ba9e3988c58ccfe5817ce0a9 for pr-164812
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcode-rust%2Fcollatz-sequence" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/code-rust/collatz-sequence
[INFO] finished tweaking git repo https://github.com/code-rust/collatz-sequence
[INFO] tweaked toml for git repo https://github.com/code-rust/collatz-sequence written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/code-rust/collatz-sequence on toolchain 846e51f66b1e7b49ba9e3988c58ccfe5817ce0a9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+846e51f66b1e7b49ba9e3988c58ccfe5817ce0a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/code-rust/collatz-sequence 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" "+846e51f66b1e7b49ba9e3988c58ccfe5817ce0a9" "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-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1f61b5f46c603803ddb1668d9f3fbb83f324543fd74e94cb7de125077590606a
[INFO] running `Command { std: "docker" "start" "1f61b5f46c603803ddb1668d9f3fbb83f324543fd74e94cb7de125077590606a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1f61b5f46c603803ddb1668d9f3fbb83f324543fd74e94cb7de125077590606a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1f61b5f46c603803ddb1668d9f3fbb83f324543fd74e94cb7de125077590606a" "/opt/rustwide/cargo-home/bin/cargo" "+846e51f66b1e7b49ba9e3988c58ccfe5817ce0a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1f61b5f46c603803ddb1668d9f3fbb83f324543fd74e94cb7de125077590606a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1f61b5f46c603803ddb1668d9f3fbb83f324543fd74e94cb7de125077590606a" "/opt/rustwide/cargo-home/bin/cargo" "+846e51f66b1e7b49ba9e3988c58ccfe5817ce0a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking collatz-sequence v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 |     if (n <= 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] 38 -     if (n <= 1) {
[INFO] [stdout] 38 +     if n <= 1 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> src/main.rs:43:11
[INFO] [stdout]    |
[INFO] [stdout] 43 |     while (n != 1) {
[INFO] [stdout]    |           ^      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 43 -     while (n != 1) {
[INFO] [stdout] 43 +     while n != 1 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 |         if (n == -1) {
[INFO] [stdout]    |            ^       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 45 -         if (n == -1) {
[INFO] [stdout] 45 +         if n == -1 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `nextCollatzNumber` should have a snake case name
[INFO] [stdout]   --> src/main.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn nextCollatzNumber(n: i64) -> i64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `next_collatz_number`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 |     if (n <= 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] 38 -     if (n <= 1) {
[INFO] [stdout] 38 +     if n <= 1 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> src/main.rs:43:11
[INFO] [stdout]    |
[INFO] [stdout] 43 |     while (n != 1) {
[INFO] [stdout]    |           ^      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 43 -     while (n != 1) {
[INFO] [stdout] 43 +     while n != 1 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 |         if (n == -1) {
[INFO] [stdout]    |            ^       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 45 -         if (n == -1) {
[INFO] [stdout] 45 +         if n == -1 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `nextCollatzNumber` should have a snake case name
[INFO] [stdout]   --> src/main.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn nextCollatzNumber(n: i64) -> i64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `next_collatz_number`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] running `Command { std: "docker" "inspect" "1f61b5f46c603803ddb1668d9f3fbb83f324543fd74e94cb7de125077590606a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f61b5f46c603803ddb1668d9f3fbb83f324543fd74e94cb7de125077590606a", kill_on_drop: false }`
[INFO] [stdout] 1f61b5f46c603803ddb1668d9f3fbb83f324543fd74e94cb7de125077590606a
