[INFO] fetching crate microui-redux 0.2.4... [INFO] checking microui-redux-0.2.4 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate microui-redux 0.2.4 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate microui-redux 0.2.4 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate microui-redux 0.2.4 [INFO] tweaked toml for crates.io crate microui-redux 0.2.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate microui-redux 0.2.4 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate microui-redux 0.2.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f16910523b976a613a8f13daf753b4f40a5fa9d939be5dddfa5ae8fe484d50d [INFO] running `Command { std: "docker" "start" "-a" "0f16910523b976a613a8f13daf753b4f40a5fa9d939be5dddfa5ae8fe484d50d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f16910523b976a613a8f13daf753b4f40a5fa9d939be5dddfa5ae8fe484d50d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f16910523b976a613a8f13daf753b4f40a5fa9d939be5dddfa5ae8fe484d50d", kill_on_drop: false }` [INFO] [stdout] 0f16910523b976a613a8f13daf753b4f40a5fa9d939be5dddfa5ae8fe484d50d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55f37943c2d0044ed47e999ff011c436e422ff1a06dfc25baf1d4c45c6380375 [INFO] running `Command { std: "docker" "start" "-a" "55f37943c2d0044ed47e999ff011c436e422ff1a06dfc25baf1d4c45c6380375", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling sdl2 v0.37.0 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking miniz_oxide v0.8.2 [INFO] [stderr] Compiling sdl2-sys v0.37.0 [INFO] [stderr] Checking bitflags v2.7.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking rs-math3d v0.9.23 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fontdue v0.9.2 [INFO] [stderr] Checking microui-redux v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `set_width` and `set_height` are never used [INFO] [stdout] --> src/layout.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl LayoutManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn set_width(&mut self, width: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn set_height(&mut self, height: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `position`, `up`, `direction`, `with_fov`, and `with_near_plane` are never used [INFO] [stdout] --> examples/./common/camera.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn position(&self) -> Vec3f { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn up(&self) -> Vec3f { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn direction(&self) -> Vec3f { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn with_fov(mut self, fov: f32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn with_near_plane(mut self, np: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ObjError` is never used [INFO] [stdout] --> examples/./common/obj_loader.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum ObjError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_file` is never used [INFO] [stdout] --> examples/./common/obj_loader.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl Obj { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn from_file(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `selected` is never read [INFO] [stdout] --> examples/./common/polymesh.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct PMVertex { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 62 | position: Vec3f, [INFO] [stdout] 63 | selected: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PMVertex` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelUniforms` is never constructed [INFO] [stdout] --> examples/./common/polymesh.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 251 | pub struct ModelUniforms { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SolidModelUniforms` is never constructed [INFO] [stdout] --> examples/./common/polymesh.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | pub struct SolidModelUniforms { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `solid_program`, `solid_attribs`, and `solid_uniforms` are never read [INFO] [stdout] --> examples/./common/polymesh.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 262 | pub struct PolyMeshRenderer { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 267 | solid_program: NativeProgram, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | solid_attribs: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 276 | solid_uniforms: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render_wire` is never used [INFO] [stdout] --> examples/./common/polymesh.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 285 | impl PolyMeshRenderer { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 352 | pub fn render_wire(&mut self, gl: &glow::Context, pvm: &Mat4f, _view_model: &Mat4f, pmesh: &PolyMesh) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Pan` is never constructed [INFO] [stdout] --> examples/./common/view3d.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum NavigationMode { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 40 | Pan, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NavigationMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_navigation_mode`, `set_navigation_mode`, and `projection_matrix` are never used [INFO] [stdout] --> examples/./common/view3d.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl View3D { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn get_navigation_mode(&self) -> NavigationMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn set_navigation_mode(&mut self, nav_mode: NavigationMode) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn projection_matrix(&self) -> Mat4f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/./common/application.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn atlas_config(slots: &Vec) -> builder::Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 180 | pub fn atlas_config(slots: &Vec) -> builder::Config<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gl` [INFO] [stdout] --> examples/simple.rs:15:56 [INFO] [stdout] | [INFO] [stdout] 15 | let mut fw = Application::new(atlas.clone(), move |gl, ctx| State { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gl` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_active_program_attributes` is never used [INFO] [stdout] --> examples/./common/glow_common.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_active_program_attributes(gl: &glow::Context, program: NativeProgram) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_active_program_uniforms` is never used [INFO] [stdout] --> examples/./common/glow_common.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn get_active_program_uniforms(gl: &glow::Context, program: NativeProgram) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRACKBALL_SIZE` is never used [INFO] [stdout] --> examples/./common/camera.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const TRACKBALL_SIZE: f32 = 0.8; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EPSILON` is never used [INFO] [stdout] --> examples/./common/camera.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const EPSILON: f32 = 1.0 / (1024.0 * 1024.0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Camera` is never constructed [INFO] [stdout] --> examples/./common/camera.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> examples/./common/camera.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 55 | impl Camera { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 56 | fn project_to_track_ball(pt: &Vec2f, r: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn tracball_rotate(&self, viewport: Dimensioni, from: &Vec2f, to: &Vec2f) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn unproject(pvm: &Mat4f, pt: &Vec3f) -> Vec3f { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn pan(&self, viewport: Dimensioni, from: &Vec2f, to: &Vec2f) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | fn update_matrices(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn position(&self) -> Vec3f { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn rotation(&self) -> Quatf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn up(&self) -> Vec3f { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn direction(&self) -> Vec3f { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn distance(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn target(&self) -> Vec3f { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn view_matrix(&self) -> &Mat4f { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn projection_matrix(&self) -> &Mat4f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | pub fn with_aspect(mut self, aspect: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn fov(&self) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn with_fov(mut self, fov: f32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | pub fn near_plane(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn with_near_plane(mut self, np: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn far_plane(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | pub fn with_far_plane(mut self, fp: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ObjError` is never used [INFO] [stdout] --> examples/./common/obj_loader.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum ObjError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_vec3` is never used [INFO] [stdout] --> examples/./common/obj_loader.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn parse_vec3(parts: &[&str], verts: &mut Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_vec2` is never used [INFO] [stdout] --> examples/./common/obj_loader.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn parse_vec2(parts: &[&str], uvws: &mut Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_face_part` is never used [INFO] [stdout] --> examples/./common/obj_loader.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn parse_face_part(part: &str) -> Result<(u32, u32, u32), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjFace` is never constructed [INFO] [stdout] --> examples/./common/obj_loader.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct ObjFace { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_face` is never used [INFO] [stdout] --> examples/./common/obj_loader.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn parse_face(parts: &[&str], face_verts: &mut Vec<(u32, u32, u32)>, faces: &mut Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_line` is never used [INFO] [stdout] --> examples/./common/obj_loader.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn parse_line( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Obj` is never constructed [INFO] [stdout] --> examples/./common/obj_loader.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct Obj { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_byte_stream`, `from_file`, and `to_polymesh` are never used [INFO] [stdout] --> examples/./common/obj_loader.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl Obj { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 144 | pub fn from_byte_stream(bs: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn from_file(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn to_polymesh(&self) -> PolyMesh { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> examples/./common/polymesh.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Polygon` is never constructed [INFO] [stdout] --> examples/./common/polymesh.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | struct Polygon { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PolyVertex` is never constructed [INFO] [stdout] --> examples/./common/polymesh.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct PolyVertex { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PMVertex` is never constructed [INFO] [stdout] --> examples/./common/polymesh.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct PMVertex { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PolyMesh` is never constructed [INFO] [stdout] --> examples/./common/polymesh.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct PolyMesh { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> examples/./common/polymesh.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl<'a> PolyMesh { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 78 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn poly_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn get_poly(&'a self, f: usize) -> PolygonIterator<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn calculate_bounding_box(&self) -> Box3f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn set_vertices(&mut self, positions: Vec, normals: Vec, tex: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn add_poly(&mut self, verts: &Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn polys(&'a self) -> PolyMeshIterator<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PolygonIterator` is never constructed [INFO] [stdout] --> examples/./common/polymesh.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct PolygonIterator<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `vertex_count` is never used [INFO] [stdout] --> examples/./common/polymesh.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 165 | impl<'a> PolygonIterator<'a> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 166 | pub fn vertex_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PolyMeshIterator` is never constructed [INFO] [stdout] --> examples/./common/polymesh.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct PolyMeshIterator<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SOLID_VERTEX_SHADER` is never used [INFO] [stdout] --> examples/./common/polymesh.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | static SOLID_VERTEX_SHADER: &'static str = "#version 100 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SOLID_PIXEL_SHADER` is never used [INFO] [stdout] --> examples/./common/polymesh.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 198 | static SOLID_PIXEL_SHADER: &'static str = "#version 100 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `VERTEX_SHADER` is never used [INFO] [stdout] --> examples/./common/polymesh.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 204 | static VERTEX_SHADER: &'static str = " [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PIXEL_SHADER` is never used [INFO] [stdout] --> examples/./common/polymesh.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | static PIXEL_SHADER: &'static str = " [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelUniforms` is never constructed [INFO] [stdout] --> examples/./common/polymesh.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 251 | pub struct ModelUniforms { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SolidModelUniforms` is never constructed [INFO] [stdout] --> examples/./common/polymesh.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | pub struct SolidModelUniforms { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PolyMeshRenderer` is never constructed [INFO] [stdout] --> examples/./common/polymesh.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 262 | pub struct PolyMeshRenderer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create`, `render_wire`, and `render` are never used [INFO] [stdout] --> examples/./common/polymesh.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 285 | impl PolyMeshRenderer { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 286 | pub fn create(driver: &glow::Context, max_tri_count: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 352 | pub fn render_wire(&mut self, gl: &glow::Context, pvm: &Mat4f, _view_model: &Mat4f, pmesh: &PolyMesh) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub fn render(&mut self, gl: &glow::Context, pvm: &Mat4f, view_model: &Mat4f, pmesh: &PolyMesh) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UpdateResult` is never used [INFO] [stdout] --> examples/./common/view3d.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum UpdateResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NavigationMode` is never used [INFO] [stdout] --> examples/./common/view3d.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum NavigationMode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `View3D` is never constructed [INFO] [stdout] --> examples/./common/view3d.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct View3D { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> examples/./common/view3d.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl View3D { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 54 | pub fn new(camera: Camera, dimension: Dimensioni, bounds: Box3f) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn normalize_pointer_pos(&self, pos: &Vec2i) -> Vec2f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn update(&mut self, event: MouseEvent) -> UpdateResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn set_dimension(&mut self, dimension: Dimensioni) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn get_navigation_mode(&self) -> NavigationMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn set_navigation_mode(&mut self, nav_mode: NavigationMode) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn pvm(&self) -> Mat4f { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn projection_matrix(&self) -> Mat4f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn view_matrix(&self) -> Mat4f { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/./common/application.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn atlas_config(slots: &Vec) -> builder::Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 180 | pub fn atlas_config(slots: &Vec) -> builder::Config<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_width` and `set_height` are never used [INFO] [stdout] --> src/layout.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl LayoutManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn set_width(&mut self, width: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn set_height(&mut self, height: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.78s [INFO] running `Command { std: "docker" "inspect" "55f37943c2d0044ed47e999ff011c436e422ff1a06dfc25baf1d4c45c6380375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55f37943c2d0044ed47e999ff011c436e422ff1a06dfc25baf1d4c45c6380375", kill_on_drop: false }` [INFO] [stdout] 55f37943c2d0044ed47e999ff011c436e422ff1a06dfc25baf1d4c45c6380375