[INFO] cloning repository https://github.com/gursharan4312/rust_calculator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gursharan4312/rust_calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgursharan4312%2Frust_calculator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgursharan4312%2Frust_calculator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a424dcc4922db4250bf8f516b53740597fdc66ed [INFO] testing gursharan4312/rust_calculator against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgursharan4312%2Frust_calculator" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gursharan4312/rust_calculator [INFO] finished tweaking git repo https://github.com/gursharan4312/rust_calculator [INFO] tweaked toml for git repo https://github.com/gursharan4312/rust_calculator written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gursharan4312/rust_calculator on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gursharan4312/rust_calculator 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] f88237ddd5ce8b355670336660e20dc35a65f6f34a547cc81d5a6a0cf73a0624 [INFO] running `Command { std: "docker" "start" "f88237ddd5ce8b355670336660e20dc35a65f6f34a547cc81d5a6a0cf73a0624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f88237ddd5ce8b355670336660e20dc35a65f6f34a547cc81d5a6a0cf73a0624", 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" "f88237ddd5ce8b355670336660e20dc35a65f6f34a547cc81d5a6a0cf73a0624" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f88237ddd5ce8b355670336660e20dc35a65f6f34a547cc81d5a6a0cf73a0624", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f88237ddd5ce8b355670336660e20dc35a65f6f34a547cc81d5a6a0cf73a0624" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.178 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling winnow v0.5.2 [INFO] [stderr] Compiling target-lexicon v0.12.10 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling gio v0.16.7 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling unic-ucd-bidi v0.9.0 [INFO] [stderr] Compiling gtk v0.16.2 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling cfg-expr v0.15.4 [INFO] [stderr] Compiling type-map v0.4.0 [INFO] [stderr] Compiling kurbo v0.9.5 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling druid-shell v0.8.3 (https://github.com/linebender/druid.git#e53a5ab7) [INFO] [stderr] Compiling time v0.3.23 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling keyboard-types v0.6.2 [INFO] [stderr] Compiling unic-bidi v0.9.0 [INFO] [stderr] Compiling self_cell v0.10.2 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling piet v0.6.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.3 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Compiling druid-derive v0.5.1 (https://github.com/linebender/druid.git#e53a5ab7) [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling toml v0.7.6 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling tinystr v0.7.1 [INFO] [stderr] Compiling unic-langid-impl v0.9.1 [INFO] [stderr] Compiling system-deps v6.1.1 [INFO] [stderr] Compiling unic-langid v0.9.1 [INFO] [stderr] Compiling fluent-langneg v0.13.0 [INFO] [stderr] Compiling intl_pluralrules v7.0.2 [INFO] [stderr] Compiling intl-memoizer v0.5.1 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling glib-macros v0.16.8 [INFO] [stderr] Compiling gtk3-macros v0.16.3 [INFO] [stderr] Compiling fluent-syntax v0.11.0 [INFO] [stderr] Compiling glib-sys v0.16.3 [INFO] [stderr] Compiling gobject-sys v0.16.3 [INFO] [stderr] Compiling gio-sys v0.16.3 [INFO] [stderr] Compiling cairo-sys-rs v0.16.3 [INFO] [stderr] Compiling pango-sys v0.16.3 [INFO] [stderr] Compiling gdk-sys v0.16.0 [INFO] [stderr] Compiling atk-sys v0.16.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.16.3 [INFO] [stderr] Compiling gtk-sys v0.16.0 [INFO] [stderr] Compiling pangocairo-sys v0.16.3 [INFO] [stderr] Compiling fluent-bundle v0.15.2 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling glib v0.16.9 [INFO] [stderr] Compiling cairo-rs v0.16.7 [INFO] [stderr] Compiling atk v0.16.0 [INFO] [stderr] Compiling pango v0.16.5 [INFO] [stderr] Compiling gdk-pixbuf v0.16.7 [INFO] [stderr] Compiling pangocairo v0.16.3 [INFO] [stderr] Compiling gdk v0.16.2 [INFO] [stderr] Compiling piet-cairo v0.6.2 [INFO] [stderr] Compiling piet-common v0.6.2 [INFO] [stderr] Compiling druid v0.8.3 (https://github.com/linebender/druid.git#e53a5ab7) [INFO] [stderr] Compiling rust_calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | if(data.operator != '\0'){ [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] 28 - if(data.operator != '\0'){ [INFO] [stdout] 28 + if data.operator != '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | if(data.operator != '\0'){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 - if(data.operator != '\0'){ [INFO] [stdout] 37 + if data.operator != '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | if(data.operator != '\0'){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 46 - if(data.operator != '\0'){ [INFO] [stdout] 46 + if data.operator != '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | if(data.operator != '\0'){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 55 - if(data.operator != '\0'){ [INFO] [stdout] 55 + if data.operator != '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | if(data.operator != '\0'){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - if(data.operator != '\0'){ [INFO] [stdout] 64 + if data.operator != '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 114 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 114 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] 114 + if data.num == "0" && data.operator == '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 123 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] 123 + if data.num == "0" && data.operator == '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:131:11 [INFO] [stdout] | [INFO] [stdout] 131 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 131 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] 131 + if data.num == "0" && data.operator == '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] 139 + if data.num == "0" && data.operator == '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 147 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] 147 + if data.num == "0" && data.operator == '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:155:11 [INFO] [stdout] | [INFO] [stdout] 155 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 155 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] 155 + if data.num == "0" && data.operator == '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:163:11 [INFO] [stdout] | [INFO] [stdout] 163 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 163 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] 163 + if data.num == "0" && data.operator == '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:171:11 [INFO] [stdout] | [INFO] [stdout] 171 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 171 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] 171 + if data.num == "0" && data.operator == '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:179:11 [INFO] [stdout] | [INFO] [stdout] 179 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 179 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] 179 + if data.num == "0" && data.operator == '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 2m 13s [INFO] running `Command { std: "docker" "inspect" "f88237ddd5ce8b355670336660e20dc35a65f6f34a547cc81d5a6a0cf73a0624", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f88237ddd5ce8b355670336660e20dc35a65f6f34a547cc81d5a6a0cf73a0624" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling rust_calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | if(data.operator != '\0'){ [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] 28 - if(data.operator != '\0'){ [INFO] [stdout] 28 + if data.operator != '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | if(data.operator != '\0'){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 - if(data.operator != '\0'){ [INFO] [stdout] 37 + if data.operator != '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | if(data.operator != '\0'){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 46 - if(data.operator != '\0'){ [INFO] [stdout] 46 + if data.operator != '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | if(data.operator != '\0'){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 55 - if(data.operator != '\0'){ [INFO] [stdout] 55 + if data.operator != '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | if(data.operator != '\0'){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - if(data.operator != '\0'){ [INFO] [stdout] 64 + if data.operator != '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 114 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 114 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] 114 + if data.num == "0" && data.operator == '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 123 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] 123 + if data.num == "0" && data.operator == '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:131:11 [INFO] [stdout] | [INFO] [stdout] 131 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 131 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] 131 + if data.num == "0" && data.operator == '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] 139 + if data.num == "0" && data.operator == '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 147 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] 147 + if data.num == "0" && data.operator == '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:155:11 [INFO] [stdout] | [INFO] [stdout] 155 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 155 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] 155 + if data.num == "0" && data.operator == '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:163:11 [INFO] [stdout] | [INFO] [stdout] 163 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 163 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] 163 + if data.num == "0" && data.operator == '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:171:11 [INFO] [stdout] | [INFO] [stdout] 171 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 171 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] 171 + if data.num == "0" && data.operator == '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:179:11 [INFO] [stdout] | [INFO] [stdout] 179 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 179 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stdout] 179 + if data.num == "0" && data.operator == '\0' { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "f88237ddd5ce8b355670336660e20dc35a65f6f34a547cc81d5a6a0cf73a0624", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f88237ddd5ce8b355670336660e20dc35a65f6f34a547cc81d5a6a0cf73a0624" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:28:11 [INFO] [stderr] | [INFO] [stderr] 28 | if(data.operator != '\0'){ [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 28 - if(data.operator != '\0'){ [INFO] [stderr] 28 + if data.operator != '\0' { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:37:11 [INFO] [stderr] | [INFO] [stderr] 37 | if(data.operator != '\0'){ [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 37 - if(data.operator != '\0'){ [INFO] [stderr] 37 + if data.operator != '\0' { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:46:11 [INFO] [stderr] | [INFO] [stderr] 46 | if(data.operator != '\0'){ [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 46 - if(data.operator != '\0'){ [INFO] [stderr] 46 + if data.operator != '\0' { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:55:11 [INFO] [stderr] | [INFO] [stderr] 55 | if(data.operator != '\0'){ [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 55 - if(data.operator != '\0'){ [INFO] [stderr] 55 + if data.operator != '\0' { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:64:11 [INFO] [stderr] | [INFO] [stderr] 64 | if(data.operator != '\0'){ [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 64 - if(data.operator != '\0'){ [INFO] [stderr] 64 + if data.operator != '\0' { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:114:11 [INFO] [stderr] | [INFO] [stderr] 114 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 114 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stderr] 114 + if data.num == "0" && data.operator == '\0' { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:123:11 [INFO] [stderr] | [INFO] [stderr] 123 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 123 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stderr] 123 + if data.num == "0" && data.operator == '\0' { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:131:11 [INFO] [stderr] | [INFO] [stderr] 131 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 131 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stderr] 131 + if data.num == "0" && data.operator == '\0' { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:139:11 [INFO] [stderr] | [INFO] [stderr] 139 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 139 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stderr] 139 + if data.num == "0" && data.operator == '\0' { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:147:11 [INFO] [stderr] | [INFO] [stderr] 147 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 147 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stderr] 147 + if data.num == "0" && data.operator == '\0' { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:155:11 [INFO] [stderr] | [INFO] [stderr] 155 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 155 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stderr] 155 + if data.num == "0" && data.operator == '\0' { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:163:11 [INFO] [stderr] | [INFO] [stderr] 163 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 163 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stderr] 163 + if data.num == "0" && data.operator == '\0' { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:171:11 [INFO] [stderr] | [INFO] [stderr] 171 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 171 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stderr] 171 + if data.num == "0" && data.operator == '\0' { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:179:11 [INFO] [stderr] | [INFO] [stderr] 179 | if( data.num == "0" && data.operator == '\0' ){ [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 179 - if( data.num == "0" && data.operator == '\0' ){ [INFO] [stderr] 179 + if data.num == "0" && data.operator == '\0' { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rust_calculator` (bin "rust_calculator" test) generated 14 warnings (run `cargo fix --bin "rust_calculator" -p rust_calculator --tests` to apply 14 suggestions) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/build/rust_calculator/bafb045ae5a2883e/out/rust_calculator-bafb045ae5a2883e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f88237ddd5ce8b355670336660e20dc35a65f6f34a547cc81d5a6a0cf73a0624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f88237ddd5ce8b355670336660e20dc35a65f6f34a547cc81d5a6a0cf73a0624", kill_on_drop: false }` [INFO] [stdout] f88237ddd5ce8b355670336660e20dc35a65f6f34a547cc81d5a6a0cf73a0624