[INFO] cloning repository https://github.com/ArthurEfimow/MySweeper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ArthurEfimow/MySweeper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArthurEfimow%2FMySweeper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArthurEfimow%2FMySweeper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 913ca74534f0287b2e689bcd782d2c97b33c35d2 [INFO] checking ArthurEfimow/MySweeper against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArthurEfimow%2FMySweeper" "/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/ArthurEfimow/MySweeper on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ArthurEfimow/MySweeper [INFO] finished tweaking git repo https://github.com/ArthurEfimow/MySweeper [INFO] tweaked toml for git repo https://github.com/ArthurEfimow/MySweeper written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ArthurEfimow/MySweeper 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/bjz/gl-rs` [INFO] [stderr] Updating git submodule `https://github.com/KhronosGroup/OpenGL-Registry.git` [INFO] [stderr] Updating git submodule `https://github.com/google/angle.git` [INFO] [stderr] Updating git submodule `https://github.com/KhronosGroup/EGL-Registry.git` [INFO] [stderr] Updating git submodule `https://github.com/KhronosGroup/WebGL.git` [INFO] [stderr] Updating git submodule `https://github.com/KhronosGroup/WebGLDeveloperTools.git` [INFO] [stderr] Updating git repository `https://github.com/AngryLawyer/rust-sdl2` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xml-rs v0.8.0 [INFO] [stderr] Downloaded backtrace-sys v0.1.34 [INFO] [stderr] Downloaded backtrace v0.3.45 [INFO] [stderr] Downloaded stb_image v0.2.2 [INFO] [stderr] Downloaded serde-xml-rs v0.3.1 [INFO] [stderr] Downloaded serde_json v1.0.49 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f805ea86a0ec0afad9678369ed5285145fdeb9cd20e834408bd17a9a0f92bdb [INFO] running `Command { std: "docker" "start" "-a" "2f805ea86a0ec0afad9678369ed5285145fdeb9cd20e834408bd17a9a0f92bdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f805ea86a0ec0afad9678369ed5285145fdeb9cd20e834408bd17a9a0f92bdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f805ea86a0ec0afad9678369ed5285145fdeb9cd20e834408bd17a9a0f92bdb", kill_on_drop: false }` [INFO] [stdout] 2f805ea86a0ec0afad9678369ed5285145fdeb9cd20e834408bd17a9a0f92bdb [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5485a1b913b6cb8fb075b672f0df2edc03e7716fd1b8ed874847e47bca9cae9d [INFO] running `Command { std: "docker" "start" "-a" "5485a1b913b6cb8fb075b672f0df2edc03e7716fd1b8ed874847e47bca9cae9d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling khronos_api v3.1.0 (https://github.com/bjz/gl-rs#5cbd0179) [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling sdl2-sys v0.33.0 (https://github.com/AngryLawyer/rust-sdl2#4e81db58) [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling sdl2 v0.33.0 (https://github.com/AngryLawyer/rust-sdl2#4e81db58) [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling stb_image v0.2.2 [INFO] [stderr] Compiling gl_generator v0.14.0 (https://github.com/bjz/gl-rs#5cbd0179) [INFO] [stderr] Compiling backtrace-sys v0.1.34 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling gl v0.14.0 (https://github.com/bjz/gl-rs#5cbd0179) [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking backtrace v0.3.45 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Checking serde_json v1.0.49 [INFO] [stderr] Checking serde-xml-rs v0.3.1 [INFO] [stderr] Checking MySweeper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/render_gl.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gl; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate gl; [INFO] [stdout] | ---------------- the item `gl` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/render_gl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/render_gl.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gl; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate gl; [INFO] [stdout] | ---------------- the item `gl` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/render_gl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mesh.rs:24:88 [INFO] [stdout] | [INFO] [stdout] 24 | ...b_image::stb_image::bindgen::stbi_load(CString::new(source).unwrap().as_ptr() as *const i8,&mut width as *mut i32, &mut height as *mut... [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/mesh.rs:50:88 [INFO] [stdout] | [INFO] [stdout] 50 | ...b_image::stb_image::bindgen::stbi_load(CString::new(source).unwrap().as_ptr() as *const i8,&mut self.width as *mut i32, &mut self.heig... [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mesh.rs:24:88 [INFO] [stdout] | [INFO] [stdout] 24 | ...b_image::stb_image::bindgen::stbi_load(CString::new(source).unwrap().as_ptr() as *const i8,&mut width as *mut i32, &mut height as *mut... [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/mesh.rs:50:88 [INFO] [stdout] | [INFO] [stdout] 50 | ...b_image::stb_image::bindgen::stbi_load(CString::new(source).unwrap().as_ptr() as *const i8,&mut self.width as *mut i32, &mut self.heig... [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.74s [INFO] running `Command { std: "docker" "inspect" "5485a1b913b6cb8fb075b672f0df2edc03e7716fd1b8ed874847e47bca9cae9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5485a1b913b6cb8fb075b672f0df2edc03e7716fd1b8ed874847e47bca9cae9d", kill_on_drop: false }` [INFO] [stdout] 5485a1b913b6cb8fb075b672f0df2edc03e7716fd1b8ed874847e47bca9cae9d [INFO] checking ArthurEfimow/MySweeper against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArthurEfimow%2FMySweeper" "/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/ArthurEfimow/MySweeper on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ArthurEfimow/MySweeper [INFO] finished tweaking git repo https://github.com/ArthurEfimow/MySweeper [INFO] tweaked toml for git repo https://github.com/ArthurEfimow/MySweeper written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ArthurEfimow/MySweeper 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b27bc436cbb2f8a65106d8a45d50b639cc3a02f8b32412cc73f8658ab0012e3 [INFO] running `Command { std: "docker" "start" "-a" "3b27bc436cbb2f8a65106d8a45d50b639cc3a02f8b32412cc73f8658ab0012e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b27bc436cbb2f8a65106d8a45d50b639cc3a02f8b32412cc73f8658ab0012e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b27bc436cbb2f8a65106d8a45d50b639cc3a02f8b32412cc73f8658ab0012e3", kill_on_drop: false }` [INFO] [stdout] 3b27bc436cbb2f8a65106d8a45d50b639cc3a02f8b32412cc73f8658ab0012e3 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad51cf317754eb641488d0eaa932de8e83db057a69428b39f18513781e888f12 [INFO] running `Command { std: "docker" "start" "-a" "ad51cf317754eb641488d0eaa932de8e83db057a69428b39f18513781e888f12", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling khronos_api v3.1.0 (https://github.com/bjz/gl-rs#5cbd0179) [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling sdl2-sys v0.33.0 (https://github.com/AngryLawyer/rust-sdl2#4e81db58) [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling sdl2 v0.33.0 (https://github.com/AngryLawyer/rust-sdl2#4e81db58) [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling stb_image v0.2.2 [INFO] [stderr] Compiling gl_generator v0.14.0 (https://github.com/bjz/gl-rs#5cbd0179) [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling backtrace-sys v0.1.34 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling gl v0.14.0 (https://github.com/bjz/gl-rs#5cbd0179) [INFO] [stderr] Checking backtrace v0.3.45 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Checking serde_json v1.0.49 [INFO] [stderr] Checking serde-xml-rs v0.3.1 [INFO] [stderr] Checking MySweeper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/render_gl.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gl; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate gl; [INFO] [stdout] | ---------------- the item `gl` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/render_gl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/render_gl.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gl; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate gl; [INFO] [stdout] | ---------------- the item `gl` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/render_gl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/mesh.rs:24:88 [INFO] [stdout] | [INFO] [stdout] 24 | ...b_image::stb_image::bindgen::stbi_load(CString::new(source).unwrap().as_ptr() as *const i8,&mut width as *mut i32, &mut height as *mut... [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/mesh.rs:50:88 [INFO] [stdout] | [INFO] [stdout] 50 | ...b_image::stb_image::bindgen::stbi_load(CString::new(source).unwrap().as_ptr() as *const i8,&mut self.width as *mut i32, &mut self.heig... [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/mesh.rs:24:88 [INFO] [stdout] | [INFO] [stdout] 24 | ...b_image::stb_image::bindgen::stbi_load(CString::new(source).unwrap().as_ptr() as *const i8,&mut width as *mut i32, &mut height as *mut... [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/mesh.rs:50:88 [INFO] [stdout] | [INFO] [stdout] 50 | ...b_image::stb_image::bindgen::stbi_load(CString::new(source).unwrap().as_ptr() as *const i8,&mut self.width as *mut i32, &mut self.heig... [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.34s [INFO] running `Command { std: "docker" "inspect" "ad51cf317754eb641488d0eaa932de8e83db057a69428b39f18513781e888f12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad51cf317754eb641488d0eaa932de8e83db057a69428b39f18513781e888f12", kill_on_drop: false }` [INFO] [stdout] ad51cf317754eb641488d0eaa932de8e83db057a69428b39f18513781e888f12