[INFO] fetching crate fna3d 0.1.5... [INFO] checking fna3d-0.1.5 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate fna3d 0.1.5 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate fna3d 0.1.5 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 crates.io crate fna3d 0.1.5 [INFO] finished tweaking crates.io crate fna3d 0.1.5 [INFO] tweaked toml for crates.io crate fna3d 0.1.5 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate crates.io crate fna3d 0.1.5 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "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] 964eb728b560e27853e4cb6f017fc23cf1fe14d782b7ff1257e553efd08d4cad [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" "964eb728b560e27853e4cb6f017fc23cf1fe14d782b7ff1257e553efd08d4cad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "964eb728b560e27853e4cb6f017fc23cf1fe14d782b7ff1257e553efd08d4cad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "964eb728b560e27853e4cb6f017fc23cf1fe14d782b7ff1257e553efd08d4cad", kill_on_drop: false }` [INFO] [stdout] 964eb728b560e27853e4cb6f017fc23cf1fe14d782b7ff1257e553efd08d4cad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "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] ae652ee7ed0786b794d6267426151b7709158a1651f9af88e5fb16492340fef6 [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" "ae652ee7ed0786b794d6267426151b7709158a1651f9af88e5fb16492340fef6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling clang-sys v1.0.3 [INFO] [stderr] Compiling libloading v0.6.6 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling enum-primitive-derive v0.2.1 [INFO] [stderr] Compiling fna3d-sys v0.1.8 [INFO] [stderr] Checking fna3d v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> examples/common/batch.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | anyhow::{Error, Result}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> examples/common/batch.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | anyhow::{Error, Result}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> examples/common/batch.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | anyhow::{Error, Result}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> examples/common/batch.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(device: &fna3d::Device) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `N_QUADS` [INFO] [stdout] --> examples/common/batch.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | const N_QUADS: u32 = 2048; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_quad_mut` [INFO] [stdout] --> examples/common/batch.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | pub unsafe fn next_quad_mut(&mut self) -> &mut QuadData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_quad` [INFO] [stdout] --> examples/common/batch.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | pub unsafe fn push_quad(&mut self, quad: &QuadData, tex: *mut fna3d::Texture) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_calls` [INFO] [stdout] --> examples/common/batch.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn draw_calls(&self) -> DrawCallIterator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `n_quads` [INFO] [stdout] --> examples/common/batch.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn n_quads(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `n_verts` [INFO] [stdout] --> examples/common/batch.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn n_verts(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `n_indices` [INFO] [stdout] --> examples/common/batch.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn n_indices(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `n_triangles` [INFO] [stdout] --> examples/common/batch.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn n_triangles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `base_vtx` [INFO] [stdout] --> examples/common/batch.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn base_vtx(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `base_idx` [INFO] [stdout] --> examples/common/batch.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn base_idx(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_batch` [INFO] [stdout] --> examples/common/batch.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | fn from_batch(batch: &'a Batch) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Batcher` [INFO] [stdout] --> examples/common/batch.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct Batcher { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> examples/common/batch.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn new(device: &fna3d::Device, shader: Shader2d) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_quad_mut` [INFO] [stdout] --> examples/common/batch.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn next_quad_mut(&mut self) -> &mut QuadData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_quad` [INFO] [stdout] --> examples/common/batch.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn push_quad(&mut self, quad: &QuadData, tex: *mut fna3d::Texture) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flush_if_satured` [INFO] [stdout] --> examples/common/batch.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | fn flush_if_satured(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flush` [INFO] [stdout] --> examples/common/batch.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn flush(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw` [INFO] [stdout] --> examples/common/batch.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | fn draw(&self, call: &DrawCall) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHADER` [INFO] [stdout] --> examples/common/embedded/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const SHADER: &[u8] = include_bytes!("SpriteEffect.fxb"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ICON` [INFO] [stdout] --> examples/common/embedded/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub const ICON: &[u8] = include_bytes!("deadly-strike.png"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CASTLE` [INFO] [stdout] --> examples/common/embedded/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub const CASTLE: &[u8] = include_bytes!("castle.png"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_encoded_bytes` [INFO] [stdout] --> examples/common/gfx.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn from_encoded_bytes(device: &fna3d::Device, bytes: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_decoded_bytes` [INFO] [stdout] --> examples/common/gfx.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn from_decoded_bytes(device: &fna3d::Device, w: u32, h: u32, pixels: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> examples/common/gfx.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn new(dst: [f32; 3], uv: [f32; 2], color: Color) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `ELEMS` [INFO] [stdout] --> examples/common/gfx.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | / const ELEMS: &'static [fna3d::VertexElement; 3] = &[ [INFO] [stdout] 106 | | // offsets are in bytes [INFO] [stdout] 107 | | fna3d::VertexElement { [INFO] [stdout] 108 | | offset: 0, [INFO] [stdout] ... | [INFO] [stdout] 124 | | }, [INFO] [stdout] 125 | | ]; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `DECLARATION` [INFO] [stdout] --> examples/common/gfx.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | / pub const DECLARATION: fna3d::VertexDeclaration = fna3d::VertexDeclaration { [INFO] [stdout] 132 | | // byte length of the vertex [INFO] [stdout] 133 | | vertexStride: mem::size_of::() as i32, [INFO] [stdout] 134 | | elementCount: 3, [INFO] [stdout] 135 | | elements: Self::ELEMS as *const _ as *mut _, [INFO] [stdout] 136 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> examples/common/gfx.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn new(device: &fna3d::Device, w: u32, h: u32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_mat` [INFO] [stdout] --> examples/common/gfx.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | fn set_mat( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply_to_device` [INFO] [stdout] --> examples/common/gfx.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn apply_to_device(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> examples/common/batch.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(device: &fna3d::Device) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `N_QUADS` [INFO] [stdout] --> examples/common/batch.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | const N_QUADS: u32 = 2048; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_quad_mut` [INFO] [stdout] --> examples/common/batch.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | pub unsafe fn next_quad_mut(&mut self) -> &mut QuadData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_quad` [INFO] [stdout] --> examples/common/batch.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | pub unsafe fn push_quad(&mut self, quad: &QuadData, tex: *mut fna3d::Texture) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_calls` [INFO] [stdout] --> examples/common/batch.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn draw_calls(&self) -> DrawCallIterator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `n_quads` [INFO] [stdout] --> examples/common/batch.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn n_quads(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `n_verts` [INFO] [stdout] --> examples/common/batch.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn n_verts(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `n_indices` [INFO] [stdout] --> examples/common/batch.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn n_indices(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `n_triangles` [INFO] [stdout] --> examples/common/batch.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn n_triangles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `base_vtx` [INFO] [stdout] --> examples/common/batch.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn base_vtx(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `base_idx` [INFO] [stdout] --> examples/common/batch.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn base_idx(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_batch` [INFO] [stdout] --> examples/common/batch.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | fn from_batch(batch: &'a Batch) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Batcher` [INFO] [stdout] --> examples/common/batch.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct Batcher { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> examples/common/batch.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn new(device: &fna3d::Device, shader: Shader2d) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_quad_mut` [INFO] [stdout] --> examples/common/batch.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn next_quad_mut(&mut self) -> &mut QuadData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_quad` [INFO] [stdout] --> examples/common/batch.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn push_quad(&mut self, quad: &QuadData, tex: *mut fna3d::Texture) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flush_if_satured` [INFO] [stdout] --> examples/common/batch.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | fn flush_if_satured(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flush` [INFO] [stdout] --> examples/common/batch.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn flush(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw` [INFO] [stdout] --> examples/common/batch.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | fn draw(&self, call: &DrawCall) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CASTLE` [INFO] [stdout] --> examples/common/embedded/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub const CASTLE: &[u8] = include_bytes!("castle.png"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_quad_mut` [INFO] [stdout] --> examples/common/batch.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | pub unsafe fn next_quad_mut(&mut self) -> &mut QuadData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `n_indices` [INFO] [stdout] --> examples/common/batch.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn n_indices(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_quad_mut` [INFO] [stdout] --> examples/common/batch.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn next_quad_mut(&mut self) -> &mut QuadData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> examples/common/gfx.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn new(dst: [f32; 3], uv: [f32; 2], color: Color) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 50s [INFO] running `Command { std: "docker" "inspect" "ae652ee7ed0786b794d6267426151b7709158a1651f9af88e5fb16492340fef6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae652ee7ed0786b794d6267426151b7709158a1651f9af88e5fb16492340fef6", kill_on_drop: false }` [INFO] [stdout] ae652ee7ed0786b794d6267426151b7709158a1651f9af88e5fb16492340fef6