[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 against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffkaa%2Fdxbc" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fkaa/dxbc on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "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-13/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: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-derive v0.1.44 [INFO] [stderr] Downloaded derive_more v0.7.1 [INFO] [stderr] Downloaded rspirv v0.5.2 [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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed423c9c00c7ecb7db5614e90f19460eea8822f833e056b2e3c7b67b51cae80f [INFO] running `Command { std: "docker" "start" "-a" "ed423c9c00c7ecb7db5614e90f19460eea8822f833e056b2e3c7b67b51cae80f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed423c9c00c7ecb7db5614e90f19460eea8822f833e056b2e3c7b67b51cae80f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed423c9c00c7ecb7db5614e90f19460eea8822f833e056b2e3c7b67b51cae80f", kill_on_drop: false }` [INFO] [stdout] ed423c9c00c7ecb7db5614e90f19460eea8822f833e056b2e3c7b67b51cae80f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fed95a6a9c30b144898ededbfc61bbc53fd05fd89261ab25342f7357606a2bcb [INFO] running `Command { std: "docker" "start" "-a" "fed95a6a9c30b144898ededbfc61bbc53fd05fd89261ab25342f7357606a2bcb", kill_on_drop: false }` [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [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] Compiling quote v0.3.15 [INFO] [stderr] Checking pretty-hex v0.1.0 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/attr.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / named!(pub outer_attr -> Attribute, alt!( [INFO] [stdout] 160 | | do_parse!( [INFO] [stdout] 161 | | punct!("#") >> [INFO] [stdout] 162 | | punct!("[") >> [INFO] [stdout] ... | [INFO] [stdout] 198 | | ) [INFO] [stdout] 199 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `option` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/constant.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | / named!(pub const_expr -> ConstExpr, do_parse!( [INFO] [stdout] 56 | | mut e: alt!( [INFO] [stdout] 57 | | expr_unary [INFO] [stdout] 58 | | | [INFO] [stdout] ... | [INFO] [stdout] 88 | | (e) [INFO] [stdout] 89 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `tap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/constant.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | / named!(pub const_expr -> ConstExpr, do_parse!( [INFO] [stdout] 56 | | mut e: alt!( [INFO] [stdout] 57 | | expr_unary [INFO] [stdout] 58 | | | [INFO] [stdout] ... | [INFO] [stdout] 88 | | (e) [INFO] [stdout] 89 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `tap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/constant.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | / named!(pub const_expr -> ConstExpr, do_parse!( [INFO] [stdout] 56 | | mut e: alt!( [INFO] [stdout] 57 | | expr_unary [INFO] [stdout] 58 | | | [INFO] [stdout] ... | [INFO] [stdout] 88 | | (e) [INFO] [stdout] 89 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `tap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/constant.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | / named!(pub const_expr -> ConstExpr, do_parse!( [INFO] [stdout] 56 | | mut e: alt!( [INFO] [stdout] 57 | | expr_unary [INFO] [stdout] 58 | | | [INFO] [stdout] ... | [INFO] [stdout] 88 | | (e) [INFO] [stdout] 89 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `tap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/mac.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / named!(doc_comment -> String, alt!( [INFO] [stdout] 271 | | do_parse!( [INFO] [stdout] 272 | | punct!("//!") >> [INFO] [stdout] 273 | | content: take_until!("\n") >> [INFO] [stdout] ... | [INFO] [stdout] 296 | | ) [INFO] [stdout] 297 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `option` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/mac.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / named!(doc_comment -> String, alt!( [INFO] [stdout] 271 | | do_parse!( [INFO] [stdout] 272 | | punct!("//!") >> [INFO] [stdout] 273 | | content: take_until!("\n") >> [INFO] [stdout] ... | [INFO] [stdout] 296 | | ) [INFO] [stdout] 297 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `option` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/ty.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | / named!(ty_rptr -> Ty, do_parse!( [INFO] [stdout] 319 | | punct!("&") >> [INFO] [stdout] 320 | | life: option!(lifetime) >> [INFO] [stdout] 321 | | mutability: mutability >> [INFO] [stdout] ... | [INFO] [stdout] 326 | | }))) [INFO] [stdout] 327 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `option` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/ty.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | / named!(ty_bare_fn -> Ty, do_parse!( [INFO] [stdout] 330 | | lifetimes: opt_vec!(do_parse!( [INFO] [stdout] 331 | | keyword!("for") >> [INFO] [stdout] 332 | | punct!("<") >> [INFO] [stdout] ... | [INFO] [stdout] 359 | | }))) [INFO] [stdout] 360 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `option` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/ty.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | / named!(ty_path -> Ty, do_parse!( [INFO] [stdout] 372 | | qpath: qpath >> [INFO] [stdout] 373 | | parenthesized: cond!( [INFO] [stdout] 374 | | qpath.1.segments.last().unwrap().parameters == PathParameters::none(), [INFO] [stdout] ... | [INFO] [stdout] 396 | | }) [INFO] [stdout] 397 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `option` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/ty.rs:481:5 [INFO] [stdout] | [INFO] [stdout] 481 | / named!(path_segment -> PathSegment, alt!( [INFO] [stdout] 482 | | do_parse!( [INFO] [stdout] 483 | | id: option!(ident) >> [INFO] [stdout] 484 | | punct!("<") >> [INFO] [stdout] ... | [INFO] [stdout] 519 | | ), Into::into) [INFO] [stdout] 520 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `option` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/ty.rs:571:5 [INFO] [stdout] | [INFO] [stdout] 571 | / named!(pub abi -> Abi, do_parse!( [INFO] [stdout] 572 | | keyword!("extern") >> [INFO] [stdout] 573 | | name: option!(quoted_string) >> [INFO] [stdout] 574 | | (match name { [INFO] [stdout] ... | [INFO] [stdout] 577 | | }) [INFO] [stdout] 578 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `option` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Checking dxbc v0.1.0 (/opt/rustwide/workdir/dxbc) [INFO] [stderr] Compiling syn v0.12.15 [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] | ^^^^^^^^ help: use `dyn`: `dyn Consumer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [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] | ^^^^^^^^ help: use `dyn`: `dyn Consumer` [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 issue #80165 [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` (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` (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` (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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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 items [INFO] [stdout] | [INFO] [stdout] 369 | use md5::compute; [INFO] [stdout] | [INFO] [stdout] 369 | use md5::tests::compute; [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: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` (in Nightly builds, run with -Z macro-backtrace for more info) [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 items [INFO] [stdout] | [INFO] [stdout] 369 | use md5::compute; [INFO] [stdout] | [INFO] [stdout] 369 | use md5::tests::compute; [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: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` (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` (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` (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` (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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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 issue #80165 [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 issue #80165 [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 issue #80165 [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` (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` (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` (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` (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` (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` (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` (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` (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` (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] 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] | ^^^^^^^^ help: use `dyn`: `dyn Consumer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [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] | ^^^^^^^^ help: use `dyn`: `dyn Consumer` [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 issue #80165 [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` (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` (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` (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` (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` (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` (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` (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` (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` (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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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 issue #80165 [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 issue #80165 [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 issue #80165 [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` (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` (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` (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` (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` (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` (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` (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` (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` (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] 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] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.12.15/src/parsers.rs:1208:41 [INFO] [stdout] | [INFO] [stdout] 1208 | tap!($i, $name: call!($f) => $e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.12.15/src/expr.rs:1501:5 [INFO] [stdout] | [INFO] [stdout] 1501 | / named!(trailer_expr(allow_struct: bool, allow_block: bool) -> Expr, do_parse!( [INFO] [stdout] 1502 | | mut e: call!(atom_expr, allow_struct, allow_block) >> [INFO] [stdout] 1503 | | many0!(alt!( [INFO] [stdout] 1504 | | tap!(args: and_call => { [INFO] [stdout] ... | [INFO] [stdout] 1522 | | (e) [INFO] [stdout] 1523 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `tap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.12.15/src/parsers.rs:1208:41 [INFO] [stdout] | [INFO] [stdout] 1208 | tap!($i, $name: call!($f) => $e); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.12.15/src/expr.rs:1501:5 [INFO] [stdout] | [INFO] [stdout] 1501 | / named!(trailer_expr(allow_struct: bool, allow_block: bool) -> Expr, do_parse!( [INFO] [stdout] 1502 | | mut e: call!(atom_expr, allow_struct, allow_block) >> [INFO] [stdout] 1503 | | many0!(alt!( [INFO] [stdout] 1504 | | tap!(args: and_call => { [INFO] [stdout] ... | [INFO] [stdout] 1522 | | (e) [INFO] [stdout] 1523 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `tap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.12.15/src/parsers.rs:1297:31 [INFO] [stdout] | [INFO] [stdout] 1297 | parens!($i, call!($f)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.12.15/src/expr.rs:1692:5 [INFO] [stdout] | [INFO] [stdout] 1692 | / named!(and_call -> (token::Paren, Punctuated), [INFO] [stdout] 1693 | | parens!(Punctuated::parse_terminated)); [INFO] [stdout] | |__________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.12.15/src/parsers.rs:1369:31 [INFO] [stdout] | [INFO] [stdout] 1369 | braces!($i, call!($f)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.12.15/src/derive.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | / named!(data_enum -> (Option, token::Brace, Punctuated), do_parse!( [INFO] [stdout] 156 | | wh: option!(syn!(WhereClause)) >> [INFO] [stdout] 157 | | data: braces!(Punctuated::parse_terminated) >> [INFO] [stdout] 158 | | (wh, data.0, data.1) [INFO] [stdout] 159 | | )); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `braces` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.12.15/src/parsers.rs:1297:31 [INFO] [stdout] | [INFO] [stdout] 1297 | parens!($i, call!($f)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.12.15/src/ty.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | / named!(parse -> Self, do_parse!( [INFO] [stdout] 439 | | data: parens!(Punctuated::parse_terminated) >> [INFO] [stdout] 440 | | (TypeTuple { [INFO] [stdout] 441 | | paren_token: data.0, [INFO] [stdout] 442 | | elems: data.1, [INFO] [stdout] 443 | | }) [INFO] [stdout] 444 | | )); [INFO] [stdout] | |___________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.12.15/src/parsers.rs:1297:31 [INFO] [stdout] | [INFO] [stdout] 1297 | parens!($i, call!($f)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.12.15/src/path.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | / named!(parse -> Self, do_parse!( [INFO] [stdout] 297 | | data: parens!(Punctuated::parse_terminated) >> [INFO] [stdout] 298 | | output: syn!(ReturnType) >> [INFO] [stdout] 299 | | (ParenthesizedGenericArguments { [INFO] [stdout] ... | [INFO] [stdout] 303 | | }) [INFO] [stdout] 304 | | )); [INFO] [stdout] | |___________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `syn` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: unreachable pattern [INFO] [stdout] --> dxbc/src/dr/builder.rs:658:13 [INFO] [stdout] | [INFO] [stdout] 658 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [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 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: `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 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] error: aborting due to 2 previous errors; 30 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] [stdout] warning: field is never read: `stat` [INFO] [stdout] --> dxbc/src/dr/builder.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | stat: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `code` [INFO] [stdout] --> dxbc/src/dr/builder.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | code: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute` [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: 69 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fed95a6a9c30b144898ededbfc61bbc53fd05fd89261ab25342f7357606a2bcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fed95a6a9c30b144898ededbfc61bbc53fd05fd89261ab25342f7357606a2bcb", kill_on_drop: false }` [INFO] [stdout] fed95a6a9c30b144898ededbfc61bbc53fd05fd89261ab25342f7357606a2bcb