[INFO] cloning repository https://github.com/HiruNya/example_vn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HiruNya/example_vn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHiruNya%2Fexample_vn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHiruNya%2Fexample_vn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a7dbf85181f11f6d2500ea946b483d3b534bb64 [INFO] checking HiruNya/example_vn against try#e61be1c89a2b3fd02452eef3c6186592711e4772 for pr-98456 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHiruNya%2Fexample_vn" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HiruNya/example_vn on toolchain e61be1c89a2b3fd02452eef3c6186592711e4772 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e61be1c89a2b3fd02452eef3c6186592711e4772" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HiruNya/example_vn [INFO] finished tweaking git repo https://github.com/HiruNya/example_vn [INFO] tweaked toml for git repo https://github.com/HiruNya/example_vn written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/HiruNya/example_vn already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e61be1c89a2b3fd02452eef3c6186592711e4772" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/HiruNya/gobu` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+e61be1c89a2b3fd02452eef3c6186592711e4772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba4adc29f99d9b2d64e1e014ab4dadd7b26fe25ffa49eb061d51a34e9d95f8f9 [INFO] running `Command { std: "docker" "start" "-a" "ba4adc29f99d9b2d64e1e014ab4dadd7b26fe25ffa49eb061d51a34e9d95f8f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba4adc29f99d9b2d64e1e014ab4dadd7b26fe25ffa49eb061d51a34e9d95f8f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba4adc29f99d9b2d64e1e014ab4dadd7b26fe25ffa49eb061d51a34e9d95f8f9", kill_on_drop: false }` [INFO] [stdout] ba4adc29f99d9b2d64e1e014ab4dadd7b26fe25ffa49eb061d51a34e9d95f8f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+e61be1c89a2b3fd02452eef3c6186592711e4772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b930551fd4ac0a3a3e995141e8e91bdb069cff36e5527a6c9a271783c87b8d64 [INFO] running `Command { std: "docker" "start" "-a" "b930551fd4ac0a3a3e995141e8e91bdb069cff36e5527a6c9a271783c87b8d64", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Checking lazy_static v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.3 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Checking piston-float v0.3.0 [INFO] [stderr] Compiling serde v1.0.65 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking token_store v0.1.2 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking adler32 v1.0.2 [INFO] [stderr] Checking shader_version v0.3.0 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking color_quant v1.0.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking piston-texture v0.6.0 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking interpolation v0.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking rustc-demangle v0.1.8 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking xi-unicode v0.1.0 [INFO] [stderr] Checking seahash v3.0.5 [INFO] [stderr] Checking claxon v0.3.1 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking indexmap v1.0.1 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.4 [INFO] [stderr] Checking piston-viewport v0.3.0 [INFO] [stderr] Checking vecmath v0.3.1 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking stb_truetype v0.2.2 [INFO] [stderr] Checking ogg v0.4.1 [INFO] [stderr] Checking rustc-hash v1.0.1 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking shared_library v0.1.8 [INFO] [stderr] Checking slice-deque v0.1.9 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Checking inflate v0.4.2 [INFO] [stderr] Checking gif v0.10.0 [INFO] [stderr] Compiling x11-dl v2.17.5 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling wayland-scanner v0.12.5 [INFO] [stderr] Checking lewton v0.5.2 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking tempfile v3.0.2 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling minimp3-sys v0.3.0 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Checking nom v4.0.0 [INFO] [stderr] Compiling syn v0.14.1 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking approx v0.2.0 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking ordered-float v0.5.0 [INFO] [stderr] Checking cgmath v0.14.1 [INFO] [stderr] Checking cpal v0.8.1 [INFO] [stderr] Checking rayon v1.0.1 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking minimp3 v0.3.0 [INFO] [stderr] Checking rusttype v0.4.3 [INFO] [stderr] Checking rusttype v0.6.1 [INFO] [stderr] Checking wayland-sys v0.12.5 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking backtrace v0.3.8 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Compiling glutin v0.14.0 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Checking piston2d-graphics v0.26.0 [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Checking num v0.1.42 [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] [stderr] Checking jpeg-decoder v0.1.14 [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" "b930551fd4ac0a3a3e995141e8e91bdb069cff36e5527a6c9a271783c87b8d64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b930551fd4ac0a3a3e995141e8e91bdb069cff36e5527a6c9a271783c87b8d64", kill_on_drop: false }` [INFO] [stdout] b930551fd4ac0a3a3e995141e8e91bdb069cff36e5527a6c9a271783c87b8d64