[INFO] cloning repository https://github.com/fkaa/dxbc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fkaa/dxbc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffkaa%2Fdxbc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffkaa%2Fdxbc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3e374e691589827ac7c1780eec7ebf2af56ea70 [INFO] checking fkaa/dxbc/c3e374e691589827ac7c1780eec7ebf2af56ea70 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffkaa%2Fdxbc" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fkaa/dxbc on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fkaa/dxbc [INFO] finished tweaking git repo https://github.com/fkaa/dxbc [INFO] tweaked toml for git repo https://github.com/fkaa/dxbc written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fkaa/dxbc 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-2-tc1/source/dxbcd/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-2-tc1/source/dxbcross/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-2-tc1/source/dxbc/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-traits v0.2.5 [INFO] [stderr] Downloaded rspirv v0.5.2 [INFO] [stderr] Downloaded derive_more v0.7.1 [INFO] [stderr] Downloaded term v0.5.1 [INFO] [stderr] Downloaded num-derive v0.1.44 [INFO] [stderr] Downloaded syn v0.12.15 [INFO] [stderr] Downloaded spirv_headers v1.3.1 [INFO] [stderr] Downloaded pretty-hex v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cbe33da91a1aa90000d4531366ce71270ed2b80cfd917a64e62452b3bd320ad [INFO] running `Command { std: "docker" "start" "-a" "5cbe33da91a1aa90000d4531366ce71270ed2b80cfd917a64e62452b3bd320ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cbe33da91a1aa90000d4531366ce71270ed2b80cfd917a64e62452b3bd320ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cbe33da91a1aa90000d4531366ce71270ed2b80cfd917a64e62452b3bd320ad", kill_on_drop: false }` [INFO] [stdout] 5cbe33da91a1aa90000d4531366ce71270ed2b80cfd917a64e62452b3bd320ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da428865c819984f94e31ae60d930fb28cfe0e41535f92c13fcabfa7f5a7dc73 [INFO] running `Command { std: "docker" "start" "-a" "da428865c819984f94e31ae60d930fb28cfe0e41535f92c13fcabfa7f5a7dc73", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/dxbcd/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/dxbc/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/dxbcross/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking md5 v0.3.8 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking pretty-hex v0.1.0 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking term v0.5.1 [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.24/src/serialize.rs:1155:5 [INFO] [stdout] | [INFO] [stdout] 1155 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/borrow.rs:179:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking dxbc v0.1.0 (/opt/rustwide/workdir/dxbc) [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stdout] error[E0425]: cannot find external crate `compute` in the crate root [INFO] [stdout] --> dxbc/src/md5.rs:391:42 [INFO] [stdout] | [INFO] [stdout] 391 | assert_eq!(format!("{:x}", ::compute(input)), output); [INFO] [stdout] | ^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 368 + use md5::compute; [INFO] [stdout] | [INFO] [stdout] 368 + use md5::tests::compute; [INFO] [stdout] | [INFO] [stdout] help: if you import `compute`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 391 - assert_eq!(format!("{:x}", ::compute(input)), output); [INFO] [stdout] 391 + assert_eq!(format!("{:x}", compute(input)), output); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find external crate `compute` in the crate root [INFO] [stdout] --> dxbc/src/md5.rs:397:28 [INFO] [stdout] | [INFO] [stdout] 397 | let mut digest = ::compute(b"abc"); [INFO] [stdout] | ^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 368 + use md5::compute; [INFO] [stdout] | [INFO] [stdout] 368 + use md5::tests::compute; [INFO] [stdout] | [INFO] [stdout] help: if you import `compute`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 397 - let mut digest = ::compute(b"abc"); [INFO] [stdout] 397 + let mut digest = compute(b"abc"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResourceReturnType` [INFO] [stdout] --> dxbc/src/dr/rdef.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{ResourceReturnType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/rdef.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / bitflags! { [INFO] [stdout] 5 | | pub struct ShaderInputFlags: u32 { [INFO] [stdout] 6 | | const NONE = 0x0; [INFO] [stdout] 7 | | const USER_PACKED = 0x1; [INFO] [stdout] ... | [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/rdef.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / bitflags! { [INFO] [stdout] 5 | | pub struct ShaderInputFlags: u32 { [INFO] [stdout] 6 | | const NONE = 0x0; [INFO] [stdout] 7 | | const USER_PACKED = 0x1; [INFO] [stdout] ... | [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/rdef.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / bitflags! { [INFO] [stdout] 5 | | pub struct ShaderInputFlags: u32 { [INFO] [stdout] 6 | | const NONE = 0x0; [INFO] [stdout] 7 | | const USER_PACKED = 0x1; [INFO] [stdout] ... | [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/rdef.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / bitflags! { [INFO] [stdout] 17 | | pub struct ShaderVariableFlags: u32 { [INFO] [stdout] 18 | | const NONE = 0x0; [INFO] [stdout] 19 | | const USER_PACKED = 0x1; [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/rdef.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / bitflags! { [INFO] [stdout] 17 | | pub struct ShaderVariableFlags: u32 { [INFO] [stdout] 18 | | const NONE = 0x0; [INFO] [stdout] 19 | | const USER_PACKED = 0x1; [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/rdef.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / bitflags! { [INFO] [stdout] 17 | | pub struct ShaderVariableFlags: u32 { [INFO] [stdout] 18 | | const NONE = 0x0; [INFO] [stdout] 19 | | const USER_PACKED = 0x1; [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/rdef.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / bitflags! { [INFO] [stdout] 27 | | pub struct ConstantBufferFlags: u32 { [INFO] [stdout] 28 | | const NONE = 0x0; [INFO] [stdout] 29 | | const USER_PACKED = 0x1; [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/rdef.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / bitflags! { [INFO] [stdout] 27 | | pub struct ConstantBufferFlags: u32 { [INFO] [stdout] 28 | | const NONE = 0x0; [INFO] [stdout] 29 | | const USER_PACKED = 0x1; [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/rdef.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / bitflags! { [INFO] [stdout] 27 | | pub struct ConstantBufferFlags: u32 { [INFO] [stdout] 28 | | const NONE = 0x0; [INFO] [stdout] 29 | | const USER_PACKED = 0x1; [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> dxbc/src/dr/isgn.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | 0...3 => unsafe { mem::transmute(word) }, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> dxbc/src/dr/isgn.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | 0...16 | [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> dxbc/src/dr/isgn.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | 64...68 => unsafe { mem::transmute(word) }, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice` [INFO] [stdout] --> dxbc/src/dr/shex.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/shex.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | / bitflags! { [INFO] [stdout] 132 | | pub struct ComponentMask: u32 { [INFO] [stdout] 133 | | const COMPONENT_MASK_R = D3D10_SB_OPERAND_4_COMPONENT_MASK_R; [INFO] [stdout] 134 | | const COMPONENT_MASK_G = D3D10_SB_OPERAND_4_COMPONENT_MASK_G; [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] 138 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/shex.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | / bitflags! { [INFO] [stdout] 132 | | pub struct ComponentMask: u32 { [INFO] [stdout] 133 | | const COMPONENT_MASK_R = D3D10_SB_OPERAND_4_COMPONENT_MASK_R; [INFO] [stdout] 134 | | const COMPONENT_MASK_G = D3D10_SB_OPERAND_4_COMPONENT_MASK_G; [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] 138 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResourceReturnType` [INFO] [stdout] --> dxbc/src/dr/rdef.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{ResourceReturnType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/shex.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | / bitflags! { [INFO] [stdout] 132 | | pub struct ComponentMask: u32 { [INFO] [stdout] 133 | | const COMPONENT_MASK_R = D3D10_SB_OPERAND_4_COMPONENT_MASK_R; [INFO] [stdout] 134 | | const COMPONENT_MASK_G = D3D10_SB_OPERAND_4_COMPONENT_MASK_G; [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] 138 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LittleEndian` [INFO] [stdout] --> dxbc/src/dr/builder.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder::{ByteOrder, LittleEndian}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `checksum` [INFO] [stdout] --> dxbc/src/dr/builder.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use checksum; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/rdef.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / bitflags! { [INFO] [stdout] 5 | | pub struct ShaderInputFlags: u32 { [INFO] [stdout] 6 | | const NONE = 0x0; [INFO] [stdout] 7 | | const USER_PACKED = 0x1; [INFO] [stdout] ... | [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/builder.rs:511:1 [INFO] [stdout] | [INFO] [stdout] 511 | / bitflags! { [INFO] [stdout] 512 | | pub struct GlobalFlags: u32 { [INFO] [stdout] 513 | | const REFACTORING_ALLOWED = 1 << 11; [INFO] [stdout] 514 | | const ENABLE_DOUBLE_PRECISION_FLOAT_OPS = 1 << 12; [INFO] [stdout] ... | [INFO] [stdout] 522 | | } [INFO] [stdout] 523 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/builder.rs:511:1 [INFO] [stdout] | [INFO] [stdout] 511 | / bitflags! { [INFO] [stdout] 512 | | pub struct GlobalFlags: u32 { [INFO] [stdout] 513 | | const REFACTORING_ALLOWED = 1 << 11; [INFO] [stdout] 514 | | const ENABLE_DOUBLE_PRECISION_FLOAT_OPS = 1 << 12; [INFO] [stdout] ... | [INFO] [stdout] 522 | | } [INFO] [stdout] 523 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/rdef.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / bitflags! { [INFO] [stdout] 5 | | pub struct ShaderInputFlags: u32 { [INFO] [stdout] 6 | | const NONE = 0x0; [INFO] [stdout] 7 | | const USER_PACKED = 0x1; [INFO] [stdout] ... | [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/builder.rs:511:1 [INFO] [stdout] | [INFO] [stdout] 511 | / bitflags! { [INFO] [stdout] 512 | | pub struct GlobalFlags: u32 { [INFO] [stdout] 513 | | const REFACTORING_ALLOWED = 1 << 11; [INFO] [stdout] 514 | | const ENABLE_DOUBLE_PRECISION_FLOAT_OPS = 1 << 12; [INFO] [stdout] ... | [INFO] [stdout] 522 | | } [INFO] [stdout] 523 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/rdef.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / bitflags! { [INFO] [stdout] 5 | | pub struct ShaderInputFlags: u32 { [INFO] [stdout] 6 | | const NONE = 0x0; [INFO] [stdout] 7 | | const USER_PACKED = 0x1; [INFO] [stdout] ... | [INFO] [stdout] 13 | | } [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/builder.rs:540:1 [INFO] [stdout] | [INFO] [stdout] 540 | / bitflags! { [INFO] [stdout] 541 | | pub struct Component: u8 { [INFO] [stdout] 542 | | const X = 0x10; [INFO] [stdout] 543 | | const Y = 0x20; [INFO] [stdout] ... | [INFO] [stdout] 546 | | } [INFO] [stdout] 547 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/rdef.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / bitflags! { [INFO] [stdout] 17 | | pub struct ShaderVariableFlags: u32 { [INFO] [stdout] 18 | | const NONE = 0x0; [INFO] [stdout] 19 | | const USER_PACKED = 0x1; [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/builder.rs:540:1 [INFO] [stdout] | [INFO] [stdout] 540 | / bitflags! { [INFO] [stdout] 541 | | pub struct Component: u8 { [INFO] [stdout] 542 | | const X = 0x10; [INFO] [stdout] 543 | | const Y = 0x20; [INFO] [stdout] ... | [INFO] [stdout] 546 | | } [INFO] [stdout] 547 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/rdef.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / bitflags! { [INFO] [stdout] 17 | | pub struct ShaderVariableFlags: u32 { [INFO] [stdout] 18 | | const NONE = 0x0; [INFO] [stdout] 19 | | const USER_PACKED = 0x1; [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/rdef.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / bitflags! { [INFO] [stdout] 17 | | pub struct ShaderVariableFlags: u32 { [INFO] [stdout] 18 | | const NONE = 0x0; [INFO] [stdout] 19 | | const USER_PACKED = 0x1; [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/builder.rs:540:1 [INFO] [stdout] | [INFO] [stdout] 540 | / bitflags! { [INFO] [stdout] 541 | | pub struct Component: u8 { [INFO] [stdout] 542 | | const X = 0x10; [INFO] [stdout] 543 | | const Y = 0x20; [INFO] [stdout] ... | [INFO] [stdout] 546 | | } [INFO] [stdout] 547 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> dxbc/src/dr/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use self::shex::*; [INFO] [stdout] | ^^^^^^^^^^^^^ the name `OperandType` in the type namespace is first re-exported here [INFO] [stdout] 24 | pub use self::stat::*; [INFO] [stdout] 25 | pub use self::builder::*; [INFO] [stdout] | ---------------- but the name `OperandType` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/rdef.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / bitflags! { [INFO] [stdout] 27 | | pub struct ConstantBufferFlags: u32 { [INFO] [stdout] 28 | | const NONE = 0x0; [INFO] [stdout] 29 | | const USER_PACKED = 0x1; [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> dxbc/src/dr/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use self::shex::*; [INFO] [stdout] | ^^^^^^^^^^^^^ the name `Immediate` in the type namespace is first re-exported here [INFO] [stdout] 24 | pub use self::stat::*; [INFO] [stdout] 25 | pub use self::builder::*; [INFO] [stdout] | ---------------- but the name `Immediate` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/md5.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | try!(write!(formatter, $format, byte)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | implement!(LowerHex, "{:02x}"); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/rdef.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / bitflags! { [INFO] [stdout] 27 | | pub struct ConstantBufferFlags: u32 { [INFO] [stdout] 28 | | const NONE = 0x0; [INFO] [stdout] 29 | | const USER_PACKED = 0x1; [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/md5.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | try!(write!(formatter, $format, byte)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | implement!(UpperHex, "{:02X}"); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/rdef.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / bitflags! { [INFO] [stdout] 27 | | pub struct ConstantBufferFlags: u32 { [INFO] [stdout] 28 | | const NONE = 0x0; [INFO] [stdout] 29 | | const USER_PACKED = 0x1; [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> dxbc/src/dr/isgn.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | 0...3 => unsafe { mem::transmute(word) }, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> dxbc/src/dr/isgn.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | 0...16 | [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> dxbc/src/dr/isgn.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | 64...68 => unsafe { mem::transmute(word) }, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice` [INFO] [stdout] --> dxbc/src/dr/shex.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/shex.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | / bitflags! { [INFO] [stdout] 132 | | pub struct ComponentMask: u32 { [INFO] [stdout] 133 | | const COMPONENT_MASK_R = D3D10_SB_OPERAND_4_COMPONENT_MASK_R; [INFO] [stdout] 134 | | const COMPONENT_MASK_G = D3D10_SB_OPERAND_4_COMPONENT_MASK_G; [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] 138 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/shex.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | / bitflags! { [INFO] [stdout] 132 | | pub struct ComponentMask: u32 { [INFO] [stdout] 133 | | const COMPONENT_MASK_R = D3D10_SB_OPERAND_4_COMPONENT_MASK_R; [INFO] [stdout] 134 | | const COMPONENT_MASK_G = D3D10_SB_OPERAND_4_COMPONENT_MASK_G; [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] 138 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/shex.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | / bitflags! { [INFO] [stdout] 132 | | pub struct ComponentMask: u32 { [INFO] [stdout] 133 | | const COMPONENT_MASK_R = D3D10_SB_OPERAND_4_COMPONENT_MASK_R; [INFO] [stdout] 134 | | const COMPONENT_MASK_G = D3D10_SB_OPERAND_4_COMPONENT_MASK_G; [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] 138 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LittleEndian` [INFO] [stdout] --> dxbc/src/dr/builder.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder::{ByteOrder, LittleEndian}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `checksum` [INFO] [stdout] --> dxbc/src/dr/builder.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use checksum; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/builder.rs:511:1 [INFO] [stdout] | [INFO] [stdout] 511 | / bitflags! { [INFO] [stdout] 512 | | pub struct GlobalFlags: u32 { [INFO] [stdout] 513 | | const REFACTORING_ALLOWED = 1 << 11; [INFO] [stdout] 514 | | const ENABLE_DOUBLE_PRECISION_FLOAT_OPS = 1 << 12; [INFO] [stdout] ... | [INFO] [stdout] 522 | | } [INFO] [stdout] 523 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/builder.rs:511:1 [INFO] [stdout] | [INFO] [stdout] 511 | / bitflags! { [INFO] [stdout] 512 | | pub struct GlobalFlags: u32 { [INFO] [stdout] 513 | | const REFACTORING_ALLOWED = 1 << 11; [INFO] [stdout] 514 | | const ENABLE_DOUBLE_PRECISION_FLOAT_OPS = 1 << 12; [INFO] [stdout] ... | [INFO] [stdout] 522 | | } [INFO] [stdout] 523 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/builder.rs:511:1 [INFO] [stdout] | [INFO] [stdout] 511 | / bitflags! { [INFO] [stdout] 512 | | pub struct GlobalFlags: u32 { [INFO] [stdout] 513 | | const REFACTORING_ALLOWED = 1 << 11; [INFO] [stdout] 514 | | const ENABLE_DOUBLE_PRECISION_FLOAT_OPS = 1 << 12; [INFO] [stdout] ... | [INFO] [stdout] 522 | | } [INFO] [stdout] 523 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/builder.rs:540:1 [INFO] [stdout] | [INFO] [stdout] 540 | / bitflags! { [INFO] [stdout] 541 | | pub struct Component: u8 { [INFO] [stdout] 542 | | const X = 0x10; [INFO] [stdout] 543 | | const Y = 0x20; [INFO] [stdout] ... | [INFO] [stdout] 546 | | } [INFO] [stdout] 547 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/builder.rs:540:1 [INFO] [stdout] | [INFO] [stdout] 540 | / bitflags! { [INFO] [stdout] 541 | | pub struct Component: u8 { [INFO] [stdout] 542 | | const X = 0x10; [INFO] [stdout] 543 | | const Y = 0x20; [INFO] [stdout] ... | [INFO] [stdout] 546 | | } [INFO] [stdout] 547 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/dr/builder.rs:540:1 [INFO] [stdout] | [INFO] [stdout] 540 | / bitflags! { [INFO] [stdout] 541 | | pub struct Component: u8 { [INFO] [stdout] 542 | | const X = 0x10; [INFO] [stdout] 543 | | const Y = 0x20; [INFO] [stdout] ... | [INFO] [stdout] 546 | | } [INFO] [stdout] 547 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> dxbc/src/dr/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use self::shex::*; [INFO] [stdout] | ^^^^^^^^^^^^^ the name `OperandType` in the type namespace is first re-exported here [INFO] [stdout] 24 | pub use self::stat::*; [INFO] [stdout] 25 | pub use self::builder::*; [INFO] [stdout] | ---------------- but the name `OperandType` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> dxbc/src/dr/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use self::shex::*; [INFO] [stdout] | ^^^^^^^^^^^^^ the name `Immediate` in the type namespace is first re-exported here [INFO] [stdout] 24 | pub use self::stat::*; [INFO] [stdout] 25 | pub use self::builder::*; [INFO] [stdout] | ---------------- but the name `Immediate` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/md5.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | try!(write!(formatter, $format, byte)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | implement!(LowerHex, "{:02x}"); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> dxbc/src/md5.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | try!(write!(formatter, $format, byte)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | implement!(UpperHex, "{:02X}"); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> dxbc/src/binary/parser.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | consumer: &'c mut Consumer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 | consumer: &'c mut dyn Consumer, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> dxbc/src/binary/parser.rs:55:52 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(binary: &'d [u8], consumer: &'c mut Consumer) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(binary: &'d [u8], consumer: &'c mut dyn Consumer) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> dxbc/src/binary/parser.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | consumer: &'c mut Consumer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 | consumer: &'c mut dyn Consumer, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> dxbc/src/binary/parser.rs:55:52 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(binary: &'d [u8], consumer: &'c mut Consumer) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(binary: &'d [u8], consumer: &'c mut dyn Consumer) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> dxbc/src/dr/builder.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder::{ByteOrder, LittleEndian}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> dxbc/src/binary/parser.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | fn consume_header(&mut self, header: &dr::DxbcHeader) -> Action { Action::Continue } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rdef` [INFO] [stdout] --> dxbc/src/binary/parser.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | fn consume_rdef(&mut self, rdef: &dr::RdefChunk) -> Action { Action::Continue } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rdef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `isgn` [INFO] [stdout] --> dxbc/src/binary/parser.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | fn consume_isgn(&mut self, isgn: &dr::IOsgnChunk) -> Action { Action::Continue } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_isgn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `osgn` [INFO] [stdout] --> dxbc/src/binary/parser.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | fn consume_osgn(&mut self, osgn: &dr::IOsgnChunk) -> Action { Action::Continue } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_osgn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `osgn` [INFO] [stdout] --> dxbc/src/binary/parser.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | fn consume_shex(&mut self, osgn: &dr::ShexHeader) -> Action { Action::Continue } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_osgn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `osgn` [INFO] [stdout] --> dxbc/src/binary/parser.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | fn consume_stat(&mut self, osgn: &dr::IStatChunk) -> Action { Action::Continue } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_osgn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> dxbc/src/binary/parser.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | fn consume_instruction(&mut self, offset: u32, instruction: dr::SparseInstruction) -> Action { Action::Continue } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> dxbc/src/binary/parser.rs:38:52 [INFO] [stdout] | [INFO] [stdout] 38 | fn consume_instruction(&mut self, offset: u32, instruction: dr::SparseInstruction) -> Action { Action::Continue } [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var_count` [INFO] [stdout] --> dxbc/src/dr/rdef.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let var_count = decoder.read_u32(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_var_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var_offset` [INFO] [stdout] --> dxbc/src/dr/rdef.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let var_offset = decoder.read_u32(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_var_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `magic` [INFO] [stdout] --> dxbc/src/dr/rdef.rs:273:17 [INFO] [stdout] | [INFO] [stdout] 273 | let magic = decoder.read_u32(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_magic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> dxbc/src/dr/builder.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder::{ByteOrder, LittleEndian}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> dxbc/src/binary/parser.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | fn consume_header(&mut self, header: &dr::DxbcHeader) -> Action { Action::Continue } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rdef` [INFO] [stdout] --> dxbc/src/binary/parser.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | fn consume_rdef(&mut self, rdef: &dr::RdefChunk) -> Action { Action::Continue } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rdef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `isgn` [INFO] [stdout] --> dxbc/src/binary/parser.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | fn consume_isgn(&mut self, isgn: &dr::IOsgnChunk) -> Action { Action::Continue } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_isgn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `osgn` [INFO] [stdout] --> dxbc/src/binary/parser.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | fn consume_osgn(&mut self, osgn: &dr::IOsgnChunk) -> Action { Action::Continue } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_osgn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `osgn` [INFO] [stdout] --> dxbc/src/binary/parser.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | fn consume_shex(&mut self, osgn: &dr::ShexHeader) -> Action { Action::Continue } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_osgn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `osgn` [INFO] [stdout] --> dxbc/src/binary/parser.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | fn consume_stat(&mut self, osgn: &dr::IStatChunk) -> Action { Action::Continue } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_osgn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> dxbc/src/binary/parser.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | fn consume_instruction(&mut self, offset: u32, instruction: dr::SparseInstruction) -> Action { Action::Continue } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> dxbc/src/binary/parser.rs:38:52 [INFO] [stdout] | [INFO] [stdout] 38 | fn consume_instruction(&mut self, offset: u32, instruction: dr::SparseInstruction) -> Action { Action::Continue } [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd11` [INFO] [stdout] --> dxbc/src/dr/builder.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | if let Some(rd11) = rdef.rd11 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rd11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constant_buffer` [INFO] [stdout] --> dxbc/src/dr/builder.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | for constant_buffer in &rdef.constant_buffers { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constant_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource_binding` [INFO] [stdout] --> dxbc/src/dr/builder.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | for resource_binding in &rdef.resource_bindings { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource_binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var_count` [INFO] [stdout] --> dxbc/src/dr/rdef.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let var_count = decoder.read_u32(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_var_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var_offset` [INFO] [stdout] --> dxbc/src/dr/rdef.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let var_offset = decoder.read_u32(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_var_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `magic` [INFO] [stdout] --> dxbc/src/dr/rdef.rs:273:17 [INFO] [stdout] | [INFO] [stdout] 273 | let magic = decoder.read_u32(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_magic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> dxbc/src/dr/builder.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | let mut chunk_count = 4; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> dxbc/src/dr/builder.rs:658:13 [INFO] [stdout] | [INFO] [stdout] 658 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> dxbc/src/dr/builder.rs:658:13 [INFO] [stdout] | [INFO] [stdout] 644 | / Instruction::Add { dest, a, b, saturated } | [INFO] [stdout] 645 | | Instruction::Mul { dest, a, b, saturated } => { module.write_opcode(opcode, 0, None, *saturated, &[]); } [INFO] [stdout] | |______________________________________________________- matches some of the same values [INFO] [stdout] 646 | [INFO] [stdout] 647 | Instruction::DclGlobalFlags { flags } => { [INFO] [stdout] | ------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 654 | / Instruction::DclOutputSiv { .. } | [INFO] [stdout] 655 | | Instruction::DclInput { .. } | [INFO] [stdout] 656 | | Instruction::DclTemps { .. } | [INFO] [stdout] 657 | | Instruction::Ret => { module.write_opcode(opcode, 0, None, false, &[]); } [INFO] [stdout] | |____________________________- matches some of the same values [INFO] [stdout] 658 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> dxbc/src/dr/builder.rs:644:32 [INFO] [stdout] | [INFO] [stdout] 644 | Instruction::Add { dest, a, b, saturated } | [INFO] [stdout] | ^^^^ [INFO] [stdout] 645 | Instruction::Mul { dest, a, b, saturated } => { module.write_opcode(opcode, 0, None, *saturated, &[]); } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: try ignoring the field [INFO] [stdout] | [INFO] [stdout] 644 ~ Instruction::Add { dest: _, a, b, saturated } | [INFO] [stdout] 645 ~ Instruction::Mul { dest: _, a, b, saturated } => { module.write_opcode(opcode, 0, None, *saturated, &[]); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> dxbc/src/dr/builder.rs:644:38 [INFO] [stdout] | [INFO] [stdout] 644 | Instruction::Add { dest, a, b, saturated } | [INFO] [stdout] | ^ [INFO] [stdout] 645 | Instruction::Mul { dest, a, b, saturated } => { module.write_opcode(opcode, 0, None, *saturated, &[]); } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: try ignoring the field [INFO] [stdout] | [INFO] [stdout] 644 ~ Instruction::Add { dest, a: _, b, saturated } | [INFO] [stdout] 645 ~ Instruction::Mul { dest, a: _, b, saturated } => { module.write_opcode(opcode, 0, None, *saturated, &[]); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> dxbc/src/dr/builder.rs:644:41 [INFO] [stdout] | [INFO] [stdout] 644 | Instruction::Add { dest, a, b, saturated } | [INFO] [stdout] | ^ [INFO] [stdout] 645 | Instruction::Mul { dest, a, b, saturated } => { module.write_opcode(opcode, 0, None, *saturated, &[]); } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: try ignoring the field [INFO] [stdout] | [INFO] [stdout] 644 ~ Instruction::Add { dest, a, b: _, saturated } | [INFO] [stdout] 645 ~ Instruction::Mul { dest, a, b: _, saturated } => { module.write_opcode(opcode, 0, None, *saturated, &[]); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm` [INFO] [stdout] --> dxbc/src/dr/builder.rs:736:32 [INFO] [stdout] | [INFO] [stdout] 736 | OperandType::Imm32(imm) => {}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_imm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm0` [INFO] [stdout] --> dxbc/src/dr/builder.rs:737:34 [INFO] [stdout] | [INFO] [stdout] 737 | OperandType::Imm32x2(imm0, imm1) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_imm0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm1` [INFO] [stdout] --> dxbc/src/dr/builder.rs:737:40 [INFO] [stdout] | [INFO] [stdout] 737 | OperandType::Imm32x2(imm0, imm1) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_imm1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm0` [INFO] [stdout] --> dxbc/src/dr/builder.rs:738:34 [INFO] [stdout] | [INFO] [stdout] 738 | OperandType::Imm32x3(imm0, imm1, imm2) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_imm0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm1` [INFO] [stdout] --> dxbc/src/dr/builder.rs:738:40 [INFO] [stdout] | [INFO] [stdout] 738 | OperandType::Imm32x3(imm0, imm1, imm2) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_imm1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm2` [INFO] [stdout] --> dxbc/src/dr/builder.rs:738:46 [INFO] [stdout] | [INFO] [stdout] 738 | OperandType::Imm32x3(imm0, imm1, imm2) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_imm2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm0` [INFO] [stdout] --> dxbc/src/dr/builder.rs:739:34 [INFO] [stdout] | [INFO] [stdout] 739 | OperandType::Imm32x4(imm0, imm1, imm2, imm3) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_imm0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm1` [INFO] [stdout] --> dxbc/src/dr/builder.rs:739:40 [INFO] [stdout] | [INFO] [stdout] 739 | OperandType::Imm32x4(imm0, imm1, imm2, imm3) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_imm1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm2` [INFO] [stdout] --> dxbc/src/dr/builder.rs:739:46 [INFO] [stdout] | [INFO] [stdout] 739 | OperandType::Imm32x4(imm0, imm1, imm2, imm3) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_imm2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm3` [INFO] [stdout] --> dxbc/src/dr/builder.rs:739:52 [INFO] [stdout] | [INFO] [stdout] 739 | OperandType::Imm32x4(imm0, imm1, imm2, imm3) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_imm3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg` [INFO] [stdout] --> dxbc/src/dr/builder.rs:740:35 [INFO] [stdout] | [INFO] [stdout] 740 | OperandType::Resource(reg) => {}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg` [INFO] [stdout] --> dxbc/src/dr/builder.rs:741:34 [INFO] [stdout] | [INFO] [stdout] 741 | OperandType::Sampler(reg) => {}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg` [INFO] [stdout] --> dxbc/src/dr/builder.rs:742:44 [INFO] [stdout] | [INFO] [stdout] 742 | OperandType::IndexableRegister(reg, index) => {}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> dxbc/src/dr/builder.rs:742:49 [INFO] [stdout] | [INFO] [stdout] 742 | OperandType::IndexableRegister(reg, index) => {}, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg` [INFO] [stdout] --> dxbc/src/dr/builder.rs:743:41 [INFO] [stdout] | [INFO] [stdout] 743 | OperandType::ConstantBuffer(reg, index) => {}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> dxbc/src/dr/builder.rs:743:46 [INFO] [stdout] | [INFO] [stdout] 743 | OperandType::ConstantBuffer(reg, index) => {}, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> dxbc/src/dr/builder.rs:744:37 [INFO] [stdout] | [INFO] [stdout] 744 | OperandType::CustomData(data) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rd11` [INFO] [stdout] --> dxbc/src/dr/builder.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | if let Some(rd11) = rdef.rd11 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rd11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constant_buffer` [INFO] [stdout] --> dxbc/src/dr/builder.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | for constant_buffer in &rdef.constant_buffers { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constant_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource_binding` [INFO] [stdout] --> dxbc/src/dr/builder.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | for resource_binding in &rdef.resource_bindings { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource_binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 68 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> dxbc/src/dr/builder.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | let mut chunk_count = 4; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dxbc` (lib test) due to 3 previous errors; 68 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> dxbc/src/dr/builder.rs:658:13 [INFO] [stdout] | [INFO] [stdout] 658 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> dxbc/src/dr/builder.rs:658:13 [INFO] [stdout] | [INFO] [stdout] 644 | / Instruction::Add { dest, a, b, saturated } | [INFO] [stdout] 645 | | Instruction::Mul { dest, a, b, saturated } => { module.write_opcode(opcode, 0, None, *saturated, &[]); } [INFO] [stdout] | |______________________________________________________- matches some of the same values [INFO] [stdout] 646 | [INFO] [stdout] 647 | Instruction::DclGlobalFlags { flags } => { [INFO] [stdout] | ------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 654 | / Instruction::DclOutputSiv { .. } | [INFO] [stdout] 655 | | Instruction::DclInput { .. } | [INFO] [stdout] 656 | | Instruction::DclTemps { .. } | [INFO] [stdout] 657 | | Instruction::Ret => { module.write_opcode(opcode, 0, None, false, &[]); } [INFO] [stdout] | |____________________________- matches some of the same values [INFO] [stdout] 658 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> dxbc/src/dr/builder.rs:644:32 [INFO] [stdout] | [INFO] [stdout] 644 | Instruction::Add { dest, a, b, saturated } | [INFO] [stdout] | ^^^^ [INFO] [stdout] 645 | Instruction::Mul { dest, a, b, saturated } => { module.write_opcode(opcode, 0, None, *saturated, &[]); } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: try ignoring the field [INFO] [stdout] | [INFO] [stdout] 644 ~ Instruction::Add { dest: _, a, b, saturated } | [INFO] [stdout] 645 ~ Instruction::Mul { dest: _, a, b, saturated } => { module.write_opcode(opcode, 0, None, *saturated, &[]); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> dxbc/src/dr/builder.rs:644:38 [INFO] [stdout] | [INFO] [stdout] 644 | Instruction::Add { dest, a, b, saturated } | [INFO] [stdout] | ^ [INFO] [stdout] 645 | Instruction::Mul { dest, a, b, saturated } => { module.write_opcode(opcode, 0, None, *saturated, &[]); } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: try ignoring the field [INFO] [stdout] | [INFO] [stdout] 644 ~ Instruction::Add { dest, a: _, b, saturated } | [INFO] [stdout] 645 ~ Instruction::Mul { dest, a: _, b, saturated } => { module.write_opcode(opcode, 0, None, *saturated, &[]); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> dxbc/src/dr/builder.rs:644:41 [INFO] [stdout] | [INFO] [stdout] 644 | Instruction::Add { dest, a, b, saturated } | [INFO] [stdout] | ^ [INFO] [stdout] 645 | Instruction::Mul { dest, a, b, saturated } => { module.write_opcode(opcode, 0, None, *saturated, &[]); } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: try ignoring the field [INFO] [stdout] | [INFO] [stdout] 644 ~ Instruction::Add { dest, a, b: _, saturated } | [INFO] [stdout] 645 ~ Instruction::Mul { dest, a, b: _, saturated } => { module.write_opcode(opcode, 0, None, *saturated, &[]); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm` [INFO] [stdout] --> dxbc/src/dr/builder.rs:736:32 [INFO] [stdout] | [INFO] [stdout] 736 | OperandType::Imm32(imm) => {}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_imm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm0` [INFO] [stdout] --> dxbc/src/dr/builder.rs:737:34 [INFO] [stdout] | [INFO] [stdout] 737 | OperandType::Imm32x2(imm0, imm1) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_imm0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm1` [INFO] [stdout] --> dxbc/src/dr/builder.rs:737:40 [INFO] [stdout] | [INFO] [stdout] 737 | OperandType::Imm32x2(imm0, imm1) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_imm1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm0` [INFO] [stdout] --> dxbc/src/dr/builder.rs:738:34 [INFO] [stdout] | [INFO] [stdout] 738 | OperandType::Imm32x3(imm0, imm1, imm2) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_imm0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm1` [INFO] [stdout] --> dxbc/src/dr/builder.rs:738:40 [INFO] [stdout] | [INFO] [stdout] 738 | OperandType::Imm32x3(imm0, imm1, imm2) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_imm1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm2` [INFO] [stdout] --> dxbc/src/dr/builder.rs:738:46 [INFO] [stdout] | [INFO] [stdout] 738 | OperandType::Imm32x3(imm0, imm1, imm2) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_imm2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm0` [INFO] [stdout] --> dxbc/src/dr/builder.rs:739:34 [INFO] [stdout] | [INFO] [stdout] 739 | OperandType::Imm32x4(imm0, imm1, imm2, imm3) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_imm0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm1` [INFO] [stdout] --> dxbc/src/dr/builder.rs:739:40 [INFO] [stdout] | [INFO] [stdout] 739 | OperandType::Imm32x4(imm0, imm1, imm2, imm3) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_imm1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm2` [INFO] [stdout] --> dxbc/src/dr/builder.rs:739:46 [INFO] [stdout] | [INFO] [stdout] 739 | OperandType::Imm32x4(imm0, imm1, imm2, imm3) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_imm2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm3` [INFO] [stdout] --> dxbc/src/dr/builder.rs:739:52 [INFO] [stdout] | [INFO] [stdout] 739 | OperandType::Imm32x4(imm0, imm1, imm2, imm3) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_imm3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg` [INFO] [stdout] --> dxbc/src/dr/builder.rs:740:35 [INFO] [stdout] | [INFO] [stdout] 740 | OperandType::Resource(reg) => {}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg` [INFO] [stdout] --> dxbc/src/dr/builder.rs:741:34 [INFO] [stdout] | [INFO] [stdout] 741 | OperandType::Sampler(reg) => {}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg` [INFO] [stdout] --> dxbc/src/dr/builder.rs:742:44 [INFO] [stdout] | [INFO] [stdout] 742 | OperandType::IndexableRegister(reg, index) => {}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> dxbc/src/dr/builder.rs:742:49 [INFO] [stdout] | [INFO] [stdout] 742 | OperandType::IndexableRegister(reg, index) => {}, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg` [INFO] [stdout] --> dxbc/src/dr/builder.rs:743:41 [INFO] [stdout] | [INFO] [stdout] 743 | OperandType::ConstantBuffer(reg, index) => {}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> dxbc/src/dr/builder.rs:743:46 [INFO] [stdout] | [INFO] [stdout] 743 | OperandType::ConstantBuffer(reg, index) => {}, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> dxbc/src/dr/builder.rs:744:37 [INFO] [stdout] | [INFO] [stdout] 744 | OperandType::CustomData(data) => {}, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> dxbc/src/dr/builder.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Builder<'a> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | code: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute` is never used [INFO] [stdout] --> dxbc/src/md5.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn compute>(data: T) -> Digest { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 70 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "da428865c819984f94e31ae60d930fb28cfe0e41535f92c13fcabfa7f5a7dc73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da428865c819984f94e31ae60d930fb28cfe0e41535f92c13fcabfa7f5a7dc73", kill_on_drop: false }` [INFO] [stdout] da428865c819984f94e31ae60d930fb28cfe0e41535f92c13fcabfa7f5a7dc73