[INFO] cloning repository https://github.com/Mange/raingun [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mange/raingun" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMange%2Fraingun", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMange%2Fraingun'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8715dca5835a4edb09dfcaa792ffc7cb74b9356c [INFO] testing Mange/raingun against master#6c20ab744b0f82646d90ce9d25894823abc9c669 for pr-99093 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMange%2Fraingun" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mange/raingun on toolchain 6c20ab744b0f82646d90ce9d25894823abc9c669 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6c20ab744b0f82646d90ce9d25894823abc9c669" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Mange/raingun [INFO] finished tweaking git repo https://github.com/Mange/raingun [INFO] tweaked toml for git repo https://github.com/Mange/raingun written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Mange/raingun already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6c20ab744b0f82646d90ce9d25894823abc9c669" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread-id v3.0.0 [INFO] [stderr] Downloaded x11-dl v2.13.0 [INFO] [stderr] Downloaded serde v0.9.12 [INFO] [stderr] Downloaded stb_truetype v0.2.1 [INFO] [stderr] Downloaded serde_yaml v0.6.2 [INFO] [stderr] Downloaded smallvec v0.3.3 [INFO] [stderr] Downloaded redox_syscall v0.1.17 [INFO] [stderr] Downloaded arrayvec v0.3.22 [INFO] [stderr] Downloaded syn v0.11.10 [INFO] [stderr] Downloaded gfx_device_gl v0.13.1 [INFO] [stderr] Downloaded gfx v0.14.1 [INFO] [stderr] Downloaded gfx_core v0.6.1 [INFO] [stderr] Downloaded parking_lot v0.4.0 [INFO] [stderr] Downloaded serde_derive v0.9.12 [INFO] [stderr] Downloaded parking_lot_core v0.2.1 [INFO] [stderr] Downloaded cgmath v0.13.0 [INFO] [stderr] Downloaded clap v2.23.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+6c20ab744b0f82646d90ce9d25894823abc9c669" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c007f31ad16c4736b3bab66fbe42006baacb17abc63240207110e891c4b30568 [INFO] running `Command { std: "docker" "start" "-a" "c007f31ad16c4736b3bab66fbe42006baacb17abc63240207110e891c4b30568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c007f31ad16c4736b3bab66fbe42006baacb17abc63240207110e891c4b30568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c007f31ad16c4736b3bab66fbe42006baacb17abc63240207110e891c4b30568", kill_on_drop: false }` [INFO] [stdout] c007f31ad16c4736b3bab66fbe42006baacb17abc63240207110e891c4b30568 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+6c20ab744b0f82646d90ce9d25894823abc9c669" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67f267e3c44393805dae469c71ca71410fbb266b2ad7be1f95f62ea74a9d91b2 [INFO] running `Command { std: "docker" "start" "-a" "67f267e3c44393805dae469c71ca71410fbb266b2ad7be1f95f62ea74a9d91b2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling serde v0.9.12 [INFO] [stderr] Compiling log v0.3.7 [INFO] [stderr] Compiling dtoa v0.4.1 [INFO] [stderr] Compiling itoa v0.3.1 [INFO] [stderr] Compiling khronos_api v1.0.0 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling piston-float v0.3.0 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling bitflags v0.6.0 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling adler32 v1.0.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling shader_version v0.2.2 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling scoped_threadpool v0.1.7 [INFO] [stderr] Compiling odds v0.2.25 [INFO] [stderr] Compiling piston-texture v0.5.0 [INFO] [stderr] Compiling byteorder v0.4.2 [INFO] [stderr] Compiling interpolation v0.1.0 [INFO] [stderr] Compiling smallvec v0.3.3 [INFO] [stderr] Compiling stable_deref_trait v1.0.0 [INFO] [stderr] Compiling linked-hash-map v0.0.10 [INFO] [stderr] Compiling read_color v0.1.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling vec_map v0.7.0 [INFO] [stderr] Compiling unicode-segmentation v1.1.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling bitflags v0.8.2 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling draw_state v0.6.0 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling piston-viewport v0.3.0 [INFO] [stderr] Compiling vecmath v0.3.0 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling deflate v0.7.5 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling stb_truetype v0.2.1 [INFO] [stderr] Compiling gif v0.9.1 [INFO] [stderr] Compiling num-integer v0.1.33 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling num_cpus v1.3.0 [INFO] [stderr] Compiling shared_library v0.1.5 [INFO] [stderr] Compiling thread-id v3.0.0 [INFO] [stderr] Compiling term_size v0.2.3 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling time v0.1.36 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling nodrop v0.1.9 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling x11-dl v2.13.0 [INFO] [stderr] Compiling syn v0.11.10 [INFO] [stderr] Compiling gfx_core v0.6.1 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling num-rational v0.1.36 [INFO] [stderr] Compiling piston2d-graphics v0.21.1 [INFO] [stderr] Compiling clap v2.23.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling arrayvec v0.3.22 [INFO] [stderr] Compiling tempfile v2.1.5 [INFO] [stderr] Compiling png v0.6.2 [INFO] [stdout] error[E0521]: borrowed data escapes outside of closure [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.21.1/./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.21.1/./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.21.1/./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.21.1/./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.21.1/./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.21.1/./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.21.1/./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.21.1/./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.21.1/./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] | || | creates a temporary which is freed while still in use [INFO] [stdout] | || argument requires that borrow lasts for `'1` [INFO] [stdout] | |temporary value is freed at the end of this statement [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.21.1/./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] [stderr] Compiling gl_generator v0.5.2 [INFO] [stdout] error[E0521]: borrowed data escapes outside of closure [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.21.1/./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.21.1/./src/rectangle.rs:225:28 [INFO] [stdout] | [INFO] [stdout] 224 | g.tri_list(draw_state, &color, |f| { [INFO] [stdout] | -- temporary value is freed at the end of this statement [INFO] [stdout] | | [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] [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.21.1/./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.21.1/./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.21.1/./src/image.rs:152:16 [INFO] [stdout] | [INFO] [stdout] 151 | g.tri_list_uv(draw_state, &color, texture, |f| { [INFO] [stdout] | -- temporary value is freed at the end of this statement [INFO] [stdout] | | [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] [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.21.1/./src/image.rs:153:16 [INFO] [stdout] | [INFO] [stdout] 151 | g.tri_list_uv(draw_state, &color, texture, |f| { [INFO] [stdout] | -- temporary value is freed at the end of this statement [INFO] [stdout] | | [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] [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.21.1/./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] | -- temporary value is freed at the end of this statement [INFO] [stdout] | | [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] [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.21.1/./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] | -- temporary value is freed at the end of this statement [INFO] [stdout] | | [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] [INFO] [stdout] [INFO] [stderr] Compiling wayland-scanner v0.7.8 [INFO] [stdout] error[E0597]: `vertices` does not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.21.1/./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.21.1/./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.21.1/./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.21.1/./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.21.1/./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.21.1/./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" "67f267e3c44393805dae469c71ca71410fbb266b2ad7be1f95f62ea74a9d91b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67f267e3c44393805dae469c71ca71410fbb266b2ad7be1f95f62ea74a9d91b2", kill_on_drop: false }` [INFO] [stdout] 67f267e3c44393805dae469c71ca71410fbb266b2ad7be1f95f62ea74a9d91b2