[INFO] cloning repository https://github.com/luboise/ghoulies_reader
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luboise/ghoulies_reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluboise%2Fghoulies_reader", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluboise%2Fghoulies_reader'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e7ff2b617ad693febdd7094ed32f0cde1bf27231
[INFO] testing luboise/ghoulies_reader against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluboise%2Fghoulies_reader" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/luboise/ghoulies_reader
[INFO] finished tweaking git repo https://github.com/luboise/ghoulies_reader
[INFO] tweaked toml for git repo https://github.com/luboise/ghoulies_reader written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/luboise/ghoulies_reader on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/luboise/ghoulies_reader 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 90e524e9514aa61fed6a631bf67accf093d7fd50ef04e2d8202146588308dce6
[INFO] running `Command { std: "docker" "start" "-a" "90e524e9514aa61fed6a631bf67accf093d7fd50ef04e2d8202146588308dce6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "90e524e9514aa61fed6a631bf67accf093d7fd50ef04e2d8202146588308dce6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "90e524e9514aa61fed6a631bf67accf093d7fd50ef04e2d8202146588308dce6", kill_on_drop: false }`
[INFO] [stdout] 90e524e9514aa61fed6a631bf67accf093d7fd50ef04e2d8202146588308dce6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e03b4a7e63d07b9ef7dea0b169c104519d7c56a40eedf42127498e7ddc095b80
[INFO] running `Command { std: "docker" "start" "-a" "e03b4a7e63d07b9ef7dea0b169c104519d7c56a40eedf42127498e7ddc095b80", kill_on_drop: false }`
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling flate2 v1.1.2
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling bcndecode v0.2.0
[INFO] [stderr]    Compiling indexmap v2.11.0
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling proc-macro-crate v3.3.0
[INFO] [stderr]    Compiling num_enum_derive v0.7.4
[INFO] [stderr]    Compiling num_enum v0.7.4
[INFO] [stderr]    Compiling bnl v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]  --> src/asset/texture.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 |     path::{Path, PathBuf},
[INFO] [stdout]   |                  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/asset/mod.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 132 |     fn from(value: std::io::Error) -> Self {
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `VirtualResource<'_>` is more private than the item `Asset::new`
[INFO] [stdout]    --> src/asset/mod.rs:179:5
[INFO] [stdout]     |
[INFO] [stdout] 179 | /     fn new(
[INFO] [stdout] 180 | |         name: &str,
[INFO] [stdout] 181 | |         descriptor: &Self::Descriptor,
[INFO] [stdout] 182 | |         virtual_res: &VirtualResource,
[INFO] [stdout] 183 | |     ) -> Result<Self, AssetParseError>;
[INFO] [stdout]     | |_______________________________________^ associated function `Asset::new` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `VirtualResource<'_>` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:467:1
[INFO] [stdout]     |
[INFO] [stdout] 467 | pub(crate) struct VirtualResource<'a> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `VirtualResource<'_>` is more private than the item `<Model as Asset>::new`
[INFO] [stdout]    --> src/asset/model/mod.rs:150:5
[INFO] [stdout]     |
[INFO] [stdout] 150 | /     fn new(
[INFO] [stdout] 151 | |         name: &str,
[INFO] [stdout] 152 | |         descriptor: &Self::Descriptor,
[INFO] [stdout] 153 | |         virtual_res: &VirtualResource,
[INFO] [stdout] 154 | |     ) -> Result<Self, AssetParseError> {
[INFO] [stdout]     | |______________________________________^ associated function `<Model as Asset>::new` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `VirtualResource<'_>` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:467:1
[INFO] [stdout]     |
[INFO] [stdout] 467 | pub(crate) struct VirtualResource<'a> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `VirtualResource<'_>` is more private than the item `<Texture as Asset>::new`
[INFO] [stdout]    --> src/asset/texture.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 114 | /     fn new(
[INFO] [stdout] 115 | |         name: &str,
[INFO] [stdout] 116 | |         descriptor: &Self::Descriptor,
[INFO] [stdout] 117 | |         virtual_res: &VirtualResource,
[INFO] [stdout] 118 | |     ) -> Result<Self, AssetParseError> {
[INFO] [stdout]     | |______________________________________^ associated function `<Texture as Asset>::new` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `VirtualResource<'_>` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:467:1
[INFO] [stdout]     |
[INFO] [stdout] 467 | pub(crate) struct VirtualResource<'a> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `file_count` and `flags` are never read
[INFO] [stdout]   --> src/lib.rs:84:5
[INFO] [stdout]    |
[INFO] [stdout] 83 | struct BNLHeader {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 84 |     file_count: u16,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 85 |     flags: u8,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BNLHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `asset_desc_bytes` is never read
[INFO] [stdout]   --> src/lib.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub struct BNLFile {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 98 |     asset_desc_bytes: Vec<u8>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BNLFile` 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 function `from_slices` is never used
[INFO] [stdout]    --> src/lib.rs:561:19
[INFO] [stdout]     |
[INFO] [stdout] 483 | impl VirtualResource<'_> {
[INFO] [stdout]     | ------------------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 561 |     pub(crate) fn from_slices<'a>(slices: &'a [&[u8]]) -> VirtualResource<'a> {
[INFO] [stdout]     |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `subres_type` and `subres_param` are never read
[INFO] [stdout]   --> src/asset/model/mod.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub(crate) struct RawModelSubresource {
[INFO] [stdout]    |                   ------------------- fields in this struct
[INFO] [stdout] 55 |     subres_type: ModelSubresType,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 56 |     subres_param: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RawModelSubresource` 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: fields `subresources_offset`, `subresource_count`, and `raw_subresources` are never read
[INFO] [stdout]   --> src/asset/model/mod.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct ModelDescriptor {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 61 |     subresources_offset: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 62 |     subresource_count: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 63 |     raw_subresources: Vec<RawModelSubresource>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ModelDescriptor` 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: fields `header_size`, `flags`, and `unknown_3a` are never read
[INFO] [stdout]   --> src/asset/texture.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct TextureDescriptor {
[INFO] [stdout]    |            ----------------- fields in this struct
[INFO] [stdout] 19 |     format: D3DFormat,
[INFO] [stdout] 20 |     header_size: u32, // 28
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     flags: u32, // 0x00000001
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 24 |     unknown_3a: u32,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TextureDescriptor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.13s
[INFO] running `Command { std: "docker" "inspect" "e03b4a7e63d07b9ef7dea0b169c104519d7c56a40eedf42127498e7ddc095b80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e03b4a7e63d07b9ef7dea0b169c104519d7c56a40eedf42127498e7ddc095b80", kill_on_drop: false }`
[INFO] [stdout] e03b4a7e63d07b9ef7dea0b169c104519d7c56a40eedf42127498e7ddc095b80
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bd345e949868acfe7d14c8a6287d1322e33f624b088f84ad45694623de1e5efb
[INFO] running `Command { std: "docker" "start" "-a" "bd345e949868acfe7d14c8a6287d1322e33f624b088f84ad45694623de1e5efb", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]  --> src/asset/texture.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 |     path::{Path, PathBuf},
[INFO] [stdout]   |                  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/asset/mod.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 132 |     fn from(value: std::io::Error) -> Self {
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `VirtualResource<'_>` is more private than the item `Asset::new`
[INFO] [stdout]    --> src/asset/mod.rs:179:5
[INFO] [stdout]     |
[INFO] [stdout] 179 | /     fn new(
[INFO] [stdout] 180 | |         name: &str,
[INFO] [stdout] 181 | |         descriptor: &Self::Descriptor,
[INFO] [stdout] 182 | |         virtual_res: &VirtualResource,
[INFO] [stdout] 183 | |     ) -> Result<Self, AssetParseError>;
[INFO] [stdout]     | |_______________________________________^ associated function `Asset::new` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `VirtualResource<'_>` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:467:1
[INFO] [stdout]     |
[INFO] [stdout] 467 | pub(crate) struct VirtualResource<'a> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `VirtualResource<'_>` is more private than the item `<Model as Asset>::new`
[INFO] [stdout]    --> src/asset/model/mod.rs:150:5
[INFO] [stdout]     |
[INFO] [stdout] 150 | /     fn new(
[INFO] [stdout] 151 | |         name: &str,
[INFO] [stdout] 152 | |         descriptor: &Self::Descriptor,
[INFO] [stdout] 153 | |         virtual_res: &VirtualResource,
[INFO] [stdout] 154 | |     ) -> Result<Self, AssetParseError> {
[INFO] [stdout]     | |______________________________________^ associated function `<Model as Asset>::new` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `VirtualResource<'_>` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:467:1
[INFO] [stdout]     |
[INFO] [stdout] 467 | pub(crate) struct VirtualResource<'a> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `VirtualResource<'_>` is more private than the item `<Texture as Asset>::new`
[INFO] [stdout]    --> src/asset/texture.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 114 | /     fn new(
[INFO] [stdout] 115 | |         name: &str,
[INFO] [stdout] 116 | |         descriptor: &Self::Descriptor,
[INFO] [stdout] 117 | |         virtual_res: &VirtualResource,
[INFO] [stdout] 118 | |     ) -> Result<Self, AssetParseError> {
[INFO] [stdout]     | |______________________________________^ associated function `<Texture as Asset>::new` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `VirtualResource<'_>` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:467:1
[INFO] [stdout]     |
[INFO] [stdout] 467 | pub(crate) struct VirtualResource<'a> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `file_count` and `flags` are never read
[INFO] [stdout]   --> src/lib.rs:84:5
[INFO] [stdout]    |
[INFO] [stdout] 83 | struct BNLHeader {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 84 |     file_count: u16,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 85 |     flags: u8,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BNLHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `asset_desc_bytes` is never read
[INFO] [stdout]   --> src/lib.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub struct BNLFile {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 98 |     asset_desc_bytes: Vec<u8>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BNLFile` 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 function `from_slices` is never used
[INFO] [stdout]    --> src/lib.rs:561:19
[INFO] [stdout]     |
[INFO] [stdout] 483 | impl VirtualResource<'_> {
[INFO] [stdout]     | ------------------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 561 |     pub(crate) fn from_slices<'a>(slices: &'a [&[u8]]) -> VirtualResource<'a> {
[INFO] [stdout]     |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `subres_type` and `subres_param` are never read
[INFO] [stdout]   --> src/asset/model/mod.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub(crate) struct RawModelSubresource {
[INFO] [stdout]    |                   ------------------- fields in this struct
[INFO] [stdout] 55 |     subres_type: ModelSubresType,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 56 |     subres_param: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RawModelSubresource` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling bnl v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `subresources_offset`, `subresource_count`, and `raw_subresources` are never read
[INFO] [stdout]   --> src/asset/model/mod.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct ModelDescriptor {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 61 |     subresources_offset: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 62 |     subresource_count: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 63 |     raw_subresources: Vec<RawModelSubresource>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ModelDescriptor` 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: fields `header_size`, `flags`, and `unknown_3a` are never read
[INFO] [stdout]   --> src/asset/texture.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct TextureDescriptor {
[INFO] [stdout]    |            ----------------- fields in this struct
[INFO] [stdout] 19 |     format: D3DFormat,
[INFO] [stdout] 20 |     header_size: u32, // 28
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     flags: u32, // 0x00000001
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 24 |     unknown_3a: u32,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TextureDescriptor` 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: unused import: `PathBuf`
[INFO] [stdout]  --> src/asset/texture.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 |     path::{Path, PathBuf},
[INFO] [stdout]   |                  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/asset/mod.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 132 |     fn from(value: std::io::Error) -> Self {
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `VirtualResource<'_>` is more private than the item `Asset::new`
[INFO] [stdout]    --> src/asset/mod.rs:179:5
[INFO] [stdout]     |
[INFO] [stdout] 179 | /     fn new(
[INFO] [stdout] 180 | |         name: &str,
[INFO] [stdout] 181 | |         descriptor: &Self::Descriptor,
[INFO] [stdout] 182 | |         virtual_res: &VirtualResource,
[INFO] [stdout] 183 | |     ) -> Result<Self, AssetParseError>;
[INFO] [stdout]     | |_______________________________________^ associated function `Asset::new` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `VirtualResource<'_>` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:467:1
[INFO] [stdout]     |
[INFO] [stdout] 467 | pub(crate) struct VirtualResource<'a> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `VirtualResource<'_>` is more private than the item `<Model as Asset>::new`
[INFO] [stdout]    --> src/asset/model/mod.rs:150:5
[INFO] [stdout]     |
[INFO] [stdout] 150 | /     fn new(
[INFO] [stdout] 151 | |         name: &str,
[INFO] [stdout] 152 | |         descriptor: &Self::Descriptor,
[INFO] [stdout] 153 | |         virtual_res: &VirtualResource,
[INFO] [stdout] 154 | |     ) -> Result<Self, AssetParseError> {
[INFO] [stdout]     | |______________________________________^ associated function `<Model as Asset>::new` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `VirtualResource<'_>` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:467:1
[INFO] [stdout]     |
[INFO] [stdout] 467 | pub(crate) struct VirtualResource<'a> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `VirtualResource<'_>` is more private than the item `<Texture as Asset>::new`
[INFO] [stdout]    --> src/asset/texture.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 114 | /     fn new(
[INFO] [stdout] 115 | |         name: &str,
[INFO] [stdout] 116 | |         descriptor: &Self::Descriptor,
[INFO] [stdout] 117 | |         virtual_res: &VirtualResource,
[INFO] [stdout] 118 | |     ) -> Result<Self, AssetParseError> {
[INFO] [stdout]     | |______________________________________^ associated function `<Texture as Asset>::new` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `VirtualResource<'_>` is only usable at visibility `pub(crate)`
[INFO] [stdout]    --> src/lib.rs:467:1
[INFO] [stdout]     |
[INFO] [stdout] 467 | pub(crate) struct VirtualResource<'a> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `file_count` and `flags` are never read
[INFO] [stdout]   --> src/lib.rs:84:5
[INFO] [stdout]    |
[INFO] [stdout] 83 | struct BNLHeader {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 84 |     file_count: u16,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 85 |     flags: u8,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BNLHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `asset_desc_bytes` is never read
[INFO] [stdout]   --> src/lib.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub struct BNLFile {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 98 |     asset_desc_bytes: Vec<u8>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BNLFile` 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 `subres_type` and `subres_param` are never read
[INFO] [stdout]   --> src/asset/model/mod.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub(crate) struct RawModelSubresource {
[INFO] [stdout]    |                   ------------------- fields in this struct
[INFO] [stdout] 55 |     subres_type: ModelSubresType,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 56 |     subres_param: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RawModelSubresource` 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: fields `subresources_offset`, `subresource_count`, and `raw_subresources` are never read
[INFO] [stdout]   --> src/asset/model/mod.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct ModelDescriptor {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 61 |     subresources_offset: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 62 |     subresource_count: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 63 |     raw_subresources: Vec<RawModelSubresource>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ModelDescriptor` 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: fields `flags` and `unknown_3a` are never read
[INFO] [stdout]   --> src/asset/texture.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct TextureDescriptor {
[INFO] [stdout]    |            ----------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     flags: u32, // 0x00000001
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 24 |     unknown_3a: u32,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TextureDescriptor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.79s
[INFO] running `Command { std: "docker" "inspect" "bd345e949868acfe7d14c8a6287d1322e33f624b088f84ad45694623de1e5efb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd345e949868acfe7d14c8a6287d1322e33f624b088f84ad45694623de1e5efb", kill_on_drop: false }`
[INFO] [stdout] bd345e949868acfe7d14c8a6287d1322e33f624b088f84ad45694623de1e5efb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 65459df6cac4a510fde1d059587f6482dbef36955b7c371770232a99a5d0a85b
[INFO] running `Command { std: "docker" "start" "-a" "65459df6cac4a510fde1d059587f6482dbef36955b7c371770232a99a5d0a85b", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `PathBuf`
[INFO] [stderr]  --> src/asset/texture.rs:4:18
[INFO] [stderr]   |
[INFO] [stderr] 4 |     path::{Path, PathBuf},
[INFO] [stderr]   |                  ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `value`
[INFO] [stderr]    --> src/asset/mod.rs:132:13
[INFO] [stderr]     |
[INFO] [stderr] 132 |     fn from(value: std::io::Error) -> Self {
[INFO] [stderr]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: type `VirtualResource<'_>` is more private than the item `Asset::new`
[INFO] [stderr]    --> src/asset/mod.rs:179:5
[INFO] [stderr]     |
[INFO] [stderr] 179 | /     fn new(
[INFO] [stderr] 180 | |         name: &str,
[INFO] [stderr] 181 | |         descriptor: &Self::Descriptor,
[INFO] [stderr] 182 | |         virtual_res: &VirtualResource,
[INFO] [stderr] 183 | |     ) -> Result<Self, AssetParseError>;
[INFO] [stderr]     | |_______________________________________^ associated function `Asset::new` is reachable at visibility `pub`
[INFO] [stderr]     |
[INFO] [stderr] note: but type `VirtualResource<'_>` is only usable at visibility `pub(crate)`
[INFO] [stderr]    --> src/lib.rs:467:1
[INFO] [stderr]     |
[INFO] [stderr] 467 | pub(crate) struct VirtualResource<'a> {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: type `VirtualResource<'_>` is more private than the item `<Model as Asset>::new`
[INFO] [stderr]    --> src/asset/model/mod.rs:150:5
[INFO] [stderr]     |
[INFO] [stderr] 150 | /     fn new(
[INFO] [stderr] 151 | |         name: &str,
[INFO] [stderr] 152 | |         descriptor: &Self::Descriptor,
[INFO] [stderr] 153 | |         virtual_res: &VirtualResource,
[INFO] [stderr] 154 | |     ) -> Result<Self, AssetParseError> {
[INFO] [stderr]     | |______________________________________^ associated function `<Model as Asset>::new` is reachable at visibility `pub`
[INFO] [stderr]     |
[INFO] [stderr] note: but type `VirtualResource<'_>` is only usable at visibility `pub(crate)`
[INFO] [stderr]    --> src/lib.rs:467:1
[INFO] [stderr]     |
[INFO] [stderr] 467 | pub(crate) struct VirtualResource<'a> {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type `VirtualResource<'_>` is more private than the item `<Texture as Asset>::new`
[INFO] [stderr]    --> src/asset/texture.rs:114:5
[INFO] [stderr]     |
[INFO] [stderr] 114 | /     fn new(
[INFO] [stderr] 115 | |         name: &str,
[INFO] [stderr] 116 | |         descriptor: &Self::Descriptor,
[INFO] [stderr] 117 | |         virtual_res: &VirtualResource,
[INFO] [stderr] 118 | |     ) -> Result<Self, AssetParseError> {
[INFO] [stderr]     | |______________________________________^ associated function `<Texture as Asset>::new` is reachable at visibility `pub`
[INFO] [stderr]     |
[INFO] [stderr] note: but type `VirtualResource<'_>` is only usable at visibility `pub(crate)`
[INFO] [stderr]    --> src/lib.rs:467:1
[INFO] [stderr]     |
[INFO] [stderr] 467 | pub(crate) struct VirtualResource<'a> {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `file_count` and `flags` are never read
[INFO] [stderr]   --> src/lib.rs:84:5
[INFO] [stderr]    |
[INFO] [stderr] 83 | struct BNLHeader {
[INFO] [stderr]    |        --------- fields in this struct
[INFO] [stderr] 84 |     file_count: u16,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 85 |     flags: u8,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `BNLHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `asset_desc_bytes` is never read
[INFO] [stderr]   --> src/lib.rs:98:5
[INFO] [stderr]    |
[INFO] [stderr] 95 | pub struct BNLFile {
[INFO] [stderr]    |            ------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 98 |     asset_desc_bytes: Vec<u8>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `BNLFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `from_slices` is never used
[INFO] [stderr]    --> src/lib.rs:561:19
[INFO] [stderr]     |
[INFO] [stderr] 483 | impl VirtualResource<'_> {
[INFO] [stderr]     | ------------------------ associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 561 |     pub(crate) fn from_slices<'a>(slices: &'a [&[u8]]) -> VirtualResource<'a> {
[INFO] [stderr]     |                   ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `subres_type` and `subres_param` are never read
[INFO] [stderr]   --> src/asset/model/mod.rs:55:5
[INFO] [stderr]    |
[INFO] [stderr] 54 | pub(crate) struct RawModelSubresource {
[INFO] [stderr]    |                   ------------------- fields in this struct
[INFO] [stderr] 55 |     subres_type: ModelSubresType,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 56 |     subres_param: u32,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `RawModelSubresource` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `subresources_offset`, `subresource_count`, and `raw_subresources` are never read
[INFO] [stderr]   --> src/asset/model/mod.rs:61:5
[INFO] [stderr]    |
[INFO] [stderr] 60 | pub struct ModelDescriptor {
[INFO] [stderr]    |            --------------- fields in this struct
[INFO] [stderr] 61 |     subresources_offset: u32,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 62 |     subresource_count: u32,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 63 |     raw_subresources: Vec<RawModelSubresource>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ModelDescriptor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `header_size`, `flags`, and `unknown_3a` are never read
[INFO] [stderr]   --> src/asset/texture.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub struct TextureDescriptor {
[INFO] [stderr]    |            ----------------- fields in this struct
[INFO] [stderr] 19 |     format: D3DFormat,
[INFO] [stderr] 20 |     header_size: u32, // 28
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 23 |     flags: u32, // 0x00000001
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 24 |     unknown_3a: u32,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `TextureDescriptor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `flags` and `unknown_3a` are never read
[INFO] [stderr]   --> src/asset/texture.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub struct TextureDescriptor {
[INFO] [stderr]    |            ----------------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 23 |     flags: u32, // 0x00000001
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 24 |     unknown_3a: u32,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `TextureDescriptor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `bnl` (lib) generated 11 warnings (run `cargo fix --lib -p bnl` to apply 2 suggestions)
[INFO] [stderr] warning: `bnl` (lib test) generated 10 warnings (9 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bnl-01da629753065da1)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test asset::texture::tests::from_bytes_non_zero_offset ... ok
[INFO] [stdout] test tests::across_slices ... ok
[INFO] [stderr]      Running unittests src/bin/main.rs (/opt/rustwide/target/debug/deps/bnltool-96f4e7e687657ee0)
[INFO] [stdout] test asset::texture::tests::from_bytes_zero_offset ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests bnl
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/lib.rs - BNLFile::get_raw_asset (line 325) ... FAILED
[INFO] [stdout] test src/lib.rs - BNLFile::get_asset (line 211) ... FAILED
[INFO] [stdout] test src/lib.rs - BNLFile::from_bytes (line 114) ... FAILED
[INFO] [stdout] test src/lib.rs - BNLFile::get_raw_assets (line 385) ... FAILED
[INFO] [stdout] test src/lib.rs - BNLFile::get_assets (line 260) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - BNLFile::get_raw_asset (line 325) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/lib.rs:330:36
[INFO] [stdout]   |
[INFO] [stdout] 8 | let bnl_file = BNLFile::from_bytes(...);
[INFO] [stdout]   |                                    ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 8 - let bnl_file = BNLFile::from_bytes(...);
[INFO] [stdout] 8 + let bnl_file = BNLFile::from_bytes(..);
[INFO] [stdout]   |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 8 - let bnl_file = BNLFile::from_bytes(...);
[INFO] [stdout] 8 + let bnl_file = BNLFile::from_bytes(..=);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]  --> src/lib.rs:330:36
[INFO] [stdout]   |
[INFO] [stdout] 8 | let bnl_file = BNLFile::from_bytes(...);
[INFO] [stdout]   |                                    ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]   |
[INFO] [stdout] 8 - let bnl_file = BNLFile::from_bytes(...);
[INFO] [stdout] 8 + let bnl_file = BNLFile::from_bytes(..);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bnl::asset::Texture`
[INFO] [stdout]  --> src/lib.rs:328:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use bnl::asset::Texture;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^ no `Texture` in `asset`
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 6 - use bnl::asset::Texture;
[INFO] [stdout] 6 + use bnl::asset::texture;
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items instead
[INFO] [stdout]   |
[INFO] [stdout] 6 | use bnl::asset::model::ModelSubresType::Texture;
[INFO] [stdout]   |                 ++++++++++++++++++++++++
[INFO] [stdout] 6 | use bnl::asset::texture::Texture;
[INFO] [stdout]   |                 +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_raw_asset` found for enum `Result<T, E>` in the current scope
[INFO] [stdout]    --> src/lib.rs:331:26
[INFO] [stdout]     |
[INFO] [stdout]   9 | let raw_asset = bnl_file.get_raw_asset().expect("Unable to extract.");
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ method not found in `Result<BNLFile, BNLError>`
[INFO] [stdout]     |
[INFO] [stdout] note: the method `get_raw_asset` exists on the type `BNLFile`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:339:5
[INFO] [stdout]     |
[INFO] [stdout] 339 |     pub fn get_raw_asset(&self, name: &str) -> Result<RawAsset, AssetError> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `BNLFile` value, panicking if the value is a `Result::Err`
[INFO] [stdout]     |
[INFO] [stdout]   9 | let raw_asset = bnl_file.expect("REASON").get_raw_asset().expect("Unable to extract.");
[INFO] [stdout]     |                         +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0586, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - BNLFile::get_asset (line 211) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/lib.rs:216:36
[INFO] [stdout]   |
[INFO] [stdout] 8 | let bnl_file = BNLFile::from_bytes(...);
[INFO] [stdout]   |                                    ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 8 - let bnl_file = BNLFile::from_bytes(...);
[INFO] [stdout] 8 + let bnl_file = BNLFile::from_bytes(..);
[INFO] [stdout]   |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 8 - let bnl_file = BNLFile::from_bytes(...);
[INFO] [stdout] 8 + let bnl_file = BNLFile::from_bytes(..=);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]  --> src/lib.rs:216:36
[INFO] [stdout]   |
[INFO] [stdout] 8 | let bnl_file = BNLFile::from_bytes(...);
[INFO] [stdout]   |                                    ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]   |
[INFO] [stdout] 8 - let bnl_file = BNLFile::from_bytes(...);
[INFO] [stdout] 8 + let bnl_file = BNLFile::from_bytes(..);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bnl::asset::Texture`
[INFO] [stdout]  --> src/lib.rs:214:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use bnl::asset::Texture;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^ no `Texture` in `asset`
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 6 - use bnl::asset::Texture;
[INFO] [stdout] 6 + use bnl::asset::texture;
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items instead
[INFO] [stdout]   |
[INFO] [stdout] 6 | use bnl::asset::model::ModelSubresType::Texture;
[INFO] [stdout]   |                 ++++++++++++++++++++++++
[INFO] [stdout] 6 | use bnl::asset::texture::Texture;
[INFO] [stdout]   |                 +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_asset` found for enum `Result<T, E>` in the current scope
[INFO] [stdout]    --> src/lib.rs:217:20
[INFO] [stdout]     |
[INFO] [stdout]   9 | let tex = bnl_file.get_asset::<Texture>("aid_texture_mytexture_a_b")
[INFO] [stdout]     |                    ^^^^^^^^^ method not found in `Result<BNLFile, BNLError>`
[INFO] [stdout]     |
[INFO] [stdout] note: the method `get_asset` exists on the type `BNLFile`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:219:5
[INFO] [stdout]     |
[INFO] [stdout] 219 |     pub fn get_asset<A: Asset>(&self, name: &str) -> Result<A, AssetError> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `BNLFile` value, panicking if the value is a `Result::Err`
[INFO] [stdout]     |
[INFO] [stdout]   9 | let tex = bnl_file.expect("REASON").get_asset::<Texture>("aid_texture_mytexture_a_b")
[INFO] [stdout]     |                   +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0586, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - BNLFile::from_bytes (line 114) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]  --> src/lib.rs:120:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | let bytes = fs::read(&path).expect("Unable to read BNL.");
[INFO] [stdout]   |             ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::fs;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]  --> src/lib.rs:119:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | let path = PathBuf::new("./my_bnl.bnl");
[INFO] [stdout]   |            ^^^^^^^^^^^^ -------------- unexpected argument of type `&'static str`
[INFO] [stdout]   |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]  --> /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/path.rs:1195:18
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]   |
[INFO] [stdout] 8 - let path = PathBuf::new("./my_bnl.bnl");
[INFO] [stdout] 8 + let path = PathBuf::new();
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - BNLFile::get_raw_assets (line 385) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/lib.rs:390:36
[INFO] [stdout]   |
[INFO] [stdout] 8 | let bnl_file = BNLFile::from_bytes(...);
[INFO] [stdout]   |                                    ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 8 - let bnl_file = BNLFile::from_bytes(...);
[INFO] [stdout] 8 + let bnl_file = BNLFile::from_bytes(..);
[INFO] [stdout]   |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 8 - let bnl_file = BNLFile::from_bytes(...);
[INFO] [stdout] 8 + let bnl_file = BNLFile::from_bytes(..=);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]  --> src/lib.rs:390:36
[INFO] [stdout]   |
[INFO] [stdout] 8 | let bnl_file = BNLFile::from_bytes(...);
[INFO] [stdout]   |                                    ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]   |
[INFO] [stdout] 8 - let bnl_file = BNLFile::from_bytes(...);
[INFO] [stdout] 8 + let bnl_file = BNLFile::from_bytes(..);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bnl::asset::Texture`
[INFO] [stdout]  --> src/lib.rs:388:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use bnl::asset::Texture;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^ no `Texture` in `asset`
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 6 - use bnl::asset::Texture;
[INFO] [stdout] 6 + use bnl::asset::texture;
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items instead
[INFO] [stdout]   |
[INFO] [stdout] 6 | use bnl::asset::model::ModelSubresType::Texture;
[INFO] [stdout]   |                 ++++++++++++++++++++++++
[INFO] [stdout] 6 | use bnl::asset::texture::Texture;
[INFO] [stdout]   |                 +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_raw_assets` found for enum `Result<T, E>` in the current scope
[INFO] [stdout]    --> src/lib.rs:391:27
[INFO] [stdout]     |
[INFO] [stdout]   9 | let raw_assets = bnl_file.get_raw_assets().expect("Unable to extract.");
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^ method not found in `Result<BNLFile, BNLError>`
[INFO] [stdout]     |
[INFO] [stdout] note: the method `get_raw_assets` exists on the type `BNLFile`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:404:5
[INFO] [stdout]     |
[INFO] [stdout] 404 |     pub fn get_raw_assets(&self) -> Vec<RawAsset> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `BNLFile` value, panicking if the value is a `Result::Err`
[INFO] [stdout]     |
[INFO] [stdout]   9 | let raw_assets = bnl_file.expect("REASON").get_raw_assets().expect("Unable to extract.");
[INFO] [stdout]     |                          +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0586, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - BNLFile::get_assets (line 260) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/lib.rs:265:36
[INFO] [stdout]   |
[INFO] [stdout] 8 | let bnl_file = BNLFile::from_bytes(...);
[INFO] [stdout]   |                                    ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 8 - let bnl_file = BNLFile::from_bytes(...);
[INFO] [stdout] 8 + let bnl_file = BNLFile::from_bytes(..);
[INFO] [stdout]   |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 8 - let bnl_file = BNLFile::from_bytes(...);
[INFO] [stdout] 8 + let bnl_file = BNLFile::from_bytes(..=);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]  --> src/lib.rs:265:36
[INFO] [stdout]   |
[INFO] [stdout] 8 | let bnl_file = BNLFile::from_bytes(...);
[INFO] [stdout]   |                                    ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]   |
[INFO] [stdout] 8 - let bnl_file = BNLFile::from_bytes(...);
[INFO] [stdout] 8 + let bnl_file = BNLFile::from_bytes(..);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bnl::asset::Texture`
[INFO] [stdout]  --> src/lib.rs:263:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use bnl::asset::Texture;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^ no `Texture` in `asset`
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 6 - use bnl::asset::Texture;
[INFO] [stdout] 6 + use bnl::asset::texture;
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items instead
[INFO] [stdout]   |
[INFO] [stdout] 6 | use bnl::asset::model::ModelSubresType::Texture;
[INFO] [stdout]   |                 ++++++++++++++++++++++++
[INFO] [stdout] 6 | use bnl::asset::texture::Texture;
[INFO] [stdout]   |                 +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_assets` found for enum `Result<T, E>` in the current scope
[INFO] [stdout]    --> src/lib.rs:266:25
[INFO] [stdout]     |
[INFO] [stdout]   9 | let textures = bnl_file.get_assets::<Texture>();
[INFO] [stdout]     |                         ^^^^^^^^^^ method not found in `Result<BNLFile, BNLError>`
[INFO] [stdout]     |
[INFO] [stdout] note: the method `get_assets` exists on the type `BNLFile`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:269:5
[INFO] [stdout]     |
[INFO] [stdout] 269 |     pub fn get_assets<A: Asset>(&self) -> Vec<A> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `BNLFile` value, panicking if the value is a `Result::Err`
[INFO] [stdout]     |
[INFO] [stdout]   9 | let textures = bnl_file.expect("REASON").get_assets::<Texture>();
[INFO] [stdout]     |                        +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0586, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - BNLFile::from_bytes (line 114)
[INFO] [stdout]     src/lib.rs - BNLFile::get_asset (line 211)
[INFO] [stdout]     src/lib.rs - BNLFile::get_assets (line 260)
[INFO] [stdout]     src/lib.rs - BNLFile::get_raw_asset (line 325)
[INFO] [stdout]     src/lib.rs - BNLFile::get_raw_assets (line 385)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.58s; merged doctests compilation took 0.24s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "65459df6cac4a510fde1d059587f6482dbef36955b7c371770232a99a5d0a85b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "65459df6cac4a510fde1d059587f6482dbef36955b7c371770232a99a5d0a85b", kill_on_drop: false }`
[INFO] [stdout] 65459df6cac4a510fde1d059587f6482dbef36955b7c371770232a99a5d0a85b
