[INFO] cloning repository https://github.com/Matteo-Gigli/Some-random-basic-code-in-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Matteo-Gigli/Some-random-basic-code-in-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatteo-Gigli%2FSome-random-basic-code-in-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatteo-Gigli%2FSome-random-basic-code-in-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e6d78abbc3f6af8f1e21f7e79f3b5140a2ee83a [INFO] documenting Matteo-Gigli/Some-random-basic-code-in-Rust against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatteo-Gigli%2FSome-random-basic-code-in-Rust" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Matteo-Gigli/Some-random-basic-code-in-Rust on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Matteo-Gigli/Some-random-basic-code-in-Rust [INFO] finished tweaking git repo https://github.com/Matteo-Gigli/Some-random-basic-code-in-Rust [INFO] tweaked toml for git repo https://github.com/Matteo-Gigli/Some-random-basic-code-in-Rust written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/Matteo-Gigli/Some-random-basic-code-in-Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0cb1a34ba4e3349e387555fffb88161866656c222b7e5729bb3e817834d6d1fc [INFO] running `Command { std: "docker" "start" "-a" "0cb1a34ba4e3349e387555fffb88161866656c222b7e5729bb3e817834d6d1fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cb1a34ba4e3349e387555fffb88161866656c222b7e5729bb3e817834d6d1fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cb1a34ba4e3349e387555fffb88161866656c222b7e5729bb3e817834d6d1fc", kill_on_drop: false }` [INFO] [stdout] 0cb1a34ba4e3349e387555fffb88161866656c222b7e5729bb3e817834d6d1fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "RUSTDOCFLAGS=--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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 83111e5974fb012582f7889263f48b0afcc1d95d0ed9fbe78d3c0a4ddbeef457 [INFO] running `Command { std: "docker" "start" "-a" "83111e5974fb012582f7889263f48b0afcc1d95d0ed9fbe78d3c0a4ddbeef457", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Documenting untitled v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | fn rectangle_area(n1:f32, n2:f32)->(f32){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - fn rectangle_area(n1:f32, n2:f32)->(f32){ [INFO] [stdout] 23 + fn rectangle_area(n1:f32, n2:f32)->f32{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | let c1: char = ('💡'); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - let c1: char = ('💡'); [INFO] [stdout] 127 + let c1: char = '💡'; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:153:22 [INFO] [stdout] | [INFO] [stdout] 153 | let logo: char = ('📲'); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 153 - let logo: char = ('📲'); [INFO] [stdout] 153 + let logo: char = '📲'; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | }else if(convert_second > convert_first){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 252 - }else if(convert_second > convert_first){ [INFO] [stdout] 252 + }else if convert_second > convert_first { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:303:19 [INFO] [stdout] | [INFO] [stdout] 303 | } else if (convert_input_first_choice == 2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 303 - } else if (convert_input_first_choice == 2) { [INFO] [stdout] 303 + } else if convert_input_first_choice == 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:318:19 [INFO] [stdout] | [INFO] [stdout] 318 | } else if (convert_input_first_choice == 3) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 318 - } else if (convert_input_first_choice == 3) { [INFO] [stdout] 318 + } else if convert_input_first_choice == 3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:333:19 [INFO] [stdout] | [INFO] [stdout] 333 | } else if (convert_input_first_choice == 4) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 333 - } else if (convert_input_first_choice == 4) { [INFO] [stdout] 333 + } else if convert_input_first_choice == 4 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:366:24 [INFO] [stdout] | [INFO] [stdout] 366 | if (i == 'N' || i == 'n') { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 366 - if (i == 'N' || i == 'n') { [INFO] [stdout] 366 + if i == 'N' || i == 'n' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:754:17 [INFO] [stdout] | [INFO] [stdout] 754 | }else if(i == 'n' || i == 'N'){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 754 - }else if(i == 'n' || i == 'N'){ [INFO] [stdout] 754 + }else if i == 'n' || i == 'N' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.20s [INFO] running `Command { std: "docker" "inspect" "83111e5974fb012582f7889263f48b0afcc1d95d0ed9fbe78d3c0a4ddbeef457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83111e5974fb012582f7889263f48b0afcc1d95d0ed9fbe78d3c0a4ddbeef457", kill_on_drop: false }` [INFO] [stdout] 83111e5974fb012582f7889263f48b0afcc1d95d0ed9fbe78d3c0a4ddbeef457