[INFO] cloning repository https://github.com/Hperigo/Pira [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hperigo/Pira" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHperigo%2FPira", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHperigo%2FPira'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9015968b4c052a01bbb582b33605996a6908d3c [INFO] checking Hperigo/Pira against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHperigo%2FPira" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Hperigo/Pira on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Hperigo/Pira [INFO] finished tweaking git repo https://github.com/Hperigo/Pira [INFO] tweaked toml for git repo https://github.com/Hperigo/Pira written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Hperigo/Pira already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 58ea07f156d87e6e32ce27a9df0a8e01a47a4da6492ce6c1455b4adbb0bb37af [INFO] running `Command { std: "docker" "start" "-a" "58ea07f156d87e6e32ce27a9df0a8e01a47a4da6492ce6c1455b4adbb0bb37af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58ea07f156d87e6e32ce27a9df0a8e01a47a4da6492ce6c1455b4adbb0bb37af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58ea07f156d87e6e32ce27a9df0a8e01a47a4da6492ce6c1455b4adbb0bb37af", kill_on_drop: false }` [INFO] [stdout] 58ea07f156d87e6e32ce27a9df0a8e01a47a4da6492ce6c1455b4adbb0bb37af [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" "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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58bfdf4eb1c6267747bf89215d17ff7341a1e38949bf28acd5d685dabf3e753a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "58bfdf4eb1c6267747bf89215d17ff7341a1e38949bf28acd5d685dabf3e753a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling paste v1.0.3 [INFO] [stderr] Checking indextree v4.3.1 [INFO] [stderr] Compiling imgui-sys v0.1.0 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking xml-rs v0.7.0 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Compiling glfw-sys v3.3.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking gl_generator v0.9.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Compiling imgui-opengl-renderer v0.5.0 [INFO] [stderr] Checking simba v0.3.1 [INFO] [stderr] Checking rand_distr v0.3.0 [INFO] [stderr] Checking glfw v0.31.0 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking tiff v0.6.0 [INFO] [stderr] Checking image v0.23.11 [INFO] [stderr] Checking imgui v0.1.0 [INFO] [stderr] Checking imgui-glfw-rs v0.4.1 [INFO] [stderr] Checking nalgebra v0.23.0 [INFO] [stderr] Checking nalgebra-glm v0.9.0 [INFO] [stderr] Checking piralib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/gl_helper/vao.rs:107:62 [INFO] [stdout] | [INFO] [stdout] 107 | CString::new( name.as_bytes() ).unwrap().as_ptr() [INFO] [stdout] | ---------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/gl_helper/vao.rs:107:62 [INFO] [stdout] | [INFO] [stdout] 107 | CString::new( name.as_bytes() ).unwrap().as_ptr() [INFO] [stdout] | ---------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_buffer_size` [INFO] [stdout] --> examples/imgui/main.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let frame_buffer_size = app.get_framebuffer_size(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_buffer_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_attrib` [INFO] [stdout] --> examples/fbo/main.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut color_attrib = glh::VertexAttrib::new_color_attr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_attrib` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture_attrib` [INFO] [stdout] --> examples/fbo/main.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut texture_attrib = glh::VertexAttrib::new_texture_attr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_attrib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/fbo/main.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut color_attrib = glh::VertexAttrib::new_color_attr(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/fbo/main.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut texture_attrib = glh::VertexAttrib::new_texture_attr(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `save_frame` is assigned to, but never used [INFO] [stdout] --> examples/instances/main.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | let mut save_frame = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_save_frame` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `save_frame` is never read [INFO] [stdout] --> examples/instances/main.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | save_frame = true; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 40s [INFO] running `Command { std: "docker" "inspect" "58bfdf4eb1c6267747bf89215d17ff7341a1e38949bf28acd5d685dabf3e753a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58bfdf4eb1c6267747bf89215d17ff7341a1e38949bf28acd5d685dabf3e753a", kill_on_drop: false }` [INFO] [stdout] 58bfdf4eb1c6267747bf89215d17ff7341a1e38949bf28acd5d685dabf3e753a