[INFO] cloning repository https://github.com/ggpk-exposed/unddser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ggpk-exposed/unddser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fggpk-exposed%2Funddser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fggpk-exposed%2Funddser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8bd7b33e8b5af47d08cb83320ed2aa3a867947b [INFO] checking ggpk-exposed/unddser against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fggpk-exposed%2Funddser" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ggpk-exposed/unddser [INFO] finished tweaking git repo https://github.com/ggpk-exposed/unddser [INFO] tweaked toml for git repo https://github.com/ggpk-exposed/unddser written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ggpk-exposed/unddser on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ggpk-exposed/unddser 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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbc0d1007aafebaf39bf914cb66cae64b9c1e6dbc402bc4e38c800c8a73fffa6 [INFO] running `Command { std: "docker" "start" "-a" "fbc0d1007aafebaf39bf914cb66cae64b9c1e6dbc402bc4e38c800c8a73fffa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbc0d1007aafebaf39bf914cb66cae64b9c1e6dbc402bc4e38c800c8a73fffa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbc0d1007aafebaf39bf914cb66cae64b9c1e6dbc402bc4e38c800c8a73fffa6", kill_on_drop: false }` [INFO] [stdout] fbc0d1007aafebaf39bf914cb66cae64b9c1e6dbc402bc4e38c800c8a73fffa6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7264a3bb1240980a77af13c38e6cc6eefbce9df899d248270cc55576953160e1 [INFO] running `Command { std: "docker" "start" "-a" "7264a3bb1240980a77af13c38e6cc6eefbce9df899d248270cc55576953160e1", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking avif-serialize v0.8.3 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking astc-decode v0.3.1 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking image-webp v0.2.1 [INFO] [stderr] Checking zune-jpeg v0.4.14 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking av1-grain v0.2.4 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking resize v0.8.8 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking dds v0.1.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/astc.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | DecoderSet::new(&[ [INFO] [stdout] | _________- ^ [INFO] [stdout] | |__________________________| [INFO] [stdout] 105 | || astc_decoder!(u8, $w, $h), [INFO] [stdout] 106 | || astc_decoder!(u16, $w, $h), [INFO] [stdout] 107 | || astc_decoder!(f32, $w, $h), [INFO] [stdout] 108 | || ]) [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_________|temporary value is freed at the end of this statement [INFO] [stdout] | |__________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 114 | pub(crate) const ASTC_4X4_UNORM: DecoderSet = astc!(4, 4); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `astc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/astc.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | DecoderSet::new(&[ [INFO] [stdout] | _________- ^ [INFO] [stdout] | |__________________________| [INFO] [stdout] 105 | || astc_decoder!(u8, $w, $h), [INFO] [stdout] 106 | || astc_decoder!(u16, $w, $h), [INFO] [stdout] 107 | || astc_decoder!(f32, $w, $h), [INFO] [stdout] 108 | || ]) [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_________|temporary value is freed at the end of this statement [INFO] [stdout] | |__________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 115 | pub(crate) const ASTC_5X4_UNORM: DecoderSet = astc!(5, 4); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `astc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/astc.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | DecoderSet::new(&[ [INFO] [stdout] | _________- ^ [INFO] [stdout] | |__________________________| [INFO] [stdout] 105 | || astc_decoder!(u8, $w, $h), [INFO] [stdout] 106 | || astc_decoder!(u16, $w, $h), [INFO] [stdout] 107 | || astc_decoder!(f32, $w, $h), [INFO] [stdout] 108 | || ]) [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_________|temporary value is freed at the end of this statement [INFO] [stdout] | |__________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 116 | pub(crate) const ASTC_5X5_UNORM: DecoderSet = astc!(5, 5); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `astc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/astc.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | DecoderSet::new(&[ [INFO] [stdout] | _________- ^ [INFO] [stdout] | |__________________________| [INFO] [stdout] 105 | || astc_decoder!(u8, $w, $h), [INFO] [stdout] 106 | || astc_decoder!(u16, $w, $h), [INFO] [stdout] 107 | || astc_decoder!(f32, $w, $h), [INFO] [stdout] 108 | || ]) [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_________|temporary value is freed at the end of this statement [INFO] [stdout] | |__________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 117 | pub(crate) const ASTC_6X5_UNORM: DecoderSet = astc!(6, 5); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `astc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/astc.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | DecoderSet::new(&[ [INFO] [stdout] | _________- ^ [INFO] [stdout] | |__________________________| [INFO] [stdout] 105 | || astc_decoder!(u8, $w, $h), [INFO] [stdout] 106 | || astc_decoder!(u16, $w, $h), [INFO] [stdout] 107 | || astc_decoder!(f32, $w, $h), [INFO] [stdout] 108 | || ]) [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_________|temporary value is freed at the end of this statement [INFO] [stdout] | |__________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 118 | pub(crate) const ASTC_6X6_UNORM: DecoderSet = astc!(6, 6); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `astc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/astc.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | DecoderSet::new(&[ [INFO] [stdout] | _________- ^ [INFO] [stdout] | |__________________________| [INFO] [stdout] 105 | || astc_decoder!(u8, $w, $h), [INFO] [stdout] 106 | || astc_decoder!(u16, $w, $h), [INFO] [stdout] 107 | || astc_decoder!(f32, $w, $h), [INFO] [stdout] 108 | || ]) [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_________|temporary value is freed at the end of this statement [INFO] [stdout] | |__________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 119 | pub(crate) const ASTC_8X5_UNORM: DecoderSet = astc!(8, 5); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `astc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/astc.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | DecoderSet::new(&[ [INFO] [stdout] | _________- ^ [INFO] [stdout] | |__________________________| [INFO] [stdout] 105 | || astc_decoder!(u8, $w, $h), [INFO] [stdout] 106 | || astc_decoder!(u16, $w, $h), [INFO] [stdout] 107 | || astc_decoder!(f32, $w, $h), [INFO] [stdout] 108 | || ]) [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_________|temporary value is freed at the end of this statement [INFO] [stdout] | |__________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 120 | pub(crate) const ASTC_8X6_UNORM: DecoderSet = astc!(8, 6); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `astc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/astc.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | DecoderSet::new(&[ [INFO] [stdout] | _________- ^ [INFO] [stdout] | |__________________________| [INFO] [stdout] 105 | || astc_decoder!(u8, $w, $h), [INFO] [stdout] 106 | || astc_decoder!(u16, $w, $h), [INFO] [stdout] 107 | || astc_decoder!(f32, $w, $h), [INFO] [stdout] 108 | || ]) [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_________|temporary value is freed at the end of this statement [INFO] [stdout] | |__________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 121 | pub(crate) const ASTC_8X8_UNORM: DecoderSet = astc!(8, 8); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `astc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/astc.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | DecoderSet::new(&[ [INFO] [stdout] | _________- ^ [INFO] [stdout] | |__________________________| [INFO] [stdout] 105 | || astc_decoder!(u8, $w, $h), [INFO] [stdout] 106 | || astc_decoder!(u16, $w, $h), [INFO] [stdout] 107 | || astc_decoder!(f32, $w, $h), [INFO] [stdout] 108 | || ]) [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_________|temporary value is freed at the end of this statement [INFO] [stdout] | |__________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 122 | pub(crate) const ASTC_10X5_UNORM: DecoderSet = astc!(10, 5); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `astc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/astc.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | DecoderSet::new(&[ [INFO] [stdout] | _________- ^ [INFO] [stdout] | |__________________________| [INFO] [stdout] 105 | || astc_decoder!(u8, $w, $h), [INFO] [stdout] 106 | || astc_decoder!(u16, $w, $h), [INFO] [stdout] 107 | || astc_decoder!(f32, $w, $h), [INFO] [stdout] 108 | || ]) [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_________|temporary value is freed at the end of this statement [INFO] [stdout] | |__________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 123 | pub(crate) const ASTC_10X6_UNORM: DecoderSet = astc!(10, 6); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `astc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/astc.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | DecoderSet::new(&[ [INFO] [stdout] | _________- ^ [INFO] [stdout] | |__________________________| [INFO] [stdout] 105 | || astc_decoder!(u8, $w, $h), [INFO] [stdout] 106 | || astc_decoder!(u16, $w, $h), [INFO] [stdout] 107 | || astc_decoder!(f32, $w, $h), [INFO] [stdout] 108 | || ]) [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_________|temporary value is freed at the end of this statement [INFO] [stdout] | |__________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 124 | pub(crate) const ASTC_10X8_UNORM: DecoderSet = astc!(10, 8); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `astc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/astc.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | DecoderSet::new(&[ [INFO] [stdout] | _________- ^ [INFO] [stdout] | |__________________________| [INFO] [stdout] 105 | || astc_decoder!(u8, $w, $h), [INFO] [stdout] 106 | || astc_decoder!(u16, $w, $h), [INFO] [stdout] 107 | || astc_decoder!(f32, $w, $h), [INFO] [stdout] 108 | || ]) [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_________|temporary value is freed at the end of this statement [INFO] [stdout] | |__________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 125 | pub(crate) const ASTC_10X10_UNORM: DecoderSet = astc!(10, 10); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `astc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/astc.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | DecoderSet::new(&[ [INFO] [stdout] | _________- ^ [INFO] [stdout] | |__________________________| [INFO] [stdout] 105 | || astc_decoder!(u8, $w, $h), [INFO] [stdout] 106 | || astc_decoder!(u16, $w, $h), [INFO] [stdout] 107 | || astc_decoder!(f32, $w, $h), [INFO] [stdout] 108 | || ]) [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_________|temporary value is freed at the end of this statement [INFO] [stdout] | |__________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 126 | pub(crate) const ASTC_12X10_UNORM: DecoderSet = astc!(12, 10); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `astc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/astc.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | DecoderSet::new(&[ [INFO] [stdout] | _________- ^ [INFO] [stdout] | |__________________________| [INFO] [stdout] 105 | || astc_decoder!(u8, $w, $h), [INFO] [stdout] 106 | || astc_decoder!(u16, $w, $h), [INFO] [stdout] 107 | || astc_decoder!(f32, $w, $h), [INFO] [stdout] 108 | || ]) [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_________|temporary value is freed at the end of this statement [INFO] [stdout] | |__________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 127 | pub(crate) const ASTC_12X12_UNORM: DecoderSet = astc!(12, 12); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `astc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/bc.rs:84:59 [INFO] [stdout] | [INFO] [stdout] 84 | pub(crate) const BC1_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | __________________________________________- ^ [INFO] [stdout] | |___________________________________________________________| [INFO] [stdout] 85 | || rgba!(u8, 8, blocks::bc1_u8_rgba), [INFO] [stdout] 86 | || rgba!(u16, 8, with_precision(blocks::bc1_u8_rgba)), [INFO] [stdout] 87 | || rgba!(f32, 8, with_precision(blocks::bc1_u8_rgba)), [INFO] [stdout] 88 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/bc.rs:90:59 [INFO] [stdout] | [INFO] [stdout] 90 | pub(crate) const BC2_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | __________________________________________- ^ [INFO] [stdout] | |___________________________________________________________| [INFO] [stdout] 91 | || rgba!(u8, 16, blocks::bc2_u8_rgba), [INFO] [stdout] 92 | || rgba!(u16, 16, with_precision(blocks::bc2_u8_rgba)), [INFO] [stdout] 93 | || rgba!(f32, 16, with_precision(blocks::bc2_u8_rgba)), [INFO] [stdout] ... || [INFO] [stdout] 96 | || rgb!(f32, 16, with_precision(blocks::bc2_u8_rgb)), [INFO] [stdout] 97 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/bc.rs:99:79 [INFO] [stdout] | [INFO] [stdout] 99 | pub(crate) const BC2_UNORM_PREMULTIPLIED_ALPHA: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | ______________________________________________________________- ^ [INFO] [stdout] | |_______________________________________________________________________________| [INFO] [stdout] 100 | || rgba!(u8, 16, blocks::bc2_premultiplied_alpha_u8_rgba), [INFO] [stdout] 101 | || rgba!( [INFO] [stdout] 102 | || u16, [INFO] [stdout] ... || [INFO] [stdout] 110 | || ), [INFO] [stdout] 111 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/bc.rs:113:59 [INFO] [stdout] | [INFO] [stdout] 113 | pub(crate) const BC3_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | __________________________________________- ^ [INFO] [stdout] | |___________________________________________________________| [INFO] [stdout] 114 | || rgba!(u8, 16, blocks::bc3_u8_rgba), [INFO] [stdout] 115 | || rgba!(u16, 16, with_precision(blocks::bc3_u8_rgba)), [INFO] [stdout] 116 | || rgba!(f32, 16, with_precision(blocks::bc3_u8_rgba)), [INFO] [stdout] ... || [INFO] [stdout] 119 | || rgb!(f32, 16, with_precision(blocks::bc3_u8_rgb)), [INFO] [stdout] 120 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/bc.rs:122:79 [INFO] [stdout] | [INFO] [stdout] 122 | pub(crate) const BC3_UNORM_PREMULTIPLIED_ALPHA: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | ______________________________________________________________- ^ [INFO] [stdout] | |_______________________________________________________________________________| [INFO] [stdout] 123 | || rgba!(u8, 16, blocks::bc3_premultiplied_alpha_u8_rgba), [INFO] [stdout] 124 | || rgba!( [INFO] [stdout] 125 | || u16, [INFO] [stdout] ... || [INFO] [stdout] 133 | || ), [INFO] [stdout] 134 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/bc.rs:136:64 [INFO] [stdout] | [INFO] [stdout] 136 | pub(crate) const BC3_UNORM_RXGB: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _______________________________________________- ^ [INFO] [stdout] | |________________________________________________________________| [INFO] [stdout] 137 | || rgb!(u8, 16, blocks::bc3_rxgb_u8_rgb), [INFO] [stdout] 138 | || rgb!(u16, 16, with_precision(blocks::bc3_rxgb_u8_rgb)), [INFO] [stdout] 139 | || rgb!(f32, 16, with_precision(blocks::bc3_rxgb_u8_rgb)), [INFO] [stdout] 140 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/bc.rs:142:66 [INFO] [stdout] | [INFO] [stdout] 142 | pub(crate) const BC3_UNORM_NORMAL: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _________________________________________________- ^ [INFO] [stdout] | |__________________________________________________________________| [INFO] [stdout] 143 | || rgb!(u8, 16, blocks::bc3n_u8_rgb), [INFO] [stdout] 144 | || rgb!(u16, 16, with_precision(blocks::bc3n_u8_rgb)), [INFO] [stdout] 145 | || rgb!(f32, 16, with_precision(blocks::bc3n_u8_rgb)), [INFO] [stdout] 146 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/bc.rs:148:59 [INFO] [stdout] | [INFO] [stdout] 148 | pub(crate) const BC4_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | __________________________________________- ^ [INFO] [stdout] | |___________________________________________________________| [INFO] [stdout] 149 | || gray!(u8, 8, blocks::bc4u_gray), [INFO] [stdout] 150 | || gray!(u16, 8, blocks::bc4u_gray), [INFO] [stdout] 151 | || gray!(f32, 8, blocks::bc4u_gray), [INFO] [stdout] 152 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/bc.rs:154:59 [INFO] [stdout] | [INFO] [stdout] 154 | pub(crate) const BC4_SNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | __________________________________________- ^ [INFO] [stdout] | |___________________________________________________________| [INFO] [stdout] 155 | || gray!(u8, 8, blocks::bc4s_gray), [INFO] [stdout] 156 | || gray!(u16, 8, blocks::bc4s_gray), [INFO] [stdout] 157 | || gray!(f32, 8, blocks::bc4s_gray), [INFO] [stdout] 158 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/bc.rs:160:59 [INFO] [stdout] | [INFO] [stdout] 160 | pub(crate) const BC5_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | __________________________________________- ^ [INFO] [stdout] | |___________________________________________________________| [INFO] [stdout] 161 | || rgb!(u8, 16, blocks::bc5u_rgb), [INFO] [stdout] 162 | || rgb!(u16, 16, blocks::bc5u_rgb), [INFO] [stdout] 163 | || rgb!(f32, 16, blocks::bc5u_rgb), [INFO] [stdout] 164 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/bc.rs:166:59 [INFO] [stdout] | [INFO] [stdout] 166 | pub(crate) const BC5_SNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | __________________________________________- ^ [INFO] [stdout] | |___________________________________________________________| [INFO] [stdout] 167 | || rgb!(u8, 16, blocks::bc5s_rgb), [INFO] [stdout] 168 | || rgb!(u16, 16, blocks::bc5s_rgb), [INFO] [stdout] 169 | || rgb!(f32, 16, blocks::bc5s_rgb), [INFO] [stdout] 170 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/bc.rs:172:59 [INFO] [stdout] | [INFO] [stdout] 172 | pub(crate) const BC6H_UF16: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | __________________________________________- ^ [INFO] [stdout] | |___________________________________________________________| [INFO] [stdout] 173 | || rgb!(f32, 16, blocks::bc6_u_f32), [INFO] [stdout] 174 | || rgb!(u16, 16, blocks::bc6_u_u16), [INFO] [stdout] 175 | || rgb!(u8, 16, blocks::bc6_u_u8), [INFO] [stdout] 176 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/bc.rs:177:59 [INFO] [stdout] | [INFO] [stdout] 177 | pub(crate) const BC6H_SF16: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | __________________________________________- ^ [INFO] [stdout] | |___________________________________________________________| [INFO] [stdout] 178 | || rgb!(f32, 16, blocks::bc6_s_f32), [INFO] [stdout] 179 | || rgb!(u16, 16, blocks::bc6_s_u16), [INFO] [stdout] 180 | || rgb!(u8, 16, blocks::bc6_s_u8), [INFO] [stdout] 181 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/bc.rs:183:59 [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) const BC7_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | __________________________________________- ^ [INFO] [stdout] | |___________________________________________________________| [INFO] [stdout] 184 | || rgba!(u8, 16, blocks::bc7_u8_rgba), [INFO] [stdout] 185 | || rgba!(u16, 16, blocks::bc7_u16_rgba), [INFO] [stdout] 186 | || rgba!(f32, 16, blocks::bc7_f32_rgba), [INFO] [stdout] 187 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/bi_planar.rs:69:54 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) const NV12: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _____________________________________- ^ [INFO] [stdout] | |______________________________________________________| [INFO] [stdout] 70 | || rgb!(u8, p1 = u8, p2 = [u8; 2], |y, [u, v], _| y [INFO] [stdout] 71 | || .map(|y| yuv8::n8([y, u, v]))), [INFO] [stdout] 72 | || rgb!(u16, p1 = u8, p2 = [u8; 2], |y, [u, v], _| y [INFO] [stdout] ... || [INFO] [stdout] 75 | || .map(|y| yuv8::f32([y, u, v]))), [INFO] [stdout] 76 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/bi_planar.rs:81:54 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) const P010: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _____________________________________- ^ [INFO] [stdout] | |______________________________________________________| [INFO] [stdout] 82 | || rgb!(u16, p1 = u16, p2 = [u16; 2], |y, [u, v], _| y [INFO] [stdout] 83 | || .map(|y| yuv10::n16(to10([y, u, v])))), [INFO] [stdout] 84 | || rgb!(u8, p1 = u16, p2 = [u16; 2], |y, [u, v], _| y [INFO] [stdout] ... || [INFO] [stdout] 87 | || .map(|y| yuv10::f32(to10([y, u, v])))), [INFO] [stdout] 88 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/bi_planar.rs:90:54 [INFO] [stdout] | [INFO] [stdout] 90 | pub(crate) const P016: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _____________________________________- ^ [INFO] [stdout] | |______________________________________________________| [INFO] [stdout] 91 | || rgb!(u16, p1 = u16, p2 = [u16; 2], |y, [u, v], _| y [INFO] [stdout] 92 | || .map(|y| yuv16::n16([y, u, v]))), [INFO] [stdout] 93 | || rgb!(u8, p1 = u16, p2 = [u16; 2], |y, [u, v], _| y [INFO] [stdout] ... || [INFO] [stdout] 96 | || .map(|y| yuv16::f32([y, u, v]))), [INFO] [stdout] 97 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/sub_sampled.rs:118:65 [INFO] [stdout] | [INFO] [stdout] 118 | pub(crate) const R8G8_B8G8_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | ________________________________________________- ^ [INFO] [stdout] | |_________________________________________________________________| [INFO] [stdout] 119 | || rgb!(u8, decode_rg_bg), [INFO] [stdout] 120 | || rgb!(u16, |pair| decode_rg_bg(pair.map(n8::n16))), [INFO] [stdout] 121 | || rgb!(f32, |pair| decode_rg_bg(pair.map(n8::f32))), [INFO] [stdout] 122 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/sub_sampled.rs:128:65 [INFO] [stdout] | [INFO] [stdout] 128 | pub(crate) const G8R8_G8B8_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | ________________________________________________- ^ [INFO] [stdout] | |_________________________________________________________________| [INFO] [stdout] 129 | || rgb!(u8, decode_gr_bg), [INFO] [stdout] 130 | || rgb!(u16, |pair| decode_gr_bg(pair.map(n8::n16))), [INFO] [stdout] 131 | || rgb!(f32, |pair| decode_gr_bg(pair.map(n8::f32))), [INFO] [stdout] 132 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/sub_sampled.rs:138:54 [INFO] [stdout] | [INFO] [stdout] 138 | pub(crate) const YUY2: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _____________________________________- ^ [INFO] [stdout] | |______________________________________________________| [INFO] [stdout] 139 | || rgb!(u8, |pair| decode_yuv2(pair, yuv8::n8)), [INFO] [stdout] 140 | || rgb!(u16, |pair| decode_yuv2(pair, yuv8::n16)), [INFO] [stdout] 141 | || rgb!(f32, |pair| decode_yuv2(pair, yuv8::f32)), [INFO] [stdout] 142 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/sub_sampled.rs:148:54 [INFO] [stdout] | [INFO] [stdout] 148 | pub(crate) const UYVY: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _____________________________________- ^ [INFO] [stdout] | |______________________________________________________| [INFO] [stdout] 149 | || rgb!(u8, |pair| decode_uyvy(pair, yuv8::n8)), [INFO] [stdout] 150 | || rgb!(u16, |pair| decode_uyvy(pair, yuv8::n16)), [INFO] [stdout] 151 | || rgb!(f32, |pair| decode_uyvy(pair, yuv8::f32)), [INFO] [stdout] 152 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/sub_sampled.rs:160:54 [INFO] [stdout] | [INFO] [stdout] 160 | pub(crate) const Y210: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _____________________________________- ^ [INFO] [stdout] | |______________________________________________________| [INFO] [stdout] 161 | || rgb!(u16, 8, |pair| decode_y210(pair, yuv10::n16)), [INFO] [stdout] 162 | || rgb!(f32, 8, |pair| decode_y210(pair, yuv10::f32)), [INFO] [stdout] 163 | || rgb!(u8, 8, |pair| decode_y210(pair, yuv10::n8)), [INFO] [stdout] 164 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/sub_sampled.rs:171:54 [INFO] [stdout] | [INFO] [stdout] 171 | pub(crate) const Y216: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _____________________________________- ^ [INFO] [stdout] | |______________________________________________________| [INFO] [stdout] 172 | || rgb!(u16, 8, |pair| decode_y216(pair, yuv16::n16)), [INFO] [stdout] 173 | || rgb!(f32, 8, |pair| decode_y216(pair, yuv16::f32)), [INFO] [stdout] 174 | || rgb!(u8, 8, |pair| decode_y216(pair, yuv16::n8)), [INFO] [stdout] 175 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/sub_sampled.rs:186:58 [INFO] [stdout] | [INFO] [stdout] 186 | pub(crate) const R1_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _________________________________________- ^ [INFO] [stdout] | |__________________________________________________________| [INFO] [stdout] 187 | || r1!(Grayscale, u8, |block| r1_bits(block) [INFO] [stdout] 188 | || .map(n1::n8) [INFO] [stdout] 189 | || .map(|p| [p])), [INFO] [stdout] ... || [INFO] [stdout] 195 | || .map(|p| [p])), [INFO] [stdout] 196 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:165:62 [INFO] [stdout] | [INFO] [stdout] 165 | pub(crate) const R8G8B8_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _____________________________________________- ^ [INFO] [stdout] | |______________________________________________________________| [INFO] [stdout] 166 | || rgb!(u8, [u8; 3], process_fn = N8_TO_U8), [INFO] [stdout] 167 | || rgb!(u16, [u8; 3], process_fn = N8_TO_U16), [INFO] [stdout] 168 | || rgb!(f32, [u8; 3], process_fn = N8_TO_F32), [INFO] [stdout] 169 | || ]) [INFO] [stdout] | ||_^- argument requires that borrow lasts for `'static` [INFO] [stdout] | |__| [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 170 | .add_specialized(Rgb, U8, COPY_U8); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:172:62 [INFO] [stdout] | [INFO] [stdout] 172 | pub(crate) const B8G8R8_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _____________________________________________- ^ [INFO] [stdout] | |______________________________________________________________| [INFO] [stdout] 173 | || rgb!(u8, [u8; 3], |bgr| bgr.swap_rb()), [INFO] [stdout] 174 | || rgb!(u16, [u8; 3], |bgr| bgr.swap_rb().map(n8::n16)), [INFO] [stdout] 175 | || rgb!(f32, [u8; 3], |bgr| bgr.swap_rb().map(n8::f32)), [INFO] [stdout] 176 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:178:64 [INFO] [stdout] | [INFO] [stdout] 178 | pub(crate) const R8G8B8A8_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _______________________________________________- ^ [INFO] [stdout] | |________________________________________________________________| [INFO] [stdout] 179 | || rgba!(u8, [u8; 4], process_fn = N8_TO_U8), [INFO] [stdout] 180 | || rgba!(u16, [u8; 4], process_fn = N8_TO_U16), [INFO] [stdout] 181 | || rgba!(f32, [u8; 4], process_fn = N8_TO_F32), [INFO] [stdout] 182 | || ]) [INFO] [stdout] | ||_^- argument requires that borrow lasts for `'static` [INFO] [stdout] | |__| [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 183 | .add_specialized(Rgba, U8, COPY_U8); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:185:64 [INFO] [stdout] | [INFO] [stdout] 185 | pub(crate) const R8G8B8A8_SNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _______________________________________________- ^ [INFO] [stdout] | |________________________________________________________________| [INFO] [stdout] 186 | || rgba!(u8, [u8; 4], process_fn = S8_TO_U8), [INFO] [stdout] 187 | || rgba!(u16, [u8; 4], process_fn = S8_TO_U16), [INFO] [stdout] 188 | || rgba!(f32, [u8; 4], process_fn = S8_TO_F32), [INFO] [stdout] 189 | || ]) [INFO] [stdout] | ||_^- argument requires that borrow lasts for `'static` [INFO] [stdout] | |__| [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 190 | .add_specialized(Rgba, U8, COPY_S8); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:192:64 [INFO] [stdout] | [INFO] [stdout] 192 | pub(crate) const B8G8R8A8_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _______________________________________________- ^ [INFO] [stdout] | |________________________________________________________________| [INFO] [stdout] 193 | || rgba!(u8, [u8; 4], |bgra| bgra.swap_rb()), [INFO] [stdout] 194 | || rgba!(u16, [u8; 4], |bgra| bgra.swap_rb().map(n8::n16)), [INFO] [stdout] 195 | || rgba!(f32, [u8; 4], |bgra| bgra.swap_rb().map(n8::f32)), [INFO] [stdout] 196 | || ]) [INFO] [stdout] | ||_^- argument requires that borrow lasts for `'static` [INFO] [stdout] | |__| [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 205 | }); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:211:64 [INFO] [stdout] | [INFO] [stdout] 211 | pub(crate) const B8G8R8X8_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _______________________________________________- ^ [INFO] [stdout] | |________________________________________________________________| [INFO] [stdout] 212 | || rgb!(u8, [u8; 4], bgrx_to_rgb), [INFO] [stdout] 213 | || rgb!(u16, [u8; 4], |bgrx| bgrx_to_rgb(bgrx).map(n8::n16)), [INFO] [stdout] 214 | || rgb!(f32, [u8; 4], |bgrx| bgrx_to_rgb(bgrx).map(n8::f32)), [INFO] [stdout] 215 | || // the format is literally optimized for this [INFO] [stdout] 216 | || rgba!(u8, [u8; 4], |bgrx| bgrx_to_rgb(bgrx).to_rgba()), [INFO] [stdout] 217 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:219:62 [INFO] [stdout] | [INFO] [stdout] 219 | pub(crate) const B5G6R5_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _____________________________________________- ^ [INFO] [stdout] | |______________________________________________________________| [INFO] [stdout] 220 | || rgb!(u8, [u16; 1], |[bgr]| B5G6R5::from_u16(bgr).to_n8()), [INFO] [stdout] 221 | || rgb!(u16, [u16; 1], |[bgr]| B5G6R5::from_u16(bgr).to_n16()), [INFO] [stdout] 222 | || rgb!(f32, [u16; 1], |[bgr]| B5G6R5::from_u16(bgr).to_f32()), [INFO] [stdout] 223 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:225:64 [INFO] [stdout] | [INFO] [stdout] 225 | pub(crate) const B5G5R5A1_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _______________________________________________- ^ [INFO] [stdout] | |________________________________________________________________| [INFO] [stdout] 226 | || rgba!(u8, [u16; 1], |[bgra]| B5G5R5A1::from_u16(bgra).to_n8()), [INFO] [stdout] 227 | || rgba!(u16, [u16; 1], |[bgra]| B5G5R5A1::from_u16(bgra).to_n16()), [INFO] [stdout] 228 | || rgba!(f32, [u16; 1], |[bgra]| B5G5R5A1::from_u16(bgra).to_f32()), [INFO] [stdout] 229 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:240:64 [INFO] [stdout] | [INFO] [stdout] 240 | pub(crate) const B4G4R4A4_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _______________________________________________- ^ [INFO] [stdout] | |________________________________________________________________| [INFO] [stdout] 241 | || rgba!(u8, [u8; 2], |bgra| unpack_bgra4444(bgra).map(n4::n8)), [INFO] [stdout] 242 | || rgba!(u16, [u8; 2], |bgra| unpack_bgra4444(bgra).map(n4::n16)), [INFO] [stdout] 243 | || rgba!(f32, [u8; 2], |bgra| unpack_bgra4444(bgra).map(n4::f32)), [INFO] [stdout] 244 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:255:64 [INFO] [stdout] | [INFO] [stdout] 255 | pub(crate) const A4B4G4R4_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _______________________________________________- ^ [INFO] [stdout] | |________________________________________________________________| [INFO] [stdout] 256 | || rgba!(u8, [u8; 2], |bgra| unpack_abgr4444(bgra).map(n4::n8)), [INFO] [stdout] 257 | || rgba!(u16, [u8; 2], |bgra| unpack_abgr4444(bgra).map(n4::n16)), [INFO] [stdout] 258 | || rgba!(f32, [u8; 2], |bgra| unpack_abgr4444(bgra).map(n4::f32)), [INFO] [stdout] 259 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:261:58 [INFO] [stdout] | [INFO] [stdout] 261 | pub(crate) const R8_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _________________________________________- ^ [INFO] [stdout] | |__________________________________________________________| [INFO] [stdout] 262 | || gray!(u8, [u8; 1], process_fn = N8_TO_U8), [INFO] [stdout] 263 | || gray!(u16, [u8; 1], process_fn = N8_TO_U16), [INFO] [stdout] 264 | || gray!(f32, [u8; 1], process_fn = N8_TO_F32), [INFO] [stdout] 265 | || ]) [INFO] [stdout] | ||_^- argument requires that borrow lasts for `'static` [INFO] [stdout] | |__| [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 266 | .add_specialized(Grayscale, U8, COPY_U8); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:268:58 [INFO] [stdout] | [INFO] [stdout] 268 | pub(crate) const R8_SNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _________________________________________- ^ [INFO] [stdout] | |__________________________________________________________| [INFO] [stdout] 269 | || gray!(u8, [u8; 1], process_fn = S8_TO_U8), [INFO] [stdout] 270 | || gray!(u16, [u8; 1], process_fn = S8_TO_U16), [INFO] [stdout] 271 | || gray!(f32, [u8; 1], process_fn = S8_TO_F32), [INFO] [stdout] 272 | || ]) [INFO] [stdout] | ||_^- argument requires that borrow lasts for `'static` [INFO] [stdout] | |__| [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 273 | .add_specialized(Grayscale, U8, COPY_S8); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:275:60 [INFO] [stdout] | [INFO] [stdout] 275 | pub(crate) const R8G8_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | ___________________________________________- ^ [INFO] [stdout] | |____________________________________________________________| [INFO] [stdout] 276 | || rgb!(u8, [u8; 2], |rg| [rg[0], rg[1], 0]), [INFO] [stdout] 277 | || rgb!(u16, [u8; 2], |rg| [rg[0], rg[1], 0].map(n8::n16)), [INFO] [stdout] 278 | || rgb!(f32, [u8; 2], |rg| [rg[0], rg[1], 0].map(n8::f32)), [INFO] [stdout] 279 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:281:60 [INFO] [stdout] | [INFO] [stdout] 281 | pub(crate) const R8G8_SNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | ___________________________________________- ^ [INFO] [stdout] | |____________________________________________________________| [INFO] [stdout] 282 | || rgb!(u8, [u8; 2], |[r, g]| [s8::n8(r), s8::n8(g), Norm::HALF]), [INFO] [stdout] 283 | || rgb!(u16, [u8; 2], |[r, g]| [s8::n16(r), s8::n16(g), Norm::HALF]), [INFO] [stdout] 284 | || rgb!(f32, [u8; 2], |[r, g]| [ [INFO] [stdout] ... || [INFO] [stdout] 288 | || ]), [INFO] [stdout] 289 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:291:58 [INFO] [stdout] | [INFO] [stdout] 291 | pub(crate) const A8_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _________________________________________- ^ [INFO] [stdout] | |__________________________________________________________| [INFO] [stdout] 292 | || alpha!(u8, [u8; 1], process_fn = N8_TO_U8), [INFO] [stdout] 293 | || alpha!(u16, [u8; 1], process_fn = N8_TO_U16), [INFO] [stdout] 294 | || alpha!(f32, [u8; 1], process_fn = N8_TO_F32), [INFO] [stdout] 295 | || ]) [INFO] [stdout] | ||_^- argument requires that borrow lasts for `'static` [INFO] [stdout] | |__| [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 296 | .add_specialized(Alpha, U8, COPY_U8); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:298:59 [INFO] [stdout] | [INFO] [stdout] 298 | pub(crate) const R16_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | __________________________________________- ^ [INFO] [stdout] | |___________________________________________________________| [INFO] [stdout] 299 | || gray!(u16, [u16; 1], process_fn = N16_TO_U16), [INFO] [stdout] 300 | || gray!(u8, [u16; 1], process_fn = N16_TO_U8), [INFO] [stdout] 301 | || gray!(f32, [u16; 1], process_fn = N16_TO_F32), [INFO] [stdout] 302 | || ]) [INFO] [stdout] | ||_^- argument requires that borrow lasts for `'static` [INFO] [stdout] | |__| [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 303 | .add_specialized(Grayscale, U16, COPY_U16); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:305:59 [INFO] [stdout] | [INFO] [stdout] 305 | pub(crate) const R16_SNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | __________________________________________- ^ [INFO] [stdout] | |___________________________________________________________| [INFO] [stdout] 306 | || gray!(u16, [u16; 1], process_fn = S16_TO_U16), [INFO] [stdout] 307 | || gray!(u8, [u16; 1], process_fn = S16_TO_U8), [INFO] [stdout] 308 | || gray!(f32, [u16; 1], process_fn = S16_TO_F32), [INFO] [stdout] 309 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:311:62 [INFO] [stdout] | [INFO] [stdout] 311 | pub(crate) const R16G16_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _____________________________________________- ^ [INFO] [stdout] | |______________________________________________________________| [INFO] [stdout] 312 | || rgb!(u16, [u16; 2], |rg| [rg[0], rg[1], 0]), [INFO] [stdout] 313 | || rgb!(u8, [u16; 2], |rg| [rg[0], rg[1], 0].map(n16::n8)), [INFO] [stdout] 314 | || rgb!(f32, [u16; 2], |rg| [rg[0], rg[1], 0].map(n16::f32)), [INFO] [stdout] 315 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:317:62 [INFO] [stdout] | [INFO] [stdout] 317 | pub(crate) const R16G16_SNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _____________________________________________- ^ [INFO] [stdout] | |______________________________________________________________| [INFO] [stdout] 318 | || rgb!(u16, [u16; 2], |[r, g]| [ [INFO] [stdout] 319 | || s16::n16(r), [INFO] [stdout] 320 | || s16::n16(g), [INFO] [stdout] ... || [INFO] [stdout] 328 | || ]), [INFO] [stdout] 329 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:331:68 [INFO] [stdout] | [INFO] [stdout] 331 | pub(crate) const R16G16B16A16_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | ___________________________________________________- ^ [INFO] [stdout] | |____________________________________________________________________| [INFO] [stdout] 332 | || rgba!(u16, [u16; 4], process_fn = N16_TO_U16), [INFO] [stdout] 333 | || rgba!(u8, [u16; 4], process_fn = N16_TO_U8), [INFO] [stdout] 334 | || rgba!(f32, [u16; 4], process_fn = N16_TO_F32), [INFO] [stdout] 335 | || ]) [INFO] [stdout] | ||_^- argument requires that borrow lasts for `'static` [INFO] [stdout] | |__| [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 336 | .add_specialized(Rgba, U16, COPY_U16); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:338:68 [INFO] [stdout] | [INFO] [stdout] 338 | pub(crate) const R16G16B16A16_SNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | ___________________________________________________- ^ [INFO] [stdout] | |____________________________________________________________________| [INFO] [stdout] 339 | || rgba!(u16, [u16; 4], process_fn = S16_TO_U16), [INFO] [stdout] 340 | || rgba!(u8, [u16; 4], process_fn = S16_TO_U8), [INFO] [stdout] 341 | || rgba!(f32, [u16; 4], process_fn = S16_TO_F32), [INFO] [stdout] 342 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:352:67 [INFO] [stdout] | [INFO] [stdout] 352 | pub(crate) const R10G10B10A2_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | __________________________________________________- ^ [INFO] [stdout] | |___________________________________________________________________| [INFO] [stdout] 353 | || rgba!(u16, [u32; 1], |[rgba]| { [INFO] [stdout] 354 | || let (r, g, b, a) = unpack_rgba1010102(rgba); [INFO] [stdout] 355 | || [n10::n16(r), n10::n16(g), n10::n16(b), n2::n16(a)] [INFO] [stdout] ... || [INFO] [stdout] 364 | || }), [INFO] [stdout] 365 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:374:65 [INFO] [stdout] | [INFO] [stdout] 374 | pub(crate) const R11G11B10_FLOAT: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | ________________________________________________- ^ [INFO] [stdout] | |_________________________________________________________________| [INFO] [stdout] 375 | || rgb!(f32, [u32; 1], |[rgb]| { [INFO] [stdout] 376 | || let [r11, g11, b10] = unpack_rgb111110f(rgb); [INFO] [stdout] 377 | || [fp11::f32(r11), fp11::f32(g11), fp10::f32(b10)] [INFO] [stdout] ... || [INFO] [stdout] 386 | || }), [INFO] [stdout] 387 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:389:68 [INFO] [stdout] | [INFO] [stdout] 389 | pub(crate) const R9G9B9E5_SHAREDEXP: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | ___________________________________________________- ^ [INFO] [stdout] | |____________________________________________________________________| [INFO] [stdout] 390 | || rgb!(f32, [u32; 1], |[rgb]| rgb9995f::f32(rgb)), [INFO] [stdout] 391 | || rgb!(u16, [u32; 1], |[rgb]| rgb9995f::n16(rgb)), [INFO] [stdout] 392 | || rgb!(u8, [u32; 1], |[rgb]| rgb9995f::n8(rgb)), [INFO] [stdout] 393 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:395:59 [INFO] [stdout] | [INFO] [stdout] 395 | pub(crate) const R16_FLOAT: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | __________________________________________- ^ [INFO] [stdout] | |___________________________________________________________| [INFO] [stdout] 396 | || gray!(f32, [u16; 1], process_fn = F16_TO_F32), [INFO] [stdout] 397 | || gray!(u8, [u16; 1], process_fn = F16_TO_U8), [INFO] [stdout] 398 | || gray!(u16, [u16; 1], process_fn = F16_TO_U16), [INFO] [stdout] 399 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:401:62 [INFO] [stdout] | [INFO] [stdout] 401 | pub(crate) const R16G16_FLOAT: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _____________________________________________- ^ [INFO] [stdout] | |______________________________________________________________| [INFO] [stdout] 402 | || rgb!(f32, [u16; 2], |[r, g]| [fp16::f32(r), fp16::f32(g), 0.0]), [INFO] [stdout] 403 | || rgb!(u16, [u16; 2], |[r, g]| [fp16::n16(r), fp16::n16(g), 0]), [INFO] [stdout] 404 | || rgb!(u8, [u16; 2], |[r, g]| [fp16::n8(r), fp16::n8(g), 0]), [INFO] [stdout] 405 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:407:68 [INFO] [stdout] | [INFO] [stdout] 407 | pub(crate) const R16G16B16A16_FLOAT: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | ___________________________________________________- ^ [INFO] [stdout] | |____________________________________________________________________| [INFO] [stdout] 408 | || rgba!(f32, [u16; 4], process_fn = F16_TO_F32), [INFO] [stdout] 409 | || rgba!(u8, [u16; 4], process_fn = F16_TO_U8), [INFO] [stdout] 410 | || rgba!(u16, [u16; 4], process_fn = F16_TO_U16), [INFO] [stdout] 411 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:413:59 [INFO] [stdout] | [INFO] [stdout] 413 | pub(crate) const R32_FLOAT: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | __________________________________________- ^ [INFO] [stdout] | |___________________________________________________________| [INFO] [stdout] 414 | || gray!(f32, [f32; 1], process_fn = F32_TO_F32), [INFO] [stdout] 415 | || gray!(u8, [f32; 1], process_fn = F32_TO_U8), [INFO] [stdout] 416 | || gray!(u16, [f32; 1], process_fn = F32_TO_U16), [INFO] [stdout] 417 | || ]) [INFO] [stdout] | ||_^- argument requires that borrow lasts for `'static` [INFO] [stdout] | |__| [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 418 | .add_specialized(Grayscale, F32, COPY_U32); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:420:62 [INFO] [stdout] | [INFO] [stdout] 420 | pub(crate) const R32G32_FLOAT: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _____________________________________________- ^ [INFO] [stdout] | |______________________________________________________________| [INFO] [stdout] 421 | || rgb!(f32, [f32; 2], |[r, g]| [r, g, 0.0]), [INFO] [stdout] 422 | || rgb!(u16, [f32; 2], |[r, g]| [fp::n16(r), fp::n16(g), 0]), [INFO] [stdout] 423 | || rgb!(u8, [f32; 2], |[r, g]| [fp::n8(r), fp::n8(g), 0]), [INFO] [stdout] 424 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:426:65 [INFO] [stdout] | [INFO] [stdout] 426 | pub(crate) const R32G32B32_FLOAT: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | ________________________________________________- ^ [INFO] [stdout] | |_________________________________________________________________| [INFO] [stdout] 427 | || rgb!(f32, [f32; 3], process_fn = F32_TO_F32), [INFO] [stdout] 428 | || rgb!(u8, [f32; 3], process_fn = F32_TO_U8), [INFO] [stdout] 429 | || rgb!(u16, [f32; 3], process_fn = F32_TO_U16), [INFO] [stdout] 430 | || ]) [INFO] [stdout] | ||_^- argument requires that borrow lasts for `'static` [INFO] [stdout] | |__| [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 431 | .add_specialized(Rgb, F32, COPY_U32); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:433:68 [INFO] [stdout] | [INFO] [stdout] 433 | pub(crate) const R32G32B32A32_FLOAT: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | ___________________________________________________- ^ [INFO] [stdout] | |____________________________________________________________________| [INFO] [stdout] 434 | || rgba!(f32, [f32; 4], process_fn = F32_TO_F32), [INFO] [stdout] 435 | || rgba!(u8, [f32; 4], process_fn = F32_TO_U8), [INFO] [stdout] 436 | || rgba!(u16, [f32; 4], process_fn = F32_TO_U16), [INFO] [stdout] 437 | || ]) [INFO] [stdout] | ||_^- argument requires that borrow lasts for `'static` [INFO] [stdout] | |__| [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 438 | .add_specialized(Rgba, F32, COPY_U32); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:449:76 [INFO] [stdout] | [INFO] [stdout] 449 | pub(crate) const R10G10B10_XR_BIAS_A2_UNORM: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | ___________________________________________________________- ^ [INFO] [stdout] | |____________________________________________________________________________| [INFO] [stdout] 450 | || rgba!(f32, [u32; 1], |[rgba]| { [INFO] [stdout] 451 | || let (rgb, a2) = unpack_rgba1010102_xr(rgba); [INFO] [stdout] 452 | || let [r, g, b] = rgb.map(xr10::f32); [INFO] [stdout] ... || [INFO] [stdout] 464 | || }), [INFO] [stdout] 465 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:476:54 [INFO] [stdout] | [INFO] [stdout] 476 | pub(crate) const AYUV: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _____________________________________- ^ [INFO] [stdout] | |______________________________________________________| [INFO] [stdout] 477 | || rgba!(u8, [u8; 4], |ayuv| unpack_ayuv(ayuv, yuv8::n8, |x| x)), [INFO] [stdout] 478 | || rgba!(u16, [u8; 4], |ayuv| unpack_ayuv(ayuv, yuv8::n16, n8::n16)), [INFO] [stdout] 479 | || rgba!(f32, [u8; 4], |ayuv| unpack_ayuv(ayuv, yuv8::f32, n8::f32)), [INFO] [stdout] 480 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:491:54 [INFO] [stdout] | [INFO] [stdout] 491 | pub(crate) const Y410: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _____________________________________- ^ [INFO] [stdout] | |______________________________________________________| [INFO] [stdout] 492 | || rgba!(u16, u32, |y410| unpack_y410(y410, yuv10::n16, n2::n16)), [INFO] [stdout] 493 | || rgba!(f32, u32, |y410| unpack_y410(y410, yuv10::f32, n2::f32)), [INFO] [stdout] 494 | || rgba!(u8, u32, |y410| unpack_y410(y410, yuv10::n8, n2::n8)), [INFO] [stdout] 495 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/decode/uncompressed.rs:506:54 [INFO] [stdout] | [INFO] [stdout] 506 | pub(crate) const Y416: DecoderSet = DecoderSet::new(&[ [INFO] [stdout] | _____________________________________- ^ [INFO] [stdout] | |______________________________________________________| [INFO] [stdout] 507 | || rgba!(u16, [u16; 4], |y416| unpack_y416(y416, yuv16::n16, |x| x)), [INFO] [stdout] 508 | || rgba!(f32, [u16; 4], |y416| unpack_y416( [INFO] [stdout] 509 | || y416, [INFO] [stdout] ... || [INFO] [stdout] 513 | || rgba!(u8, [u16; 4], |y416| unpack_y416(y416, yuv16::n8, n16::n8)), [INFO] [stdout] 514 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/bc.rs:178:62 [INFO] [stdout] | [INFO] [stdout] 178 | pub(crate) const BC1_UNORM: EncoderSet = EncoderSet::new_bc(&[Encoder::new_universal(|args| { [INFO] [stdout] | __________________________________________- ^ [INFO] [stdout] | |______________________________________________________________| [INFO] [stdout] 179 | || block_universal::<4, 4, 8>(args, |data, row_pitch, options, out| { [INFO] [stdout] 180 | || let bc1_options = get_bc1_options(options); [INFO] [stdout] 181 | || let mut block = get_4x4_rgba(data, row_pitch); [INFO] [stdout] ... || [INFO] [stdout] 195 | || .add_flags(Flags::DITHER_ALL) [INFO] [stdout] 196 | || .with_group_size(BC1_GROUP_SIZE)]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_________________________________|temporary value is freed at the end of this statement [INFO] [stdout] | |__________________________________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/bc.rs:221:62 [INFO] [stdout] | [INFO] [stdout] 221 | pub(crate) const BC2_UNORM: EncoderSet = EncoderSet::new_bc(&[Encoder::new_universal(|args| { [INFO] [stdout] | __________________________________________- ^ [INFO] [stdout] | |______________________________________________________________| [INFO] [stdout] 222 | || block_universal::<4, 4, 16>(args, |data, row_pitch, options, out| { [INFO] [stdout] 223 | || let (bc1_options, _) = get_bc3_options(options); [INFO] [stdout] ... || [INFO] [stdout] 233 | || .add_flags(Flags::DITHER_ALL) [INFO] [stdout] 234 | || .with_group_size(BC1_GROUP_SIZE)]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_________________________________|temporary value is freed at the end of this statement [INFO] [stdout] | |__________________________________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/bc.rs:237:25 [INFO] [stdout] | [INFO] [stdout] 237 | EncoderSet::new_bc(&[Encoder::new_universal(|args| { [INFO] [stdout] | _____- ^ [INFO] [stdout] | |_________________________| [INFO] [stdout] 238 | || block_universal::<4, 4, 16>(args, |data, row_pitch, options, out| { [INFO] [stdout] 239 | || let (bc1_options, _) = get_bc3_options(options); [INFO] [stdout] ... || [INFO] [stdout] 250 | || .add_flags(Flags::DITHER_ALL) [INFO] [stdout] 251 | || .with_group_size(BC1_GROUP_SIZE)]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_____________________________________|temporary value is freed at the end of this statement [INFO] [stdout] | |______________________________________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/bc.rs:262:62 [INFO] [stdout] | [INFO] [stdout] 262 | pub(crate) const BC3_UNORM: EncoderSet = EncoderSet::new_bc(&[Encoder::new_universal(|args| { [INFO] [stdout] | __________________________________________- ^ [INFO] [stdout] | |______________________________________________________________| [INFO] [stdout] 263 | || block_universal::<4, 4, 16>(args, |data, row_pitch, options, out| { [INFO] [stdout] 264 | || let (bc1_options, bc4_options) = get_bc3_options(options); [INFO] [stdout] ... || [INFO] [stdout] 274 | || .add_flags(Flags::DITHER_ALL) [INFO] [stdout] 275 | || .with_group_size(BC3_GROUP_SIZE)]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_________________________________|temporary value is freed at the end of this statement [INFO] [stdout] | |__________________________________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/bc.rs:278:25 [INFO] [stdout] | [INFO] [stdout] 278 | EncoderSet::new_bc(&[Encoder::new_universal(|args| { [INFO] [stdout] | _____- ^ [INFO] [stdout] | |_________________________| [INFO] [stdout] 279 | || block_universal::<4, 4, 16>(args, |data, row_pitch, options, out| { [INFO] [stdout] 280 | || let (bc1_options, bc4_options) = get_bc3_options(options); [INFO] [stdout] ... || [INFO] [stdout] 291 | || .add_flags(Flags::DITHER_ALL) [INFO] [stdout] 292 | || .with_group_size(BC3_GROUP_SIZE)]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_____________________________________|temporary value is freed at the end of this statement [INFO] [stdout] | |______________________________________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/bc.rs:295:25 [INFO] [stdout] | [INFO] [stdout] 295 | EncoderSet::new_bc(&[Encoder::new_universal(|args| { [INFO] [stdout] | _____- ^ [INFO] [stdout] | |_________________________| [INFO] [stdout] 296 | || block_universal::<4, 4, 16>(args, |data, row_pitch, options, out| { [INFO] [stdout] 297 | || let (bc1_options, bc4_options) = get_bc3_options(options); [INFO] [stdout] ... || [INFO] [stdout] 318 | || .add_flags(Flags::DITHER_COLOR) [INFO] [stdout] 319 | || .with_group_size(BC3_GROUP_SIZE)]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_____________________________________|temporary value is freed at the end of this statement [INFO] [stdout] | |______________________________________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/bc.rs:322:25 [INFO] [stdout] | [INFO] [stdout] 322 | EncoderSet::new_bc(&[Encoder::new_universal(|args| { [INFO] [stdout] | _____- ^ [INFO] [stdout] | |_________________________| [INFO] [stdout] 323 | || block_universal::<4, 4, 16>(args, |data, row_pitch, options, out| { [INFO] [stdout] 324 | || let (bc1_options, bc4_options) = get_bc3_options(options); [INFO] [stdout] ... || [INFO] [stdout] 340 | || .add_flags(Flags::DITHER_COLOR) [INFO] [stdout] 341 | || .with_group_size(BC3_GROUP_SIZE)]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_____________________________________|temporary value is freed at the end of this statement [INFO] [stdout] | |______________________________________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/bc.rs:359:62 [INFO] [stdout] | [INFO] [stdout] 359 | pub(crate) const BC4_UNORM: EncoderSet = EncoderSet::new_bc(&[Encoder::new_universal(|args| { [INFO] [stdout] | __________________________________________- ^ [INFO] [stdout] | |______________________________________________________________| [INFO] [stdout] 360 | || block_universal::<4, 4, 8>(args, |data, row_pitch, options, out| { [INFO] [stdout] 361 | || let mut options = get_bc4_options(options); [INFO] [stdout] 362 | || options.snorm = false; [INFO] [stdout] ... || [INFO] [stdout] 366 | || .add_flags(Flags::DITHER_COLOR) [INFO] [stdout] 367 | || .with_group_size(BC4_GROUP_SIZE)]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_________________________________|temporary value is freed at the end of this statement [INFO] [stdout] | |__________________________________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/bc.rs:369:62 [INFO] [stdout] | [INFO] [stdout] 369 | pub(crate) const BC4_SNORM: EncoderSet = EncoderSet::new_bc(&[Encoder::new_universal(|args| { [INFO] [stdout] | __________________________________________- ^ [INFO] [stdout] | |______________________________________________________________| [INFO] [stdout] 370 | || block_universal::<4, 4, 8>(args, |data, row_pitch, options, out| { [INFO] [stdout] 371 | || let mut options = get_bc4_options(options); [INFO] [stdout] 372 | || options.snorm = true; [INFO] [stdout] ... || [INFO] [stdout] 376 | || .add_flags(Flags::DITHER_COLOR) [INFO] [stdout] 377 | || .with_group_size(BC4_GROUP_SIZE)]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_________________________________|temporary value is freed at the end of this statement [INFO] [stdout] | |__________________________________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/bc.rs:389:62 [INFO] [stdout] | [INFO] [stdout] 389 | pub(crate) const BC5_UNORM: EncoderSet = EncoderSet::new_bc(&[Encoder::new_universal(|args| { [INFO] [stdout] | __________________________________________- ^ [INFO] [stdout] | |______________________________________________________________| [INFO] [stdout] 390 | || block_universal::<4, 4, 16>(args, |data, row_pitch, options, out| { [INFO] [stdout] 391 | || let mut options = get_bc4_options(options); [INFO] [stdout] 392 | || options.snorm = false; [INFO] [stdout] ... || [INFO] [stdout] 396 | || .add_flags(Flags::DITHER_COLOR) [INFO] [stdout] 397 | || .with_group_size(BC4_GROUP_SIZE)]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_________________________________|temporary value is freed at the end of this statement [INFO] [stdout] | |__________________________________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/bc.rs:399:62 [INFO] [stdout] | [INFO] [stdout] 399 | pub(crate) const BC5_SNORM: EncoderSet = EncoderSet::new_bc(&[Encoder::new_universal(|args| { [INFO] [stdout] | __________________________________________- ^ [INFO] [stdout] | |______________________________________________________________| [INFO] [stdout] 400 | || block_universal::<4, 4, 16>(args, |data, row_pitch, options, out| { [INFO] [stdout] 401 | || let mut options = get_bc4_options(options); [INFO] [stdout] 402 | || options.snorm = true; [INFO] [stdout] ... || [INFO] [stdout] 406 | || .add_flags(Flags::DITHER_COLOR) [INFO] [stdout] 407 | || .with_group_size(BC4_GROUP_SIZE)]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_________________________________|temporary value is freed at the end of this statement [INFO] [stdout] | |__________________________________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/bi_planar.rs:96:64 [INFO] [stdout] | [INFO] [stdout] 96 | pub(crate) const NV12: EncoderSet = EncoderSet::new_bi_planar(&[Encoder::new_universal(|args| { [INFO] [stdout] | _____________________________________- ^ [INFO] [stdout] | |________________________________________________________________| [INFO] [stdout] 97 | || bi_planar_universal(args, |block, _| { [INFO] [stdout] 98 | || let block_yuv = block.map(|[r, g, b, _]| yuv8::from_rgb_f32([r, g, b])); [INFO] [stdout] ... || [INFO] [stdout] 105 | || }) [INFO] [stdout] 106 | || })]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||___|temporary value is freed at the end of this statement [INFO] [stdout] | |____|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/bi_planar.rs:108:64 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) const P010: EncoderSet = EncoderSet::new_bi_planar(&[Encoder::new_universal(|args| { [INFO] [stdout] | _____________________________________- ^ [INFO] [stdout] | |________________________________________________________________| [INFO] [stdout] 109 | || bi_planar_universal(args, |block, _| { [INFO] [stdout] 110 | || let block_yuv = block.map(|[r, g, b, _]| yuv10::from_rgb_f32([r, g, b])); [INFO] [stdout] ... || [INFO] [stdout] 117 | || }) [INFO] [stdout] 118 | || })]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||___|temporary value is freed at the end of this statement [INFO] [stdout] | |____|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/bi_planar.rs:120:64 [INFO] [stdout] | [INFO] [stdout] 120 | pub(crate) const P016: EncoderSet = EncoderSet::new_bi_planar(&[Encoder::new_universal(|args| { [INFO] [stdout] | _____________________________________- ^ [INFO] [stdout] | |________________________________________________________________| [INFO] [stdout] 121 | || bi_planar_universal(args, |block, _| { [INFO] [stdout] 122 | || let block_yuv = block.map(|[r, g, b, _]| yuv16::from_rgb_f32([r, g, b])); [INFO] [stdout] ... || [INFO] [stdout] 129 | || }) [INFO] [stdout] 130 | || })]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||___|temporary value is freed at the end of this statement [INFO] [stdout] | |____|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/sub_sampled.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | EncoderSet::new(&[universal_subsample!(2, [u8; 4], to_rgbg).add_flags(Flags::EXACT_U8)]); [INFO] [stdout] | -----------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | | [INFO] [stdout] | | | temporary value is freed at the end of this statement [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/sub_sampled.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | EncoderSet::new(&[universal_subsample!(2, [u8; 4], |pair| { [INFO] [stdout] | _____- ^ [INFO] [stdout] | |______________________| [INFO] [stdout] 115 | || let [r, g0, b, g1] = to_rgbg(pair); [INFO] [stdout] 116 | || [g0, r, g1, b] [INFO] [stdout] 117 | || }) [INFO] [stdout] 118 | || .add_flags(Flags::EXACT_U8)]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||________________________________|temporary value is freed at the end of this statement [INFO] [stdout] | |_________________________________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/sub_sampled.rs:135:54 [INFO] [stdout] | [INFO] [stdout] 135 | pub(crate) const YUY2: EncoderSet = EncoderSet::new(&[universal_subsample!(2, [u8; 4], to_yuy2)]); [INFO] [stdout] | -----------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | | [INFO] [stdout] | | | temporary value is freed at the end of this statement [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/sub_sampled.rs:137:54 [INFO] [stdout] | [INFO] [stdout] 137 | pub(crate) const UYVY: EncoderSet = EncoderSet::new(&[universal_subsample!(2, [u8; 4], |pair| { [INFO] [stdout] | _____________________________________- ^ [INFO] [stdout] | |______________________________________________________| [INFO] [stdout] 138 | || let [y0, u, y1, v] = to_yuy2(pair); [INFO] [stdout] 139 | || [u, y0, v, y1] [INFO] [stdout] 140 | || })]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||___|temporary value is freed at the end of this statement [INFO] [stdout] | |____|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/sub_sampled.rs:158:22 [INFO] [stdout] | [INFO] [stdout] 158 | EncoderSet::new(&[ [INFO] [stdout] | _____- ^ [INFO] [stdout] | |______________________| [INFO] [stdout] 159 | || universal_subsample!(2, [u16; 4], |pair| to_y216(pair).map(|c| c & 0xFFC0)) [INFO] [stdout] 160 | || .add_flags(Flags::EXACT_U8), [INFO] [stdout] 161 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_____|temporary value is freed at the end of this statement [INFO] [stdout] | |______|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/sub_sampled.rs:164:22 [INFO] [stdout] | [INFO] [stdout] 164 | EncoderSet::new(&[universal_subsample!(2, [u16; 4], to_y216).add_flags(Flags::EXACT_U8)]); [INFO] [stdout] | -----------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | | [INFO] [stdout] | | | temporary value is freed at the end of this statement [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/sub_sampled.rs:166:58 [INFO] [stdout] | [INFO] [stdout] 166 | pub(crate) const R1_UNORM: EncoderSet = EncoderSet::new(&[universal_subsample!(8, u8, |block| { [INFO] [stdout] | _________________________________________- ^ [INFO] [stdout] | |__________________________________________________________| [INFO] [stdout] 167 | || let mut out = 0_u8; [INFO] [stdout] 168 | || for (i, &p) in block.iter().enumerate() { [INFO] [stdout] 169 | || out |= n1::from_f32(ch::rgba_to_grayscale(p)[0]) << (7 - i); [INFO] [stdout] 170 | || } [INFO] [stdout] 171 | || out [INFO] [stdout] 172 | || })]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||___|temporary value is freed at the end of this statement [INFO] [stdout] | |____|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:254:62 [INFO] [stdout] | [INFO] [stdout] 254 | pub(crate) const R8G8B8_UNORM: EncoderSet = EncoderSet::new(&[ [INFO] [stdout] | _____________________________________________- ^ [INFO] [stdout] | |______________________________________________________________| [INFO] [stdout] 255 | || Encoder::copy(ColorFormat::RGB_U8), [INFO] [stdout] 256 | || color_convert!(ColorFormat::RGB_U8), [INFO] [stdout] 257 | || universal!([u8; 3], |[r, g, b, _]| [r, g, b].map(n8::from_f32)), [INFO] [stdout] 258 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:260:62 [INFO] [stdout] | [INFO] [stdout] 260 | pub(crate) const B8G8R8_UNORM: EncoderSet = EncoderSet::new(&[ [INFO] [stdout] | _____________________________________________- ^ [INFO] [stdout] | |______________________________________________________________| [INFO] [stdout] 261 | || Encoder::new(ColorFormatSet::U8, Flags::EXACT_U8, |args| { [INFO] [stdout] 262 | || fn process_line(line: &[u8], color: ColorFormat, out: &mut [u8]) { [INFO] [stdout] 263 | || assert!(color.precision == Precision::U8); [INFO] [stdout] ... || [INFO] [stdout] 274 | || universal!([u8; 3], |[r, g, b, _]| [b, g, r].map(n8::from_f32)), [INFO] [stdout] 275 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:277:64 [INFO] [stdout] | [INFO] [stdout] 277 | pub(crate) const R8G8B8A8_UNORM: EncoderSet = EncoderSet::new(&[ [INFO] [stdout] | _______________________________________________- ^ [INFO] [stdout] | |________________________________________________________________| [INFO] [stdout] 278 | || Encoder::copy(ColorFormat::RGBA_U8), [INFO] [stdout] 279 | || color_convert!(ColorFormat::RGBA_U8), [INFO] [stdout] 280 | || universal!([u8; 4], |rgba| rgba.map(n8::from_f32)), [INFO] [stdout] 281 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:283:64 [INFO] [stdout] | [INFO] [stdout] 283 | pub(crate) const R8G8B8A8_SNORM: EncoderSet = EncoderSet::new(&[ [INFO] [stdout] | _______________________________________________- ^ [INFO] [stdout] | |________________________________________________________________| [INFO] [stdout] 284 | || color_convert!(ColorFormat::RGBA_U8, snorm = true), [INFO] [stdout] 285 | || universal!([u8; 4], |rgba| rgba.map(s8::from_uf32)), [INFO] [stdout] 286 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:288:64 [INFO] [stdout] | [INFO] [stdout] 288 | pub(crate) const B8G8R8A8_UNORM: EncoderSet = EncoderSet::new(&[ [INFO] [stdout] | _______________________________________________- ^ [INFO] [stdout] | |________________________________________________________________| [INFO] [stdout] 289 | || Encoder::new(ColorFormatSet::U8, Flags::EXACT_U8, |args| { [INFO] [stdout] 290 | || fn process_line(line: &[u8], color: ColorFormat, out: &mut [u8]) { [INFO] [stdout] 291 | || assert!(color.precision == Precision::U8); [INFO] [stdout] ... || [INFO] [stdout] 302 | || universal!([u8; 4], |[r, g, b, a]| [b, g, r, a].map(n8::from_f32)), [INFO] [stdout] 303 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:305:64 [INFO] [stdout] | [INFO] [stdout] 305 | pub(crate) const B8G8R8X8_UNORM: EncoderSet = EncoderSet::new(&[ [INFO] [stdout] | _______________________________________________- ^ [INFO] [stdout] | |________________________________________________________________| [INFO] [stdout] 306 | || Encoder::new(ColorFormatSet::U8, Flags::EXACT_U8, |args| { [INFO] [stdout] 307 | || fn process_line(line: &[u8], color: ColorFormat, out: &mut [u8]) { [INFO] [stdout] 308 | || assert!(color.precision == Precision::U8); [INFO] [stdout] ... || [INFO] [stdout] 327 | || ]), [INFO] [stdout] 328 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:330:62 [INFO] [stdout] | [INFO] [stdout] 330 | pub(crate) const B5G6R5_UNORM: EncoderSet = EncoderSet::new(&[ [INFO] [stdout] | _____________________________________________- ^ [INFO] [stdout] | |______________________________________________________________| [INFO] [stdout] 331 | || universal!(u16, |[r, g, b, _]| { [INFO] [stdout] 332 | || let r = n5::from_f32(r) as u16; [INFO] [stdout] 333 | || let g = n6::from_f32(g) as u16; [INFO] [stdout] ... || [INFO] [stdout] 347 | || .add_flags(Flags::DITHER_COLOR), [INFO] [stdout] 348 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:350:64 [INFO] [stdout] | [INFO] [stdout] 350 | pub(crate) const B5G5R5A1_UNORM: EncoderSet = EncoderSet::new(&[ [INFO] [stdout] | _______________________________________________- ^ [INFO] [stdout] | |________________________________________________________________| [INFO] [stdout] 351 | || universal!(u16, |[r, g, b, a]| { [INFO] [stdout] 352 | || let r = n5::from_f32(r) as u16; [INFO] [stdout] 353 | || let g = n5::from_f32(g) as u16; [INFO] [stdout] ... || [INFO] [stdout] 374 | || .add_flags(Flags::DITHER_ALL), [INFO] [stdout] 375 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:384:64 [INFO] [stdout] | [INFO] [stdout] 384 | pub(crate) const B4G4R4A4_UNORM: EncoderSet = EncoderSet::new(&[ [INFO] [stdout] | _______________________________________________- ^ [INFO] [stdout] | |________________________________________________________________| [INFO] [stdout] 385 | || universal!(u16, |[r, g, b, a]| { [INFO] [stdout] 386 | || let r = n4::from_f32(r) as u16; [INFO] [stdout] 387 | || let g = n4::from_f32(g) as u16; [INFO] [stdout] ... || [INFO] [stdout] 397 | || .add_flags(Flags::DITHER_ALL), [INFO] [stdout] 398 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:400:64 [INFO] [stdout] | [INFO] [stdout] 400 | pub(crate) const A4B4G4R4_UNORM: EncoderSet = EncoderSet::new(&[ [INFO] [stdout] | _______________________________________________- ^ [INFO] [stdout] | |________________________________________________________________| [INFO] [stdout] 401 | || universal!(u16, |[r, g, b, a]| { [INFO] [stdout] 402 | || let r = n4::from_f32(r) as u16; [INFO] [stdout] 403 | || let g = n4::from_f32(g) as u16; [INFO] [stdout] ... || [INFO] [stdout] 413 | || .add_flags(Flags::DITHER_ALL), [INFO] [stdout] 414 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:416:58 [INFO] [stdout] | [INFO] [stdout] 416 | pub(crate) const R8_UNORM: EncoderSet = EncoderSet::new(&[ [INFO] [stdout] | _________________________________________- ^ [INFO] [stdout] | |__________________________________________________________| [INFO] [stdout] 417 | || Encoder::copy(ColorFormat::GRAYSCALE_U8), [INFO] [stdout] 418 | || color_convert!(ColorFormat::GRAYSCALE_U8), [INFO] [stdout] 419 | || universal_grayscale!(u8, n8::from_f32), [INFO] [stdout] 420 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:422:58 [INFO] [stdout] | [INFO] [stdout] 422 | pub(crate) const R8_SNORM: EncoderSet = EncoderSet::new(&[ [INFO] [stdout] | _________________________________________- ^ [INFO] [stdout] | |__________________________________________________________| [INFO] [stdout] 423 | || color_convert!(ColorFormat::GRAYSCALE_U8, snorm = true), [INFO] [stdout] 424 | || universal_grayscale!(u8, s8::from_uf32), [INFO] [stdout] 425 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:428:22 [INFO] [stdout] | [INFO] [stdout] 428 | EncoderSet::new(&[ [INFO] [stdout] | _____- ^ [INFO] [stdout] | |______________________| [INFO] [stdout] 429 | || universal!([u8; 2], |[r, g, _, _]| [r, g].map(n8::from_f32)).add_flags(Flags::EXACT_U8) [INFO] [stdout] 430 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_____|temporary value is freed at the end of this statement [INFO] [stdout] | |______|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:433:22 [INFO] [stdout] | [INFO] [stdout] 433 | EncoderSet::new(&[ [INFO] [stdout] | _____- ^ [INFO] [stdout] | |______________________| [INFO] [stdout] 434 | || universal!([u8; 2], |[r, g, _, _]| [r, g].map(s8::from_uf32)).add_flags(Flags::EXACT_U8), [INFO] [stdout] 435 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_____|temporary value is freed at the end of this statement [INFO] [stdout] | |______|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:437:58 [INFO] [stdout] | [INFO] [stdout] 437 | pub(crate) const A8_UNORM: EncoderSet = EncoderSet::new(&[ [INFO] [stdout] | _________________________________________- ^ [INFO] [stdout] | |__________________________________________________________| [INFO] [stdout] 438 | || Encoder::copy(ColorFormat::ALPHA_U8), [INFO] [stdout] 439 | || color_convert!(ColorFormat::ALPHA_U8), [INFO] [stdout] 440 | || universal!(u8, |[_, _, _, a]| n8::from_f32(a)), [INFO] [stdout] 441 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:443:59 [INFO] [stdout] | [INFO] [stdout] 443 | pub(crate) const R16_UNORM: EncoderSet = EncoderSet::new(&[ [INFO] [stdout] | __________________________________________- ^ [INFO] [stdout] | |___________________________________________________________| [INFO] [stdout] 444 | || Encoder::copy(ColorFormat::GRAYSCALE_U16), [INFO] [stdout] 445 | || color_convert!(ColorFormat::GRAYSCALE_U16), [INFO] [stdout] 446 | || universal_grayscale!(u16, n16::from_f32), [INFO] [stdout] 447 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:449:59 [INFO] [stdout] | [INFO] [stdout] 449 | pub(crate) const R16_SNORM: EncoderSet = EncoderSet::new(&[ [INFO] [stdout] | __________________________________________- ^ [INFO] [stdout] | |___________________________________________________________| [INFO] [stdout] 450 | || color_convert!(ColorFormat::GRAYSCALE_U16, snorm = true), [INFO] [stdout] 451 | || universal_grayscale!(u16, s16::from_uf32), [INFO] [stdout] 452 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:455:22 [INFO] [stdout] | [INFO] [stdout] 455 | EncoderSet::new(&[ [INFO] [stdout] | _____- ^ [INFO] [stdout] | |______________________| [INFO] [stdout] 456 | || universal!([u16; 2], |[r, g, _, _]| [r, g].map(n16::from_f32)).add_flags(Flags::EXACT_U16), [INFO] [stdout] 457 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_____|temporary value is freed at the end of this statement [INFO] [stdout] | |______|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:460:22 [INFO] [stdout] | [INFO] [stdout] 460 | EncoderSet::new(&[ [INFO] [stdout] | _____- ^ [INFO] [stdout] | |______________________| [INFO] [stdout] 461 | || universal!([u16; 2], |[r, g, _, _]| [r, g].map(s16::from_uf32)).add_flags(Flags::EXACT_U16), [INFO] [stdout] 462 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_____|temporary value is freed at the end of this statement [INFO] [stdout] | |______|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:464:68 [INFO] [stdout] | [INFO] [stdout] 464 | pub(crate) const R16G16B16A16_UNORM: EncoderSet = EncoderSet::new(&[ [INFO] [stdout] | ___________________________________________________- ^ [INFO] [stdout] | |____________________________________________________________________| [INFO] [stdout] 465 | || Encoder::copy(ColorFormat::RGBA_U16), [INFO] [stdout] 466 | || color_convert!(ColorFormat::RGBA_U16), [INFO] [stdout] 467 | || universal!([u16; 4], |rgba| rgba.map(n16::from_f32)), [INFO] [stdout] 468 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:470:68 [INFO] [stdout] | [INFO] [stdout] 470 | pub(crate) const R16G16B16A16_SNORM: EncoderSet = EncoderSet::new(&[ [INFO] [stdout] | ___________________________________________________- ^ [INFO] [stdout] | |____________________________________________________________________| [INFO] [stdout] 471 | || color_convert!(ColorFormat::RGBA_U16, snorm = true), [INFO] [stdout] 472 | || universal!([u16; 4], |rgba| rgba.map(s16::from_uf32)), [INFO] [stdout] 473 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:475:67 [INFO] [stdout] | [INFO] [stdout] 475 | pub(crate) const R10G10B10A2_UNORM: EncoderSet = EncoderSet::new(&[ [INFO] [stdout] | __________________________________________________- ^ [INFO] [stdout] | |___________________________________________________________________| [INFO] [stdout] 476 | || universal!(u32, |[r, g, b, a]| { [INFO] [stdout] 477 | || let r = n10::from_f32(r) as u32; [INFO] [stdout] 478 | || let g = n10::from_f32(g) as u32; [INFO] [stdout] ... || [INFO] [stdout] 500 | || .add_flags(Flags::DITHER_ALL), [INFO] [stdout] 501 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:503:65 [INFO] [stdout] | [INFO] [stdout] 503 | pub(crate) const R11G11B10_FLOAT: EncoderSet = EncoderSet::new(&[ [INFO] [stdout] | ________________________________________________- ^ [INFO] [stdout] | |_________________________________________________________________| [INFO] [stdout] 504 | || universal!(u32, |[r, g, b, _]| { [INFO] [stdout] 505 | || let r11 = fp11::from_f32(r) as u32; [INFO] [stdout] 506 | || let g11 = fp11::from_f32(g) as u32; [INFO] [stdout] ... || [INFO] [stdout] 525 | || .add_flags(Flags::DITHER_COLOR), [INFO] [stdout] 526 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:529:22 [INFO] [stdout] | [INFO] [stdout] 529 | EncoderSet::new(&[ [INFO] [stdout] | _____- ^ [INFO] [stdout] | |______________________| [INFO] [stdout] 530 | || universal!(u32, |[r, g, b, _]| { rgb9995f::from_f32([r, g, b]) }) [INFO] [stdout] 531 | || .add_flags(Flags::EXACT_U8), [INFO] [stdout] 532 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_____|temporary value is freed at the end of this statement [INFO] [stdout] | |______|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:535:22 [INFO] [stdout] | [INFO] [stdout] 535 | EncoderSet::new(&[universal_grayscale!(u16, fp16::from_f32).add_flags(Flags::EXACT_U8)]); [INFO] [stdout] | -----------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | | [INFO] [stdout] | | | temporary value is freed at the end of this statement [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:538:22 [INFO] [stdout] | [INFO] [stdout] 538 | EncoderSet::new(&[ [INFO] [stdout] | _____- ^ [INFO] [stdout] | |______________________| [INFO] [stdout] 539 | || universal!([u16; 2], |[r, g, _, _]| [r, g].map(fp16::from_f32)).add_flags(Flags::EXACT_U8), [INFO] [stdout] 540 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_____|temporary value is freed at the end of this statement [INFO] [stdout] | |______|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:543:22 [INFO] [stdout] | [INFO] [stdout] 543 | EncoderSet::new(&[ [INFO] [stdout] | _____- ^ [INFO] [stdout] | |______________________| [INFO] [stdout] 544 | || universal!([u16; 4], |rgba| rgba.map(fp16::from_f32)).add_flags(Flags::EXACT_U8) [INFO] [stdout] 545 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_____|temporary value is freed at the end of this statement [INFO] [stdout] | |______|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:547:59 [INFO] [stdout] | [INFO] [stdout] 547 | pub(crate) const R32_FLOAT: EncoderSet = EncoderSet::new(&[ [INFO] [stdout] | __________________________________________- ^ [INFO] [stdout] | |___________________________________________________________| [INFO] [stdout] 548 | || Encoder::copy(ColorFormat::GRAYSCALE_F32), [INFO] [stdout] 549 | || color_convert!(ColorFormat::GRAYSCALE_F32), [INFO] [stdout] 550 | || universal_grayscale!(f32, |r| r), [INFO] [stdout] 551 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:554:22 [INFO] [stdout] | [INFO] [stdout] 554 | EncoderSet::new(&[universal!([f32; 2], |[r, g, _, _]| [r, g]).add_flags(Flags::EXACT_F32)]); [INFO] [stdout] | -----------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | | [INFO] [stdout] | | | temporary value is freed at the end of this statement [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:556:65 [INFO] [stdout] | [INFO] [stdout] 556 | pub(crate) const R32G32B32_FLOAT: EncoderSet = EncoderSet::new(&[ [INFO] [stdout] | ________________________________________________- ^ [INFO] [stdout] | |_________________________________________________________________| [INFO] [stdout] 557 | || Encoder::copy(ColorFormat::RGB_F32), [INFO] [stdout] 558 | || color_convert!(ColorFormat::RGB_F32), [INFO] [stdout] 559 | || universal!([f32; 3], |[r, g, b, _]| [r, g, b]), [INFO] [stdout] 560 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:562:68 [INFO] [stdout] | [INFO] [stdout] 562 | pub(crate) const R32G32B32A32_FLOAT: EncoderSet = EncoderSet::new(&[ [INFO] [stdout] | ___________________________________________________- ^ [INFO] [stdout] | |____________________________________________________________________| [INFO] [stdout] 563 | || Encoder::copy(ColorFormat::RGBA_F32), [INFO] [stdout] 564 | || color_convert!(ColorFormat::RGBA_F32), [INFO] [stdout] 565 | || universal!([f32; 4], |[r, g, b, a]| [r, g, b, a]), [INFO] [stdout] 566 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:568:76 [INFO] [stdout] | [INFO] [stdout] 568 | pub(crate) const R10G10B10_XR_BIAS_A2_UNORM: EncoderSet = EncoderSet::new(&[ [INFO] [stdout] | ___________________________________________________________- ^ [INFO] [stdout] | |____________________________________________________________________________| [INFO] [stdout] 569 | || universal!(u32, |[r, g, b, a]| { [INFO] [stdout] 570 | || let r = xr10::from_f32(r) as u32; [INFO] [stdout] 571 | || let g = xr10::from_f32(g) as u32; [INFO] [stdout] ... || [INFO] [stdout] 593 | || .add_flags(Flags::DITHER_ALL), [INFO] [stdout] 594 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:596:54 [INFO] [stdout] | [INFO] [stdout] 596 | pub(crate) const AYUV: EncoderSet = EncoderSet::new(&[universal!([u8; 4], |[r, g, b, a]| { [INFO] [stdout] | _____________________________________- ^ [INFO] [stdout] | |______________________________________________________| [INFO] [stdout] 597 | || let [y, u, v] = yuv8::from_rgb_f32([r, g, b]); [INFO] [stdout] 598 | || let a = n8::from_f32(a); [INFO] [stdout] 599 | || [v, u, y, a] [INFO] [stdout] 600 | || })]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||___|temporary value is freed at the end of this statement [INFO] [stdout] | |____|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:602:54 [INFO] [stdout] | [INFO] [stdout] 602 | pub(crate) const Y410: EncoderSet = EncoderSet::new(&[ [INFO] [stdout] | _____________________________________- ^ [INFO] [stdout] | |______________________________________________________| [INFO] [stdout] 603 | || universal!(u32, |[r, g, b, a]| { [INFO] [stdout] 604 | || let [y, u, v] = yuv10::from_rgb_f32([r, g, b]); [INFO] [stdout] 605 | || let a = n2::from_f32(a) as u32; [INFO] [stdout] ... || [INFO] [stdout] 621 | || .add_flags(Flags::DITHER_ALPHA), [INFO] [stdout] 622 | || ]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||_|temporary value is freed at the end of this statement [INFO] [stdout] | |__|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dds-0.1.0/src/encode/uncompressed.rs:624:54 [INFO] [stdout] | [INFO] [stdout] 624 | pub(crate) const Y416: EncoderSet = EncoderSet::new(&[universal!([u16; 4], |[r, g, b, a]| { [INFO] [stdout] | _____________________________________- ^ [INFO] [stdout] | |______________________________________________________| [INFO] [stdout] 625 | || let [y, u, v] = yuv16::from_rgb_f32([r, g, b]); [INFO] [stdout] 626 | || let a = n16::from_f32(a); [INFO] [stdout] 627 | || [u, y, v, a] [INFO] [stdout] 628 | || }) [INFO] [stdout] 629 | || .add_flags(Flags::EXACT_U8)]); [INFO] [stdout] | || ^- [INFO] [stdout] | || || [INFO] [stdout] | ||____________________________|temporary value is freed at the end of this statement [INFO] [stdout] | |_____________________________|argument requires that borrow lasts for `'static` [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dds` (lib) due to 129 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7264a3bb1240980a77af13c38e6cc6eefbce9df899d248270cc55576953160e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7264a3bb1240980a77af13c38e6cc6eefbce9df899d248270cc55576953160e1", kill_on_drop: false }` [INFO] [stdout] 7264a3bb1240980a77af13c38e6cc6eefbce9df899d248270cc55576953160e1