[INFO] cloning repository https://github.com/okey/spheretracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/okey/spheretracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fokey%2Fspheretracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fokey%2Fspheretracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 59e3ffd040ed138ffecd7990f871ca8bd155a837 [INFO] checking okey/spheretracer against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fokey%2Fspheretracer" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/okey/spheretracer on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/okey/spheretracer [INFO] finished tweaking git repo https://github.com/okey/spheretracer [INFO] tweaked toml for git repo https://github.com/okey/spheretracer written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/okey/spheretracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b947323ccd9ac46f0c857d403a8ad6d3df6ecca23bb8e46f66f4ef20303e709f [INFO] running `Command { std: "docker" "start" "-a" "b947323ccd9ac46f0c857d403a8ad6d3df6ecca23bb8e46f66f4ef20303e709f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b947323ccd9ac46f0c857d403a8ad6d3df6ecca23bb8e46f66f4ef20303e709f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b947323ccd9ac46f0c857d403a8ad6d3df6ecca23bb8e46f66f4ef20303e709f", kill_on_drop: false }` [INFO] [stdout] b947323ccd9ac46f0c857d403a8ad6d3df6ecca23bb8e46f66f4ef20303e709f [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6c595cb89ca63bb7f29c74ce2b59b9946ecec5f7a3ae968a0111369f312ad71 [INFO] running `Command { std: "docker" "start" "-a" "a6c595cb89ca63bb7f29c74ce2b59b9946ecec5f7a3ae968a0111369f312ad71", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.0.2 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking nom v1.2.4 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Checking inflate v0.4.3 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking log v0.4.3 [INFO] [stderr] Checking gif v0.10.0 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking aho-corasick v0.6.6 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-iter v0.1.37 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling cmake v0.1.31 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling quote v0.6.4 [INFO] [stderr] Checking semver v0.2.3 [INFO] [stderr] Compiling syn v0.14.5 [INFO] [stderr] Compiling glfw-sys v3.2.2 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking glfw v0.23.0 [INFO] [stderr] Checking spheretracer v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | let file = BufReader::new(try!(File::open(filename))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | let line_str = try!(line); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | let dims = try!(n_words_to_or_fail::(&tokens, 1, 1, 2, true, &line_str, line_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | let cvals = try!(n_words_to_or_fail::(&tokens, 1, 3, 3, true, &line_str, line_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | let cvals = try!(n_words_to_or_fail::(&tokens, 1, 3, 3, true, &line_str, line_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | let p = try!(n_words_to_or_fail::(&tokens, 1, 3, 3, false, &line_str, line_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | let c = try!(n_words_to_or_fail::(&tokens, 4, 3, 3, true, &line_str, line_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:161:20 [INFO] [stdout] | [INFO] [stdout] 161 | let rval = try!(n_words_to_or_fail::(&tokens, 1, 1, 1, true, &line_str, line_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:184:20 [INFO] [stdout] | [INFO] [stdout] 184 | let cols = try!(n_words_to_or_fail::(&tokens, 1, 9, 9, false, &line_str, line_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | let coeff = try!(n_words_to_or_fail::(&tokens, 10, 1, 1, true, &line_str, line_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:193:20 [INFO] [stdout] | [INFO] [stdout] 193 | let cols = try!(n_words_to_or_fail::(&tokens, 1, 9, 9, false, &line_str, line_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | let coeff = try!(n_words_to_or_fail::(&tokens, 10, 1, 1, true, &line_str, line_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 200 | let offsets = try!(n_words_to_or_fail::(&tokens, 1, 3, 3, true, &line_str, line_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:212:23 [INFO] [stdout] | [INFO] [stdout] 212 | let scalars = try!(n_words_to_or_fail::(&tokens, 1, 3, 3, true, &line_str, line_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | (try!(n_words_to_or_fail::(&tokens, 1, 3, 3, false, &line_str, line_num)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | try!(n_words_to_or_fail::(&tokens, 4, 1, 1, true, &line_str, line_num))[0]) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | try!(n_words_to_or_fail::(&tokens, 2, 1, 1, true, &line_str, line_num))[0]) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/sceneio.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 82 | / lazy_static! { [INFO] [stdout] 83 | | static ref SPACE_TAB_RE: Regex = Regex::new(r"[ \t]+").unwrap(); [INFO] [stdout] 84 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | let file = BufReader::new(try!(File::open(filename))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | let line_str = try!(line); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | let dims = try!(n_words_to_or_fail::(&tokens, 1, 1, 2, true, &line_str, line_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | let cvals = try!(n_words_to_or_fail::(&tokens, 1, 3, 3, true, &line_str, line_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | let cvals = try!(n_words_to_or_fail::(&tokens, 1, 3, 3, true, &line_str, line_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | let p = try!(n_words_to_or_fail::(&tokens, 1, 3, 3, false, &line_str, line_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | let c = try!(n_words_to_or_fail::(&tokens, 4, 3, 3, true, &line_str, line_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:161:20 [INFO] [stdout] | [INFO] [stdout] 161 | let rval = try!(n_words_to_or_fail::(&tokens, 1, 1, 1, true, &line_str, line_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:184:20 [INFO] [stdout] | [INFO] [stdout] 184 | let cols = try!(n_words_to_or_fail::(&tokens, 1, 9, 9, false, &line_str, line_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | let coeff = try!(n_words_to_or_fail::(&tokens, 10, 1, 1, true, &line_str, line_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:193:20 [INFO] [stdout] | [INFO] [stdout] 193 | let cols = try!(n_words_to_or_fail::(&tokens, 1, 9, 9, false, &line_str, line_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | let coeff = try!(n_words_to_or_fail::(&tokens, 10, 1, 1, true, &line_str, line_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 200 | let offsets = try!(n_words_to_or_fail::(&tokens, 1, 3, 3, true, &line_str, line_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:212:23 [INFO] [stdout] | [INFO] [stdout] 212 | let scalars = try!(n_words_to_or_fail::(&tokens, 1, 3, 3, true, &line_str, line_num)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | (try!(n_words_to_or_fail::(&tokens, 1, 3, 3, false, &line_str, line_num)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | try!(n_words_to_or_fail::(&tokens, 4, 1, 1, true, &line_str, line_num))[0]) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sceneio.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | try!(n_words_to_or_fail::(&tokens, 2, 1, 1, true, &line_str, line_num))[0]) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/sceneio.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 82 | / lazy_static! { [INFO] [stdout] 83 | | static ref SPACE_TAB_RE: Regex = Regex::new(r"[ \t]+").unwrap(); [INFO] [stdout] 84 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sceneio.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | desc: String::from(e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sceneio.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | desc: String::from(e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:154:78 [INFO] [stdout] | [INFO] [stdout] 154 | gl::BindFragDataLocation(program, 0, CString::new("out_colour").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/main.rs:157:85 [INFO] [stdout] | [INFO] [stdout] 157 | let pos_attr = gl::GetAttribLocation(program, CString::new("position").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/main.rs:166:80 [INFO] [stdout] | [INFO] [stdout] 166 | let mvp_uni = gl::GetUniformLocation(program, CString::new("mvp").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/main.rs:173:90 [INFO] [stdout] | [INFO] [stdout] 173 | let col_attr = gl::GetAttribLocation(program, CString::new("vertex_colour").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: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:154:78 [INFO] [stdout] | [INFO] [stdout] 154 | gl::BindFragDataLocation(program, 0, CString::new("out_colour").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/main.rs:157:85 [INFO] [stdout] | [INFO] [stdout] 157 | let pos_attr = gl::GetAttribLocation(program, CString::new("position").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/main.rs:166:80 [INFO] [stdout] | [INFO] [stdout] 166 | let mvp_uni = gl::GetUniformLocation(program, CString::new("mvp").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/main.rs:173:90 [INFO] [stdout] | [INFO] [stdout] 173 | let col_attr = gl::GetAttribLocation(program, CString::new("vertex_colour").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: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.78s [INFO] running `Command { std: "docker" "inspect" "a6c595cb89ca63bb7f29c74ce2b59b9946ecec5f7a3ae968a0111369f312ad71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6c595cb89ca63bb7f29c74ce2b59b9946ecec5f7a3ae968a0111369f312ad71", kill_on_drop: false }` [INFO] [stdout] a6c595cb89ca63bb7f29c74ce2b59b9946ecec5f7a3ae968a0111369f312ad71