[INFO] cloning repository https://github.com/ArthurEfimow/game_interface [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ArthurEfimow/game_interface" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArthurEfimow%2Fgame_interface", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArthurEfimow%2Fgame_interface'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc38a53ebc1c7aea0624615be65d4edd343ba6a1 [INFO] checking ArthurEfimow/game_interface against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArthurEfimow%2Fgame_interface" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ArthurEfimow/game_interface 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/game_interface [INFO] finished tweaking git repo https://github.com/ArthurEfimow/game_interface [INFO] tweaked toml for git repo https://github.com/ArthurEfimow/game_interface written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ArthurEfimow/game_interface 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 crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 1 package [INFO] [stderr] Adding game_interface v1.0.0 (/workspace/builds/worker-1-tc1/source) [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-xml-rs v0.3.1 [INFO] [stderr] Downloaded gimli v0.26.2 [INFO] [stderr] Downloaded stb_image v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 7e1b170369fbe5194bdc37cf3d3b71f412518057ee76133d9472b14ce60a111f [INFO] running `Command { std: "docker" "start" "-a" "7e1b170369fbe5194bdc37cf3d3b71f412518057ee76133d9472b14ce60a111f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e1b170369fbe5194bdc37cf3d3b71f412518057ee76133d9472b14ce60a111f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e1b170369fbe5194bdc37cf3d3b71f412518057ee76133d9472b14ce60a111f", kill_on_drop: false }` [INFO] [stdout] 7e1b170369fbe5194bdc37cf3d3b71f412518057ee76133d9472b14ce60a111f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] e7da9cc94e66ab826d96670dc97a22d78cdaaa73ebc7f34dc6bc92d732a7dfcb [INFO] running `Command { std: "docker" "start" "-a" "e7da9cc94e66ab826d96670dc97a22d78cdaaa73ebc7f34dc6bc92d732a7dfcb", kill_on_drop: false }` [INFO] [stderr] Compiling khronos_api v3.2.0 (https://github.com/bjz/gl-rs#1cd256c7) [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking gimli v0.26.2 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling stb_image v0.2.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling gl_generator v0.14.1 (https://github.com/bjz/gl-rs#1cd256c7) [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling gl v0.14.0 (https://github.com/bjz/gl-rs#1cd256c7) [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking backtrace v0.3.66 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking serde-xml-rs v0.3.1 [INFO] [stderr] Checking game_interface v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/shader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gl; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | 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/shader.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/renderer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gl; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate gl; [INFO] [stdout] | ---------------- the item `gl` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/renderer.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 `sdl2` is imported redundantly [INFO] [stdout] --> src/mouse.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate sdl2; [INFO] [stdout] | ------------------ the item `sdl2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/shader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gl; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | 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/shader.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/renderer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gl; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate gl; [INFO] [stdout] | ---------------- the item `gl` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/renderer.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 `sdl2` is imported redundantly [INFO] [stdout] --> src/mouse.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate sdl2; [INFO] [stdout] | ------------------ the item `sdl2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/lib.rs:150:88 [INFO] [stdout] | [INFO] [stdout] 150 | ...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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/lib.rs:150:88 [INFO] [stdout] | [INFO] [stdout] 150 | ...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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.51s [INFO] running `Command { std: "docker" "inspect" "e7da9cc94e66ab826d96670dc97a22d78cdaaa73ebc7f34dc6bc92d732a7dfcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7da9cc94e66ab826d96670dc97a22d78cdaaa73ebc7f34dc6bc92d732a7dfcb", kill_on_drop: false }` [INFO] [stdout] e7da9cc94e66ab826d96670dc97a22d78cdaaa73ebc7f34dc6bc92d732a7dfcb [INFO] checking ArthurEfimow/game_interface against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArthurEfimow%2Fgame_interface" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ArthurEfimow/game_interface 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/game_interface [INFO] finished tweaking git repo https://github.com/ArthurEfimow/game_interface [INFO] tweaked toml for git repo https://github.com/ArthurEfimow/game_interface written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ArthurEfimow/game_interface 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 265d9bb01f51493e6177f15bb725bc947752c216dc44e80580f3e6dd8af38ee2 [INFO] running `Command { std: "docker" "start" "-a" "265d9bb01f51493e6177f15bb725bc947752c216dc44e80580f3e6dd8af38ee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "265d9bb01f51493e6177f15bb725bc947752c216dc44e80580f3e6dd8af38ee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "265d9bb01f51493e6177f15bb725bc947752c216dc44e80580f3e6dd8af38ee2", kill_on_drop: false }` [INFO] [stdout] 265d9bb01f51493e6177f15bb725bc947752c216dc44e80580f3e6dd8af38ee2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 240fff403c52b3dfd9e411119360869c669fcbc5afa233a00c8577248c58059f [INFO] running `Command { std: "docker" "start" "-a" "240fff403c52b3dfd9e411119360869c669fcbc5afa233a00c8577248c58059f", kill_on_drop: false }` [INFO] [stderr] Compiling khronos_api v3.2.0 (https://github.com/bjz/gl-rs#1cd256c7) [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking gimli v0.26.2 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling stb_image v0.2.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling gl_generator v0.14.1 (https://github.com/bjz/gl-rs#1cd256c7) [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling gl v0.14.0 (https://github.com/bjz/gl-rs#1cd256c7) [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking backtrace v0.3.66 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking serde-xml-rs v0.3.1 [INFO] [stderr] Checking game_interface v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/shader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gl; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | 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 `gl` is imported redundantly [INFO] [stdout] --> src/shader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gl; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | 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/shader.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/renderer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gl; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate gl; [INFO] [stdout] | ---------------- the item `gl` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/renderer.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 `std` is imported redundantly [INFO] [stdout] --> src/shader.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 `sdl2` is imported redundantly [INFO] [stdout] --> src/mouse.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate sdl2; [INFO] [stdout] | ------------------ the item `sdl2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/renderer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gl; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate gl; [INFO] [stdout] | ---------------- the item `gl` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/renderer.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 `sdl2` is imported redundantly [INFO] [stdout] --> src/mouse.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate sdl2; [INFO] [stdout] | ------------------ the item `sdl2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/lib.rs:150:88 [INFO] [stdout] | [INFO] [stdout] 150 | ...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/lib.rs:150:88 [INFO] [stdout] | [INFO] [stdout] 150 | ...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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.47s [INFO] running `Command { std: "docker" "inspect" "240fff403c52b3dfd9e411119360869c669fcbc5afa233a00c8577248c58059f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "240fff403c52b3dfd9e411119360869c669fcbc5afa233a00c8577248c58059f", kill_on_drop: false }` [INFO] [stdout] 240fff403c52b3dfd9e411119360869c669fcbc5afa233a00c8577248c58059f