[INFO] cloning repository https://github.com/linus131/StlSlicer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/linus131/StlSlicer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinus131%2FStlSlicer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinus131%2FStlSlicer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e39eba4d30e53616d6b72fcd2d7e90ead236ee5 [INFO] documenting linus131/StlSlicer against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinus131%2FStlSlicer" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/linus131/StlSlicer on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/linus131/StlSlicer [INFO] finished tweaking git repo https://github.com/linus131/StlSlicer [INFO] tweaked toml for git repo https://github.com/linus131/StlSlicer written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/linus131/StlSlicer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e425037c747e6d7b35799cb900bb4106388fd4f8c666bf2514fa2231d36081a9 [INFO] running `Command { std: "docker" "start" "-a" "e425037c747e6d7b35799cb900bb4106388fd4f8c666bf2514fa2231d36081a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e425037c747e6d7b35799cb900bb4106388fd4f8c666bf2514fa2231d36081a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e425037c747e6d7b35799cb900bb4106388fd4f8c666bf2514fa2231d36081a9", kill_on_drop: false }` [INFO] [stdout] e425037c747e6d7b35799cb900bb4106388fd4f8c666bf2514fa2231d36081a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d41851eae384022cf1174ccc2ee79bbde70851a6455c7fe024b1908310b7cad2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d41851eae384022cf1174ccc2ee79bbde70851a6455c7fe024b1908310b7cad2", kill_on_drop: false }` [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Documenting stlslicer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/main.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | return ((self.x-other.x).abs() < EPSILON && (self.y-other.y).abs() < EPSILON);//&& (self.z-other.z).abs() < EPSILON) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - return ((self.x-other.x).abs() < EPSILON && (self.y-other.y).abs() < EPSILON);//&& (self.z-other.z).abs() < EPSILON) [INFO] [stdout] 53 + return (self.x-other.x).abs() < EPSILON && (self.y-other.y).abs() < EPSILON;//&& (self.z-other.z).abs() < EPSILON) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:185:62 [INFO] [stdout] | [INFO] [stdout] 185 | if (minz as f64) < global_min_z { global_min_z = (minz as f64) }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 185 - if (minz as f64) < global_min_z { global_min_z = (minz as f64) }; [INFO] [stdout] 185 + if (minz as f64) < global_min_z { global_min_z = minz as f64 }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:186:62 [INFO] [stdout] | [INFO] [stdout] 186 | if (maxz as f64) > global_max_z { global_max_z = (maxz as f64)}; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 186 - if (maxz as f64) > global_max_z { global_max_z = (maxz as f64)}; [INFO] [stdout] 186 + if (maxz as f64) > global_max_z { global_max_z = maxz as f64}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:264:124 [INFO] [stdout] | [INFO] [stdout] 264 | ...+ 1] as f64) { return (mid + 1) as isize } else if (key < self.slices[mid] as f64) { hi = mid - 1 } else { lo = mid + 1 } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 264 - if (key > self.slices[mid] as f64) & (key < self.slices[mid + 1] as f64) { return (mid + 1) as isize } else if (key < self.slices[mid] as f64) { hi = mid - 1 } else { lo = mid + 1 } [INFO] [stdout] 264 + if (key > self.slices[mid] as f64) & (key < self.slices[mid + 1] as f64) { return (mid + 1) as isize } else if key < self.slices[mid] as f64 { hi = mid - 1 } else { lo = mid + 1 } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:279:154 [INFO] [stdout] | [INFO] [stdout] 279 | ...mid] as f64) { return (mid - 1) as isize } else if (key < self.slices[mid] as f64) { hi = mid - 1 } else { lo = mid + 1 } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 279 - if mid < 1 { return -1 } else if (key > self.slices[mid - 1] as f64) & (key < self.slices[mid] as f64) { return (mid - 1) as isize } else if (key < self.slices[mid] as f64) { hi = mid - 1 } else { lo = mid + 1 } [INFO] [stdout] 279 + if mid < 1 { return -1 } else if (key > self.slices[mid - 1] as f64) & (key < self.slices[mid] as f64) { return (mid - 1) as isize } else if key < self.slices[mid] as f64 { hi = mid - 1 } else { lo = mid + 1 } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:321:16 [INFO] [stdout] | [INFO] [stdout] 321 | if (ip1.isValid() && ip2.isValid()) { StlFileSlicer::help_push_into_list(ip1, ip2, edges, &mut ip_temp)}; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 321 - if (ip1.isValid() && ip2.isValid()) { StlFileSlicer::help_push_into_list(ip1, ip2, edges, &mut ip_temp)}; [INFO] [stdout] 321 + if ip1.isValid() && ip2.isValid() { StlFileSlicer::help_push_into_list(ip1, ip2, edges, &mut ip_temp)}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:322:16 [INFO] [stdout] | [INFO] [stdout] 322 | if (ip3.isValid() && ip2.isValid()) { StlFileSlicer::help_push_into_list(ip2, ip3, edges, &mut ip_temp)}; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 322 - if (ip3.isValid() && ip2.isValid()) { StlFileSlicer::help_push_into_list(ip2, ip3, edges, &mut ip_temp)}; [INFO] [stdout] 322 + if ip3.isValid() && ip2.isValid() { StlFileSlicer::help_push_into_list(ip2, ip3, edges, &mut ip_temp)}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:323:16 [INFO] [stdout] | [INFO] [stdout] 323 | if (ip3.isValid() && ip1.isValid()) { StlFileSlicer::help_push_into_list(ip3, ip1, edges, &mut ip_temp)}; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 323 - if (ip3.isValid() && ip1.isValid()) { StlFileSlicer::help_push_into_list(ip3, ip1, edges, &mut ip_temp)}; [INFO] [stdout] 323 + if ip3.isValid() && ip1.isValid() { StlFileSlicer::help_push_into_list(ip3, ip1, edges, &mut ip_temp)}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:408:16 [INFO] [stdout] | [INFO] [stdout] 408 | if (ip1.isValid() && ip2.isValid()) { StlFileSlicer::help_push_into_hashmap(ip1, ip2, points_map, edges, intersection_points)}; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 408 - if (ip1.isValid() && ip2.isValid()) { StlFileSlicer::help_push_into_hashmap(ip1, ip2, points_map, edges, intersection_points)}; [INFO] [stdout] 408 + if ip1.isValid() && ip2.isValid() { StlFileSlicer::help_push_into_hashmap(ip1, ip2, points_map, edges, intersection_points)}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:409:16 [INFO] [stdout] | [INFO] [stdout] 409 | if (ip3.isValid() && ip2.isValid()) { StlFileSlicer::help_push_into_hashmap(ip2, ip3, points_map, edges, intersection_points)}; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 409 - if (ip3.isValid() && ip2.isValid()) { StlFileSlicer::help_push_into_hashmap(ip2, ip3, points_map, edges, intersection_points)}; [INFO] [stdout] 409 + if ip3.isValid() && ip2.isValid() { StlFileSlicer::help_push_into_hashmap(ip2, ip3, points_map, edges, intersection_points)}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:410:16 [INFO] [stdout] | [INFO] [stdout] 410 | if (ip3.isValid() && ip1.isValid()) { StlFileSlicer::help_push_into_hashmap(ip3, ip1, points_map, edges, intersection_points)}; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 410 - if (ip3.isValid() && ip1.isValid()) { StlFileSlicer::help_push_into_hashmap(ip3, ip1, points_map, edges, intersection_points)}; [INFO] [stdout] 410 + if ip3.isValid() && ip1.isValid() { StlFileSlicer::help_push_into_hashmap(ip3, ip1, points_map, edges, intersection_points)}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:501:27 [INFO] [stdout] | [INFO] [stdout] 501 | while (!marked[vertices[next][0]] || !marked[vertices[next][1]]) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 501 - while (!marked[vertices[next][0]] || !marked[vertices[next][1]]) { [INFO] [stdout] 501 + while !marked[vertices[next][0]] || !marked[vertices[next][1]] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:710:24 [INFO] [stdout] | [INFO] [stdout] 710 | if (orientation.abs() > mvo) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 710 - if (orientation.abs() > mvo) { [INFO] [stdout] 710 + if orientation.abs() > mvo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.53s [INFO] running `Command { std: "docker" "inspect" "d41851eae384022cf1174ccc2ee79bbde70851a6455c7fe024b1908310b7cad2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d41851eae384022cf1174ccc2ee79bbde70851a6455c7fe024b1908310b7cad2", kill_on_drop: false }` [INFO] [stdout] d41851eae384022cf1174ccc2ee79bbde70851a6455c7fe024b1908310b7cad2