[INFO] cloning repository https://github.com/mwalczyk/graphics_utils
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mwalczyk/graphics_utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmwalczyk%2Fgraphics_utils", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmwalczyk%2Fgraphics_utils'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c37392deda24be444e5f4fe9ebbf106d070a0c56
[INFO] testing mwalczyk/graphics_utils against 1.54.0 for beta-1.55-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmwalczyk%2Fgraphics_utils" "/workspace/builds/worker-79/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-79/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mwalczyk/graphics_utils on toolchain 1.54.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/mwalczyk/graphics_utils
[INFO] finished tweaking git repo https://github.com/mwalczyk/graphics_utils
[INFO] tweaked toml for git repo https://github.com/mwalczyk/graphics_utils written to /workspace/builds/worker-79/source/Cargo.toml
[INFO] crate git repo https://github.com/mwalczyk/graphics_utils already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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" "+1.54.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 258fcbdd0f9d73b005f9cd589c4bb7e9cdfa896abde747e48f4a96205d1c9f77
[INFO] running `Command { std: "docker" "start" "-a" "258fcbdd0f9d73b005f9cd589c4bb7e9cdfa896abde747e48f4a96205d1c9f77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "258fcbdd0f9d73b005f9cd589c4bb7e9cdfa896abde747e48f4a96205d1c9f77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "258fcbdd0f9d73b005f9cd589c4bb7e9cdfa896abde747e48f4a96205d1c9f77", kill_on_drop: false }`
[INFO] [stdout] 258fcbdd0f9d73b005f9cd589c4bb7e9cdfa896abde747e48f4a96205d1c9f77
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 516c999d57a22976b287b2a5c1685073241e6cdcb62c6b84d18d026038e48af6
[INFO] running `Command { std: "docker" "start" "-a" "516c999d57a22976b287b2a5c1685073241e6cdcb62c6b84d18d026038e48af6", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling autocfg v0.1.6
[INFO] [stderr]    Compiling cfg-if v0.1.9
[INFO] [stderr]    Compiling libc v0.2.62
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling arrayvec v0.4.11
[INFO] [stderr]    Compiling nodrop v0.1.13
[INFO] [stderr]    Compiling scopeguard v1.0.0
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling rayon-core v1.6.0
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling adler32 v1.0.4
[INFO] [stderr]    Compiling bitflags v1.1.0
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling xml-rs v0.8.0
[INFO] [stderr]    Compiling color_quant v1.0.1
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling cgmath v0.17.0
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling inflate v0.3.4
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling gif v0.9.2
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling num-iter v0.1.39
[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 rustc_version v0.2.3
[INFO] [stderr]    Compiling crossbeam-queue v0.1.2
[INFO] [stderr]    Compiling memoffset v0.5.1
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling deflate v0.7.20
[INFO] [stderr]    Compiling num_cpus v1.10.1
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.7.2
[INFO] [stderr]    Compiling gl v0.13.0
[INFO] [stderr]    Compiling crossbeam-deque v0.7.1
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling enum_primitive v0.1.1
[INFO] [stderr]    Compiling num-rational v0.1.42
[INFO] [stderr]    Compiling png v0.11.0
[INFO] [stderr]    Compiling rayon v1.2.0
[INFO] [stderr]    Compiling jpeg-decoder v0.1.16
[INFO] [stderr]    Compiling image v0.18.0
[INFO] [stderr]    Compiling noise v0.5.1
[INFO] [stderr]    Compiling graphics_utils v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/mesh.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NoiseFn`, `Perlin`
[INFO] [stdout]  --> src/polyline.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use noise::{NoiseFn, Perlin};
[INFO] [stdout]   |             ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/polyline.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sc` is never read
[INFO] [stdout]   --> src/polyline.rs:67:17
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let mut sc: f32 = 0.0;
[INFO] [stdout]    |                 ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sN` is never read
[INFO] [stdout]   --> src/polyline.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut sN: f32 = 0.0;
[INFO] [stdout]    |                 ^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `tc` is never read
[INFO] [stdout]   --> src/polyline.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let mut tc: f32 = 0.0;
[INFO] [stdout]    |                 ^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `tN` is never read
[INFO] [stdout]   --> src/polyline.rs:71:17
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut tN: f32 = 0.0;
[INFO] [stdout]    |                 ^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `circle_normal`
[INFO] [stdout]    --> src/polyline.rs:321:13
[INFO] [stdout]     |
[INFO] [stdout] 321 |         let circle_normal: Vector3<f32> = Vector3::unit_y();
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_circle_normal`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `circle_center`
[INFO] [stdout]    --> src/polyline.rs:322:13
[INFO] [stdout]     |
[INFO] [stdout] 322 |         let circle_center: Vector3<f32> = Vector3::zero();
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_circle_center`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_memory_size`
[INFO] [stdout]   --> src/mesh.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn get_memory_size(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias is never used: `Intersection`
[INFO] [stdout]  --> src/polyline.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | type Intersection = (Vector3<f32>, f32, f32);
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/program.rs:131:88
[INFO] [stdout]     |
[INFO] [stdout] 131 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:138:88
[INFO] [stdout]     |
[INFO] [stdout] 138 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:145:88
[INFO] [stdout]     |
[INFO] [stdout] 145 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:152:88
[INFO] [stdout]     |
[INFO] [stdout] 152 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:159:88
[INFO] [stdout]     |
[INFO] [stdout] 159 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:166:88
[INFO] [stdout]     |
[INFO] [stdout] 166 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:173:88
[INFO] [stdout]     |
[INFO] [stdout] 173 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:180:88
[INFO] [stdout]     |
[INFO] [stdout] 180 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:187:88
[INFO] [stdout]     |
[INFO] [stdout] 187 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:194:88
[INFO] [stdout]     |
[INFO] [stdout] 194 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:201:88
[INFO] [stdout]     |
[INFO] [stdout] 201 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:208:88
[INFO] [stdout]     |
[INFO] [stdout] 208 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:215:88
[INFO] [stdout]     |
[INFO] [stdout] 215 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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: variable `D` should have a snake case name
[INFO] [stdout]   --> src/polyline.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let D = a * c - b * b; // always >= 0
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `d`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `sN` should have a snake case name
[INFO] [stdout]   --> src/polyline.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut sN: f32 = 0.0;
[INFO] [stdout]    |                 ^^ help: convert the identifier to snake case: `s_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `sD` should have a snake case name
[INFO] [stdout]   --> src/polyline.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let mut sD = D; // sc = sN / sD, default sD = D >= 0
[INFO] [stdout]    |                 ^^ help: convert the identifier to snake case: `s_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `tN` should have a snake case name
[INFO] [stdout]   --> src/polyline.rs:71:17
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut tN: f32 = 0.0;
[INFO] [stdout]    |                 ^^ help: convert the identifier to snake case: `t_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `tD` should have a snake case name
[INFO] [stdout]   --> src/polyline.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let mut tD = D; // tc = tN / tD, default tD = D >= 0
[INFO] [stdout]    |                 ^^ help: convert the identifier to snake case: `t_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 29 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 31.35s
[INFO] running `Command { std: "docker" "inspect" "516c999d57a22976b287b2a5c1685073241e6cdcb62c6b84d18d026038e48af6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "516c999d57a22976b287b2a5c1685073241e6cdcb62c6b84d18d026038e48af6", kill_on_drop: false }`
[INFO] [stdout] 516c999d57a22976b287b2a5c1685073241e6cdcb62c6b84d18d026038e48af6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8258bd29809336014c6b3dd229bcaf43e49e681931a0a4df9965dac9dcb9e993
[INFO] running `Command { std: "docker" "start" "-a" "8258bd29809336014c6b3dd229bcaf43e49e681931a0a4df9965dac9dcb9e993", kill_on_drop: false }`
[INFO] [stderr]    Compiling graphics_utils v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/mesh.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NoiseFn`, `Perlin`
[INFO] [stdout]  --> src/polyline.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use noise::{NoiseFn, Perlin};
[INFO] [stdout]   |             ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/polyline.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sc` is never read
[INFO] [stdout]   --> src/polyline.rs:67:17
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let mut sc: f32 = 0.0;
[INFO] [stdout]    |                 ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sN` is never read
[INFO] [stdout]   --> src/polyline.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut sN: f32 = 0.0;
[INFO] [stdout]    |                 ^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `tc` is never read
[INFO] [stdout]   --> src/polyline.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let mut tc: f32 = 0.0;
[INFO] [stdout]    |                 ^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `tN` is never read
[INFO] [stdout]   --> src/polyline.rs:71:17
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut tN: f32 = 0.0;
[INFO] [stdout]    |                 ^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `circle_normal`
[INFO] [stdout]    --> src/polyline.rs:321:13
[INFO] [stdout]     |
[INFO] [stdout] 321 |         let circle_normal: Vector3<f32> = Vector3::unit_y();
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_circle_normal`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `circle_center`
[INFO] [stdout]    --> src/polyline.rs:322:13
[INFO] [stdout]     |
[INFO] [stdout] 322 |         let circle_center: Vector3<f32> = Vector3::zero();
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_circle_center`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_memory_size`
[INFO] [stdout]   --> src/mesh.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn get_memory_size(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias is never used: `Intersection`
[INFO] [stdout]  --> src/polyline.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | type Intersection = (Vector3<f32>, f32, f32);
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/program.rs:131:88
[INFO] [stdout]     |
[INFO] [stdout] 131 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:138:88
[INFO] [stdout]     |
[INFO] [stdout] 138 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:145:88
[INFO] [stdout]     |
[INFO] [stdout] 145 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:152:88
[INFO] [stdout]     |
[INFO] [stdout] 152 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:159:88
[INFO] [stdout]     |
[INFO] [stdout] 159 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:166:88
[INFO] [stdout]     |
[INFO] [stdout] 166 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:173:88
[INFO] [stdout]     |
[INFO] [stdout] 173 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:180:88
[INFO] [stdout]     |
[INFO] [stdout] 180 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:187:88
[INFO] [stdout]     |
[INFO] [stdout] 187 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:194:88
[INFO] [stdout]     |
[INFO] [stdout] 194 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:201:88
[INFO] [stdout]     |
[INFO] [stdout] 201 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:208:88
[INFO] [stdout]     |
[INFO] [stdout] 208 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:215:88
[INFO] [stdout]     |
[INFO] [stdout] 215 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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: variable `D` should have a snake case name
[INFO] [stdout]   --> src/polyline.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let D = a * c - b * b; // always >= 0
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `d`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `sN` should have a snake case name
[INFO] [stdout]   --> src/polyline.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut sN: f32 = 0.0;
[INFO] [stdout]    |                 ^^ help: convert the identifier to snake case: `s_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `sD` should have a snake case name
[INFO] [stdout]   --> src/polyline.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let mut sD = D; // sc = sN / sD, default sD = D >= 0
[INFO] [stdout]    |                 ^^ help: convert the identifier to snake case: `s_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `tN` should have a snake case name
[INFO] [stdout]   --> src/polyline.rs:71:17
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut tN: f32 = 0.0;
[INFO] [stdout]    |                 ^^ help: convert the identifier to snake case: `t_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `tD` should have a snake case name
[INFO] [stdout]   --> src/polyline.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let mut tD = D; // tc = tN / tD, default tD = D >= 0
[INFO] [stdout]    |                 ^^ help: convert the identifier to snake case: `t_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 29 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/mesh.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NoiseFn`, `Perlin`
[INFO] [stdout]  --> src/polyline.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use noise::{NoiseFn, Perlin};
[INFO] [stdout]   |             ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/polyline.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sc` is never read
[INFO] [stdout]   --> src/polyline.rs:67:17
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let mut sc: f32 = 0.0;
[INFO] [stdout]    |                 ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sN` is never read
[INFO] [stdout]   --> src/polyline.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut sN: f32 = 0.0;
[INFO] [stdout]    |                 ^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `tc` is never read
[INFO] [stdout]   --> src/polyline.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let mut tc: f32 = 0.0;
[INFO] [stdout]    |                 ^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `tN` is never read
[INFO] [stdout]   --> src/polyline.rs:71:17
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut tN: f32 = 0.0;
[INFO] [stdout]    |                 ^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `circle_normal`
[INFO] [stdout]    --> src/polyline.rs:321:13
[INFO] [stdout]     |
[INFO] [stdout] 321 |         let circle_normal: Vector3<f32> = Vector3::unit_y();
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_circle_normal`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `circle_center`
[INFO] [stdout]    --> src/polyline.rs:322:13
[INFO] [stdout]     |
[INFO] [stdout] 322 |         let circle_center: Vector3<f32> = Vector3::zero();
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_circle_center`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/half_edge.rs:692:13
[INFO] [stdout]     |
[INFO] [stdout] 692 |         let mut adjacent_to_face_0 = half_edge_mesh.get_adjacent_half_edges_to_face(FaceIndex(0));
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/half_edge.rs:693:13
[INFO] [stdout]     |
[INFO] [stdout] 693 |         let mut adjacent_to_face_1 = half_edge_mesh.get_adjacent_half_edges_to_face(FaceIndex(1));
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/half_edge.rs:703:13
[INFO] [stdout]     |
[INFO] [stdout] 703 |         let mut vertices_around_face_0 = half_edge_mesh.get_adjacent_vertices_to_face(FaceIndex(0));
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/half_edge.rs:704:13
[INFO] [stdout]     |
[INFO] [stdout] 704 |         let mut vertices_around_face_1 = half_edge_mesh.get_adjacent_vertices_to_face(FaceIndex(1));
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_memory_size`
[INFO] [stdout]   --> src/mesh.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn get_memory_size(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias is never used: `Intersection`
[INFO] [stdout]  --> src/polyline.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | type Intersection = (Vector3<f32>, f32, f32);
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/program.rs:131:88
[INFO] [stdout]     |
[INFO] [stdout] 131 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:138:88
[INFO] [stdout]     |
[INFO] [stdout] 138 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:145:88
[INFO] [stdout]     |
[INFO] [stdout] 145 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:152:88
[INFO] [stdout]     |
[INFO] [stdout] 152 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:159:88
[INFO] [stdout]     |
[INFO] [stdout] 159 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:166:88
[INFO] [stdout]     |
[INFO] [stdout] 166 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:173:88
[INFO] [stdout]     |
[INFO] [stdout] 173 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:180:88
[INFO] [stdout]     |
[INFO] [stdout] 180 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:187:88
[INFO] [stdout]     |
[INFO] [stdout] 187 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:194:88
[INFO] [stdout]     |
[INFO] [stdout] 194 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:201:88
[INFO] [stdout]     |
[INFO] [stdout] 201 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:208:88
[INFO] [stdout]     |
[INFO] [stdout] 208 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:215:88
[INFO] [stdout]     |
[INFO] [stdout] 215 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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: variable `D` should have a snake case name
[INFO] [stdout]   --> src/polyline.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let D = a * c - b * b; // always >= 0
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `d`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `sN` should have a snake case name
[INFO] [stdout]   --> src/polyline.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut sN: f32 = 0.0;
[INFO] [stdout]    |                 ^^ help: convert the identifier to snake case: `s_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `sD` should have a snake case name
[INFO] [stdout]   --> src/polyline.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let mut sD = D; // sc = sN / sD, default sD = D >= 0
[INFO] [stdout]    |                 ^^ help: convert the identifier to snake case: `s_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `tN` should have a snake case name
[INFO] [stdout]   --> src/polyline.rs:71:17
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut tN: f32 = 0.0;
[INFO] [stdout]    |                 ^^ help: convert the identifier to snake case: `t_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `tD` should have a snake case name
[INFO] [stdout]   --> src/polyline.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let mut tD = D; // tc = tN / tD, default tD = D >= 0
[INFO] [stdout]    |                 ^^ help: convert the identifier to snake case: `t_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 33 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.03s
[INFO] running `Command { std: "docker" "inspect" "8258bd29809336014c6b3dd229bcaf43e49e681931a0a4df9965dac9dcb9e993", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8258bd29809336014c6b3dd229bcaf43e49e681931a0a4df9965dac9dcb9e993", kill_on_drop: false }`
[INFO] [stdout] 8258bd29809336014c6b3dd229bcaf43e49e681931a0a4df9965dac9dcb9e993
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 564f8309154efe60e377251f91bd117ab61631b9adf87457d266ae2e0375f808
[INFO] running `Command { std: "docker" "start" "-a" "564f8309154efe60e377251f91bd117ab61631b9adf87457d266ae2e0375f808", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/mesh.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `NoiseFn`, `Perlin`
[INFO] [stderr]  --> src/polyline.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | use noise::{NoiseFn, Perlin};
[INFO] [stderr]   |             ^^^^^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::cmp::max`
[INFO] [stderr]  --> src/polyline.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::cmp::max;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `sc` is never read
[INFO] [stderr]   --> src/polyline.rs:67:17
[INFO] [stderr]    |
[INFO] [stderr] 67 |         let mut sc: f32 = 0.0;
[INFO] [stderr]    |                 ^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `sN` is never read
[INFO] [stderr]   --> src/polyline.rs:68:17
[INFO] [stderr]    |
[INFO] [stderr] 68 |         let mut sN: f32 = 0.0;
[INFO] [stderr]    |                 ^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `tc` is never read
[INFO] [stderr]   --> src/polyline.rs:70:17
[INFO] [stderr]    |
[INFO] [stderr] 70 |         let mut tc: f32 = 0.0;
[INFO] [stderr]    |                 ^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `tN` is never read
[INFO] [stderr]   --> src/polyline.rs:71:17
[INFO] [stderr]    |
[INFO] [stderr] 71 |         let mut tN: f32 = 0.0;
[INFO] [stderr]    |                 ^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `circle_normal`
[INFO] [stderr]    --> src/polyline.rs:321:13
[INFO] [stderr]     |
[INFO] [stderr] 321 |         let circle_normal: Vector3<f32> = Vector3::unit_y();
[INFO] [stderr]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_circle_normal`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `circle_center`
[INFO] [stderr]    --> src/polyline.rs:322:13
[INFO] [stderr]     |
[INFO] [stderr] 322 |         let circle_center: Vector3<f32> = Vector3::zero();
[INFO] [stderr]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_circle_center`
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `get_memory_size`
[INFO] [stderr]   --> src/mesh.rs:26:12
[INFO] [stderr]    |
[INFO] [stderr] 26 |     pub fn get_memory_size(&self) -> usize {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: type alias is never used: `Intersection`
[INFO] [stderr]  --> src/polyline.rs:6:1
[INFO] [stderr]   |
[INFO] [stderr] 6 | type Intersection = (Vector3<f32>, f32, f32);
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/program.rs:131:88
[INFO] [stderr]     |
[INFO] [stderr] 131 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:138:88
[INFO] [stderr]     |
[INFO] [stderr] 138 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:145:88
[INFO] [stderr]     |
[INFO] [stderr] 145 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:152:88
[INFO] [stderr]     |
[INFO] [stderr] 152 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:159:88
[INFO] [stderr]     |
[INFO] [stderr] 159 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:166:88
[INFO] [stderr]     |
[INFO] [stderr] 166 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:173:88
[INFO] [stderr]     |
[INFO] [stderr] 173 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:180:88
[INFO] [stderr]     |
[INFO] [stderr] 180 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:187:88
[INFO] [stderr]     |
[INFO] [stderr] 187 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:194:88
[INFO] [stderr]     |
[INFO] [stderr] 194 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:201:88
[INFO] [stderr]     |
[INFO] [stderr] 201 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:208:88
[INFO] [stderr]     |
[INFO] [stderr] 208 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:215:88
[INFO] [stderr]     |
[INFO] [stderr] 215 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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: variable `D` should have a snake case name
[INFO] [stderr]   --> src/polyline.rs:65:13
[INFO] [stderr]    |
[INFO] [stderr] 65 |         let D = a * c - b * b; // always >= 0
[INFO] [stderr]    |             ^ help: convert the identifier to snake case: `d`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `sN` should have a snake case name
[INFO] [stderr]   --> src/polyline.rs:68:17
[INFO] [stderr]    |
[INFO] [stderr] 68 |         let mut sN: f32 = 0.0;
[INFO] [stderr]    |                 ^^ help: convert the identifier to snake case: `s_n`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `sD` should have a snake case name
[INFO] [stderr]   --> src/polyline.rs:69:17
[INFO] [stderr]    |
[INFO] [stderr] 69 |         let mut sD = D; // sc = sN / sD, default sD = D >= 0
[INFO] [stderr]    |                 ^^ help: convert the identifier to snake case: `s_d`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `tN` should have a snake case name
[INFO] [stderr]   --> src/polyline.rs:71:17
[INFO] [stderr]    |
[INFO] [stderr] 71 |         let mut tN: f32 = 0.0;
[INFO] [stderr]    |                 ^^ help: convert the identifier to snake case: `t_n`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `tD` should have a snake case name
[INFO] [stderr]   --> src/polyline.rs:72:17
[INFO] [stderr]    |
[INFO] [stderr] 72 |         let mut tD = D; // tc = tN / tD, default tD = D >= 0
[INFO] [stderr]    |                 ^^ help: convert the identifier to snake case: `t_d`
[INFO] [stderr] 
[INFO] [stderr] warning: 29 warnings emitted
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/mesh.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `NoiseFn`, `Perlin`
[INFO] [stderr]  --> src/polyline.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | use noise::{NoiseFn, Perlin};
[INFO] [stderr]   |             ^^^^^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::cmp::max`
[INFO] [stderr]  --> src/polyline.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::cmp::max;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `sc` is never read
[INFO] [stderr]   --> src/polyline.rs:67:17
[INFO] [stderr]    |
[INFO] [stderr] 67 |         let mut sc: f32 = 0.0;
[INFO] [stderr]    |                 ^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `sN` is never read
[INFO] [stderr]   --> src/polyline.rs:68:17
[INFO] [stderr]    |
[INFO] [stderr] 68 |         let mut sN: f32 = 0.0;
[INFO] [stderr]    |                 ^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `tc` is never read
[INFO] [stderr]   --> src/polyline.rs:70:17
[INFO] [stderr]    |
[INFO] [stderr] 70 |         let mut tc: f32 = 0.0;
[INFO] [stderr]    |                 ^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `tN` is never read
[INFO] [stderr]   --> src/polyline.rs:71:17
[INFO] [stderr]    |
[INFO] [stderr] 71 |         let mut tN: f32 = 0.0;
[INFO] [stderr]    |                 ^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `circle_normal`
[INFO] [stderr]    --> src/polyline.rs:321:13
[INFO] [stderr]     |
[INFO] [stderr] 321 |         let circle_normal: Vector3<f32> = Vector3::unit_y();
[INFO] [stderr]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_circle_normal`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `circle_center`
[INFO] [stderr]    --> src/polyline.rs:322:13
[INFO] [stderr]     |
[INFO] [stderr] 322 |         let circle_center: Vector3<f32> = Vector3::zero();
[INFO] [stderr]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_circle_center`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/half_edge.rs:692:13
[INFO] [stderr]     |
[INFO] [stderr] 692 |         let mut adjacent_to_face_0 = half_edge_mesh.get_adjacent_half_edges_to_face(FaceIndex(0));
[INFO] [stderr]     |             ----^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/half_edge.rs:693:13
[INFO] [stderr]     |
[INFO] [stderr] 693 |         let mut adjacent_to_face_1 = half_edge_mesh.get_adjacent_half_edges_to_face(FaceIndex(1));
[INFO] [stderr]     |             ----^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/half_edge.rs:703:13
[INFO] [stderr]     |
[INFO] [stderr] 703 |         let mut vertices_around_face_0 = half_edge_mesh.get_adjacent_vertices_to_face(FaceIndex(0));
[INFO] [stderr]     |             ----^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/half_edge.rs:704:13
[INFO] [stderr]     |
[INFO] [stderr] 704 |         let mut vertices_around_face_1 = half_edge_mesh.get_adjacent_vertices_to_face(FaceIndex(1));
[INFO] [stderr]     |             ----^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `get_memory_size`
[INFO] [stderr]   --> src/mesh.rs:26:12
[INFO] [stderr]    |
[INFO] [stderr] 26 |     pub fn get_memory_size(&self) -> usize {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: type alias is never used: `Intersection`
[INFO] [stderr]  --> src/polyline.rs:6:1
[INFO] [stderr]   |
[INFO] [stderr] 6 | type Intersection = (Vector3<f32>, f32, f32);
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/program.rs:131:88
[INFO] [stderr]     |
[INFO] [stderr] 131 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:138:88
[INFO] [stderr]     |
[INFO] [stderr] 138 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:145:88
[INFO] [stderr]     |
[INFO] [stderr] 145 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:152:88
[INFO] [stderr]     |
[INFO] [stderr] 152 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:159:88
[INFO] [stderr]     |
[INFO] [stderr] 159 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:166:88
[INFO] [stderr]     |
[INFO] [stderr] 166 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:173:88
[INFO] [stderr]     |
[INFO] [stderr] 173 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:180:88
[INFO] [stderr]     |
[INFO] [stderr] 180 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:187:88
[INFO] [stderr]     |
[INFO] [stderr] 187 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:194:88
[INFO] [stderr]     |
[INFO] [stderr] 194 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:201:88
[INFO] [stderr]     |
[INFO] [stderr] 201 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:208:88
[INFO] [stderr]     |
[INFO] [stderr] 208 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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/program.rs:215:88
[INFO] [stderr]     |
[INFO] [stderr] 215 |             let location = gl::GetUniformLocation(self.id, CString::new(name).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: variable `D` should have a snake case name
[INFO] [stderr]   --> src/polyline.rs:65:13
[INFO] [stderr]    |
[INFO] [stderr] 65 |         let D = a * c - b * b; // always >= 0
[INFO] [stderr]    |             ^ help: convert the identifier to snake case: `d`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `sN` should have a snake case name
[INFO] [stderr]   --> src/polyline.rs:68:17
[INFO] [stderr]    |
[INFO] [stderr] 68 |         let mut sN: f32 = 0.0;
[INFO] [stderr]    |                 ^^ help: convert the identifier to snake case: `s_n`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `sD` should have a snake case name
[INFO] [stderr]   --> src/polyline.rs:69:17
[INFO] [stderr]    |
[INFO] [stderr] 69 |         let mut sD = D; // sc = sN / sD, default sD = D >= 0
[INFO] [stderr]    |                 ^^ help: convert the identifier to snake case: `s_d`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `tN` should have a snake case name
[INFO] [stderr]   --> src/polyline.rs:71:17
[INFO] [stderr]    |
[INFO] [stderr] 71 |         let mut tN: f32 = 0.0;
[INFO] [stderr]    |                 ^^ help: convert the identifier to snake case: `t_n`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `tD` should have a snake case name
[INFO] [stderr]   --> src/polyline.rs:72:17
[INFO] [stderr]    |
[INFO] [stderr] 72 |         let mut tD = D; // tc = tN / tD, default tD = D >= 0
[INFO] [stderr]    |                 ^^ help: convert the identifier to snake case: `t_d`
[INFO] [stderr] 
[INFO] [stderr] warning: 33 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.35s
[INFO] [stderr]      Running unittests (/opt/rustwide/target/debug/deps/graphics_utils-ddde5395aab5d45a)
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test polyline::tests::test_point_at_2 ... ok
[INFO] [stdout] test polyline::tests::test_point_at_0 ... ok
[INFO] [stdout] test polyline::tests::test_distance_between_1 ... ok
[INFO] [stdout] test polyline::tests::test_point_at_1 ... ok
[INFO] [stdout] test polyline::tests::test_distance_between_0 ... ok
[INFO] [stdout] test half_edge::tests::test_from_faces ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests graphics_utils
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/half_edge.rs - half_edge::get_edge_indices_for_face_indices (line 12) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/half_edge.rs - half_edge::get_edge_indices_for_face_indices (line 12) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/half_edge.rs:13:1
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_half_edge_rs_12_0() {
[INFO] [stdout]   |                                                                                 - help: try adding a return type: `-> [[{integer}; 2]; 3]`
[INFO] [stdout] 3 | / [
[INFO] [stdout] 4 | |     [0, 2],
[INFO] [stdout] 5 | |     [2, 4],
[INFO] [stdout] 6 | |     [4, 0],
[INFO] [stdout] 7 | | ]
[INFO] [stdout]   | |_^ expected `()`, found array `[[{integer}; 2]; 3]`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/half_edge.rs - half_edge::get_edge_indices_for_face_indices (line 12)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.48s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "564f8309154efe60e377251f91bd117ab61631b9adf87457d266ae2e0375f808", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "564f8309154efe60e377251f91bd117ab61631b9adf87457d266ae2e0375f808", kill_on_drop: false }`
[INFO] [stdout] 564f8309154efe60e377251f91bd117ab61631b9adf87457d266ae2e0375f808
