[INFO] cloning repository https://github.com/adamnemecek/gpucanvas_alpha [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adamnemecek/gpucanvas_alpha" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamnemecek%2Fgpucanvas_alpha", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamnemecek%2Fgpucanvas_alpha'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18a101c1bfc03fe70aff6e8d45c72d31c96746c2 [INFO] checking adamnemecek/gpucanvas_alpha against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamnemecek%2Fgpucanvas_alpha" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adamnemecek/gpucanvas_alpha on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adamnemecek/gpucanvas_alpha [INFO] finished tweaking git repo https://github.com/adamnemecek/gpucanvas_alpha [INFO] tweaked toml for git repo https://github.com/adamnemecek/gpucanvas_alpha written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/adamnemecek/gpucanvas_alpha 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 099cefd306a8f268e0d693e419ccc50d2c2e9715d149b1926a0badae85623ffa [INFO] running `Command { std: "docker" "start" "-a" "099cefd306a8f268e0d693e419ccc50d2c2e9715d149b1926a0badae85623ffa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "099cefd306a8f268e0d693e419ccc50d2c2e9715d149b1926a0badae85623ffa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "099cefd306a8f268e0d693e419ccc50d2c2e9715d149b1926a0badae85623ffa", kill_on_drop: false }` [INFO] [stdout] 099cefd306a8f268e0d693e419ccc50d2c2e9715d149b1926a0badae85623ffa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03f3f992a086ed91cc19c739f3a8a6369edfcf398a2c8b6d0334487dcdedc8a8 [INFO] running `Command { std: "docker" "start" "-a" "03f3f992a086ed91cc19c739f3a8a6369edfcf398a2c8b6d0334487dcdedc8a8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking bytemuck v1.3.1 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling gpucanvas v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking float-cmp v0.5.3 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking xmlparser v0.13.2 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking siphasher v0.2.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking svgtypes v0.5.0 [INFO] [stderr] Checking kurbo v0.6.2 [INFO] [stderr] Checking rgb v0.8.20 [INFO] [stderr] Checking roxmltree v0.13.0 [INFO] [stderr] Checking data-url v0.1.0 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking simplecss v0.2.0 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling harfbuzz-sys v0.3.4 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling rustybuzz v0.1.1 [INFO] [stderr] Checking generational-arena v0.2.8 [INFO] [stderr] Checking fontdb v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking unicode-script v0.5.2 [INFO] [stderr] Checking lru v0.5.3 [INFO] [stderr] Checking xmlwriter v0.1.0 [INFO] [stderr] Checking rctree v0.3.3 [INFO] [stderr] Checking imgref v1.6.1 [INFO] [stderr] Checking unicode-vo v0.1.0 [INFO] [stderr] Checking pico-args v0.3.3 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking euclid v0.20.14 [INFO] [stderr] Checking svg v0.8.0 [INFO] [stderr] Checking freetype v0.4.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking harfbuzz_rs v1.0.1 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.8 [INFO] [stdout] warning: unused import: `crate::utils::VecRetainMut` [INFO] [stdout] --> src/path/cache.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::utils::VecRetainMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `contour.fill` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/path/cache.rs:568:29 [INFO] [stdout] | [INFO] [stdout] 563 | for (p0, p1) in contour.point_pairs(&self.points) { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 568 | contour.fill.push(Vertex::new(lx, ly, 0.5, 1.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `contour.fill` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/path/cache.rs:574:29 [INFO] [stdout] | [INFO] [stdout] 563 | for (p0, p1) in contour.point_pairs(&self.points) { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 574 | contour.fill.push(Vertex::new(lx0, ly0, 0.5, 1.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `contour.fill` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/path/cache.rs:575:29 [INFO] [stdout] | [INFO] [stdout] 563 | for (p0, p1) in contour.point_pairs(&self.points) { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 575 | contour.fill.push(Vertex::new(lx1, ly1, 0.5, 1.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `contour.fill` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/path/cache.rs:578:25 [INFO] [stdout] | [INFO] [stdout] 563 | for (p0, p1) in contour.point_pairs(&self.points) { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 578 | / contour [INFO] [stdout] 579 | | .fill [INFO] [stdout] 580 | | .push(Vertex::new(p1.x + (p1.dmx * woff), p1.y + (p1.dmy * woff), 0.5, 1.0)); [INFO] [stdout] | |________________________________________________________________________________________________________^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `contour.stroke` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/path/cache.rs:605:36 [INFO] [stdout] | [INFO] [stdout] 603 | for (p0, p1) in contour.point_pairs(&self.points) { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 604 | if p1.flags.contains(PointFlags::BEVEL | PointFlags::INNERBEVEL) { [INFO] [stdout] 605 | bevel_join(&mut contour.stroke, p0, &p1, lw, rw, lu, ru); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `contour.stroke` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/path/cache.rs:607:25 [INFO] [stdout] | [INFO] [stdout] 603 | for (p0, p1) in contour.point_pairs(&self.points) { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 607 | / contour [INFO] [stdout] 608 | | .stroke [INFO] [stdout] 609 | | .push(Vertex::new(p1.x + (p1.dmx * lw), p1.y + (p1.dmy * lw), lu, 1.0)); [INFO] [stdout] | |___________________________________________________________________________________________________^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `contour.stroke` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/path/cache.rs:610:25 [INFO] [stdout] | [INFO] [stdout] 603 | for (p0, p1) in contour.point_pairs(&self.points) { [INFO] [stdout] | --------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 610 | / contour [INFO] [stdout] 611 | | .stroke [INFO] [stdout] 612 | | .push(Vertex::new(p1.x - (p1.dmx * rw), p1.y - (p1.dmy * rw), ru, 1.0)); [INFO] [stdout] | |___________________________________________________________________________________________________^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `contour.stroke` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/path/cache.rs:652:29 [INFO] [stdout] | [INFO] [stdout] 647 | for (i, (p0, p1)) in contour.point_pairs(&self.points).enumerate() { [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 652 | &mut contour.stroke, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `contour.stroke` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/path/cache.rs:662:29 [INFO] [stdout] | [INFO] [stdout] 647 | for (i, (p0, p1)) in contour.point_pairs(&self.points).enumerate() { [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 662 | &mut contour.stroke, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `contour.stroke` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/path/cache.rs:672:45 [INFO] [stdout] | [INFO] [stdout] 647 | for (i, (p0, p1)) in contour.point_pairs(&self.points).enumerate() { [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 672 | round_cap_start(&mut contour.stroke, &p0, &p0, stroke_width, ncap as usize, u0, u1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `contour.stroke` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/path/cache.rs:681:33 [INFO] [stdout] | [INFO] [stdout] 647 | for (i, (p0, p1)) in contour.point_pairs(&self.points).enumerate() { [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 681 | &mut contour.stroke, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `contour.stroke` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/path/cache.rs:691:40 [INFO] [stdout] | [INFO] [stdout] 647 | for (i, (p0, p1)) in contour.point_pairs(&self.points).enumerate() { [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 691 | bevel_join(&mut contour.stroke, &p0, &p1, stroke_width, stroke_width, u0, u1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `contour.stroke` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/path/cache.rs:694:25 [INFO] [stdout] | [INFO] [stdout] 647 | for (i, (p0, p1)) in contour.point_pairs(&self.points).enumerate() { [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 694 | / contour.stroke.push(Vertex::new( [INFO] [stdout] 695 | | p1.x + (p1.dmx * stroke_width), [INFO] [stdout] 696 | | p1.y + (p1.dmy * stroke_width), [INFO] [stdout] 697 | | u0, [INFO] [stdout] 698 | | 1.0, [INFO] [stdout] 699 | | )); [INFO] [stdout] | |__________________________^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `contour.stroke` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/path/cache.rs:700:25 [INFO] [stdout] | [INFO] [stdout] 647 | for (i, (p0, p1)) in contour.point_pairs(&self.points).enumerate() { [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 700 | / contour.stroke.push(Vertex::new( [INFO] [stdout] 701 | | p1.x - (p1.dmx * stroke_width), [INFO] [stdout] 702 | | p1.y - (p1.dmy * stroke_width), [INFO] [stdout] 703 | | u1, [INFO] [stdout] 704 | | 1.0, [INFO] [stdout] 705 | | )); [INFO] [stdout] | |__________________________^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `contour.stroke` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/path/cache.rs:713:29 [INFO] [stdout] | [INFO] [stdout] 647 | for (i, (p0, p1)) in contour.point_pairs(&self.points).enumerate() { [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 713 | &mut contour.stroke, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `contour.stroke` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/path/cache.rs:723:29 [INFO] [stdout] | [INFO] [stdout] 647 | for (i, (p0, p1)) in contour.point_pairs(&self.points).enumerate() { [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 723 | &mut contour.stroke, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `contour.stroke` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/path/cache.rs:733:43 [INFO] [stdout] | [INFO] [stdout] 647 | for (i, (p0, p1)) in contour.point_pairs(&self.points).enumerate() { [INFO] [stdout] | --------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 733 | round_cap_end(&mut contour.stroke, &p1, &p0, stroke_width, ncap as usize, u0, u1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gpucanvas` (lib) due to 18 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "03f3f992a086ed91cc19c739f3a8a6369edfcf398a2c8b6d0334487dcdedc8a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03f3f992a086ed91cc19c739f3a8a6369edfcf398a2c8b6d0334487dcdedc8a8", kill_on_drop: false }` [INFO] [stdout] 03f3f992a086ed91cc19c739f3a8a6369edfcf398a2c8b6d0334487dcdedc8a8