[INFO] cloning repository https://github.com/manpat/rs-wiresim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/manpat/rs-wiresim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanpat%2Frs-wiresim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanpat%2Frs-wiresim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f9a2992269c887c6832112a838494a2a5bd6b247 [INFO] checking manpat/rs-wiresim against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanpat%2Frs-wiresim" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/manpat/rs-wiresim on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/manpat/rs-wiresim [INFO] finished tweaking git repo https://github.com/manpat/rs-wiresim [INFO] tweaked toml for git repo https://github.com/manpat/rs-wiresim written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/manpat/rs-wiresim already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xml-rs v0.6.1 [INFO] [stderr] Downloaded c_vec v1.3.0 [INFO] [stderr] Downloaded gl_generator v0.5.5 [INFO] [stderr] Downloaded lodepng v1.1.3 [INFO] [stderr] Downloaded khronos_api v1.0.1 [INFO] [stderr] Downloaded rgb v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 738fb86dafc0aac5dd7351e9b106eebeeec37ee93efad62f047c545333ea5ed5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "738fb86dafc0aac5dd7351e9b106eebeeec37ee93efad62f047c545333ea5ed5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "738fb86dafc0aac5dd7351e9b106eebeeec37ee93efad62f047c545333ea5ed5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "738fb86dafc0aac5dd7351e9b106eebeeec37ee93efad62f047c545333ea5ed5", kill_on_drop: false }` [INFO] [stdout] 738fb86dafc0aac5dd7351e9b106eebeeec37ee93efad62f047c545333ea5ed5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26e86d5167cc6896c2321f1f134362378a6d04327b7652bfad94df651a2a14fa [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "26e86d5167cc6896c2321f1f134362378a6d04327b7652bfad94df651a2a14fa", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Checking libc v0.2.29 [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Compiling gcc v0.3.53 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking rgb v0.7.2 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Checking rand v0.3.16 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Compiling lodepng v1.1.3 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking num v0.1.40 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Checking sdl2 v0.30.0 [INFO] [stderr] Compiling wire v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/wire-3bc0f87b69f7a908/out/bindings.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> *const __gl_imports::raw::c_void` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/wire-3bc0f87b69f7a908/out/bindings.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> *const __gl_imports::raw::c_void` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | spawn: Box u32>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut WireContext) -> u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game.rs:138:40 [INFO] [stdout] | [INFO] [stdout] 138 | fn get_hovered_node(&self) -> Option<&WireNode> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn WireNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game.rs:145:53 [INFO] [stdout] | [INFO] [stdout] 145 | fn get_hovered_node_mut(&mut self) -> Option<&mut (WireNode + 'static)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WireNode + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wire/mod.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | pub nodes: Vec<(u32, Box)>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn WireNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wire/mod.rs:77:50 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_node(&self, node_id: u32) -> Option<&WireNode> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn WireNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wire/mod.rs:82:63 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_node_mut(&mut self, node_id: u32) -> Option<&mut (WireNode + 'static)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WireNode + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | spawn: Box u32>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut WireContext) -> u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game.rs:138:40 [INFO] [stdout] | [INFO] [stdout] 138 | fn get_hovered_node(&self) -> Option<&WireNode> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn WireNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game.rs:145:53 [INFO] [stdout] | [INFO] [stdout] 145 | fn get_hovered_node_mut(&mut self) -> Option<&mut (WireNode + 'static)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WireNode + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wire/mod.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | pub nodes: Vec<(u32, Box)>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn WireNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wire/mod.rs:77:50 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_node(&self, node_id: u32) -> Option<&WireNode> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn WireNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wire/mod.rs:82:63 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_node_mut(&mut self, node_id: u32) -> Option<&mut (WireNode + 'static)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WireNode + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/wire/mod.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | fn on_input_changed(&mut self, port: u32, value: WireValue) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/wire/mod.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | fn on_input_changed(&mut self, port: u32, value: WireValue) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/wire/mod.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | fn get_output(&self, port: u32) -> WireValue { WireValue::Null } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/wire/io.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_output(&self, port: u32) -> WireValue { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/wire/io.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | fn get_output(&self, port: u32) -> WireValue { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_data` [INFO] [stdout] --> src/text.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | let test_data = [ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `glyph_width` [INFO] [stdout] --> src/text.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | let glyph_width = 12; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyph_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `glyph_height` [INFO] [stdout] --> src/text.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | let glyph_height = 14; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyph_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/wire/mod.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | fn on_input_changed(&mut self, port: u32, value: WireValue) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/wire/mod.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | fn on_input_changed(&mut self, port: u32, value: WireValue) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/wire/mod.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | fn get_output(&self, port: u32) -> WireValue { WireValue::Null } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/wire/io.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_output(&self, port: u32) -> WireValue { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/wire/io.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | fn get_output(&self, port: u32) -> WireValue { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_data` [INFO] [stdout] --> src/text.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | let test_data = [ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `glyph_width` [INFO] [stdout] --> src/text.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | let glyph_width = 12; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyph_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `glyph_height` [INFO] [stdout] --> src/text.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | let glyph_height = 14; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyph_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/debug/build/wire-3bc0f87b69f7a908/out/bindings.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void, [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] --> /opt/rustwide/target/debug/build/wire-3bc0f87b69f7a908/out/bindings.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void, [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: associated function is never used: `remove_node` [INFO] [stdout] --> src/wire/mod.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn remove_node(&mut self, node_id: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tex_id` [INFO] [stdout] --> src/text.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | tex_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_tuple` [INFO] [stdout] --> src/math.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn to_tuple(self) -> (f32,f32) { (self.x, self.y) } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normalize` [INFO] [stdout] --> src/math.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn normalize(&self) -> Vec2 { *self * (1.0/self.length()) } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_tuple` [INFO] [stdout] --> src/math.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn to_tuple(&self) -> (f32,f32,f32) { (self.x, self.y, self.z) } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `splat` [INFO] [stdout] --> src/math.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn splat(x: f32) -> Vec4 { Vec4::new(x, x, x, x) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `zero` [INFO] [stdout] --> src/math.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn zero() -> Vec4 { Vec4::splat(0.0) } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_tuple` [INFO] [stdout] --> src/math.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn to_tuple(&self) -> (f32,f32,f32,f32) { (self.x, self.y, self.z, self.w) } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_vec3` [INFO] [stdout] --> src/math.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn to_vec3(&self) -> Vec3 { Vec3::new(self.x, self.y, self.z) } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length` [INFO] [stdout] --> src/math.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn length(&self) -> f32 { self.dot(*self).sqrt() } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `splat` [INFO] [stdout] --> src/math.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn splat(x: i32) -> Vec2i { Vec2i::new(x, x) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `zero` [INFO] [stdout] --> src/math.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn zero() -> Vec2i { Vec2i::splat(0) } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_tuple` [INFO] [stdout] --> src/math.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn from_tuple(t: (i32,i32)) -> Vec2i { Vec2i::new(t.0, t.1) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_tuple` [INFO] [stdout] --> src/math.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn to_tuple(self) -> (i32,i32) { (self.x, self.y) } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length` [INFO] [stdout] --> src/math.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn length(self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_rows` [INFO] [stdout] --> src/math.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn from_rows(rows: [Vec4; 4]) -> Mat4 { Mat4 { rows } } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ident` [INFO] [stdout] --> src/math.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn ident() -> Mat4 { Mat4::uniform_scale(1.0) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `uniform_scale` [INFO] [stdout] --> src/math.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn uniform_scale(s: f32) -> Mat4 { Mat4::scale(Vec3::new(s,s,s)) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scale` [INFO] [stdout] --> src/math.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn scale(s: Vec3) -> Mat4 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate` [INFO] [stdout] --> src/math.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn translate(t: Vec3) -> Mat4 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `xrot` [INFO] [stdout] --> src/math.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn xrot(ph: f32) -> Mat4 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `yrot` [INFO] [stdout] --> src/math.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn yrot(ph: f32) -> Mat4 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_node` [INFO] [stdout] --> src/wire/mod.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn remove_node(&mut self, node_id: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tex_id` [INFO] [stdout] --> src/text.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | tex_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_tuple` [INFO] [stdout] --> src/math.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn to_tuple(self) -> (f32,f32) { (self.x, self.y) } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normalize` [INFO] [stdout] --> src/math.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn normalize(&self) -> Vec2 { *self * (1.0/self.length()) } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_tuple` [INFO] [stdout] --> src/math.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn to_tuple(&self) -> (f32,f32,f32) { (self.x, self.y, self.z) } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `splat` [INFO] [stdout] --> src/math.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn splat(x: f32) -> Vec4 { Vec4::new(x, x, x, x) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `zero` [INFO] [stdout] --> src/math.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn zero() -> Vec4 { Vec4::splat(0.0) } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_tuple` [INFO] [stdout] --> src/math.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn to_tuple(&self) -> (f32,f32,f32,f32) { (self.x, self.y, self.z, self.w) } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_vec3` [INFO] [stdout] --> src/math.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn to_vec3(&self) -> Vec3 { Vec3::new(self.x, self.y, self.z) } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length` [INFO] [stdout] --> src/math.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn length(&self) -> f32 { self.dot(*self).sqrt() } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `splat` [INFO] [stdout] --> src/math.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn splat(x: i32) -> Vec2i { Vec2i::new(x, x) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `zero` [INFO] [stdout] --> src/math.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn zero() -> Vec2i { Vec2i::splat(0) } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_tuple` [INFO] [stdout] --> src/math.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn from_tuple(t: (i32,i32)) -> Vec2i { Vec2i::new(t.0, t.1) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_tuple` [INFO] [stdout] --> src/math.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn to_tuple(self) -> (i32,i32) { (self.x, self.y) } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length` [INFO] [stdout] --> src/math.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn length(self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_rows` [INFO] [stdout] --> src/math.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn from_rows(rows: [Vec4; 4]) -> Mat4 { Mat4 { rows } } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ident` [INFO] [stdout] --> src/math.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn ident() -> Mat4 { Mat4::uniform_scale(1.0) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `uniform_scale` [INFO] [stdout] --> src/math.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn uniform_scale(s: f32) -> Mat4 { Mat4::scale(Vec3::new(s,s,s)) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scale` [INFO] [stdout] --> src/math.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn scale(s: Vec3) -> Mat4 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate` [INFO] [stdout] --> src/math.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn translate(t: Vec3) -> Mat4 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `xrot` [INFO] [stdout] --> src/math.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn xrot(ph: f32) -> Mat4 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `yrot` [INFO] [stdout] --> src/math.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn yrot(ph: f32) -> Mat4 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.33s [INFO] running `Command { std: "docker" "inspect" "26e86d5167cc6896c2321f1f134362378a6d04327b7652bfad94df651a2a14fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26e86d5167cc6896c2321f1f134362378a6d04327b7652bfad94df651a2a14fa", kill_on_drop: false }` [INFO] [stdout] 26e86d5167cc6896c2321f1f134362378a6d04327b7652bfad94df651a2a14fa