[INFO] fetching crate fna3d 0.1.5... [INFO] checking fna3d-0.1.5 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate fna3d 0.1.5 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate fna3d 0.1.5 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-5-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bindgen v0.55.1 [INFO] [stderr] Downloaded fna3d-sys v0.1.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a63bc88f536cebda1e6acee85e9cd75d0ea80b9adf8e2f11a3512beee13e9d1 [INFO] running `Command { std: "docker" "start" "-a" "5a63bc88f536cebda1e6acee85e9cd75d0ea80b9adf8e2f11a3512beee13e9d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a63bc88f536cebda1e6acee85e9cd75d0ea80b9adf8e2f11a3512beee13e9d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a63bc88f536cebda1e6acee85e9cd75d0ea80b9adf8e2f11a3512beee13e9d1", kill_on_drop: false }` [INFO] [stdout] 5a63bc88f536cebda1e6acee85e9cd75d0ea80b9adf8e2f11a3512beee13e9d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cfacf462f4216e10a5c8026f4558ee045c8f4d58816fe76a16a51c9eef6a77d [INFO] running `Command { std: "docker" "start" "-a" "8cfacf462f4216e10a5c8026f4558ee045c8f4d58816fe76a16a51c9eef6a77d", 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 proc-macro2 v1.0.24 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling libloading v0.6.6 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Compiling clang-sys v1.0.3 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling 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: fields `vid` and `params` are never read [INFO] [stdout] --> examples/common/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Init { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 27 | pub sdl: sdl2::Sdl, [INFO] [stdout] 28 | pub vid: sdl2::VideoSubsystem, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | pub win: sdl2::video::Window, [INFO] [stdout] 30 | pub params: fna3d::PresentationParameters, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/common/batch.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct QuadData(pub [Vertex; 4]); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `QuadData` 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: field `0` is never read [INFO] [stdout] --> examples/common/batch.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct QuadData(pub [Vertex; 4]); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `QuadData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vbind` and `quads` are never read [INFO] [stdout] --> examples/common/batch.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct Batch { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | vbind: fna3d::VertexBufferBinding, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | ibuf: *mut fna3d::Buffer, [INFO] [stdout] 24 | quads: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Batch` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vbind` and `quads` are never read [INFO] [stdout] --> examples/common/batch.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct Batch { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | vbind: fna3d::VertexBufferBinding, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | ibuf: *mut fna3d::Buffer, [INFO] [stdout] 24 | quads: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Batch` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next_quad_mut`, `push_quad`, and `draw_calls` are never used [INFO] [stdout] --> examples/common/batch.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Batch { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 60 | pub fn new(device: &fna3d::Device) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub unsafe fn next_quad_mut(&mut self) -> &mut QuadData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub unsafe fn push_quad(&mut self, quad: &QuadData, tex: *mut fna3d::Texture) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn draw_calls(&self) -> DrawCallIterator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next_quad_mut`, `push_quad`, and `draw_calls` are never used [INFO] [stdout] --> examples/common/batch.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Batch { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 60 | pub fn new(device: &fna3d::Device) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub unsafe fn next_quad_mut(&mut self) -> &mut QuadData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub unsafe fn push_quad(&mut self, quad: &QuadData, tex: *mut fna3d::Texture) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn draw_calls(&self) -> DrawCallIterator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tex`, `lo`, and `hi` are never read [INFO] [stdout] --> examples/common/batch.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct DrawCall { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 127 | pub tex: *mut fna3d::Texture, [INFO] [stdout] | ^^^ [INFO] [stdout] 128 | /// low quad index (inclusive) [INFO] [stdout] 129 | pub lo: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 130 | /// high quad index (exclusive) [INFO] [stdout] 131 | pub hi: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `DrawCall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tex`, `lo`, and `hi` are never read [INFO] [stdout] --> examples/common/batch.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct DrawCall { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 127 | pub tex: *mut fna3d::Texture, [INFO] [stdout] | ^^^ [INFO] [stdout] 128 | /// low quad index (inclusive) [INFO] [stdout] 129 | pub lo: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 130 | /// high quad index (exclusive) [INFO] [stdout] 131 | pub hi: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `DrawCall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `n_quads`, `n_verts`, `n_indices`, `n_triangles`, `base_vtx`, and `base_idx` are never used [INFO] [stdout] --> examples/common/batch.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl DrawCall { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 135 | pub fn n_quads(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn n_verts(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn n_indices(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn n_triangles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn base_vtx(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn base_idx(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `n_quads`, `n_verts`, `n_indices`, `n_triangles`, `base_vtx`, and `base_idx` are never used [INFO] [stdout] --> examples/common/batch.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl DrawCall { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 135 | pub fn n_quads(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn n_verts(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn n_indices(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn n_triangles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn base_vtx(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn base_idx(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_batch` is never used [INFO] [stdout] --> examples/common/batch.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 167 | impl<'a> DrawCallIterator<'a> { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 168 | fn from_batch(batch: &'a Batch) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_batch` is never used [INFO] [stdout] --> examples/common/batch.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 167 | impl<'a> DrawCallIterator<'a> { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 168 | fn from_batch(batch: &'a Batch) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Batcher` is never constructed [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: struct `Batcher` is never constructed [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 items `new`, `next_quad_mut`, `push_quad`, `flush_if_satured`, `flush`, and `draw` are never used [INFO] [stdout] --> examples/common/batch.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 204 | impl Batcher { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 205 | pub fn new(device: &fna3d::Device, shader: Shader2d) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn next_quad_mut(&mut self) -> &mut QuadData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn push_quad(&mut self, quad: &QuadData, tex: *mut fna3d::Texture) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn flush_if_satured(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn flush(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | fn draw(&self, call: &DrawCall) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next_quad_mut`, `push_quad`, `flush_if_satured`, `flush`, and `draw` are never used [INFO] [stdout] --> examples/common/batch.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 204 | impl Batcher { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 205 | pub fn new(device: &fna3d::Device, shader: Shader2d) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn next_quad_mut(&mut self) -> &mut QuadData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn push_quad(&mut self, quad: &QuadData, tex: *mut fna3d::Texture) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn flush_if_satured(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn flush(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | fn draw(&self, call: &DrawCall) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHADER` is never used [INFO] [stdout] --> examples/common/embedded/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const SHADER: &[u8] = include_bytes!("SpriteEffect.fxb"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CASTLE` is never used [INFO] [stdout] --> examples/common/embedded/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const CASTLE: &[u8] = include_bytes!("castle.png"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `effect_data` is never read [INFO] [stdout] --> examples/common/gfx.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct Shader2d { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 148 | effect_data: *mut fna3d::mojo::Effect, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Shader2d` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ICON` is never used [INFO] [stdout] --> examples/common/embedded/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const ICON: &[u8] = include_bytes!("deadly-strike.png"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CASTLE` is never used [INFO] [stdout] --> examples/common/embedded/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const CASTLE: &[u8] = include_bytes!("castle.png"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `w` and `h` are never read [INFO] [stdout] --> examples/common/gfx.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Texture2dDrop { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub w: u32, [INFO] [stdout] | ^ [INFO] [stdout] 17 | pub h: u32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Texture2dDrop` 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: associated functions `from_encoded_bytes` and `from_decoded_bytes` are never used [INFO] [stdout] --> examples/common/gfx.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Texture2dDrop { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 27 | /// For use with `include_bytes!` [INFO] [stdout] 28 | pub fn from_encoded_bytes(device: &fna3d::Device, bytes: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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 items `new`, `ELEMS`, and `DECLARATION` are never used [INFO] [stdout] --> examples/common/gfx.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl Vertex { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 100 | pub fn new(dst: [f32; 3], uv: [f32; 2], color: Color) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | const ELEMS: &'static [fna3d::VertexElement; 3] = &[ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub const DECLARATION: fna3d::VertexDeclaration = fna3d::VertexDeclaration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `effect_data` is never read [INFO] [stdout] --> examples/common/gfx.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct Shader2d { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 148 | effect_data: *mut fna3d::mojo::Effect, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Shader2d` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_mat`, and `apply_to_device` are never used [INFO] [stdout] --> examples/common/gfx.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 158 | impl Shader2d { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 159 | /// Create SpriteEffect from FNA3D device and the screen size [INFO] [stdout] 160 | pub fn new(device: &fna3d::Device, w: u32, h: u32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn set_mat( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn apply_to_device(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/common/batch.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct QuadData(pub [Vertex; 4]); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `QuadData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next_quad_mut` is never used [INFO] [stdout] --> examples/common/batch.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 59 | impl Batch { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub unsafe fn next_quad_mut(&mut self) -> &mut QuadData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `n_indices` is never used [INFO] [stdout] --> examples/common/batch.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl DrawCall { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn n_indices(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next_quad_mut` is never used [INFO] [stdout] --> examples/common/batch.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 204 | impl Batcher { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn next_quad_mut(&mut self) -> &mut QuadData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `w` and `h` are never read [INFO] [stdout] --> examples/common/gfx.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Texture2dDrop { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub w: u32, [INFO] [stdout] | ^ [INFO] [stdout] 17 | pub h: u32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Texture2dDrop` 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: associated function `new` is never used [INFO] [stdout] --> examples/common/gfx.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl Vertex { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 100 | pub fn new(dst: [f32; 3], uv: [f32; 2], color: Color) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `effect_data` is never read [INFO] [stdout] --> examples/common/gfx.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct Shader2d { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 148 | effect_data: *mut fna3d::mojo::Effect, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Shader2d` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.68s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "8cfacf462f4216e10a5c8026f4558ee045c8f4d58816fe76a16a51c9eef6a77d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cfacf462f4216e10a5c8026f4558ee045c8f4d58816fe76a16a51c9eef6a77d", kill_on_drop: false }` [INFO] [stdout] 8cfacf462f4216e10a5c8026f4558ee045c8f4d58816fe76a16a51c9eef6a77d