[INFO] cloning repository https://github.com/WorleyD/CompGeo-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WorleyD/CompGeo-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWorleyD%2FCompGeo-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWorleyD%2FCompGeo-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce675f9cba178cfef3565f1a88a55e0b236cadb5 [INFO] checking WorleyD/CompGeo-Rust/ce675f9cba178cfef3565f1a88a55e0b236cadb5 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWorleyD%2FCompGeo-Rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WorleyD/CompGeo-Rust on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WorleyD/CompGeo-Rust [INFO] finished tweaking git repo https://github.com/WorleyD/CompGeo-Rust [INFO] tweaked toml for git repo https://github.com/WorleyD/CompGeo-Rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/WorleyD/CompGeo-Rust 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f94f473efd7e961c372360958de98e70ff38b0079edc7abd5689b8f5130350e2 [INFO] running `Command { std: "docker" "start" "-a" "f94f473efd7e961c372360958de98e70ff38b0079edc7abd5689b8f5130350e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f94f473efd7e961c372360958de98e70ff38b0079edc7abd5689b8f5130350e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f94f473efd7e961c372360958de98e70ff38b0079edc7abd5689b8f5130350e2", kill_on_drop: false }` [INFO] [stdout] f94f473efd7e961c372360958de98e70ff38b0079edc7abd5689b8f5130350e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71af7916391777015774632907d66b97506062531f27b7d75dcff2e13c6773ca [INFO] running `Command { std: "docker" "start" "-a" "71af7916391777015774632907d66b97506062531f27b7d75dcff2e13c6773ca", kill_on_drop: false }` [INFO] [stderr] Checking compgeo-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0616]: field `p1` of struct `Line` is private [INFO] [stdout] --> src/point.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | let l1 = Line::new(*self, line.p1, false); [INFO] [stdout] | ^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `p2` of struct `Line` is private [INFO] [stdout] --> src/point.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | let l2 = Line::new(*self, line.p2, false); [INFO] [stdout] | ^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `p1` of struct `Line` is private [INFO] [stdout] --> src/point.rs:63:38 [INFO] [stdout] | [INFO] [stdout] 63 | let p1 = Point::new(&self.x - line.p1.x, &self.y - line.p1.y); [INFO] [stdout] | ^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `p1` of struct `Line` is private [INFO] [stdout] --> src/point.rs:63:59 [INFO] [stdout] | [INFO] [stdout] 63 | let p1 = Point::new(&self.x - line.p1.x, &self.y - line.p1.y); [INFO] [stdout] | ^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `p2` of struct `Line` is private [INFO] [stdout] --> src/point.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | let p2 = Point::new(&self.x - line.p2.x, &self.y - line.p2.y); [INFO] [stdout] | ^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `p2` of struct `Line` is private [INFO] [stdout] --> src/point.rs:64:59 [INFO] [stdout] | [INFO] [stdout] 64 | let p2 = Point::new(&self.x - line.p2.x, &self.y - line.p2.y); [INFO] [stdout] | ^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `q` is never read [INFO] [stdout] --> src/point.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | let mut q = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `p1` of struct `line::Line` is private [INFO] [stdout] --> src/point.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | let l1 = Line::new(*self, line.p1, false); [INFO] [stdout] | ^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `p2` of struct `line::Line` is private [INFO] [stdout] --> src/point.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | let l2 = Line::new(*self, line.p2, false); [INFO] [stdout] | ^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `p1` of struct `line::Line` is private [INFO] [stdout] --> src/point.rs:63:38 [INFO] [stdout] | [INFO] [stdout] 63 | let p1 = Point::new(&self.x - line.p1.x, &self.y - line.p1.y); [INFO] [stdout] | ^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `p1` of struct `line::Line` is private [INFO] [stdout] --> src/point.rs:63:59 [INFO] [stdout] | [INFO] [stdout] 63 | let p1 = Point::new(&self.x - line.p1.x, &self.y - line.p1.y); [INFO] [stdout] | ^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `p2` of struct `line::Line` is private [INFO] [stdout] --> src/point.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | let p2 = Point::new(&self.x - line.p2.x, &self.y - line.p2.y); [INFO] [stdout] | ^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `p2` of struct `line::Line` is private [INFO] [stdout] --> src/point.rs:64:59 [INFO] [stdout] | [INFO] [stdout] 64 | let p2 = Point::new(&self.x - line.p2.x, &self.y - line.p2.y); [INFO] [stdout] | ^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/point.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | let mut d = points[i].distance_squared(&points[j]); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0616`. [INFO] [stdout] [INFO] [stderr] error: could not compile `compgeo-rust` (lib) due to 7 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: value assigned to `q` is never read [INFO] [stdout] --> src/point.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | let mut q = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/point.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | let mut d = points[i].distance_squared(&points[j]); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/lib.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | let (p1,p2,d) = closest_pair(&points); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/lib.rs:124:11 [INFO] [stdout] | [INFO] [stdout] 124 | let (p1,p2,d) = closest_pair(&points); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/lib.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | let (p1,p2,d) = closest_pair(&points2); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/lib.rs:128:11 [INFO] [stdout] | [INFO] [stdout] 128 | let (p1,p2,d) = closest_pair(&points2); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/lib.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | let (p1,p2,d) = closest_pair(&points3); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/lib.rs:132:11 [INFO] [stdout] | [INFO] [stdout] 132 | let (p1,p2,d) = closest_pair(&points3); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:92:7 [INFO] [stdout] | [INFO] [stdout] 92 | let mut xs1: [f64; 10] = [0.0, 0.0, 1.0, 2.0, 1.0, 1.0, 2.0, 4.0, 4.0, 4.5]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | let mut ys1: [f64; 10] = [0.0, 6.0, 7.0, 5.0, 2.0, 1.0, 0.0, 4.0, 1.0, 1.0]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:95:7 [INFO] [stdout] | [INFO] [stdout] 95 | let mut xs2: [f64; 10] = [0.0, 0.0, 1.0, 2.0, 1.0, 1.0, 2.0, 4.0, 4.0, 0.0]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | let mut ys2: [f64; 10] = [0.0, 6.0, 7.0, 5.0, 2.0, 1.0, 0.0, 4.0, 1.0, 5.5]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:98:7 [INFO] [stdout] | [INFO] [stdout] 98 | let mut xs3: [f64; 10] = [0.0, 0.0, 1.0, 2.0, 1.0, 1.0, 2.0, 4.0, 4.0, 2.5]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | let mut ys3: [f64; 10] = [0.0, 6.0, 7.0, 5.0, 2.0, 1.0, 0.0, 4.0, 1.0, 0.0]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:446:7 [INFO] [stdout] | [INFO] [stdout] 446 | let mut xs: [f64; 6] = [0.0, 0.0, 1.0, 2.0, 1.0, 2.0]; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:447:7 [INFO] [stdout] | [INFO] [stdout] 447 | let mut ys: [f64; 6] = [0.0, 6.0, 7.0, 5.0, 2.0, 0.0]; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:459:7 [INFO] [stdout] | [INFO] [stdout] 459 | let mut xs: [f64; 6] = [2.0, 1.0, 2.0, 1.0, 0.0, 0.0]; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:460:7 [INFO] [stdout] | [INFO] [stdout] 460 | let mut ys: [f64; 6] = [0.0, 2.0, 5.0, 7.0, 6.0, 0.0]; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0616`. [INFO] [stdout] [INFO] [stderr] error: could not compile `compgeo-rust` (lib test) due to 7 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "71af7916391777015774632907d66b97506062531f27b7d75dcff2e13c6773ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71af7916391777015774632907d66b97506062531f27b7d75dcff2e13c6773ca", kill_on_drop: false }` [INFO] [stdout] 71af7916391777015774632907d66b97506062531f27b7d75dcff2e13c6773ca