[INFO] cloning repository https://github.com/your-diary/ycurl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/your-diary/ycurl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyour-diary%2Fycurl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyour-diary%2Fycurl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec021a683c8ac151a7fe6c47ffc853a7cc437606 [INFO] checking your-diary/ycurl against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyour-diary%2Fycurl" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/your-diary/ycurl on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/your-diary/ycurl [INFO] finished tweaking git repo https://github.com/your-diary/ycurl [INFO] tweaked toml for git repo https://github.com/your-diary/ycurl written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/your-diary/ycurl 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wild v2.1.0 [INFO] [stderr] Downloaded bytesize v1.2.0 [INFO] [stderr] Downloaded nu-ansi-term v0.47.0 [INFO] [stderr] Downloaded bat v0.23.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00aaaa0b6febdbd24a8a1679e32b5de295fdbfcc0e5431fcab4dcd8d1eb4dab2 [INFO] running `Command { std: "docker" "start" "-a" "00aaaa0b6febdbd24a8a1679e32b5de295fdbfcc0e5431fcab4dcd8d1eb4dab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00aaaa0b6febdbd24a8a1679e32b5de295fdbfcc0e5431fcab4dcd8d1eb4dab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00aaaa0b6febdbd24a8a1679e32b5de295fdbfcc0e5431fcab4dcd8d1eb4dab2", kill_on_drop: false }` [INFO] [stdout] 00aaaa0b6febdbd24a8a1679e32b5de295fdbfcc0e5431fcab4dcd8d1eb4dab2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2d14d963f6aeb7fa6d7e3e235f0c3d2054e9330be75f1bb1bea39639f1334df [INFO] running `Command { std: "docker" "start" "-a" "b2d14d963f6aeb7fa6d7e3e235f0c3d2054e9330be75f1bb1bea39639f1334df", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking pin-project-lite v0.2.11 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.5 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling openssl v0.10.56 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking deranged v0.3.7 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking time-core v0.1.1 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling terminal_size v0.2.6 [INFO] [stderr] Checking time v0.3.25 [INFO] [stderr] Compiling clap_builder v4.3.21 [INFO] [stderr] Checking quick-xml v0.29.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling bugreport v0.5.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking rgb v0.8.36 [INFO] [stderr] Compiling openssl-sys v0.9.91 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling sys-info v0.9.1 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling libgit2-sys v0.14.2+1.5.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking std_prelude v0.2.12 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking path_abs v0.5.1 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking plist v1.5.0 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking ansi_colours v1.2.2 [INFO] [stderr] Checking clircle v0.3.0 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking content_inspector v0.2.4 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking wild v2.1.0 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking bytesize v1.2.0 [INFO] [stderr] Checking nu-ansi-term v0.47.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking bstr v1.6.0 [INFO] [stderr] Compiling git-version-macro v0.3.5 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Compiling clap v4.3.21 [INFO] [stderr] Checking globset v0.4.13 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking grep-cli v0.1.9 [INFO] [stderr] Checking git-version v0.3.5 [INFO] [stderr] Compiling bat v0.23.0 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking syntect v5.1.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking git2 v0.16.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Checking ycurl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/client.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | let url = if (request.url.starts_with("http")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - let url = if (request.url.starts_with("http")) { [INFO] [stdout] 38 + let url = if request.url.starts_with("http") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/client.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | .redirect(if (config.cli_options.disable_redirect) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - .redirect(if (config.cli_options.disable_redirect) { [INFO] [stdout] 52 + .redirect(if config.cli_options.disable_redirect { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/client.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | let mut client = match (request.method) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - let mut client = match (request.method) { [INFO] [stdout] 59 + let mut client = match request.method { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/client.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | if (v.to_str()?.contains("application/x-www-form-urlencoded")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - if (v.to_str()?.contains("application/x-www-form-urlencoded")) { [INFO] [stdout] 75 + if v.to_str()?.contains("application/x-www-form-urlencoded") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/client.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | if (!is_set) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - if (!is_set) { [INFO] [stdout] 80 + if !is_set { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/client.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | if (config.cli_options.verbose) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 88 - if (config.cli_options.verbose) { [INFO] [stdout] 88 + if config.cli_options.verbose { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/client.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | if (request.params.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - if (request.params.is_empty()) { [INFO] [stdout] 89 + if request.params.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/config.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | if (processed.contains(&variable_name)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - if (processed.contains(&variable_name)) { [INFO] [stdout] 43 + if processed.contains(&variable_name) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/config.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | if (processed.contains(&variable_name)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - if (processed.contains(&variable_name)) { [INFO] [stdout] 139 + if processed.contains(&variable_name) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/config.rs:206:16 [INFO] [stdout] | [INFO] [stdout] 206 | if (s.starts_with("number:")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 206 - if (s.starts_with("number:")) { [INFO] [stdout] 206 + if s.starts_with("number:") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/config.rs:208:23 [INFO] [stdout] | [INFO] [stdout] 208 | } else if (s.starts_with("bool:")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 208 - } else if (s.starts_with("bool:")) { [INFO] [stdout] 208 + } else if s.starts_with("bool:") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/config.rs:407:16 [INFO] [stdout] | [INFO] [stdout] 407 | if (s.contains(&self.requests[i].name)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 407 - if (s.contains(&self.requests[i].name)) { [INFO] [stdout] 407 + if s.contains(&self.requests[i].name) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/logger.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | if (!p.is_dir()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - if (!p.is_dir()) { [INFO] [stdout] 17 + if !p.is_dir() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/logger.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | if (!p.is_file()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - if (!p.is_file()) { [INFO] [stdout] 23 + if !p.is_file() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | if (config.requests[i].disabled) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - if (config.requests[i].disabled) { [INFO] [stdout] 60 + if config.requests[i].disabled { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | if (res.status().is_success()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - if (res.status().is_success()) { [INFO] [stdout] 78 + if res.status().is_success() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | if (config.cli_options.show_headers) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - if (config.cli_options.show_headers) { [INFO] [stdout] 83 + if config.cli_options.show_headers { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | if (body.trim().is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 98 - if (body.trim().is_empty()) { [INFO] [stdout] 98 + if body.trim().is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | } else if (body.starts_with('<')) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - } else if (body.starts_with('<')) { [INFO] [stdout] 106 + } else if body.starts_with('<') { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/client.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | let url = if (request.url.starts_with("http")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - let url = if (request.url.starts_with("http")) { [INFO] [stdout] 38 + let url = if request.url.starts_with("http") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/client.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | .redirect(if (config.cli_options.disable_redirect) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - .redirect(if (config.cli_options.disable_redirect) { [INFO] [stdout] 52 + .redirect(if config.cli_options.disable_redirect { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/client.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | let mut client = match (request.method) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - let mut client = match (request.method) { [INFO] [stdout] 59 + let mut client = match request.method { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/client.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | if (v.to_str()?.contains("application/x-www-form-urlencoded")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - if (v.to_str()?.contains("application/x-www-form-urlencoded")) { [INFO] [stdout] 75 + if v.to_str()?.contains("application/x-www-form-urlencoded") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/client.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | if (!is_set) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - if (!is_set) { [INFO] [stdout] 80 + if !is_set { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/client.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | if (config.cli_options.verbose) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 88 - if (config.cli_options.verbose) { [INFO] [stdout] 88 + if config.cli_options.verbose { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/client.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | if (request.params.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - if (request.params.is_empty()) { [INFO] [stdout] 89 + if request.params.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/config.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | if (processed.contains(&variable_name)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - if (processed.contains(&variable_name)) { [INFO] [stdout] 43 + if processed.contains(&variable_name) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/config.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | if (processed.contains(&variable_name)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - if (processed.contains(&variable_name)) { [INFO] [stdout] 139 + if processed.contains(&variable_name) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/config.rs:206:16 [INFO] [stdout] | [INFO] [stdout] 206 | if (s.starts_with("number:")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 206 - if (s.starts_with("number:")) { [INFO] [stdout] 206 + if s.starts_with("number:") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/config.rs:208:23 [INFO] [stdout] | [INFO] [stdout] 208 | } else if (s.starts_with("bool:")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 208 - } else if (s.starts_with("bool:")) { [INFO] [stdout] 208 + } else if s.starts_with("bool:") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/config.rs:407:16 [INFO] [stdout] | [INFO] [stdout] 407 | if (s.contains(&self.requests[i].name)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 407 - if (s.contains(&self.requests[i].name)) { [INFO] [stdout] 407 + if s.contains(&self.requests[i].name) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/logger.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | if (!p.is_dir()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - if (!p.is_dir()) { [INFO] [stdout] 17 + if !p.is_dir() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/logger.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | if (!p.is_file()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - if (!p.is_file()) { [INFO] [stdout] 23 + if !p.is_file() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | if (config.requests[i].disabled) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - if (config.requests[i].disabled) { [INFO] [stdout] 60 + if config.requests[i].disabled { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | if (res.status().is_success()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - if (res.status().is_success()) { [INFO] [stdout] 78 + if res.status().is_success() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | if (config.cli_options.show_headers) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - if (config.cli_options.show_headers) { [INFO] [stdout] 83 + if config.cli_options.show_headers { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | if (body.trim().is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 98 - if (body.trim().is_empty()) { [INFO] [stdout] 98 + if body.trim().is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | } else if (body.starts_with('<')) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - } else if (body.starts_with('<')) { [INFO] [stdout] 106 + } else if body.starts_with('<') { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | if (args.show_headers) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 15 - if (args.show_headers) { [INFO] [stdout] 15 + if args.show_headers { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | if (args.disable_redirect) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - if (args.disable_redirect) { [INFO] [stdout] 18 + if args.disable_redirect { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | if (args.verbose) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - if (args.verbose) { [INFO] [stdout] 21 + if args.verbose { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | if (args.show_config) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - if (args.show_config) { [INFO] [stdout] 25 + if args.show_config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | if (args.complete) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - if (args.complete) { [INFO] [stdout] 29 + if args.complete { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | if (args.index.is_none()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - if (args.index.is_none()) { [INFO] [stdout] 34 + if args.index.is_none() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | if (i >= config.requests.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - if (i >= config.requests.len()) { [INFO] [stdout] 39 + if i >= config.requests.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | if (request.disabled && !args.include_disabled) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - if (request.disabled && !args.include_disabled) { [INFO] [stdout] 56 + if request.disabled && !args.include_disabled { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | if (args.show_headers) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 15 - if (args.show_headers) { [INFO] [stdout] 15 + if args.show_headers { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | if (args.disable_redirect) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - if (args.disable_redirect) { [INFO] [stdout] 18 + if args.disable_redirect { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | if (args.verbose) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - if (args.verbose) { [INFO] [stdout] 21 + if args.verbose { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | if (args.show_config) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - if (args.show_config) { [INFO] [stdout] 25 + if args.show_config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | if (args.complete) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - if (args.complete) { [INFO] [stdout] 29 + if args.complete { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | if (args.index.is_none()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - if (args.index.is_none()) { [INFO] [stdout] 34 + if args.index.is_none() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | if (i >= config.requests.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - if (i >= config.requests.len()) { [INFO] [stdout] 39 + if i >= config.requests.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | if (request.disabled && !args.include_disabled) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - if (request.disabled && !args.include_disabled) { [INFO] [stdout] 56 + if request.disabled && !args.include_disabled { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.51s [INFO] running `Command { std: "docker" "inspect" "b2d14d963f6aeb7fa6d7e3e235f0c3d2054e9330be75f1bb1bea39639f1334df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2d14d963f6aeb7fa6d7e3e235f0c3d2054e9330be75f1bb1bea39639f1334df", kill_on_drop: false }` [INFO] [stdout] b2d14d963f6aeb7fa6d7e3e235f0c3d2054e9330be75f1bb1bea39639f1334df [INFO] checking your-diary/ycurl against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyour-diary%2Fycurl" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/your-diary/ycurl on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/your-diary/ycurl [INFO] finished tweaking git repo https://github.com/your-diary/ycurl [INFO] tweaked toml for git repo https://github.com/your-diary/ycurl written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/your-diary/ycurl 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2528c4130c50285bb610c117f47a621cf46dadc4f019957e863b121641d4236f [INFO] running `Command { std: "docker" "start" "-a" "2528c4130c50285bb610c117f47a621cf46dadc4f019957e863b121641d4236f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2528c4130c50285bb610c117f47a621cf46dadc4f019957e863b121641d4236f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2528c4130c50285bb610c117f47a621cf46dadc4f019957e863b121641d4236f", kill_on_drop: false }` [INFO] [stdout] 2528c4130c50285bb610c117f47a621cf46dadc4f019957e863b121641d4236f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19eb70ea1cf03249557a85952e1922dcfafdeda8ebad27a89a1e58f0807f58db [INFO] running `Command { std: "docker" "start" "-a" "19eb70ea1cf03249557a85952e1922dcfafdeda8ebad27a89a1e58f0807f58db", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking pin-project-lite v0.2.11 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.5 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling openssl v0.10.56 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking deranged v0.3.7 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking time-core v0.1.1 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking time v0.3.25 [INFO] [stderr] Checking quick-xml v0.29.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling bugreport v0.5.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking rgb v0.8.36 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Compiling terminal_size v0.2.6 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling clap_builder v4.3.21 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling openssl-sys v0.9.91 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling sys-info v0.9.1 [INFO] [stderr] Compiling libgit2-sys v0.14.2+1.5.1 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking std_prelude v0.2.12 [INFO] [stderr] Checking path_abs v0.5.1 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking plist v1.5.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking ansi_colours v1.2.2 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking clircle v0.3.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking content_inspector v0.2.4 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking bytesize v1.2.0 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking nu-ansi-term v0.47.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling git-version-macro v0.3.5 [INFO] [stderr] Checking wild v2.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking bstr v1.6.0 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Compiling clap v4.3.21 [INFO] [stderr] Checking git-version v0.3.5 [INFO] [stderr] Checking globset v0.4.13 [INFO] [stderr] Checking grep-cli v0.1.9 [INFO] [stderr] Compiling bat v0.23.0 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking syntect v5.1.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Checking git2 v0.16.1 [INFO] [stderr] Checking ycurl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/client.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | let url = if (request.url.starts_with("http")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - let url = if (request.url.starts_with("http")) { [INFO] [stdout] 38 + let url = if request.url.starts_with("http") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/client.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | let url = if (request.url.starts_with("http")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - let url = if (request.url.starts_with("http")) { [INFO] [stdout] 38 + let url = if request.url.starts_with("http") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/client.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | .redirect(if (config.cli_options.disable_redirect) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - .redirect(if (config.cli_options.disable_redirect) { [INFO] [stdout] 52 + .redirect(if config.cli_options.disable_redirect { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/client.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | let mut client = match (request.method) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - let mut client = match (request.method) { [INFO] [stdout] 59 + let mut client = match request.method { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/client.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | .redirect(if (config.cli_options.disable_redirect) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - .redirect(if (config.cli_options.disable_redirect) { [INFO] [stdout] 52 + .redirect(if config.cli_options.disable_redirect { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/client.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | if (v.to_str()?.contains("application/x-www-form-urlencoded")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - if (v.to_str()?.contains("application/x-www-form-urlencoded")) { [INFO] [stdout] 75 + if v.to_str()?.contains("application/x-www-form-urlencoded") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/client.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | let mut client = match (request.method) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - let mut client = match (request.method) { [INFO] [stdout] 59 + let mut client = match request.method { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/client.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | if (!is_set) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - if (!is_set) { [INFO] [stdout] 80 + if !is_set { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/client.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | if (v.to_str()?.contains("application/x-www-form-urlencoded")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - if (v.to_str()?.contains("application/x-www-form-urlencoded")) { [INFO] [stdout] 75 + if v.to_str()?.contains("application/x-www-form-urlencoded") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/client.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | if (config.cli_options.verbose) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 88 - if (config.cli_options.verbose) { [INFO] [stdout] 88 + if config.cli_options.verbose { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/client.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | if (!is_set) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - if (!is_set) { [INFO] [stdout] 80 + if !is_set { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/client.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | if (request.params.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - if (request.params.is_empty()) { [INFO] [stdout] 89 + if request.params.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/config.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | if (processed.contains(&variable_name)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - if (processed.contains(&variable_name)) { [INFO] [stdout] 43 + if processed.contains(&variable_name) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/client.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | if (config.cli_options.verbose) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 88 - if (config.cli_options.verbose) { [INFO] [stdout] 88 + if config.cli_options.verbose { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/config.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | if (processed.contains(&variable_name)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - if (processed.contains(&variable_name)) { [INFO] [stdout] 139 + if processed.contains(&variable_name) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/client.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | if (request.params.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - if (request.params.is_empty()) { [INFO] [stdout] 89 + if request.params.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/config.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | if (processed.contains(&variable_name)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - if (processed.contains(&variable_name)) { [INFO] [stdout] 43 + if processed.contains(&variable_name) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/config.rs:206:16 [INFO] [stdout] | [INFO] [stdout] 206 | if (s.starts_with("number:")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 206 - if (s.starts_with("number:")) { [INFO] [stdout] 206 + if s.starts_with("number:") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/config.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | if (processed.contains(&variable_name)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - if (processed.contains(&variable_name)) { [INFO] [stdout] 139 + if processed.contains(&variable_name) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/config.rs:208:23 [INFO] [stdout] | [INFO] [stdout] 208 | } else if (s.starts_with("bool:")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 208 - } else if (s.starts_with("bool:")) { [INFO] [stdout] 208 + } else if s.starts_with("bool:") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/config.rs:407:16 [INFO] [stdout] | [INFO] [stdout] 407 | if (s.contains(&self.requests[i].name)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 407 - if (s.contains(&self.requests[i].name)) { [INFO] [stdout] 407 + if s.contains(&self.requests[i].name) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/config.rs:206:16 [INFO] [stdout] | [INFO] [stdout] 206 | if (s.starts_with("number:")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 206 - if (s.starts_with("number:")) { [INFO] [stdout] 206 + if s.starts_with("number:") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/config.rs:208:23 [INFO] [stdout] | [INFO] [stdout] 208 | } else if (s.starts_with("bool:")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 208 - } else if (s.starts_with("bool:")) { [INFO] [stdout] 208 + } else if s.starts_with("bool:") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/config.rs:407:16 [INFO] [stdout] | [INFO] [stdout] 407 | if (s.contains(&self.requests[i].name)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 407 - if (s.contains(&self.requests[i].name)) { [INFO] [stdout] 407 + if s.contains(&self.requests[i].name) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/logger.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | if (!p.is_dir()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - if (!p.is_dir()) { [INFO] [stdout] 17 + if !p.is_dir() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/logger.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | if (!p.is_dir()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - if (!p.is_dir()) { [INFO] [stdout] 17 + if !p.is_dir() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/logger.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | if (!p.is_file()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - if (!p.is_file()) { [INFO] [stdout] 23 + if !p.is_file() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/logger.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | if (!p.is_file()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - if (!p.is_file()) { [INFO] [stdout] 23 + if !p.is_file() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | if (config.requests[i].disabled) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - if (config.requests[i].disabled) { [INFO] [stdout] 60 + if config.requests[i].disabled { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | if (config.requests[i].disabled) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - if (config.requests[i].disabled) { [INFO] [stdout] 60 + if config.requests[i].disabled { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | if (res.status().is_success()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - if (res.status().is_success()) { [INFO] [stdout] 78 + if res.status().is_success() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | if (config.cli_options.show_headers) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - if (config.cli_options.show_headers) { [INFO] [stdout] 83 + if config.cli_options.show_headers { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | if (res.status().is_success()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - if (res.status().is_success()) { [INFO] [stdout] 78 + if res.status().is_success() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | if (config.cli_options.show_headers) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - if (config.cli_options.show_headers) { [INFO] [stdout] 83 + if config.cli_options.show_headers { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | if (body.trim().is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 98 - if (body.trim().is_empty()) { [INFO] [stdout] 98 + if body.trim().is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | if (body.trim().is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 98 - if (body.trim().is_empty()) { [INFO] [stdout] 98 + if body.trim().is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | } else if (body.starts_with('<')) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - } else if (body.starts_with('<')) { [INFO] [stdout] 106 + } else if body.starts_with('<') { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | } else if (body.starts_with('<')) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - } else if (body.starts_with('<')) { [INFO] [stdout] 106 + } else if body.starts_with('<') { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | if (args.show_headers) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 15 - if (args.show_headers) { [INFO] [stdout] 15 + if args.show_headers { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | if (args.disable_redirect) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - if (args.disable_redirect) { [INFO] [stdout] 18 + if args.disable_redirect { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | if (args.verbose) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - if (args.verbose) { [INFO] [stdout] 21 + if args.verbose { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | if (args.show_config) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - if (args.show_config) { [INFO] [stdout] 25 + if args.show_config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | if (args.complete) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - if (args.complete) { [INFO] [stdout] 29 + if args.complete { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | if (args.index.is_none()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - if (args.index.is_none()) { [INFO] [stdout] 34 + if args.index.is_none() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | if (i >= config.requests.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - if (i >= config.requests.len()) { [INFO] [stdout] 39 + if i >= config.requests.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | if (request.disabled && !args.include_disabled) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - if (request.disabled && !args.include_disabled) { [INFO] [stdout] 56 + if request.disabled && !args.include_disabled { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | if (args.show_headers) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 15 - if (args.show_headers) { [INFO] [stdout] 15 + if args.show_headers { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | if (args.disable_redirect) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - if (args.disable_redirect) { [INFO] [stdout] 18 + if args.disable_redirect { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | if (args.verbose) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - if (args.verbose) { [INFO] [stdout] 21 + if args.verbose { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | if (args.show_config) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - if (args.show_config) { [INFO] [stdout] 25 + if args.show_config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | if (args.complete) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - if (args.complete) { [INFO] [stdout] 29 + if args.complete { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | if (args.index.is_none()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - if (args.index.is_none()) { [INFO] [stdout] 34 + if args.index.is_none() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | if (i >= config.requests.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - if (i >= config.requests.len()) { [INFO] [stdout] 39 + if i >= config.requests.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | if (request.disabled && !args.include_disabled) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - if (request.disabled && !args.include_disabled) { [INFO] [stdout] 56 + if request.disabled && !args.include_disabled { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.26s [INFO] running `Command { std: "docker" "inspect" "19eb70ea1cf03249557a85952e1922dcfafdeda8ebad27a89a1e58f0807f58db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19eb70ea1cf03249557a85952e1922dcfafdeda8ebad27a89a1e58f0807f58db", kill_on_drop: false }` [INFO] [stdout] 19eb70ea1cf03249557a85952e1922dcfafdeda8ebad27a89a1e58f0807f58db