[INFO] cloning repository https://github.com/EduRenesto/rustcraft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EduRenesto/rustcraft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEduRenesto%2Frustcraft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEduRenesto%2Frustcraft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8768fd9c828edc2f9684d70d9bc5b8d712e8d264 [INFO] testing EduRenesto/rustcraft against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEduRenesto%2Frustcraft" "/workspace/builds/worker-96/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-96/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EduRenesto/rustcraft on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EduRenesto/rustcraft [INFO] finished tweaking git repo https://github.com/EduRenesto/rustcraft [INFO] tweaked toml for git repo https://github.com/EduRenesto/rustcraft written to /workspace/builds/worker-96/source/Cargo.toml [INFO] crate git repo https://github.com/EduRenesto/rustcraft already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memoffset v0.5.5 [INFO] [stderr] Downloaded rayon v1.3.1 [INFO] [stderr] Downloaded libc v0.2.74 [INFO] [stderr] Downloaded noise v0.5.1 [INFO] [stderr] Downloaded rayon-core v1.7.1 [INFO] [stderr] Downloaded num-iter v0.1.41 [INFO] [stderr] Downloaded image v0.18.0 [INFO] [stderr] Downloaded jpeg-decoder v0.1.20 [INFO] [stderr] Downloaded libloading v0.6.2 [INFO] [stderr] Downloaded inflate v0.3.4 [INFO] [stderr] Downloaded xml-rs v0.8.3 [INFO] [stderr] Downloaded cc v1.0.58 [INFO] [stderr] Downloaded owning_ref v0.4.1 [INFO] [stderr] Downloaded rusttype v0.8.3 [INFO] [stderr] Downloaded ordered-float v1.1.0 [INFO] [stderr] Downloaded gl v0.11.0 [INFO] [stderr] Downloaded miniz_oxide v0.4.0 [INFO] [stderr] Downloaded gleam v0.6.19 [INFO] [stderr] Downloaded png v0.11.0 [INFO] [stderr] Downloaded glutin v0.19.0 [INFO] [stderr] Downloaded stb_image v0.2.2 [INFO] [stderr] Downloaded gif v0.9.2 [INFO] [stderr] Downloaded gl_generator v0.10.0 [INFO] [stderr] Downloaded winit v0.18.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f560a07cfad224a764c2b5a7ed29bcdc08c1b316d0d6264c22f4305d38f87fc [INFO] running `Command { std: "docker" "start" "-a" "0f560a07cfad224a764c2b5a7ed29bcdc08c1b316d0d6264c22f4305d38f87fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f560a07cfad224a764c2b5a7ed29bcdc08c1b316d0d6264c22f4305d38f87fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f560a07cfad224a764c2b5a7ed29bcdc08c1b316d0d6264c22f4305d38f87fc", kill_on_drop: false }` [INFO] [stdout] 0f560a07cfad224a764c2b5a7ed29bcdc08c1b316d0d6264c22f4305d38f87fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f750028595b9ee892f43e5db7f7a2a98e68a59fa5260329c0f57ec7ab93977d [INFO] running `Command { std: "docker" "start" "-a" "9f750028595b9ee892f43e5db7f7a2a98e68a59fa5260329c0f57ec7ab93977d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling stb_image v0.2.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling image v0.18.0 [INFO] [stderr] Compiling noise v0.5.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.18.1 [INFO] [stderr] Compiling rustcraft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shader.rs:80:87 [INFO] [stdout] | [INFO] [stdout] 80 | ... std::ffi::CString::new(name.as_ref().as_bytes()).unwrap().as_ptr()); [INFO] [stdout] | --------------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shader.rs:88:87 [INFO] [stdout] | [INFO] [stdout] 88 | ... std::ffi::CString::new(name.as_ref().as_bytes()).unwrap().as_ptr()); [INFO] [stdout] | --------------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: 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/shader.rs:96:87 [INFO] [stdout] | [INFO] [stdout] 96 | ... std::ffi::CString::new(name.as_ref().as_bytes()).unwrap().as_ptr()); [INFO] [stdout] | --------------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 20s [INFO] running `Command { std: "docker" "inspect" "9f750028595b9ee892f43e5db7f7a2a98e68a59fa5260329c0f57ec7ab93977d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f750028595b9ee892f43e5db7f7a2a98e68a59fa5260329c0f57ec7ab93977d", kill_on_drop: false }` [INFO] [stdout] 9f750028595b9ee892f43e5db7f7a2a98e68a59fa5260329c0f57ec7ab93977d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9da2beea04269822822d22b7bab141b06aeadf2df781739a15618b3f3fd54551 [INFO] running `Command { std: "docker" "start" "-a" "9da2beea04269822822d22b7bab141b06aeadf2df781739a15618b3f3fd54551", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rustcraft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shader.rs:80:87 [INFO] [stdout] | [INFO] [stdout] 80 | ... std::ffi::CString::new(name.as_ref().as_bytes()).unwrap().as_ptr()); [INFO] [stdout] | --------------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shader.rs:88:87 [INFO] [stdout] | [INFO] [stdout] 88 | ... std::ffi::CString::new(name.as_ref().as_bytes()).unwrap().as_ptr()); [INFO] [stdout] | --------------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: 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/shader.rs:96:87 [INFO] [stdout] | [INFO] [stdout] 96 | ... std::ffi::CString::new(name.as_ref().as_bytes()).unwrap().as_ptr()); [INFO] [stdout] | --------------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 17.68s [INFO] running `Command { std: "docker" "inspect" "9da2beea04269822822d22b7bab141b06aeadf2df781739a15618b3f3fd54551", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9da2beea04269822822d22b7bab141b06aeadf2df781739a15618b3f3fd54551", kill_on_drop: false }` [INFO] [stdout] 9da2beea04269822822d22b7bab141b06aeadf2df781739a15618b3f3fd54551 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 60dd0739dbb7003428e6dc1acb0951d86bd37d155ba660994ec13279bdd74432 [INFO] running `Command { std: "docker" "start" "-a" "60dd0739dbb7003428e6dc1acb0951d86bd37d155ba660994ec13279bdd74432", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/shader.rs:80:87 [INFO] [stderr] | [INFO] [stderr] 80 | ... std::ffi::CString::new(name.as_ref().as_bytes()).unwrap().as_ptr()); [INFO] [stderr] | --------------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stderr] = 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] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/shader.rs:88:87 [INFO] [stderr] | [INFO] [stderr] 88 | ... std::ffi::CString::new(name.as_ref().as_bytes()).unwrap().as_ptr()); [INFO] [stderr] | --------------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/shader.rs:96:87 [INFO] [stderr] | [INFO] [stderr] 96 | ... std::ffi::CString::new(name.as_ref().as_bytes()).unwrap().as_ptr()); [INFO] [stderr] | --------------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: `rustcraft` (bin "rustcraft" test) generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rustcraft-0b3e8a4e7322e5ac) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "60dd0739dbb7003428e6dc1acb0951d86bd37d155ba660994ec13279bdd74432", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60dd0739dbb7003428e6dc1acb0951d86bd37d155ba660994ec13279bdd74432", kill_on_drop: false }` [INFO] [stdout] 60dd0739dbb7003428e6dc1acb0951d86bd37d155ba660994ec13279bdd74432