[INFO] cloning repository https://github.com/neogeek23/rusty_snek_gaem [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/neogeek23/rusty_snek_gaem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneogeek23%2Frusty_snek_gaem", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneogeek23%2Frusty_snek_gaem'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de117a222d765aca78bfd9aadfc5afda3c6ee6f9 [INFO] documenting neogeek23/rusty_snek_gaem against beta-2022-07-10 for beta-1.63-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneogeek23%2Frusty_snek_gaem" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 2% (1382/50628) Updating files: 2% (1498/50628) Updating files: 3% (1519/50628) Updating files: 3% (1703/50628) Updating files: 3% (1857/50628) Updating files: 3% (1866/50628) Updating files: 3% (1919/50628) Updating files: 3% (1960/50628) Updating files: 3% (1994/50628) Updating files: 3% (2009/50628) Updating files: 4% (2026/50628) Updating files: 4% (2066/50628) Updating files: 4% (2212/50628) Updating files: 4% (2434/50628) Updating files: 5% (2532/50628) Updating files: 6% (3038/50628) Updating files: 7% (3544/50628) Updating files: 8% (4051/50628) Updating files: 9% (4557/50628) Updating files: 10% (5063/50628) Updating files: 11% (5570/50628) Updating files: 12% (6076/50628) Updating files: 13% (6582/50628) Updating files: 14% (7088/50628) Updating files: 15% (7595/50628) Updating files: 16% (8101/50628) Updating files: 17% (8607/50628) Updating files: 18% (9114/50628) Updating files: 19% (9620/50628) Updating files: 20% (10126/50628) Updating files: 20% (10411/50628) Updating files: 21% (10632/50628) Updating files: 22% (11139/50628) Updating files: 23% (11645/50628) Updating files: 24% (12151/50628) Updating files: 25% (12657/50628) Updating files: 26% (13164/50628) Updating files: 27% (13670/50628) Updating files: 28% (14176/50628) Updating files: 29% (14683/50628) Updating files: 30% (15189/50628) Updating files: 31% (15695/50628) Updating files: 32% (16201/50628) Updating files: 33% (16708/50628) Updating files: 34% (17214/50628) Updating files: 35% (17720/50628) Updating files: 36% (18227/50628) Updating files: 37% (18733/50628) Updating files: 38% (19239/50628) Updating files: 39% (19745/50628) Updating files: 40% (20252/50628) Updating files: 41% (20758/50628) Updating files: 42% (21264/50628) Updating files: 43% (21771/50628) Updating files: 44% (22277/50628) Updating files: 45% (22783/50628) Updating files: 46% (23289/50628) Updating files: 47% (23796/50628) Updating files: 48% (24302/50628) Updating files: 49% (24808/50628) Updating files: 50% (25314/50628) Updating files: 51% (25821/50628) Updating files: 52% (26327/50628) Updating files: 53% (26833/50628) Updating files: 53% (27327/50628) Updating files: 54% (27340/50628) Updating files: 55% (27846/50628) Updating files: 56% (28352/50628) Updating files: 57% (28858/50628) Updating files: 58% (29365/50628) Updating files: 59% (29871/50628) Updating files: 60% (30377/50628) Updating files: 61% (30884/50628) Updating files: 62% (31390/50628) Updating files: 63% (31896/50628) Updating files: 64% (32402/50628) Updating files: 65% (32909/50628) Updating files: 66% (33415/50628) Updating files: 67% (33921/50628) Updating files: 68% (34428/50628) Updating files: 69% (34934/50628) Updating files: 70% (35440/50628) Updating files: 71% (35946/50628) Updating files: 72% (36453/50628) Updating files: 73% (36959/50628) Updating files: 74% (37465/50628) Updating files: 75% (37971/50628) Updating files: 76% (38478/50628) Updating files: 77% (38984/50628) Updating files: 78% (39490/50628) Updating files: 79% (39997/50628) Updating files: 80% (40503/50628) Updating files: 81% (41009/50628) Updating files: 81% (41380/50628) Updating files: 82% (41515/50628) Updating files: 83% (42022/50628) Updating files: 84% (42528/50628) Updating files: 85% (43034/50628) Updating files: 86% (43541/50628) Updating files: 87% (44047/50628) Updating files: 88% (44553/50628) Updating files: 89% (45059/50628) Updating files: 90% (45566/50628) Updating files: 91% (46072/50628) Updating files: 92% (46578/50628) Updating files: 93% (47085/50628) Updating files: 94% (47591/50628) Updating files: 95% (48097/50628) Updating files: 96% (48603/50628) Updating files: 97% (49110/50628) Updating files: 98% (49616/50628) Updating files: 98% (49778/50628) Updating files: 98% (49970/50628) Updating files: 99% (50122/50628) Updating files: 99% (50308/50628) Updating files: 100% (50628/50628) Updating files: 100% (50628/50628), done. [INFO] validating manifest of git repo https://github.com/neogeek23/rusty_snek_gaem on toolchain beta-2022-07-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/neogeek23/rusty_snek_gaem [INFO] finished tweaking git repo https://github.com/neogeek23/rusty_snek_gaem [INFO] tweaked toml for git repo https://github.com/neogeek23/rusty_snek_gaem written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/neogeek23/rusty_snek_gaem already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "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] ac0d826b3aafcc891d5c7dc2ca8e998183857b757d0705d5c3fe280d3eeb3c76 [INFO] running `Command { std: "docker" "start" "-a" "ac0d826b3aafcc891d5c7dc2ca8e998183857b757d0705d5c3fe280d3eeb3c76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac0d826b3aafcc891d5c7dc2ca8e998183857b757d0705d5c3fe280d3eeb3c76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac0d826b3aafcc891d5c7dc2ca8e998183857b757d0705d5c3fe280d3eeb3c76", kill_on_drop: false }` [INFO] [stdout] ac0d826b3aafcc891d5c7dc2ca8e998183857b757d0705d5c3fe280d3eeb3c76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", 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] 73864d398bfc9ad9a847577c67230cba8abf146310c077c379d7399c1bc89589 [INFO] running `Command { std: "docker" "start" "-a" "73864d398bfc9ad9a847577c67230cba8abf146310c077c379d7399c1bc89589", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling num-derive v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking lock_api v0.1.4 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Checking nix v0.11.0 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Checking inflate v0.4.3 [INFO] [stderr] Checking num-iter v0.1.37 [INFO] [stderr] Checking ordered-float v0.5.2 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking stb_truetype v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rusttype v0.4.3 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking wayland-sys v0.20.12 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking piston2d-graphics v0.26.0 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Checking wayland-commons v0.20.12 [INFO] [stderr] Checking rayon-core v1.4.1 [INFO] [stderr] Compiling syn v0.15.15 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling glutin v0.18.0 [INFO] [stdout] error[E0521]: borrowed data escapes outside of closure [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.26.0/./src/polygon.rs:47:81 [INFO] [stdout] | [INFO] [stdout] 46 | g.tri_list(draw_state, &self.color, |f| { [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] 47 | triangulation::with_polygon_tri_list(transform, polygon, |vertices| f(vertices)) [INFO] [stdout] | -------- ^^^^^^^^^^^ `vertices` escapes the closure body here [INFO] [stdout] | | [INFO] [stdout] | `vertices` is a reference that is only valid in the closure body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of closure [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.26.0/./src/polygon.rs:80:67 [INFO] [stdout] | [INFO] [stdout] 76 | g.tri_list(draw_state, &self.color, |f| { [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 80 | |vertices| f(vertices)) [INFO] [stdout] | -------- ^^^^^^^^^^^ `vertices` escapes the closure body here [INFO] [stdout] | | [INFO] [stdout] | `vertices` is a reference that is only valid in the closure body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of closure [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.26.0/./src/line.rs:100:79 [INFO] [stdout] | [INFO] [stdout] 95 | g.tri_list(draw_state, &self.color, |f| { [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 100 | |vertices| f(vertices)) [INFO] [stdout] | -------- ^^^^^^^^^^^ `vertices` escapes the closure body here [INFO] [stdout] | | [INFO] [stdout] | `vertices` is a reference that is only valid in the closure body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of closure [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.26.0/./src/line.rs:109:79 [INFO] [stdout] | [INFO] [stdout] 104 | g.tri_list(draw_state, &self.color, |f| { [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 109 | |vertices| f(vertices)) [INFO] [stdout] | -------- ^^^^^^^^^^^ `vertices` escapes the closure body here [INFO] [stdout] | | [INFO] [stdout] | `vertices` is a reference that is only valid in the closure body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of closure [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.26.0/./src/line.rs:118:79 [INFO] [stdout] | [INFO] [stdout] 113 | g.tri_list(draw_state, &self.color, |f| { [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 118 | |vertices| f(vertices)) [INFO] [stdout] | -------- ^^^^^^^^^^^ `vertices` escapes the closure body here [INFO] [stdout] | | [INFO] [stdout] | `vertices` is a reference that is only valid in the closure body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of closure [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.26.0/./src/circle_arc.rs:97:57 [INFO] [stdout] | [INFO] [stdout] 90 | g.tri_list(&draw_state, &self.color, |f| { [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 97 | |vertices| f(vertices)) [INFO] [stdout] | -------- ^^^^^^^^^^^ `vertices` escapes the closure body here [INFO] [stdout] | | [INFO] [stdout] | `vertices` is a reference that is only valid in the closure body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of closure [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.26.0/./src/ellipse.rs:101:61 [INFO] [stdout] | [INFO] [stdout] 97 | g.tri_list(draw_state, &self.color, |f| { [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 101 | |vertices| f(vertices)) [INFO] [stdout] | -------- ^^^^^^^^^^^ `vertices` escapes the closure body here [INFO] [stdout] | | [INFO] [stdout] | `vertices` is a reference that is only valid in the closure body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of closure [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.26.0/./src/ellipse.rs:110:72 [INFO] [stdout] | [INFO] [stdout] 105 | g.tri_list(&draw_state, &color, |f| { [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 110 | |vertices| f(vertices)) [INFO] [stdout] | -------- ^^^^^^^^^^^ `vertices` escapes the closure body here [INFO] [stdout] | | [INFO] [stdout] | `vertices` is a reference that is only valid in the closure body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.26.0/./src/rectangle.rs:195:39 [INFO] [stdout] | [INFO] [stdout] 195 | ... |f| f(&triangulation::rect_tri_list_xy(transform, rectangle))); [INFO] [stdout] | - ---^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | temporary value is freed at the end of this statement [INFO] [stdout] | | | creates a temporary which is freed while still in use [INFO] [stdout] | | argument requires that borrow lasts for `'1` [INFO] [stdout] | has type `&mut dyn FnMut(&'1 [[f32; 2]])` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of closure [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.26.0/./src/rectangle.rs:203:81 [INFO] [stdout] | [INFO] [stdout] 198 | g.tri_list(draw_state, &self.color, |f| { [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 203 | |vertices| f(vertices)) [INFO] [stdout] | -------- ^^^^^^^^^^^ `vertices` escapes the closure body here [INFO] [stdout] | | [INFO] [stdout] | `vertices` is a reference that is only valid in the closure body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of closure [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.26.0/./src/rectangle.rs:212:81 [INFO] [stdout] | [INFO] [stdout] 207 | g.tri_list(draw_state, &self.color, |f| { [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 212 | |vertices| f(vertices)) [INFO] [stdout] | -------- ^^^^^^^^^^^ `vertices` escapes the closure body here [INFO] [stdout] | | [INFO] [stdout] | `vertices` is a reference that is only valid in the closure body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.26.0/./src/rectangle.rs:225:28 [INFO] [stdout] | [INFO] [stdout] 224 | g.tri_list(draw_state, &color, |f| { [INFO] [stdout] | - has type `&mut dyn FnMut(&'1 [[f32; 2]])` [INFO] [stdout] 225 | f(&triangulation::rect_border_tri_list_xy(transform, [INFO] [stdout] | _________________________-__^ [INFO] [stdout] | |_________________________| [INFO] [stdout] | || [INFO] [stdout] 226 | || rectangle, [INFO] [stdout] 227 | || border_radius)) [INFO] [stdout] | ||________________________________________________________________________________^- argument requires that borrow lasts for `'1` [INFO] [stdout] | |________________________________________________________________________________| [INFO] [stdout] | creates a temporary which is freed while still in use [INFO] [stdout] 228 | }); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of closure [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.26.0/./src/rectangle.rs:237:88 [INFO] [stdout] | [INFO] [stdout] 231 | g.tri_list(draw_state, &color, |f| { [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 237 | |vertices| f(vertices)) [INFO] [stdout] | -------- ^^^^^^^^^^^ `vertices` escapes the closure body here [INFO] [stdout] | | [INFO] [stdout] | `vertices` is a reference that is only valid in the closure body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of closure [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.26.0/./src/rectangle.rs:247:88 [INFO] [stdout] | [INFO] [stdout] 241 | g.tri_list(draw_state, &color, |f| { [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 247 | |vertices| f(vertices)) [INFO] [stdout] | -------- ^^^^^^^^^^^ `vertices` escapes the closure body here [INFO] [stdout] | | [INFO] [stdout] | `vertices` is a reference that is only valid in the closure body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.26.0/./src/image.rs:152:16 [INFO] [stdout] | [INFO] [stdout] 151 | g.tri_list_uv(draw_state, &color, texture, |f| { [INFO] [stdout] | - has type `&mut dyn FnMut(&'1 [[f32; 2]], &[[f32; 2]])` [INFO] [stdout] 152 | f(&triangulation::rect_tri_list_xy(transform, rectangle), [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary which is freed while still in use [INFO] [stdout] | _____________| [INFO] [stdout] | | [INFO] [stdout] 153 | | &triangulation::rect_tri_list_uv(texture, source_rectangle)) [INFO] [stdout] | |__________________________________________________________________________- argument requires that borrow lasts for `'1` [INFO] [stdout] 154 | }); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.26.0/./src/image.rs:153:16 [INFO] [stdout] | [INFO] [stdout] 151 | g.tri_list_uv(draw_state, &color, texture, |f| { [INFO] [stdout] | - has type `&mut dyn FnMut(&[[f32; 2]], &'2 [[f32; 2]])` [INFO] [stdout] 152 | / f(&triangulation::rect_tri_list_xy(transform, rectangle), [INFO] [stdout] 153 | | &triangulation::rect_tri_list_uv(texture, source_rectangle)) [INFO] [stdout] | |________________^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- argument requires that borrow lasts for `'2` [INFO] [stdout] | | [INFO] [stdout] | creates a temporary which is freed while still in use [INFO] [stdout] 154 | }); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.26.0/./src/image.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 167 | g.tri_list_uv(draw_state, &color, texture, |f| for r in rects { [INFO] [stdout] | - has type `&mut dyn FnMut(&'1 [[f32; 2]], &[[f32; 2]])` [INFO] [stdout] 168 | f(&triangulation::rect_tri_list_xy(transform, r.0), [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary which is freed while still in use [INFO] [stdout] | _________| [INFO] [stdout] | | [INFO] [stdout] 169 | | &triangulation::rect_tri_list_uv(texture, r.1)) [INFO] [stdout] | |_________________________________________________________- argument requires that borrow lasts for `'1` [INFO] [stdout] 170 | }); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.26.0/./src/image.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 167 | g.tri_list_uv(draw_state, &color, texture, |f| for r in rects { [INFO] [stdout] | - has type `&mut dyn FnMut(&[[f32; 2]], &'2 [[f32; 2]])` [INFO] [stdout] 168 | / f(&triangulation::rect_tri_list_xy(transform, r.0), [INFO] [stdout] 169 | | &triangulation::rect_tri_list_uv(texture, r.1)) [INFO] [stdout] | |____________^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- argument requires that borrow lasts for `'2` [INFO] [stdout] | | [INFO] [stdout] | creates a temporary which is freed while still in use [INFO] [stdout] 170 | }); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `vertices` does not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.26.0/./src/deform.rs:203:68 [INFO] [stdout] | [INFO] [stdout] 203 | g.tri_list_uv(&draw_state, &color, texture, |f| f(&vertices, &uvs)); [INFO] [stdout] | --- ---^^^^^^^^------- [INFO] [stdout] | | | | [INFO] [stdout] | | | borrowed value does not live long enough [INFO] [stdout] | | argument requires that `vertices` is borrowed for `'static` [INFO] [stdout] | value captured here [INFO] [stdout] ... [INFO] [stdout] 217 | } [INFO] [stdout] | - `vertices` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `uvs` does not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.26.0/./src/deform.rs:203:79 [INFO] [stdout] | [INFO] [stdout] 203 | g.tri_list_uv(&draw_state, &color, texture, |f| f(&vertices, &uvs)); [INFO] [stdout] | --- --------------^^^- [INFO] [stdout] | | | | [INFO] [stdout] | | | borrowed value does not live long enough [INFO] [stdout] | | argument requires that `uvs` is borrowed for `'static` [INFO] [stdout] | value captured here [INFO] [stdout] ... [INFO] [stdout] 217 | } [INFO] [stdout] | - `uvs` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0506]: cannot assign to `vertices[_]` because it is borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.26.0/./src/deform.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 203 | g.tri_list_uv(&draw_state, &color, texture, |f| f(&vertices, &uvs)); [INFO] [stdout] | --- ------------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | borrow occurs due to use in closure [INFO] [stdout] | | argument requires that `vertices` is borrowed for `'static` [INFO] [stdout] | borrow of `vertices[_]` occurs here [INFO] [stdout] ... [INFO] [stdout] 207 | vertices[offset] = [tx(mat, vert[0], vert[1]), ty(mat, vert[0], vert[1])]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assignment to borrowed `vertices[_]` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0506]: cannot assign to `uvs[_]` because it is borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.26.0/./src/deform.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 203 | g.tri_list_uv(&draw_state, &color, texture, |f| f(&vertices, &uvs)); [INFO] [stdout] | --- ------------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | borrow occurs due to use in closure [INFO] [stdout] | | argument requires that `uvs` is borrowed for `'static` [INFO] [stdout] | borrow of `uvs[_]` occurs here [INFO] [stdout] ... [INFO] [stdout] 208 | uvs[offset] = self.texture_coords[ind]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assignment to borrowed `uvs[_]` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `vertices` does not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.26.0/./src/deform.rs:215:34 [INFO] [stdout] | [INFO] [stdout] 215 | |f| f(&vertices[..offset], &uvs[..offset])); [INFO] [stdout] | --- ---^^^^^^^^--------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | borrowed value does not live long enough [INFO] [stdout] | | argument requires that `vertices` is borrowed for `'static` [INFO] [stdout] | value captured here [INFO] [stdout] 216 | } [INFO] [stdout] 217 | } [INFO] [stdout] | - `vertices` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `uvs` does not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.26.0/./src/deform.rs:215:55 [INFO] [stdout] | [INFO] [stdout] 215 | |f| f(&vertices[..offset], &uvs[..offset])); [INFO] [stdout] | --- ------------------------^^^----------- [INFO] [stdout] | | | | [INFO] [stdout] | | | borrowed value does not live long enough [INFO] [stdout] | | argument requires that `uvs` is borrowed for `'static` [INFO] [stdout] | value captured here [INFO] [stdout] 216 | } [INFO] [stdout] 217 | } [INFO] [stdout] | - `uvs` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0506, E0521, E0597, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0506`. [INFO] [stdout] [INFO] [stderr] error: could not compile `piston2d-graphics` due to 25 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "73864d398bfc9ad9a847577c67230cba8abf146310c077c379d7399c1bc89589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73864d398bfc9ad9a847577c67230cba8abf146310c077c379d7399c1bc89589", kill_on_drop: false }` [INFO] [stdout] 73864d398bfc9ad9a847577c67230cba8abf146310c077c379d7399c1bc89589