[INFO] fetching crate poke-a-mango 0.5.0... [INFO] documenting poke-a-mango-0.5.0 against beta-2022-07-10 for beta-1.63-rustdoc-1 [INFO] extracting crate poke-a-mango 0.5.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate poke-a-mango 0.5.0 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 crates.io crate poke-a-mango 0.5.0 [INFO] finished tweaking crates.io crate poke-a-mango 0.5.0 [INFO] tweaked toml for crates.io crate poke-a-mango 0.5.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] a247aa4ace3189c4dcabce73eecd716fb149c8f299d769fa62ff1b2f97e2315c [INFO] running `Command { std: "docker" "start" "-a" "a247aa4ace3189c4dcabce73eecd716fb149c8f299d769fa62ff1b2f97e2315c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a247aa4ace3189c4dcabce73eecd716fb149c8f299d769fa62ff1b2f97e2315c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a247aa4ace3189c4dcabce73eecd716fb149c8f299d769fa62ff1b2f97e2315c", kill_on_drop: false }` [INFO] [stdout] a247aa4ace3189c4dcabce73eecd716fb149c8f299d769fa62ff1b2f97e2315c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] bfb6ab1fc6963aa0e45282bceefbf45c47daa287ad8d65e13519b614d3f4148f [INFO] running `Command { std: "docker" "start" "-a" "bfb6ab1fc6963aa0e45282bceefbf45c47daa287ad8d65e13519b614d3f4148f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking piston-float v0.2.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bitflags v0.6.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking shader_version v0.2.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking inflate v0.1.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking piston-texture v0.5.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking read_color v0.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking interpolation v0.1.0 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking piston-shaders_graphics2d v0.2.1 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Compiling cursive v0.3.7 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Compiling poke-a-mango v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking odds v0.2.26 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Checking piston-viewport v0.2.0 [INFO] [stderr] Checking vecmath v0.2.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking draw_state v0.6.0 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking tabwriter v0.1.25 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking bit-set v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking petgraph v0.2.10 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking piston2d-graphics v0.19.0 [INFO] [stderr] Compiling wayland-scanner v0.7.8 [INFO] [stderr] Checking stb_truetype v0.2.8 [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/petgraph-0.2.10/src/dot.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | self.graph_fmt(f, |n, cb| cb(n), |e, cb| cb(e)) [INFO] [stdout] | - -- ^^^^^ argument requires that `'1` must outlive `'2` [INFO] [stdout] | | | [INFO] [stdout] | | has type `&mut dyn FnMut(&'2 (dyn std::fmt::Display + '2)) -> Result<(), std::fmt::Error>` [INFO] [stdout] | has type `&'1 N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/petgraph-0.2.10/src/dot.rs:110:50 [INFO] [stdout] | [INFO] [stdout] 110 | self.graph_fmt(f, |n, cb| cb(n), |e, cb| cb(e)) [INFO] [stdout] | - -- ^^^^^ argument requires that `'1` must outlive `'2` [INFO] [stdout] | | | [INFO] [stdout] | | has type `&mut dyn FnMut(&'2 (dyn std::fmt::Display + '2)) -> Result<(), std::fmt::Error>` [INFO] [stdout] | has type `&'1 E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/petgraph-0.2.10/src/dot.rs:122:32 [INFO] [stdout] | [INFO] [stdout] 122 | |n, cb| cb(&DebugFmt(n)), [INFO] [stdout] | - -- ^^^^^^^^^^^^^^^^ argument requires that `'1` must outlive `'2` [INFO] [stdout] | | | [INFO] [stdout] | | has type `&mut dyn FnMut(&'2 (dyn std::fmt::Display + '2)) -> Result<(), std::fmt::Error>` [INFO] [stdout] | has type `&'1 N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/petgraph-0.2.10/src/dot.rs:122:36 [INFO] [stdout] | [INFO] [stdout] 122 | |n, cb| cb(&DebugFmt(n)), [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 `'2` [INFO] [stdout] | has type `&mut dyn FnMut(&'2 (dyn std::fmt::Display + '2)) -> Result<(), std::fmt::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/petgraph-0.2.10/src/dot.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | |e, cb| cb(&DebugFmt(e))) [INFO] [stdout] | - -- ^^^^^^^^^^^^^^^^ argument requires that `'1` must outlive `'2` [INFO] [stdout] | | | [INFO] [stdout] | | has type `&mut dyn FnMut(&'2 (dyn std::fmt::Display + '2)) -> Result<(), std::fmt::Error>` [INFO] [stdout] | has type `&'1 E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/petgraph-0.2.10/src/dot.rs:123:36 [INFO] [stdout] | [INFO] [stdout] 123 | |e, cb| cb(&DebugFmt(e))) [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 `'2` [INFO] [stdout] | has type `&mut dyn FnMut(&'2 (dyn std::fmt::Display + '2)) -> Result<(), std::fmt::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/petgraph-0.2.10/src/dot.rs:179:38 [INFO] [stdout] | [INFO] [stdout] 179 | self.graphmap_fmt(f, |n, cb| cb(n), |e, cb| cb(e)) [INFO] [stdout] | - -- ^^^^^ argument requires that `'1` must outlive `'2` [INFO] [stdout] | | | [INFO] [stdout] | | has type `&mut dyn FnMut(&'2 (dyn std::fmt::Display + '2)) -> Result<(), std::fmt::Error>` [INFO] [stdout] | has type `&'1 N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/petgraph-0.2.10/src/dot.rs:179:53 [INFO] [stdout] | [INFO] [stdout] 179 | self.graphmap_fmt(f, |n, cb| cb(n), |e, cb| cb(e)) [INFO] [stdout] | - -- ^^^^^ argument requires that `'1` must outlive `'2` [INFO] [stdout] | | | [INFO] [stdout] | | has type `&mut dyn FnMut(&'2 (dyn std::fmt::Display + '2)) -> Result<(), std::fmt::Error>` [INFO] [stdout] | has type `&'1 E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/petgraph-0.2.10/src/dot.rs:189:35 [INFO] [stdout] | [INFO] [stdout] 189 | |n, cb| cb(&DebugFmt(n)), [INFO] [stdout] | - -- ^^^^^^^^^^^^^^^^ argument requires that `'1` must outlive `'2` [INFO] [stdout] | | | [INFO] [stdout] | | has type `&mut dyn FnMut(&'2 (dyn std::fmt::Display + '2)) -> Result<(), std::fmt::Error>` [INFO] [stdout] | has type `&'1 N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/petgraph-0.2.10/src/dot.rs:189:39 [INFO] [stdout] | [INFO] [stdout] 189 | |n, cb| cb(&DebugFmt(n)), [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 `'2` [INFO] [stdout] | has type `&mut dyn FnMut(&'2 (dyn std::fmt::Display + '2)) -> Result<(), std::fmt::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/petgraph-0.2.10/src/dot.rs:190:35 [INFO] [stdout] | [INFO] [stdout] 190 | |e, cb| cb(&DebugFmt(e))) [INFO] [stdout] | - -- ^^^^^^^^^^^^^^^^ argument requires that `'1` must outlive `'2` [INFO] [stdout] | | | [INFO] [stdout] | | has type `&mut dyn FnMut(&'2 (dyn std::fmt::Display + '2)) -> Result<(), std::fmt::Error>` [INFO] [stdout] | has type `&'1 E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/petgraph-0.2.10/src/dot.rs:190:39 [INFO] [stdout] | [INFO] [stdout] 190 | |e, cb| cb(&DebugFmt(e))) [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 `'2` [INFO] [stdout] | has type `&mut dyn FnMut(&'2 (dyn std::fmt::Display + '2)) -> Result<(), std::fmt::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pistoncore-input v0.14.0 [INFO] [stderr] Checking toml v0.2.1 [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `petgraph` due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0521]: borrowed data escapes outside of closure [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.19.0/./src/polygon.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 55 | |f| [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 59 | |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.19.0/./src/polygon.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 94 | |f| [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 99 | |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.19.0/./src/line.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 102 | |f| [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 108 | |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.19.0/./src/line.rs:121:32 [INFO] [stdout] | [INFO] [stdout] 115 | |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.19.0/./src/line.rs:134:32 [INFO] [stdout] | [INFO] [stdout] 128 | |f| [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 134 | |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.19.0/./src/circle_arc.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 98 | |f| [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 106 | |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.19.0/./src/ellipse.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 107 | |f| [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 112 | |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.19.0/./src/ellipse.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 119 | |f| [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 125 | |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.19.0/./src/rectangle.rs:221:32 [INFO] [stdout] | [INFO] [stdout] 220 | |f| [INFO] [stdout] | - has type `&mut dyn FnMut(&'1 [f32])` [INFO] [stdout] 221 | f(&triangulation::rect_tri_list_xy( [INFO] [stdout] | _____________________________-__^ [INFO] [stdout] | |_____________________________| [INFO] [stdout] | || [INFO] [stdout] 222 | || transform, [INFO] [stdout] 223 | || rectangle [INFO] [stdout] 224 | || )), [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_____________________________|temporary value is freed at the end of this statement [INFO] [stdout] | |_____________________________|argument requires that borrow lasts for `'1` [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.19.0/./src/rectangle.rs:237:36 [INFO] [stdout] | [INFO] [stdout] 231 | |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.19.0/./src/rectangle.rs:250:36 [INFO] [stdout] | [INFO] [stdout] 244 | |f| [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 250 | |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.19.0/./src/rectangle.rs:264:30 [INFO] [stdout] | [INFO] [stdout] 263 | |f| f( [INFO] [stdout] | __________________________-__- [INFO] [stdout] | | | [INFO] [stdout] | | has type `&mut dyn FnMut(&'1 [f32])` [INFO] [stdout] 264 | | &triangulation::rect_border_tri_list_xy( [INFO] [stdout] | |______________________________^ [INFO] [stdout] 265 | || transform, rectangle, border_radius), [INFO] [stdout] | ||____________________________________________________________________^ creates a temporary which is freed while still in use [INFO] [stdout] 266 | | ) [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_________________________temporary value is freed at the end of this statement [INFO] [stdout] | argument requires that borrow lasts for `'1` [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.19.0/./src/rectangle.rs:280:36 [INFO] [stdout] | [INFO] [stdout] 273 | |f| [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 280 | |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.19.0/./src/rectangle.rs:294:36 [INFO] [stdout] | [INFO] [stdout] 287 | |f| [INFO] [stdout] | - `f` declared here, outside of the closure body [INFO] [stdout] ... [INFO] [stdout] 294 | |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.19.0/./src/image.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 163 | |f| f( [INFO] [stdout] | ______________-__- [INFO] [stdout] | | | [INFO] [stdout] | | has type `&mut dyn FnMut(&'1 [f32], &[f32])` [INFO] [stdout] 164 | | &triangulation::rect_tri_list_xy(transform, rectangle), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary which is freed while still in use [INFO] [stdout] 165 | | &triangulation::rect_tri_list_uv(texture, source_rectangle) [INFO] [stdout] 166 | | ) [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_____________temporary value is freed at the end of this statement [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.19.0/./src/image.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 163 | |f| f( [INFO] [stdout] | ______________-__- [INFO] [stdout] | | | [INFO] [stdout] | | has type `&mut dyn FnMut(&[f32], &'2 [f32])` [INFO] [stdout] 164 | | &triangulation::rect_tri_list_xy(transform, rectangle), [INFO] [stdout] 165 | | &triangulation::rect_tri_list_uv(texture, source_rectangle) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary which is freed while still in use [INFO] [stdout] 166 | | ) [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_____________temporary value is freed at the end of this statement [INFO] [stdout] | argument requires that borrow lasts for `'2` [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.19.0/./src/image.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 184 | |f| [INFO] [stdout] | - has type `&mut dyn FnMut(&'1 [f32], &[f32])` [INFO] [stdout] 185 | for r in rects { [INFO] [stdout] 186 | / f( [INFO] [stdout] 187 | | &triangulation::rect_tri_list_xy(transform, r.0), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary which is freed while still in use [INFO] [stdout] 188 | | &triangulation::rect_tri_list_uv(texture, r.1) [INFO] [stdout] 189 | | ) [INFO] [stdout] | |_________________- argument requires that borrow lasts for `'1` [INFO] [stdout] 190 | } [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.19.0/./src/image.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 184 | |f| [INFO] [stdout] | - has type `&mut dyn FnMut(&[f32], &'2 [f32])` [INFO] [stdout] 185 | for r in rects { [INFO] [stdout] 186 | / f( [INFO] [stdout] 187 | | &triangulation::rect_tri_list_xy(transform, r.0), [INFO] [stdout] 188 | | &triangulation::rect_tri_list_uv(texture, r.1) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary which is freed while still in use [INFO] [stdout] 189 | | ) [INFO] [stdout] | |_________________- argument requires that borrow lasts for `'2` [INFO] [stdout] 190 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `vertices` does not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/piston2d-graphics-0.19.0/./src/deform.rs:222:28 [INFO] [stdout] | [INFO] [stdout] 222 | |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] 247 | } [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.19.0/./src/deform.rs:222:39 [INFO] [stdout] | [INFO] [stdout] 222 | |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] 247 | } [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.19.0/./src/deform.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 222 | |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] 228 | vertices[vert_ind + 0] = tx(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.19.0/./src/deform.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 222 | |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] 232 | uvs[uv_ind + 0] = uv[0]; [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.19.0/./src/deform.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 241 | |f| f( [INFO] [stdout] | _________________---_- [INFO] [stdout] | | | [INFO] [stdout] | | value captured here [INFO] [stdout] 242 | | &vertices[..offset * vertex_align], [INFO] [stdout] | | ^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] 243 | | &uvs[..offset * uv_align] [INFO] [stdout] 244 | | ) [INFO] [stdout] | |_________________- argument requires that `vertices` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 247 | } [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.19.0/./src/deform.rs:243:22 [INFO] [stdout] | [INFO] [stdout] 241 | |f| f( [INFO] [stdout] | _________________---_- [INFO] [stdout] | | | [INFO] [stdout] | | value captured here [INFO] [stdout] 242 | | &vertices[..offset * vertex_align], [INFO] [stdout] 243 | | &uvs[..offset * uv_align] [INFO] [stdout] | | ^^^ borrowed value does not live long enough [INFO] [stdout] 244 | | ) [INFO] [stdout] | |_________________- argument requires that `uvs` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 247 | } [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] running `Command { std: "docker" "inspect" "bfb6ab1fc6963aa0e45282bceefbf45c47daa287ad8d65e13519b614d3f4148f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfb6ab1fc6963aa0e45282bceefbf45c47daa287ad8d65e13519b614d3f4148f", kill_on_drop: false }` [INFO] [stdout] bfb6ab1fc6963aa0e45282bceefbf45c47daa287ad8d65e13519b614d3f4148f