[INFO] cloning repository https://github.com/Jack-Sim/rust_mandelbrot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jack-Sim/rust_mandelbrot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJack-Sim%2Frust_mandelbrot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJack-Sim%2Frust_mandelbrot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76138edc8b19929aa840828b78d893e9b8af1b7f [INFO] checking Jack-Sim/rust_mandelbrot against master#fdca237d5194bf8a1c9b437ebd2114d1c2ba6195 for pr-97739 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJack-Sim%2Frust_mandelbrot" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jack-Sim/rust_mandelbrot on toolchain fdca237d5194bf8a1c9b437ebd2114d1c2ba6195 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jack-Sim/rust_mandelbrot [INFO] finished tweaking git repo https://github.com/Jack-Sim/rust_mandelbrot [INFO] tweaked toml for git repo https://github.com/Jack-Sim/rust_mandelbrot written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Jack-Sim/rust_mandelbrot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded piston v0.52.0 [INFO] [stderr] Downloaded bytemuck v1.4.1 [INFO] [stderr] Downloaded syn v1.0.42 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.66.0 [INFO] [stderr] Downloaded cc v1.0.60 [INFO] [stderr] Downloaded image v0.23.10 [INFO] [stderr] Downloaded hermit-abi v0.1.16 [INFO] [stderr] Downloaded libloading v0.6.3 [INFO] [stderr] Downloaded rayon-core v1.8.1 [INFO] [stderr] Downloaded serde v1.0.116 [INFO] [stderr] Downloaded piston-gfx_texture v0.41.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.23 [INFO] [stderr] Downloaded piston2d-gfx_graphics v0.69.0 [INFO] [stderr] Downloaded piston_window v0.111.0 [INFO] [stderr] Downloaded piston2d-graphics v0.36.0 [INFO] [stderr] Downloaded serde_derive v1.0.116 [INFO] [stderr] Downloaded rayon v1.4.0 [INFO] [stderr] Downloaded glutin v0.21.2 [INFO] [stderr] Downloaded miniz_oxide v0.4.2 [INFO] [stderr] Downloaded winit v0.19.5 [INFO] [stderr] Downloaded weezl v0.1.0 [INFO] [stderr] Downloaded libc v0.2.77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 937a78efc2f809172a89c2ba19866ba8696726f968138a3c8e9b02e1ca979d03 [INFO] running `Command { std: "docker" "start" "-a" "937a78efc2f809172a89c2ba19866ba8696726f968138a3c8e9b02e1ca979d03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "937a78efc2f809172a89c2ba19866ba8696726f968138a3c8e9b02e1ca979d03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "937a78efc2f809172a89c2ba19866ba8696726f968138a3c8e9b02e1ca979d03", kill_on_drop: false }` [INFO] [stdout] 937a78efc2f809172a89c2ba19866ba8696726f968138a3c8e9b02e1ca979d03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec2193ea10c19327dab2c89de35cd4828ae90a96fdc9d823e540c8fe86b896a7 [INFO] running `Command { std: "docker" "start" "-a" "ec2193ea10c19327dab2c89de35cd4828ae90a96fdc9d823e540c8fe86b896a7", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [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.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.23 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking piston-float v1.0.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking piston-graphics_api_version v1.0.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking weezl v0.1.0 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking piston-texture v0.8.0 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking interpolation v0.2.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking piston-viewport v1.0.0 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking shader_version v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Compiling quote v0.6.13 [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] Checking png v0.16.7 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking piston2d-graphics v0.36.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stdout] error[E0521]: borrowed data escapes outside of closure [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.36.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.36.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.36.0/./src/line.rs:115:79 [INFO] [stdout] | [INFO] [stdout] 110 | g.tri_list(draw_state, &self.color, |f| { [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 115 | |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.36.0/./src/line.rs:124:79 [INFO] [stdout] | [INFO] [stdout] 119 | g.tri_list(draw_state, &self.color, |f| { [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 124 | |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.36.0/./src/line.rs:133:79 [INFO] [stdout] | [INFO] [stdout] 128 | g.tri_list(draw_state, &self.color, |f| { [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 133 | |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.36.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.36.0/./src/ellipse.rs:121:61 [INFO] [stdout] | [INFO] [stdout] 117 | g.tri_list(draw_state, &self.color, |f| { [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 121 | |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.36.0/./src/ellipse.rs:130:72 [INFO] [stdout] | [INFO] [stdout] 125 | g.tri_list(&draw_state, &color, |f| { [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 130 | |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.36.0/./src/rectangle.rs:210:39 [INFO] [stdout] | [INFO] [stdout] 210 | ... |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.36.0/./src/rectangle.rs:218:81 [INFO] [stdout] | [INFO] [stdout] 213 | g.tri_list(draw_state, &self.color, |f| { [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 218 | |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.36.0/./src/rectangle.rs:227:81 [INFO] [stdout] | [INFO] [stdout] 222 | g.tri_list(draw_state, &self.color, |f| { [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 227 | |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.36.0/./src/rectangle.rs:240:28 [INFO] [stdout] | [INFO] [stdout] 239 | g.tri_list(draw_state, &color, |f| { [INFO] [stdout] | - has type `&mut dyn FnMut(&'1 [[f32; 2]])` [INFO] [stdout] 240 | f(&triangulation::rect_border_tri_list_xy(transform, [INFO] [stdout] | _________________________-__^ [INFO] [stdout] | |_________________________| [INFO] [stdout] | || [INFO] [stdout] 241 | || rectangle, [INFO] [stdout] 242 | || 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] 243 | }); [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.36.0/./src/rectangle.rs:252:88 [INFO] [stdout] | [INFO] [stdout] 246 | g.tri_list(draw_state, &color, |f| { [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 252 | |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.36.0/./src/rectangle.rs:262:88 [INFO] [stdout] | [INFO] [stdout] 256 | g.tri_list(draw_state, &color, |f| { [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 262 | |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.36.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.36.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.36.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.36.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: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0521, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `piston2d-graphics` due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ec2193ea10c19327dab2c89de35cd4828ae90a96fdc9d823e540c8fe86b896a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec2193ea10c19327dab2c89de35cd4828ae90a96fdc9d823e540c8fe86b896a7", kill_on_drop: false }` [INFO] [stdout] ec2193ea10c19327dab2c89de35cd4828ae90a96fdc9d823e540c8fe86b896a7