[INFO] cloning repository https://github.com/mlcruz/rust_gl_render [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mlcruz/rust_gl_render" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlcruz%2Frust_gl_render", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlcruz%2Frust_gl_render'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7cb3e8f3b550a3adccedb198821875d6bd6f79f [INFO] checking mlcruz/rust_gl_render against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlcruz%2Frust_gl_render" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 68% (74/108) Checking out files: 69% (75/108) Checking out files: 70% (76/108) Checking out files: 71% (77/108) Checking out files: 72% (78/108) Checking out files: 73% (79/108) Checking out files: 74% (80/108) Checking out files: 75% (81/108) Checking out files: 76% (83/108) Checking out files: 77% (84/108) Checking out files: 78% (85/108) Checking out files: 79% (86/108) Checking out files: 80% (87/108) Checking out files: 81% (88/108) Checking out files: 82% (89/108) Checking out files: 83% (90/108) Checking out files: 84% (91/108) Checking out files: 85% (92/108) Checking out files: 86% (93/108) Checking out files: 87% (94/108) Checking out files: 88% (96/108) Checking out files: 89% (97/108) Checking out files: 90% (98/108) Checking out files: 91% (99/108) Checking out files: 92% (100/108) Checking out files: 93% (101/108) Checking out files: 94% (102/108) Checking out files: 95% (103/108) Checking out files: 96% (104/108) Checking out files: 97% (105/108) Checking out files: 98% (106/108) Checking out files: 99% (107/108) Checking out files: 100% (108/108) Checking out files: 100% (108/108), done. [INFO] validating manifest of git repo https://github.com/mlcruz/rust_gl_render on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mlcruz/rust_gl_render [INFO] finished tweaking git repo https://github.com/mlcruz/rust_gl_render [INFO] tweaked toml for git repo https://github.com/mlcruz/rust_gl_render written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/mlcruz/rust_gl_render already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tobj v0.1.11 [INFO] [stderr] Downloaded glutin v0.21.1 [INFO] [stderr] Downloaded quickcheck v0.2.27 [INFO] [stderr] Downloaded glm v0.2.3 [INFO] [stderr] Downloaded buffer v0.1.8 [INFO] [stderr] Downloaded ignore-result v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3c7357be8650ae87098ce6be752e5bcba111b06c1a07e6850fbe48befa899c0 [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" "e3c7357be8650ae87098ce6be752e5bcba111b06c1a07e6850fbe48befa899c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3c7357be8650ae87098ce6be752e5bcba111b06c1a07e6850fbe48befa899c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3c7357be8650ae87098ce6be752e5bcba111b06c1a07e6850fbe48befa899c0", kill_on_drop: false }` [INFO] [stdout] e3c7357be8650ae87098ce6be752e5bcba111b06c1a07e6850fbe48befa899c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c25ff89ce6ff19297cb64583a6aeb0dc80bed2fe64420b955307ed8970617fb [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" "2c25ff89ce6ff19297cb64583a6aeb0dc80bed2fe64420b955307ed8970617fb", kill_on_drop: false }` [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking odds v0.2.26 [INFO] [stderr] Checking mac v0.0.2 [INFO] [stderr] Checking ignore-result v0.2.0 [INFO] [stderr] Checking tobj v0.1.11 [INFO] [stderr] Compiling num-traits v0.2.9 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking arrayvec v0.3.25 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking buffer v0.1.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling gl v0.6.5 [INFO] [stderr] Checking num-integer v0.1.41 [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-complex v0.1.43 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Checking quickcheck v0.2.27 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-iter v0.1.39 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking glm v0.2.3 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking glutin v0.21.1 [INFO] [stderr] Checking upgrade_low_tex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/models/obj_model.rs:416:91 [INFO] [stdout] | [INFO] [stdout] 416 | gl::GetUniformLocation(*program, CString::new("texture_overide").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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/models/obj_model.rs:421:59 [INFO] [stdout] | [INFO] [stdout] 421 | CString::new("texture_map_type").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/models/obj_model.rs:425:89 [INFO] [stdout] | [INFO] [stdout] 425 | gl::GetUniformLocation(*program, CString::new("color_overide").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/models/obj_model.rs:428:81 [INFO] [stdout] | [INFO] [stdout] 428 | gl::GetUniformLocation(*program, CString::new("model").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/models/obj_model.rs:431:84 [INFO] [stdout] | [INFO] [stdout] 431 | gl::GetUniformLocation(*program, CString::new("bbox_min").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/models/obj_model.rs:434:84 [INFO] [stdout] | [INFO] [stdout] 434 | gl::GetUniformLocation(*program, CString::new("bbox_max").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/models/obj_model.rs:438:63 [INFO] [stdout] | [INFO] [stdout] 438 | CString::new("specular_reflectance").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/models/obj_model.rs:442:67 [INFO] [stdout] | [INFO] [stdout] 442 | CString::new("lighting_source_override").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/models/obj_model.rs:447:62 [INFO] [stdout] | [INFO] [stdout] 447 | CString::new("ambient_reflectance").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/models/obj_model.rs:451:83 [INFO] [stdout] | [INFO] [stdout] 451 | gl::GetUniformLocation(*program, CString::new("phong_q").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/world/view.rs:52:80 [INFO] [stdout] | [INFO] [stdout] 52 | gl::GetUniformLocation(*program, CString::new("view").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/world/view.rs:54:86 [INFO] [stdout] | [INFO] [stdout] 54 | gl::GetUniformLocation(*program, CString::new("projection").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/world/view.rs:57:91 [INFO] [stdout] | [INFO] [stdout] 57 | gl::GetUniformLocation(*program, CString::new("global_lighting").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/world/view.rs:61:61 [INFO] [stdout] | [INFO] [stdout] 61 | CString::new("lighting_direction").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/world/view.rs:65:89 [INFO] [stdout] | [INFO] [stdout] 65 | gl::GetUniformLocation(*program, CString::new("camera_origin").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/world/view.rs:69:59 [INFO] [stdout] | [INFO] [stdout] 69 | CString::new("ambient_lighting").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/models/obj_model.rs:416:91 [INFO] [stdout] | [INFO] [stdout] 416 | gl::GetUniformLocation(*program, CString::new("texture_overide").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: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/models/obj_model.rs:421:59 [INFO] [stdout] | [INFO] [stdout] 421 | CString::new("texture_map_type").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/models/obj_model.rs:425:89 [INFO] [stdout] | [INFO] [stdout] 425 | gl::GetUniformLocation(*program, CString::new("color_overide").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/models/obj_model.rs:428:81 [INFO] [stdout] | [INFO] [stdout] 428 | gl::GetUniformLocation(*program, CString::new("model").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/models/obj_model.rs:431:84 [INFO] [stdout] | [INFO] [stdout] 431 | gl::GetUniformLocation(*program, CString::new("bbox_min").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/models/obj_model.rs:434:84 [INFO] [stdout] | [INFO] [stdout] 434 | gl::GetUniformLocation(*program, CString::new("bbox_max").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/models/obj_model.rs:438:63 [INFO] [stdout] | [INFO] [stdout] 438 | CString::new("specular_reflectance").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/models/obj_model.rs:442:67 [INFO] [stdout] | [INFO] [stdout] 442 | CString::new("lighting_source_override").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/models/obj_model.rs:447:62 [INFO] [stdout] | [INFO] [stdout] 447 | CString::new("ambient_reflectance").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/models/obj_model.rs:451:83 [INFO] [stdout] | [INFO] [stdout] 451 | gl::GetUniformLocation(*program, CString::new("phong_q").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/world/view.rs:52:80 [INFO] [stdout] | [INFO] [stdout] 52 | gl::GetUniformLocation(*program, CString::new("view").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/world/view.rs:54:86 [INFO] [stdout] | [INFO] [stdout] 54 | gl::GetUniformLocation(*program, CString::new("projection").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/world/view.rs:57:91 [INFO] [stdout] | [INFO] [stdout] 57 | gl::GetUniformLocation(*program, CString::new("global_lighting").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/world/view.rs:61:61 [INFO] [stdout] | [INFO] [stdout] 61 | CString::new("lighting_direction").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/world/view.rs:65:89 [INFO] [stdout] | [INFO] [stdout] 65 | gl::GetUniformLocation(*program, CString::new("camera_origin").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/world/view.rs:69:59 [INFO] [stdout] | [INFO] [stdout] 69 | CString::new("ambient_lighting").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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.27s [INFO] running `Command { std: "docker" "inspect" "2c25ff89ce6ff19297cb64583a6aeb0dc80bed2fe64420b955307ed8970617fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c25ff89ce6ff19297cb64583a6aeb0dc80bed2fe64420b955307ed8970617fb", kill_on_drop: false }` [INFO] [stdout] 2c25ff89ce6ff19297cb64583a6aeb0dc80bed2fe64420b955307ed8970617fb