[INFO] cloning repository https://github.com/elbaro/ps-util [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elbaro/ps-util" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felbaro%2Fps-util", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felbaro%2Fps-util'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b2149df76d81aa7660a06386ea88c9b1baafef0 [INFO] documenting elbaro/ps-util 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%2Felbaro%2Fps-util" "/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/elbaro/ps-util 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/elbaro/ps-util [INFO] finished tweaking git repo https://github.com/elbaro/ps-util [INFO] tweaked toml for git repo https://github.com/elbaro/ps-util written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/elbaro/ps-util 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-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" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5a80f4f4673cc4c6fdc90a2a80da7757385736418aca9df8f5170a5d8a99243 [INFO] running `Command { std: "docker" "start" "-a" "c5a80f4f4673cc4c6fdc90a2a80da7757385736418aca9df8f5170a5d8a99243", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5a80f4f4673cc4c6fdc90a2a80da7757385736418aca9df8f5170a5d8a99243", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5a80f4f4673cc4c6fdc90a2a80da7757385736418aca9df8f5170a5d8a99243", kill_on_drop: false }` [INFO] [stdout] c5a80f4f4673cc4c6fdc90a2a80da7757385736418aca9df8f5170a5d8a99243 [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" "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] [stdout] 20ecfa8344704e5dd6d5300946e1f4c138fefc4d86a1c3e60405f445543e85f7 [INFO] running `Command { std: "docker" "start" "-a" "20ecfa8344704e5dd6d5300946e1f4c138fefc4d86a1c3e60405f445543e85f7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking smallvec v0.6.12 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking piston-float v1.0.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking piston-graphics_api_version v0.2.0 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.3 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking piston-texture v0.8.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking mime v0.3.14 [INFO] [stderr] Checking interpolation v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking dtoa v0.4.4 [INFO] [stderr] Compiling unindent v0.1.5 [INFO] [stderr] Checking piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Checking unicode-segmentation v1.5.0 [INFO] [stderr] Checking rgb v0.8.14 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking bit-vec v0.5.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Compiling unicase v2.5.1 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking piston-viewport v1.0.0 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.3.5 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking shader_version v0.6.0 [INFO] [stderr] Checking futf v0.1.4 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Checking tokio-sync v0.1.7 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling openssl-sys v0.9.52 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking bit-set v0.5.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking tokio-executor v0.1.8 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking tendril v0.4.1 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking tokio-timer v0.2.11 [INFO] [stderr] Checking stb_truetype v0.3.0 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.11.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling memoffset v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Checking flate2 v1.0.12 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking cookie v0.11.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking http v0.1.19 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking rusttype v0.8.1 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking piston2d-graphics v0.35.0 [INFO] [stderr] Checking publicsuffix v1.5.3 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking tokio-reactor v0.1.10 [INFO] [stdout] error[E0521]: borrowed data escapes outside of closure [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.35.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.35.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.35.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.35.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.35.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.35.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.35.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.35.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.35.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.35.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.35.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.35.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.35.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.35.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.35.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.35.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.35.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.35.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] Compiling glutin_egl_sys v0.1.3 [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" "20ecfa8344704e5dd6d5300946e1f4c138fefc4d86a1c3e60405f445543e85f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20ecfa8344704e5dd6d5300946e1f4c138fefc4d86a1c3e60405f445543e85f7", kill_on_drop: false }` [INFO] [stdout] 20ecfa8344704e5dd6d5300946e1f4c138fefc4d86a1c3e60405f445543e85f7