[INFO] cloning repository https://github.com/jorgenhanssen/rust-rendering-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jorgenhanssen/rust-rendering-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjorgenhanssen%2Frust-rendering-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjorgenhanssen%2Frust-rendering-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12f8d81020cc3a89358feff7903c87815e2027e0 [INFO] checking jorgenhanssen/rust-rendering-engine against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjorgenhanssen%2Frust-rendering-engine" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jorgenhanssen/rust-rendering-engine on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jorgenhanssen/rust-rendering-engine [INFO] finished tweaking git repo https://github.com/jorgenhanssen/rust-rendering-engine [INFO] tweaked toml for git repo https://github.com/jorgenhanssen/rust-rendering-engine written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jorgenhanssen/rust-rendering-engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simba v0.1.5 [INFO] [stderr] Downloaded approx v0.3.2 [INFO] [stderr] Downloaded nalgebra-glm v0.7.0 [INFO] [stderr] Downloaded rawpointer v0.2.1 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.4 [INFO] [stderr] Downloaded android_glue v0.2.3 [INFO] [stderr] Downloaded glutin_wgl_sys v0.1.4 [INFO] [stderr] Downloaded android_log-sys v0.1.2 [INFO] [stderr] Downloaded glutin_gles2_sys v0.1.4 [INFO] [stderr] Downloaded proc-macro-hack v0.5.18 [INFO] [stderr] Downloaded gl_generator v0.14.0 [INFO] [stderr] Downloaded miow v0.2.1 [INFO] [stderr] Downloaded slab v0.4.2 [INFO] [stderr] Downloaded libloading v0.6.2 [INFO] [stderr] Downloaded thiserror-impl v1.0.20 [INFO] [stderr] Downloaded cocoa v0.20.2 [INFO] [stderr] Downloaded osmesa-sys v0.1.2 [INFO] [stderr] Downloaded instant v0.1.6 [INFO] [stderr] Downloaded cgl v0.3.2 [INFO] [stderr] Downloaded gl v0.14.0 [INFO] [stderr] Downloaded derivative v2.1.1 [INFO] [stderr] Downloaded rusttype v0.7.9 [INFO] [stderr] Downloaded serde v1.0.114 [INFO] [stderr] Downloaded mio v0.6.22 [INFO] [stderr] Downloaded rayon v1.3.1 [INFO] [stderr] Downloaded syn v1.0.36 [INFO] [stderr] Downloaded nix v0.14.1 [INFO] [stderr] Downloaded image v0.23.8 [INFO] [stderr] Downloaded nalgebra v0.21.1 [INFO] [stderr] Downloaded jpeg-decoder v0.1.20 [INFO] [stderr] Downloaded ndk-sys v0.1.1 [INFO] [stderr] Downloaded winit v0.22.2 [INFO] [stderr] Downloaded wayland-protocols v0.23.6 [INFO] [stderr] Downloaded glutin v0.24.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.19 [INFO] [stderr] Downloaded smithay-client-toolkit v0.6.6 [INFO] [stderr] Downloaded crossbeam-deque v0.7.3 [INFO] [stderr] Downloaded num-rational v0.3.0 [INFO] [stderr] Downloaded libc v0.2.74 [INFO] [stderr] Downloaded generic-array v0.13.2 [INFO] [stderr] Downloaded khronos_api v3.1.0 [INFO] [stderr] Downloaded ndk-glue v0.1.1 [INFO] [stderr] Downloaded matrixmultiply v0.2.3 [INFO] [stderr] Downloaded rand_distr v0.2.2 [INFO] [stderr] Downloaded gl_generator v0.13.1 [INFO] [stderr] Downloaded libloading v0.5.2 [INFO] [stderr] Downloaded thiserror v1.0.20 [INFO] [stderr] Downloaded stb_truetype v0.3.1 [INFO] [stderr] Downloaded andrew v0.2.1 [INFO] [stderr] Downloaded log v0.4.11 [INFO] [stderr] Downloaded net2 v0.2.34 [INFO] [stderr] Downloaded quote v0.6.13 [INFO] [stderr] Downloaded crossbeam-utils v0.7.2 [INFO] [stderr] Downloaded rayon-core v1.7.1 [INFO] [stderr] Downloaded ppv-lite86 v0.2.8 [INFO] [stderr] Downloaded glutin_emscripten_sys v0.1.1 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.6 [INFO] [stderr] Downloaded ndk-macro v0.1.0 [INFO] [stderr] Downloaded line_drawing v0.7.0 [INFO] [stderr] Downloaded lazycell v1.2.1 [INFO] [stderr] Downloaded cc v1.0.58 [INFO] [stderr] Downloaded unicode-xid v0.1.0 [INFO] [stderr] Downloaded wayland-scanner v0.23.6 [INFO] [stderr] Downloaded tiff v0.5.0 [INFO] [stderr] Downloaded toml v0.5.6 [INFO] [stderr] Downloaded wayland-sys v0.23.6 [INFO] [stderr] Downloaded wayland-client v0.23.6 [INFO] [stderr] Downloaded proc-macro2 v0.4.30 [INFO] [stderr] Downloaded memoffset v0.5.5 [INFO] [stderr] Downloaded crc32fast v1.2.0 [INFO] [stderr] Downloaded png v0.16.7 [INFO] [stderr] Downloaded typenum v1.12.0 [INFO] [stderr] Downloaded ndk v0.1.1 [INFO] [stderr] Downloaded smallvec v1.4.1 [INFO] [stderr] Downloaded rusttype v0.8.3 [INFO] [stderr] Downloaded calloop v0.4.4 [INFO] [stderr] Downloaded wayland-commons v0.23.6 [INFO] [stderr] Downloaded color_quant v1.0.1 [INFO] [stderr] Downloaded gif v0.10.3 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.2 [INFO] [stderr] Downloaded num-complex v0.2.4 [INFO] [stderr] Downloaded crossbeam-queue v0.2.3 [INFO] [stderr] Downloaded num-rational v0.2.4 [INFO] [stderr] Downloaded shared_library v0.1.9 [INFO] [stderr] Downloaded ordered-float v1.1.0 [INFO] [stderr] Downloaded walkdir v2.3.1 [INFO] [stderr] Downloaded memmap v0.7.0 [INFO] [stderr] Downloaded bytemuck v1.3.1 [INFO] [stderr] Downloaded lzw v0.10.0 [INFO] [stderr] Downloaded libm v0.2.1 [INFO] [stderr] Downloaded tobj v2.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86d4beeaffb22fa62240bf43b7b12783fa7592f36c7ff0c2356f189644b357b9 [INFO] running `Command { std: "docker" "start" "-a" "86d4beeaffb22fa62240bf43b7b12783fa7592f36c7ff0c2356f189644b357b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86d4beeaffb22fa62240bf43b7b12783fa7592f36c7ff0c2356f189644b357b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86d4beeaffb22fa62240bf43b7b12783fa7592f36c7ff0c2356f189644b357b9", kill_on_drop: false }` [INFO] [stdout] 86d4beeaffb22fa62240bf43b7b12783fa7592f36c7ff0c2356f189644b357b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a950cdd779020334cc0c80c7991a3ea257d7f9921554509cee4657717fcd13b2 [INFO] running `Command { std: "docker" "start" "-a" "a950cdd779020334cc0c80c7991a3ea257d7f9921554509cee4657717fcd13b2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [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.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking simba v0.1.5 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.3.1 [INFO] [stderr] Checking tobj v2.0.2 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking nalgebra v0.21.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.8 [INFO] [stderr] Checking nalgebra-glm v0.7.0 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking winit v0.22.2 [INFO] [stderr] Checking glutin v0.24.1 [INFO] [stderr] Checking rendering-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::scene_graph` [INFO] [stdout] --> src/camera.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::scene_graph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::scene_graph` [INFO] [stdout] --> src/camera.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::scene_graph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index_count` is never read [INFO] [stdout] --> src/mesh.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Mesh { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub index_count: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index_count` is never read [INFO] [stdout] --> src/mesh.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Mesh { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub index_count: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Heading` is never constructed [INFO] [stdout] --> src/toolbox.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Heading { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Heading` is never constructed [INFO] [stdout] --> src/toolbox.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Heading { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_heading_animation` is never used [INFO] [stdout] --> src/toolbox.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn simple_heading_animation(time: f32) -> Heading { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_heading_animation` is never used [INFO] [stdout] --> src/toolbox.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn simple_heading_animation(time: f32) -> Heading { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scene_graph.rs:99:103 [INFO] [stdout] | [INFO] [stdout] 99 | let mvp_id = gl::GetUniformLocation(program_id, std::ffi::CString::new(mvp_name).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: 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] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scene_graph.rs:99:103 [INFO] [stdout] | [INFO] [stdout] 99 | let mvp_id = gl::GetUniformLocation(program_id, std::ffi::CString::new(mvp_name).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: 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] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scene_graph.rs:106:121 [INFO] [stdout] | [INFO] [stdout] 106 | let model_matrix_id = gl::GetUniformLocation(program_id, std::ffi::CString::new(model_matrix_name).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: 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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/scene_graph.rs:106:121 [INFO] [stdout] | [INFO] [stdout] 106 | let model_matrix_id = gl::GetUniformLocation(program_id, std::ffi::CString::new(model_matrix_name).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: 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: unused borrow that must be used [INFO] [stdout] --> src/scene_graph.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | &(*m).draw(); [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 113 | let _ = &(*m).draw(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/scene_graph.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | &(*m).draw(); [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 113 | let _ = &(*m).draw(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/scene_graph.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | &(*child).draw(program_id, view_projection_matrix); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = &(*child).draw(program_id, view_projection_matrix); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/scene_graph.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | &(*child).draw(program_id, view_projection_matrix); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = &(*child).draw(program_id, view_projection_matrix); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/scene_graph.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | &(*child).update_transformations(&m); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 147 | let _ = &(*child).update_transformations(&m); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/scene_graph.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | &(*child).update_transformations(&m); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 147 | let _ = &(*child).update_transformations(&m); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.29s [INFO] running `Command { std: "docker" "inspect" "a950cdd779020334cc0c80c7991a3ea257d7f9921554509cee4657717fcd13b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a950cdd779020334cc0c80c7991a3ea257d7f9921554509cee4657717fcd13b2", kill_on_drop: false }` [INFO] [stdout] a950cdd779020334cc0c80c7991a3ea257d7f9921554509cee4657717fcd13b2 [INFO] checking jorgenhanssen/rust-rendering-engine against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjorgenhanssen%2Frust-rendering-engine" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jorgenhanssen/rust-rendering-engine on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jorgenhanssen/rust-rendering-engine [INFO] finished tweaking git repo https://github.com/jorgenhanssen/rust-rendering-engine [INFO] tweaked toml for git repo https://github.com/jorgenhanssen/rust-rendering-engine written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jorgenhanssen/rust-rendering-engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5752397fa2e2b1dca3cf852fc829a8d0833ffae5534be41cda84757dde80692 [INFO] running `Command { std: "docker" "start" "-a" "e5752397fa2e2b1dca3cf852fc829a8d0833ffae5534be41cda84757dde80692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5752397fa2e2b1dca3cf852fc829a8d0833ffae5534be41cda84757dde80692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5752397fa2e2b1dca3cf852fc829a8d0833ffae5534be41cda84757dde80692", kill_on_drop: false }` [INFO] [stdout] e5752397fa2e2b1dca3cf852fc829a8d0833ffae5534be41cda84757dde80692 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9beb285acad7ed4bc05664d3e55262f99c0579e17807e62ab56501d02e851626 [INFO] running `Command { std: "docker" "start" "-a" "9beb285acad7ed4bc05664d3e55262f99c0579e17807e62ab56501d02e851626", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [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.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.43/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 791 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.43/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 792 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.43/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 793 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.43/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 794 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.43/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 795 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking either v1.5.3 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.43/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 797 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9beb285acad7ed4bc05664d3e55262f99c0579e17807e62ab56501d02e851626", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9beb285acad7ed4bc05664d3e55262f99c0579e17807e62ab56501d02e851626", kill_on_drop: false }` [INFO] [stdout] 9beb285acad7ed4bc05664d3e55262f99c0579e17807e62ab56501d02e851626