>>> rav1e: Building community/rav1e 0.7.1-r0 (using abuild 3.15.0_rc3-r2) started Fri, 09 May 2025 21:21:40 +0000 >>> rav1e: Validating /home/buildozer/aports/community/rav1e/APKBUILD... >>> rav1e: Analyzing dependencies... >>> rav1e: Installing for build: build-base cargo cargo-c nasm cargo-auditable (1/12) Installing libffi (3.4.8-r0) (2/12) Installing xz-libs (5.8.1-r0) (3/12) Installing libxml2 (2.13.8-r0) (4/12) Installing llvm20-libs (20.1.4-r0) (5/12) Installing scudo-malloc (20.1.4-r0) (6/12) Installing rust (1.86.0-r2) (7/12) Installing cargo (1.86.0-r2) (8/12) Installing libssh2 (1.11.1-r0) (9/12) Installing cargo-c (0.10.12-r0) (10/12) Installing nasm (2.16.03-r0) (11/12) Installing cargo-auditable (0.6.7-r0) (12/12) Installing .makedepends-rav1e (20250509.212141) Executing busybox-1.37.0-r17.trigger OK: 806 MiB in 115 packages >>> rav1e: Cleaning up srcdir >>> rav1e: Cleaning up pkgdir >>> rav1e: Cleaning up tmpdir >>> rav1e: Fetching https://distfiles.alpinelinux.org/distfiles/v3.22/rav1e-0.7.1.tar.gz >>> rav1e: Fetching https://distfiles.alpinelinux.org/distfiles/v3.22/rav1e-0.7.1.tar.gz >>> rav1e: Checking sha512sums... rav1e-0.7.1.tar.gz: OK upgrade-rust-libc-to-support-loongarch64.patch: OK >>> rav1e: Unpacking /var/cache/distfiles/v3.22/rav1e-0.7.1.tar.gz... >>> rav1e: upgrade-rust-libc-to-support-loongarch64.patch patching file Cargo.lock Compiling crossbeam-utils v0.8.19 Compiling proc-macro2 v1.0.76 Compiling unicode-ident v1.0.12 Compiling autocfg v1.1.0 Compiling libc v0.2.155 Compiling rayon-core v1.12.0 Compiling pkg-config v0.3.28 Compiling vcpkg v0.2.15 Compiling tinyvec_macros v0.1.1 Compiling num-traits v0.2.17 Compiling tinyvec v1.6.0 Compiling quote v1.0.35 Compiling crossbeam-epoch v0.9.18 Compiling jobserver v0.1.27 Compiling syn v2.0.48 Compiling percent-encoding v2.3.1 Compiling rustix v0.38.28 Compiling cc v1.0.83 Compiling unicode-normalization v0.1.22 Compiling unicode-bidi v0.3.14 Compiling crossbeam-deque v0.8.5 Compiling errno v0.3.8 Compiling form_urlencoded v1.2.1 Compiling num-integer v0.1.45 Compiling either v1.9.0 Compiling linux-raw-sys v0.4.12 Compiling idna v0.5.0 Compiling utf8parse v0.2.1 Compiling bitflags v2.4.1 Compiling anstyle-parse v0.2.3 Compiling num-bigint v0.4.4 Compiling anstyle v1.0.4 Compiling cfg-if v1.0.0 Compiling url v2.5.0 Compiling colorchoice v1.0.0 Compiling libz-sys v1.1.14 Compiling libgit2-sys v0.16.1+1.7.1 Compiling anstyle-query v1.0.2 Compiling log v0.4.20 Compiling rayon v1.8.0 Compiling anstream v0.6.5 Compiling terminal_size v0.3.0 Compiling num-rational v0.4.1 Compiling anyhow v1.0.79 Compiling noop_proc_macro v0.3.0 Compiling clap_lex v0.6.0 Compiling heck v0.4.1 Compiling thiserror v1.0.56 Compiling clap_builder v4.4.14 Compiling crossbeam-queue v0.3.11 Compiling crossbeam-channel v0.5.11 Compiling signal-hook v0.3.17 Compiling minimal-lexical v0.2.1 Compiling memchr v2.7.1 Compiling paste v1.0.14 Compiling nom v7.1.3 Compiling crossbeam v0.8.4 Compiling itertools v0.10.5 Compiling nasm-rs v0.2.5 Compiling signal-hook-registry v1.4.1 Compiling arrayvec v0.7.4 Compiling bitstream-io v2.2.0 Compiling profiling-procmacros v1.0.13 Compiling num-derive v0.4.1 Compiling thiserror-impl v1.0.56 Compiling clap_derive v4.4.7 Compiling unicode-width v0.1.11 Compiling lazy_static v1.4.0 Compiling lab v0.11.0 Compiling profiling v1.0.13 Compiling console v0.15.8 Compiling ivf v0.1.3 (/home/buildozer/aports/community/rav1e/src/rav1e-0.7.1/ivf) Compiling arg_enum_proc_macro v0.3.4 Compiling maybe-rayon v0.1.1 Compiling fern v0.6.2 Compiling itertools v0.12.0 Compiling v_frame v0.3.7 Compiling simd_helpers v0.1.0 Compiling new_debug_unreachable v1.0.4 Compiling av-metrics v0.9.1 Compiling av1-grain v0.2.3 Compiling once_cell v1.19.0 Compiling scan_fmt v0.2.6 Compiling y4m v0.8.0 Compiling clap v4.4.14 Compiling clap_complete v4.4.6 Compiling git2 v0.18.1 Compiling built v0.7.1 Compiling rav1e v0.7.1 (/home/buildozer/aports/community/rav1e/src/rav1e-0.7.1) warning: unexpected `cfg` condition name: `cargo_c` --> src/lib.rs:146:11 | 146 | #[cfg(any(cargo_c, feature = "capi"))] | ^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cargo_c)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cargo_c)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `fuzzing` --> src/lib.rs:358:13 | 358 | any(test, fuzzing), | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `fuzzing` --> src/lib.rs:412:7 | 412 | #[cfg(fuzzing)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/transform/forward.rs:16:12 | 16 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/transform/forward.rs:18:19 | 18 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/transform/inverse.rs:11:12 | 11 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/transform/inverse.rs:13:19 | 13 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/cpu_features/mod.rs:11:12 | 11 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/cpu_features/mod.rs:15:19 | 15 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/asm/mod.rs:10:7 | 10 | #[cfg(nasm_x86_64)] | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/asm/mod.rs:13:7 | 13 | #[cfg(asm_neon)] | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/asm/mod.rs:16:11 | 16 | #[cfg(any(nasm_x86_64, asm_neon))] | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/asm/mod.rs:16:24 | 16 | #[cfg(any(nasm_x86_64, asm_neon))] | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/dist.rs:11:12 | 11 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/dist.rs:13:19 | 13 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/ec.rs:14:12 | 14 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/predict.rs:17:12 | 17 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/predict.rs:19:19 | 19 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/quantize/mod.rs:15:12 | 15 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/cdef.rs:21:12 | 21 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/cdef.rs:23:19 | 23 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/lrf.rs:11:12 | 11 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/mc.rs:11:12 | 11 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/mc.rs:13:19 | 13 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/sad_plane.rs:11:12 | 11 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: fields `row` and `col` are never read --> src/lrf.rs:1270:7 | 1269 | pub struct RestorationPlaneOffset { | ---------------------- fields in this struct 1270 | pub row: usize, | ^^^ 1271 | pub col: usize, | ^^^ | = note: `RestorationPlaneOffset` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:24:3 | 24 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ChromaSamplePosition` ... 30 | pub enum ChromaSamplePosition { | -------------------- `ChromaSamplePosition` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:54:3 | 54 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ColorPrimaries` ... 60 | pub enum ColorPrimaries { | -------------- `ColorPrimaries` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:98:3 | 98 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TransferCharacteristics` ... 104 | pub enum TransferCharacteristics { | ----------------------- `TransferCharacteristics` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:152:3 | 152 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MatrixCoefficients` ... 158 | pub enum MatrixCoefficients { | ------------------ `MatrixCoefficients` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:220:3 | 220 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PixelRange` ... 226 | pub enum PixelRange { | ---------- `PixelRange` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/config/speedsettings.rs:317:3 | 317 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SceneDetectionSpeed` ... 321 | pub enum SceneDetectionSpeed { | ------------------- `SceneDetectionSpeed` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/config/speedsettings.rs:353:3 | 353 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PredictionModesSetting` ... 357 | pub enum PredictionModesSetting { | ---------------------- `PredictionModesSetting` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/config/speedsettings.rs:396:3 | 396 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SGRComplexityLevel` ... 400 | pub enum SGRComplexityLevel { | ------------------ `SGRComplexityLevel` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/config/speedsettings.rs:428:3 | 428 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SegmentationLevel` ... 432 | pub enum SegmentationLevel { | ----------------- `SegmentationLevel` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/frame/mod.rs:28:45 | 28 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive, Default)] | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FrameTypeOverride` 29 | #[repr(C)] 30 | pub enum FrameTypeOverride { | ----------------- `FrameTypeOverride` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `rav1e` (lib) generated 36 warnings warning: field `save_config` is never read --> src/bin/common.rs:342:7 | 329 | pub struct ParsedCliOptions { | ---------------- field in this struct ... 342 | pub save_config: Option, | ^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: field `0` is never read --> src/bin/decoder/mod.rs:34:11 | 34 | IoError(io::Error), | ------- ^^^^^^^^^ | | | field in this variant | = note: `DecodeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 34 - IoError(io::Error), 34 + IoError(()), | warning: `rav1e` (bin "rav1e") generated 2 warnings Finished `release` profile [optimized] target(s) in 1m 46s Updating crates.io index Downloading crates ... Downloaded anyhow v1.0.79 Downloaded autocfg v1.1.0 Downloaded arg_enum_proc_macro v0.3.4 Downloaded anstyle-query v1.0.2 Downloaded av-metrics v0.9.1 Downloaded errno v0.3.8 Downloaded arrayvec v0.7.4 Downloaded anstyle-parse v0.2.3 Downloaded anstream v0.6.5 Downloaded anstyle v1.0.4 Downloaded crossbeam v0.8.4 Downloaded num-integer v0.1.45 Downloaded nasm-rs v0.2.5 Downloaded y4m v0.8.0 Downloaded once_cell v1.19.0 Downloaded log v0.4.20 Downloaded proc-macro2 v1.0.76 Downloaded minimal-lexical v0.2.1 Downloaded noop_proc_macro v0.3.0 Downloaded itertools v0.10.5 Downloaded profiling-procmacros v1.0.13 Downloaded unicode-ident v1.0.12 Downloaded thiserror v1.0.56 Downloaded thiserror-impl v1.0.56 Downloaded unicode-bidi v0.3.14 Downloaded jobserver v0.1.27 Downloaded tinyvec v1.6.0 Downloaded signal-hook v0.3.17 Downloaded idna v0.5.0 Downloaded cc v1.0.83 Downloaded memchr v2.7.1 Downloaded rayon v1.8.0 Downloaded itertools v0.12.0 Downloaded unicode-normalization v0.1.22 Downloaded nom v7.1.3 Downloaded rayon-core v1.12.0 Downloaded num-bigint v0.4.4 Downloaded crossbeam-channel v0.5.11 Downloaded url v2.5.0 Downloaded vcpkg v0.2.15 Downloaded rustix v0.38.28 Downloaded syn v2.0.48 Downloaded clap_builder v4.4.14 Downloaded num-traits v0.2.17 Downloaded clap_derive v4.4.7 Downloaded bitflags v2.4.1 Downloaded clap_complete v4.4.6 Downloaded pkg-config v0.3.28 Downloaded terminal_size v0.3.0 Downloaded crossbeam-queue v0.3.11 Downloaded signal-hook-registry v1.4.1 Downloaded num-derive v0.4.1 Downloaded scan_fmt v0.2.6 Downloaded clap v4.4.14 Downloaded heck v0.4.1 Downloaded quote v1.0.35 Downloaded new_debug_unreachable v1.0.4 Downloaded av1-grain v0.2.3 Downloaded maybe-rayon v0.1.1 Downloaded libc v0.2.155 Downloaded bitstream-io v2.2.0 Downloaded v_frame v0.3.7 Downloaded utf8parse v0.2.1 Downloaded unicode-width v0.1.11 Downloaded simd_helpers v0.1.0 Downloaded profiling v1.0.13 Downloaded libgit2-sys v0.16.1+1.7.1 Downloaded paste v1.0.14 Downloaded num-rational v0.4.1 Downloaded lazy_static v1.4.0 Downloaded lab v0.11.0 Downloaded git2 v0.18.1 Downloaded either v1.9.0 Downloaded built v0.7.1 Downloaded clap_lex v0.6.0 Downloaded console v0.15.8 Downloaded colorchoice v1.0.0 Downloaded fern v0.6.2 Downloaded crossbeam-utils v0.8.19 Downloaded linux-raw-sys v0.4.12 Downloaded libz-sys v1.1.14 Compiling crossbeam-utils v0.8.19 Compiling proc-macro2 v1.0.76 Compiling unicode-ident v1.0.12 Compiling autocfg v1.1.0 Compiling libc v0.2.155 Compiling rayon-core v1.12.0 Compiling pkg-config v0.3.28 Compiling vcpkg v0.2.15 Compiling tinyvec_macros v0.1.1 Compiling num-traits v0.2.17 Compiling tinyvec v1.6.0 Compiling quote v1.0.35 Compiling crossbeam-epoch v0.9.18 Compiling syn v2.0.48 Compiling jobserver v0.1.27 Compiling percent-encoding v2.3.1 Compiling cc v1.0.83 Compiling unicode-bidi v0.3.14 Compiling rustix v0.38.28 Compiling crossbeam-deque v0.8.5 Compiling unicode-normalization v0.1.22 Compiling form_urlencoded v1.2.1 Compiling errno v0.3.8 Compiling num-integer v0.1.45 Compiling bitflags v2.4.1 Compiling linux-raw-sys v0.4.12 Compiling utf8parse v0.2.1 Compiling either v1.9.0 Compiling anstyle-parse v0.2.3 Compiling num-bigint v0.4.4 Compiling log v0.4.20 Compiling idna v0.5.0 Compiling colorchoice v1.0.0 Compiling anstyle-query v1.0.2 Compiling anstyle v1.0.4 Compiling cfg-if v1.0.0 Compiling rayon v1.8.0 Compiling libz-sys v1.1.14 Compiling libgit2-sys v0.16.1+1.7.1 Compiling anstream v0.6.5 Compiling url v2.5.0 Compiling num-rational v0.4.1 Compiling terminal_size v0.3.0 Compiling thiserror v1.0.56 Compiling heck v0.4.1 Compiling noop_proc_macro v0.3.0 Compiling anyhow v1.0.79 Compiling clap_lex v0.6.0 Compiling clap_builder v4.4.14 Compiling crossbeam-queue v0.3.11 Compiling crossbeam-channel v0.5.11 Compiling memchr v2.7.1 Compiling minimal-lexical v0.2.1 Compiling paste v1.0.14 Compiling signal-hook v0.3.17 Compiling nasm-rs v0.2.5 Compiling nom v7.1.3 Compiling crossbeam v0.8.4 Compiling itertools v0.10.5 Compiling signal-hook-registry v1.4.1 Compiling lazy_static v1.4.0 Compiling arrayvec v0.7.4 Compiling unicode-width v0.1.11 Compiling lab v0.11.0 Compiling bitstream-io v2.2.0 Compiling console v0.15.8 Compiling maybe-rayon v0.1.1 Compiling profiling-procmacros v1.0.13 Compiling num-derive v0.4.1 Compiling thiserror-impl v1.0.56 Compiling clap_derive v4.4.7 Compiling profiling v1.0.13 Compiling ivf v0.1.3 (/home/buildozer/aports/community/rav1e/src/rav1e-0.7.1/ivf) Compiling arg_enum_proc_macro v0.3.4 Compiling fern v0.6.2 Compiling itertools v0.12.0 Compiling simd_helpers v0.1.0 Compiling v_frame v0.3.7 Compiling y4m v0.8.0 Compiling new_debug_unreachable v1.0.4 Compiling scan_fmt v0.2.6 Compiling av1-grain v0.2.3 Compiling once_cell v1.19.0 Compiling av-metrics v0.9.1 Compiling clap v4.4.14 Compiling clap_complete v4.4.6 Compiling git2 v0.18.1 Compiling built v0.7.1 Compiling rav1e v0.7.1 (/home/buildozer/aports/community/rav1e/src/rav1e-0.7.1) warning: unexpected `cfg` condition name: `cargo_c` --> src/lib.rs:146:11 | 146 | #[cfg(any(cargo_c, feature = "capi"))] | ^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cargo_c)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cargo_c)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `fuzzing` --> src/lib.rs:358:13 | 358 | any(test, fuzzing), | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `fuzzing` --> src/lib.rs:412:7 | 412 | #[cfg(fuzzing)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:51:29 | 51 | type FrameOpaqueCb = Option; | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` | = note: `#[warn(missing_abi)]` on by default warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:396:12 | 396 | pub unsafe extern fn rav1e_version_short() -> *const c_char { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:411:12 | 411 | pub unsafe extern fn rav1e_version_full() -> *const c_char { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:432:12 | 432 | pub unsafe extern fn rav1e_data_unref(data: *mut Data) { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:445:12 | 445 | pub unsafe extern fn rav1e_config_default() -> *mut Config { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:488:12 | 488 | pub unsafe extern fn rav1e_config_set_rc_summary( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:518:12 | 518 | pub unsafe extern fn rav1e_config_set_emit_data( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:528:12 | 528 | pub unsafe extern fn rav1e_config_set_sample_aspect_ratio( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:538:12 | 538 | pub unsafe extern fn rav1e_config_set_time_base( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:552:12 | 552 | pub unsafe extern fn rav1e_config_set_pixel_format( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:592:12 | 592 | pub unsafe extern fn rav1e_config_set_color_description( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:613:12 | 613 | pub unsafe extern fn rav1e_config_set_content_light( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:639:12 | 639 | pub unsafe extern fn rav1e_config_set_mastering_display( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:662:12 | 662 | pub unsafe extern fn rav1e_config_unref(cfg: *mut Config) { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:768:12 | 768 | pub unsafe extern fn rav1e_config_parse( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:786:12 | 786 | pub unsafe extern fn rav1e_config_parse_int( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:814:12 | 814 | pub unsafe extern fn rav1e_context_new(cfg: *const Config) -> *mut Context { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:832:12 | 832 | pub unsafe extern fn rav1e_context_unref(ctx: *mut Context) { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:845:12 | 845 | pub unsafe extern fn rav1e_frame_new(ctx: *const Context) -> *mut Frame { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:856:12 | 856 | pub unsafe extern fn rav1e_frame_unref(frame: *mut Frame) { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:866:12 | 866 | pub unsafe extern fn rav1e_frame_set_type( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:887:12 | 887 | pub unsafe extern fn rav1e_frame_set_opaque( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:905:12 | 905 | pub unsafe extern fn rav1e_frame_add_t35_metadata( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:933:12 | 933 | pub unsafe extern fn rav1e_twopass_out(ctx: *mut Context) -> *mut Data { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:977:12 | 977 | pub unsafe extern fn rav1e_rc_summary_size(ctx: *const Context) -> size_t { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:992:12 | 992 | pub unsafe extern fn rav1e_rc_receive_pass_data( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:1036:12 | 1036 | pub unsafe extern fn rav1e_rc_second_pass_data_required( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:1057:12 | 1057 | pub unsafe extern fn rav1e_rc_send_pass_data( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:1089:12 | 1089 | pub unsafe extern fn rav1e_twopass_bytes_needed(ctx: *mut Context) -> size_t { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:1100:12 | 1100 | pub unsafe extern fn rav1e_twopass_in( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:1129:12 | 1129 | pub unsafe extern fn rav1e_send_frame( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:1179:12 | 1179 | pub unsafe extern fn rav1e_last_status(ctx: *const Context) -> EncoderStatus { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:1186:12 | 1186 | pub unsafe extern fn rav1e_status_to_str( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:1203:12 | 1203 | pub unsafe extern fn rav1e_receive_packet( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:1222:12 | 1222 | pub unsafe extern fn rav1e_packet_unref(pkt: *mut Packet) { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:1241:12 | 1241 | pub unsafe extern fn rav1e_container_sequence_header( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:1299:12 | 1299 | pub unsafe extern fn rav1e_frame_fill_plane( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:1332:12 | 1332 | pub unsafe extern fn rav1e_frame_extract_plane( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/transform/forward.rs:16:12 | 16 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/transform/forward.rs:18:19 | 18 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/transform/inverse.rs:11:12 | 11 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/transform/inverse.rs:13:19 | 13 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/cpu_features/mod.rs:11:12 | 11 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/cpu_features/mod.rs:15:19 | 15 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/asm/mod.rs:10:7 | 10 | #[cfg(nasm_x86_64)] | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/asm/mod.rs:13:7 | 13 | #[cfg(asm_neon)] | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/asm/mod.rs:16:11 | 16 | #[cfg(any(nasm_x86_64, asm_neon))] | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/asm/mod.rs:16:24 | 16 | #[cfg(any(nasm_x86_64, asm_neon))] | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/dist.rs:11:12 | 11 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/dist.rs:13:19 | 13 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/ec.rs:14:12 | 14 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/predict.rs:17:12 | 17 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/predict.rs:19:19 | 19 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/quantize/mod.rs:15:12 | 15 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/cdef.rs:21:12 | 21 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/cdef.rs:23:19 | 23 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/lrf.rs:11:12 | 11 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/mc.rs:11:12 | 11 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/mc.rs:13:19 | 13 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/sad_plane.rs:11:12 | 11 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: fields `row` and `col` are never read --> src/lrf.rs:1270:7 | 1269 | pub struct RestorationPlaneOffset { | ---------------------- fields in this struct 1270 | pub row: usize, | ^^^ 1271 | pub col: usize, | ^^^ | = note: `RestorationPlaneOffset` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/capi.rs:121:30 | 121 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)] | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EncoderStatus` 122 | pub enum EncoderStatus { | ------------- `EncoderStatus` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:24:3 | 24 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ChromaSamplePosition` ... 30 | pub enum ChromaSamplePosition { | -------------------- `ChromaSamplePosition` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:54:3 | 54 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ColorPrimaries` ... 60 | pub enum ColorPrimaries { | -------------- `ColorPrimaries` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:98:3 | 98 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TransferCharacteristics` ... 104 | pub enum TransferCharacteristics { | ----------------------- `TransferCharacteristics` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:152:3 | 152 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MatrixCoefficients` ... 158 | pub enum MatrixCoefficients { | ------------------ `MatrixCoefficients` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:220:3 | 220 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PixelRange` ... 226 | pub enum PixelRange { | ---------- `PixelRange` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/config/speedsettings.rs:317:3 | 317 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SceneDetectionSpeed` ... 321 | pub enum SceneDetectionSpeed { | ------------------- `SceneDetectionSpeed` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/config/speedsettings.rs:353:3 | 353 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PredictionModesSetting` ... 357 | pub enum PredictionModesSetting { | ---------------------- `PredictionModesSetting` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/config/speedsettings.rs:396:3 | 396 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SGRComplexityLevel` ... 400 | pub enum SGRComplexityLevel { | ------------------ `SGRComplexityLevel` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/config/speedsettings.rs:428:3 | 428 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SegmentationLevel` ... 432 | pub enum SegmentationLevel { | ----------------- `SegmentationLevel` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/frame/mod.rs:28:45 | 28 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive, Default)] | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FrameTypeOverride` 29 | #[repr(C)] 30 | pub enum FrameTypeOverride { | ----------------- `FrameTypeOverride` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `rav1e` (lib) generated 75 warnings (run `cargo fix --lib -p rav1e` to apply 38 suggestions) Finished `release` profile [optimized] target(s) in 1m 25s Building pkg-config files Building header file using cbindgen Populating uninstalled header directory Compiling proc-macro2 v1.0.76 Compiling unicode-ident v1.0.12 Compiling crossbeam-utils v0.8.19 Compiling libc v0.2.155 Compiling autocfg v1.1.0 Compiling rayon-core v1.12.0 Compiling memchr v2.7.1 Compiling pkg-config v0.3.28 Compiling either v1.9.0 Compiling vcpkg v0.2.15 Compiling num-traits v0.2.17 Compiling cfg-if v1.0.0 Compiling quote v1.0.35 Compiling jobserver v0.1.27 Compiling syn v2.0.48 Compiling rustix v0.38.28 Compiling tinyvec_macros v0.1.1 Compiling cc v1.0.83 Compiling tinyvec v1.6.0 Compiling crossbeam-epoch v0.9.18 Compiling linux-raw-sys v0.4.12 Compiling errno v0.3.8 Compiling anstyle v1.0.4 Compiling bitflags v2.4.1 Compiling unicode-normalization v0.1.22 Compiling crossbeam-deque v0.8.5 Compiling percent-encoding v2.3.1 Compiling utf8parse v0.2.1 Compiling unicode-bidi v0.3.14 Compiling form_urlencoded v1.2.1 Compiling libz-sys v1.1.14 Compiling libgit2-sys v0.16.1+1.7.1 Compiling anstyle-parse v0.2.3 Compiling idna v0.5.0 Compiling aho-corasick v1.1.2 Compiling num-integer v0.1.45 Compiling colorchoice v1.0.0 Compiling anstyle-query v1.0.2 Compiling regex-syntax v0.8.2 Compiling anstream v0.6.5 Compiling url v2.5.0 Compiling terminal_size v0.3.0 Compiling num-bigint v0.4.4 Compiling clap_lex v0.6.0 Compiling log v0.4.20 Compiling serde v1.0.195 Compiling regex-automata v0.4.3 Compiling heck v0.4.1 Compiling rayon v1.8.0 Compiling clap_builder v4.4.14 Compiling num-rational v0.4.1 Compiling itertools v0.10.5 Compiling profiling-procmacros v1.0.13 Compiling clap_derive v4.4.7 Compiling profiling v1.0.13 Compiling serde_derive v1.0.195 Compiling num-derive v0.4.1 Compiling bitstream-io v2.2.0 Compiling thiserror v1.0.56 Compiling anyhow v1.0.79 Compiling noop_proc_macro v0.3.0 Compiling v_frame v0.3.7 Compiling clap v4.4.14 Compiling thiserror-impl v1.0.56 Compiling nasm-rs v0.2.5 Compiling getrandom v0.2.12 Compiling crossbeam-channel v0.5.11 Compiling crossbeam-queue v0.3.11 Compiling minimal-lexical v0.2.1 Compiling paste v1.0.14 Compiling signal-hook v0.3.17 Compiling serde_json v1.0.111 Compiling crossbeam v0.8.4 Compiling nom v7.1.3 Compiling rand_core v0.6.4 Compiling ivf v0.1.3 (/home/buildozer/aports/community/rav1e/src/rav1e-0.7.1/ivf) Compiling regex v1.10.2 Compiling signal-hook-registry v1.4.1 Compiling itoa v1.0.10 Compiling arrayvec v0.7.4 Compiling ppv-lite86 v0.2.17 Compiling lazy_static v1.4.0 Compiling ciborium-io v0.2.1 Compiling plotters-backend v0.3.5 Compiling lab v0.11.0 Compiling ryu v1.0.16 Compiling doc-comment v0.3.3 Compiling half v1.8.2 Compiling unicode-width v0.1.11 Compiling once_cell v1.19.0 Compiling predicates-core v1.0.6 Compiling ciborium-ll v0.2.1 Compiling console v0.15.8 Compiling plotters-svg v0.3.5 Compiling av-metrics v0.9.1 Compiling rand_chacha v0.3.1 Compiling av1-grain v0.2.3 Compiling clap_complete v4.4.6 Compiling maybe-rayon v0.1.1 Compiling arg_enum_proc_macro v0.3.4 Compiling fern v0.6.2 Compiling simd_helpers v0.1.0 Compiling itertools v0.11.0 Compiling itertools v0.12.0 Compiling scan_fmt v0.2.6 Compiling same-file v1.0.6 Compiling cast v0.3.0 Compiling semver v1.0.21 Compiling termtree v0.4.1 Compiling difflib v0.4.0 Compiling new_debug_unreachable v1.0.4 Compiling y4m v0.8.0 Compiling criterion-plot v0.5.0 Compiling predicates-tree v1.0.9 Compiling predicates v3.0.4 Compiling walkdir v2.4.0 Compiling tinytemplate v1.2.1 Compiling rand v0.8.5 Compiling plotters v0.3.5 Compiling ciborium v0.2.1 Compiling env_logger v0.8.4 Compiling bstr v1.9.0 Compiling is-terminal v0.4.10 Compiling wait-timeout v0.2.0 Compiling oorandom v11.1.3 Compiling anes v0.1.6 Compiling yansi v0.5.1 Compiling diff v0.1.13 Compiling pretty_assertions v1.4.0 Compiling criterion v0.5.1 Compiling assert_cmd v2.0.12 Compiling quickcheck v1.0.3 Compiling interpolate_name v0.2.4 Compiling git2 v0.18.1 Compiling built v0.7.1 Compiling rav1e v0.7.1 (/home/buildozer/aports/community/rav1e/src/rav1e-0.7.1) warning: unexpected `cfg` condition name: `cargo_c` --> src/lib.rs:146:11 | 146 | #[cfg(any(cargo_c, feature = "capi"))] | ^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cargo_c)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cargo_c)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `fuzzing` --> src/lib.rs:358:13 | 358 | any(test, fuzzing), | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `fuzzing` --> src/lib.rs:412:7 | 412 | #[cfg(fuzzing)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/transform/forward.rs:16:12 | 16 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/transform/forward.rs:18:19 | 18 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/transform/inverse.rs:11:12 | 11 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/transform/inverse.rs:13:19 | 13 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/cpu_features/mod.rs:11:12 | 11 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/cpu_features/mod.rs:15:19 | 15 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/asm/mod.rs:10:7 | 10 | #[cfg(nasm_x86_64)] | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/asm/mod.rs:13:7 | 13 | #[cfg(asm_neon)] | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/asm/mod.rs:16:11 | 16 | #[cfg(any(nasm_x86_64, asm_neon))] | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/asm/mod.rs:16:24 | 16 | #[cfg(any(nasm_x86_64, asm_neon))] | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/dist.rs:11:12 | 11 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/dist.rs:13:19 | 13 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/ec.rs:14:12 | 14 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/predict.rs:17:12 | 17 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/predict.rs:19:19 | 19 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/quantize/mod.rs:15:12 | 15 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/cdef.rs:21:12 | 21 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/cdef.rs:23:19 | 23 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/lrf.rs:11:12 | 11 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/mc.rs:11:12 | 11 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/mc.rs:13:19 | 13 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/sad_plane.rs:11:12 | 11 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: fields `row` and `col` are never read --> src/lrf.rs:1270:7 | 1269 | pub struct RestorationPlaneOffset { | ---------------------- fields in this struct 1270 | pub row: usize, | ^^^ 1271 | pub col: usize, | ^^^ | = note: `RestorationPlaneOffset` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:24:3 | 24 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ChromaSamplePosition` ... 30 | pub enum ChromaSamplePosition { | -------------------- `ChromaSamplePosition` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:54:3 | 54 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ColorPrimaries` ... 60 | pub enum ColorPrimaries { | -------------- `ColorPrimaries` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:98:3 | 98 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TransferCharacteristics` ... 104 | pub enum TransferCharacteristics { | ----------------------- `TransferCharacteristics` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:152:3 | 152 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MatrixCoefficients` ... 158 | pub enum MatrixCoefficients { | ------------------ `MatrixCoefficients` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:220:3 | 220 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PixelRange` ... 226 | pub enum PixelRange { | ---------- `PixelRange` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/config/speedsettings.rs:317:3 | 317 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SceneDetectionSpeed` ... 321 | pub enum SceneDetectionSpeed { | ------------------- `SceneDetectionSpeed` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/config/speedsettings.rs:353:3 | 353 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PredictionModesSetting` ... 357 | pub enum PredictionModesSetting { | ---------------------- `PredictionModesSetting` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/config/speedsettings.rs:396:3 | 396 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SGRComplexityLevel` ... 400 | pub enum SGRComplexityLevel { | ------------------ `SGRComplexityLevel` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/config/speedsettings.rs:428:3 | 428 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SegmentationLevel` ... 432 | pub enum SegmentationLevel { | ----------------- `SegmentationLevel` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/frame/mod.rs:28:45 | 28 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive, Default)] | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FrameTypeOverride` 29 | #[repr(C)] 30 | pub enum FrameTypeOverride { | ----------------- `FrameTypeOverride` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `rav1e` (lib) generated 36 warnings warning: field `save_config` is never read --> src/bin/common.rs:342:7 | 329 | pub struct ParsedCliOptions { | ---------------- field in this struct ... 342 | pub save_config: Option, | ^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: field `0` is never read --> src/bin/decoder/mod.rs:34:11 | 34 | IoError(io::Error), | ------- ^^^^^^^^^ | | | field in this variant | = note: `DecodeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 34 - IoError(io::Error), 34 + IoError(()), | warning: `rav1e` (bin "rav1e" test) generated 2 warnings warning: `rav1e` (lib test) generated 36 warnings (36 duplicates) warning: `rav1e` (bin "rav1e") generated 2 warnings (2 duplicates) Finished `test` profile [optimized + debuginfo] target(s) in 1m 24s Running unittests src/lib.rs (target/debug/deps/ivf-6c7992b212cd7abd) running 3 tests test tests::read_valid_headers ... ok test tests::read_valid_packet ... ok test tests::read_invalid_headers ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/lib.rs (target/debug/deps/rav1e-d3808ff5c2580659) running 131 tests test activity::ssim_boost_tests::overflow_test ... ok test activity::ssim_boost_tests::accuracy_test ... ok test activity::ssim_boost_tests::reciprocal_cube_root_test_8 ... ok test activity::ssim_boost_tests::reciprocal_cube_root_test_10 ... ok test activity::ssim_boost_tests::reciprocal_cube_root_test_12 ... ok test api::test::flush_unlimited_low_latency_scene_change_detection ... ok test api::test::guess_frame_subtypes_assert ... ok test api::test::large_width_assert ... ok test api::test::log_q_exp_overflow ... ok test api::test::flush_low_latency_scene_change_detection ... ok test api::test::flush_unlimited_low_latency_no_scene_change ... ok test api::test::flush_low_latency_no_scene_change ... ok test api::test::flush_reorder_scene_change_detection ... ok test api::test::flush_reorder_no_scene_change ... ok test api::test::max_key_frame_interval_overflow ... ok test api::test::lookahead_size_properly_bounded_lowlatency_1 ... ok test api::test::flush_unlimited_reorder_no_scene_change ... ok test api::test::minimum_frame_delay ... ok test api::test::output_frameno_incremental_reorder_keyframe_at_0 ... ok test api::test::output_frameno_incremental_reorder_keyframe_at_1 ... ok test api::test::output_frameno_incremental_reorder_keyframe_at_2 ... ok test api::test::output_frameno_incremental_reorder_keyframe_at_3 ... ok test api::test::output_frameno_incremental_reorder_keyframe_at_4 ... ok test api::test::output_frameno_incremental_reorder_minus_0 ... ok test api::test::flush_unlimited_reorder_scene_change_detection ... ok test api::test::output_frameno_incremental_reorder_minus_1 ... ok test api::test::output_frameno_incremental_reorder_minus_2 ... ok test api::test::output_frameno_incremental_reorder_minus_3 ... ok test api::test::output_frameno_incremental_reorder_minus_4 ... ok test api::test::output_frameno_incremental_reorder_scene_change_at_0 ... ok test api::test::output_frameno_incremental_reorder_scene_change_at_1 ... ok test api::test::output_frameno_incremental_reorder_scene_change_at_3 ... ok test api::test::output_frameno_incremental_reorder_scene_change_at_2 ... ok test api::test::output_frameno_low_latency_minus_0 ... ok test api::test::output_frameno_incremental_reorder_scene_change_at_4 ... ok test api::test::output_frameno_low_latency_minus_1 ... ok test api::test::output_frameno_no_scene_change_at_flash_smaller_than_max_len_flash ... ok test api::test::output_frameno_no_scene_change_at_short_flash_1 ... ok test api::test::output_frameno_no_scene_change_at_short_flash_2 ... ok test api::test::output_frameno_reorder_minus_0 ... ok test api::test::output_frameno_no_scene_change_at_short_flash_3 ... ok test api::test::output_frameno_reorder_minus_1 ... ok test api::test::output_frameno_reorder_minus_2 ... ok test api::test::output_frameno_reorder_minus_3 ... ok test api::test::output_frameno_reorder_scene_change_at_0 ... ok test api::test::output_frameno_reorder_minus_4 ... ok test api::test::output_frameno_reorder_scene_change_at_1 ... ok test api::test::output_frameno_reorder_scene_change_at_3 ... ok test api::test::output_frameno_reorder_scene_change_at_2 ... ok test api::test::output_frameno_reorder_scene_change_at_4 ... ok test api::test::output_frameno_scene_change_after_multiple_flashes ... ok test api::test::output_frameno_scene_change_before_flash_longer_than_max_flash_len ... ok test api::test::pyramid_level_low_latency_minus_0 ... ok test api::test::lookahead_size_properly_bounded_lowlatency_8 ... ok test api::test::pyramid_level_low_latency_minus_1 ... ok test api::test::pyramid_level_reorder_minus_0 ... ok test api::test::pyramid_level_reorder_minus_1 ... ok test api::test::pyramid_level_reorder_minus_3 ... ok test api::test::lookahead_size_properly_bounded_10 ... ok test api::test::pyramid_level_reorder_minus_4 ... ok test api::test::pyramid_level_reorder_scene_change_at_0 ... ok test api::test::pyramid_level_reorder_minus_2 ... ok test api::test::pyramid_level_reorder_scene_change_at_1 ... ok test api::test::rdo_lookahead_frames_overflow ... ok test api::test::reservoir_max_overflow ... ok test api::test::pyramid_level_reorder_scene_change_at_4 ... ok test api::test::target_bitrate_overflow ... ok test api::test::pyramid_level_reorder_scene_change_at_3 ... ok test api::test::pyramid_level_reorder_scene_change_at_2 ... ok test api::test::switch_frame_interval ... ok test api::test::time_base_den_divide_by_zero ... ok test api::test::tile_cols_overflow ... ok test api::test::zero_frames ... ok test cdef::rust::test::check_max_element ... ok test context::partition_unit::test::cdf_map ... ok test context::partition_unit::test::cfl_joint_sign ... ok test api::test::zero_width ... ok test dist::test::get_sad_same_u16 ... ok test dist::test::get_sad_same_u8 ... ok test dist::test::get_satd_same_u16 ... ok test ec::test::booleans ... ok test dist::test::get_satd_same_u8 ... ok test ec::test::cdf ... ok test ec::test::mixed ... ok test encoder::test::check_partition_types_order ... ok test header::tests::validate_leb128_write ... ok test partition::tests::from_wh_matches_naive ... ok test predict::test::pred_max ... ok test predict::test::pred_matches_u8 ... ok test quantize::test::gen_divu_table ... ok test api::test::test_t35_parameter ... ok test quantize::test::test_tx_log_scale ... ok test tiling::plane_region::area_test ... ok test rdo::estimate_rate_test ... ok test tiling::plane_region::frame_block_offset ... ok test quantize::test::test_divu_pair ... ok test api::test::lookahead_size_properly_bounded_8 ... ok test api::test::test_opaque_delivery ... ok test tiling::tiler::test::test_tile_area ... ok test tiling::tiler::test::test_tile_iter_len ... ok test tiling::tiler::test::test_tile_blocks_write ... ok test tiling::tiler::test::test_tile_restoration_edges ... ok test tiling::tiler::test::test_tile_restoration_write ... ok test tiling::tiler::test::test_tile_write ... ok test tiling::tiler::test::tile_log2_overflow ... ok test tiling::tiler::test::test_tile_blocks_area ... ok test tiling::tiler::test::test_tiling_info_from_tile_count ... ok test tiling::tiler::test::test_tile_motion_vectors_write ... ok test transform::test::log_tx_ratios ... ok test util::align::test::sanity_heap ... ok test transform::test::roundtrips_u16 ... ok test util::cdf::test::cdf_len_ok ... ok test transform::test::roundtrips_u8 ... ok test util::align::test::sanity_stack ... ok test util::cdf::test::cdf_5d_ok ... ok test util::cdf::test::cdf_val_panics - should panic ... ok test util::cdf::test::cdf_len_panics - should panic ... ok test util::kmeans::test::three_means ... ok test util::cdf::test::cdf_vals_ok ... ok test util::logexp::test::bexp64_vectors ... ok test util::kmeans::test::four_means ... ok test util::logexp::test::bexp_q24_vectors ... ok test util::logexp::test::blog32_vectors ... ok test util::logexp::test::blog32_q11_bexp32_q10_round_trip ... ok test util::logexp::test::blog64_vectors ... ok test tiling::tiler::test::from_target_tiles_422 ... ok test api::test::lookahead_size_properly_bounded_16 ... ok test api::test::max_quantizer_bounds_correctly ... ok test util::logexp::test::blog32_bexp_q24_round_trip ... ok test util::logexp::test::blog64_bexp64_round_trip ... ok test api::test::min_quantizer_bounds_correctly ... ok test result: ok. 131 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.93s Running unittests src/bin/rav1e.rs (target/debug/deps/rav1e-dc54d27db0af6757) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/binary.rs (target/debug/deps/binary-58079238208f1fc5) running 10 tests test binary::one_pass_qp_based_low_bitdepth ... ok test binary::one_pass_qp_based_high_bitdepth ... ok test binary::one_pass_bitrate_based_low_bitdepth ... ok test binary::one_pass_bitrate_based_high_bitdepth ... ok test binary::two_pass_bitrate_based_constrained_low_bitdepth ... ok test binary::two_pass_bitrate_based_constrained_high_bitdepth ... ok test binary::two_pass_bitrate_based_high_bitdepth ... ok test binary::two_pass_bitrate_based_low_bitdepth ... ok test binary::three_pass_bitrate_based_high_bitdepth ... ok test binary::three_pass_bitrate_based_low_bitdepth ... ok test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.55s Running tests/doctests.rs (target/debug/deps/doctests-bf3aef135704de56) running 3 tests test send_frame ... ok test encoding ... ok test receive_packet ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.19s Doc-tests ivf running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests rav1e running 12 tests test src/tiling/plane_region.rs - tiling::plane_region::PlaneRegion<'a,T>::subregion (line 435) ... ignored test src/tiling/plane_region.rs - tiling::plane_region::PlaneRegion<'a,T>::subregion (line 443) ... ignored test src/tiling/plane_region.rs - tiling::plane_region::PlaneRegionMut<'a,T>::subregion (line 436) ... ignored test src/tiling/plane_region.rs - tiling::plane_region::PlaneRegionMut<'a,T>::subregion (line 444) ... ignored test src/tiling/plane_region.rs - tiling::plane_region::PlaneRegionMut<'a,T>::subregion_mut (line 455) ... ignored test src/tiling/plane_region.rs - tiling::plane_region::PlaneRegionMut<'a,T>::subregion_mut (line 463) ... ignored test src/lib.rs - version (line 243) ... ok test src/api/context.rs - api::context::Context::send_frame (line 79) ... ok test src/api/context.rs - api::context::Context::receive_packet (line 211) ... ok test src/api/context.rs - api::context::Context::receive_packet (line 238) ... ok test src/api/config/mod.rs - api::config::Config::new_context (line 281) ... ok test src/api/context.rs - api::context::Context::new_frame (line 41) ... ok test result: ok. 6 passed; 0 failed; 6 ignored; 0 measured; 0 filtered out; finished in 0.53s >>> rav1e: Entering fakeroot... Compiling crossbeam-utils v0.8.19 Compiling libc v0.2.155 Compiling num-traits v0.2.17 Compiling rustix v0.38.28 Compiling linux-raw-sys v0.4.12 Compiling utf8parse v0.2.1 Compiling either v1.9.0 Compiling bitflags v2.4.1 Compiling anstyle-parse v0.2.3 Compiling num-integer v0.1.45 Compiling rayon-core v1.12.0 Compiling colorchoice v1.0.0 Compiling anstyle-query v1.0.2 Compiling cfg-if v1.0.0 Compiling anstyle v1.0.4 Compiling num-bigint v0.4.4 Compiling profiling v1.0.13 Compiling anstream v0.6.5 Compiling clap_lex v0.6.0 Compiling crossbeam-epoch v0.9.18 Compiling thiserror v1.0.56 Compiling anyhow v1.0.79 Compiling crossbeam-channel v0.5.11 Compiling crossbeam-queue v0.3.11 Compiling num-rational v0.4.1 Compiling memchr v2.7.1 Compiling crossbeam-deque v0.8.5 Compiling log v0.4.20 Compiling minimal-lexical v0.2.1 Compiling signal-hook v0.3.17 Compiling crossbeam v0.8.4 Compiling errno v0.3.8 Compiling signal-hook-registry v1.4.1 Compiling nom v7.1.3 Compiling itertools v0.10.5 Compiling unicode-width v0.1.11 Compiling rayon v1.8.0 Compiling lab v0.11.0 Compiling bitstream-io v2.2.0 Compiling v_frame v0.3.7 Compiling arrayvec v0.7.4 Compiling lazy_static v1.4.0 Compiling terminal_size v0.3.0 Compiling console v0.15.8 Compiling clap_builder v4.4.14 Compiling ivf v0.1.3 (/home/buildozer/aports/community/rav1e/src/rav1e-0.7.1/ivf) Compiling rav1e v0.7.1 (/home/buildozer/aports/community/rav1e/src/rav1e-0.7.1) Compiling fern v0.6.2 Compiling itertools v0.12.0 Compiling scan_fmt v0.2.6 Compiling once_cell v1.19.0 Compiling new_debug_unreachable v1.0.4 Compiling y4m v0.8.0 Compiling maybe-rayon v0.1.1 Compiling av-metrics v0.9.1 Compiling av1-grain v0.2.3 Compiling clap v4.4.14 Compiling clap_complete v4.4.6 warning: unexpected `cfg` condition name: `cargo_c` --> src/lib.rs:146:11 | 146 | #[cfg(any(cargo_c, feature = "capi"))] | ^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cargo_c)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cargo_c)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `fuzzing` --> src/lib.rs:358:13 | 358 | any(test, fuzzing), | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `fuzzing` --> src/lib.rs:412:7 | 412 | #[cfg(fuzzing)] | ^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:51:29 | 51 | type FrameOpaqueCb = Option; | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` | = note: `#[warn(missing_abi)]` on by default warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:396:12 | 396 | pub unsafe extern fn rav1e_version_short() -> *const c_char { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:411:12 | 411 | pub unsafe extern fn rav1e_version_full() -> *const c_char { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:432:12 | 432 | pub unsafe extern fn rav1e_data_unref(data: *mut Data) { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:445:12 | 445 | pub unsafe extern fn rav1e_config_default() -> *mut Config { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:488:12 | 488 | pub unsafe extern fn rav1e_config_set_rc_summary( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:518:12 | 518 | pub unsafe extern fn rav1e_config_set_emit_data( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:528:12 | 528 | pub unsafe extern fn rav1e_config_set_sample_aspect_ratio( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:538:12 | 538 | pub unsafe extern fn rav1e_config_set_time_base( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:552:12 | 552 | pub unsafe extern fn rav1e_config_set_pixel_format( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:592:12 | 592 | pub unsafe extern fn rav1e_config_set_color_description( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:613:12 | 613 | pub unsafe extern fn rav1e_config_set_content_light( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:639:12 | 639 | pub unsafe extern fn rav1e_config_set_mastering_display( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:662:12 | 662 | pub unsafe extern fn rav1e_config_unref(cfg: *mut Config) { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:768:12 | 768 | pub unsafe extern fn rav1e_config_parse( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:786:12 | 786 | pub unsafe extern fn rav1e_config_parse_int( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:814:12 | 814 | pub unsafe extern fn rav1e_context_new(cfg: *const Config) -> *mut Context { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:832:12 | 832 | pub unsafe extern fn rav1e_context_unref(ctx: *mut Context) { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:845:12 | 845 | pub unsafe extern fn rav1e_frame_new(ctx: *const Context) -> *mut Frame { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:856:12 | 856 | pub unsafe extern fn rav1e_frame_unref(frame: *mut Frame) { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:866:12 | 866 | pub unsafe extern fn rav1e_frame_set_type( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:887:12 | 887 | pub unsafe extern fn rav1e_frame_set_opaque( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:905:12 | 905 | pub unsafe extern fn rav1e_frame_add_t35_metadata( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:933:12 | 933 | pub unsafe extern fn rav1e_twopass_out(ctx: *mut Context) -> *mut Data { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:977:12 | 977 | pub unsafe extern fn rav1e_rc_summary_size(ctx: *const Context) -> size_t { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:992:12 | 992 | pub unsafe extern fn rav1e_rc_receive_pass_data( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:1036:12 | 1036 | pub unsafe extern fn rav1e_rc_second_pass_data_required( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:1057:12 | 1057 | pub unsafe extern fn rav1e_rc_send_pass_data( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:1089:12 | 1089 | pub unsafe extern fn rav1e_twopass_bytes_needed(ctx: *mut Context) -> size_t { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:1100:12 | 1100 | pub unsafe extern fn rav1e_twopass_in( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:1129:12 | 1129 | pub unsafe extern fn rav1e_send_frame( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:1179:12 | 1179 | pub unsafe extern fn rav1e_last_status(ctx: *const Context) -> EncoderStatus { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:1186:12 | 1186 | pub unsafe extern fn rav1e_status_to_str( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:1203:12 | 1203 | pub unsafe extern fn rav1e_receive_packet( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:1222:12 | 1222 | pub unsafe extern fn rav1e_packet_unref(pkt: *mut Packet) { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:1241:12 | 1241 | pub unsafe extern fn rav1e_container_sequence_header( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:1299:12 | 1299 | pub unsafe extern fn rav1e_frame_fill_plane( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: extern declarations without an explicit ABI are deprecated --> src/capi.rs:1332:12 | 1332 | pub unsafe extern fn rav1e_frame_extract_plane( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/transform/forward.rs:16:12 | 16 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/transform/forward.rs:18:19 | 18 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/transform/inverse.rs:11:12 | 11 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/transform/inverse.rs:13:19 | 13 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/cpu_features/mod.rs:11:12 | 11 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/cpu_features/mod.rs:15:19 | 15 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/asm/mod.rs:10:7 | 10 | #[cfg(nasm_x86_64)] | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/asm/mod.rs:13:7 | 13 | #[cfg(asm_neon)] | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/asm/mod.rs:16:11 | 16 | #[cfg(any(nasm_x86_64, asm_neon))] | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/asm/mod.rs:16:24 | 16 | #[cfg(any(nasm_x86_64, asm_neon))] | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/dist.rs:11:12 | 11 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/dist.rs:13:19 | 13 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/ec.rs:14:12 | 14 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/predict.rs:17:12 | 17 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/predict.rs:19:19 | 19 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/quantize/mod.rs:15:12 | 15 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/cdef.rs:21:12 | 21 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/cdef.rs:23:19 | 23 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/lrf.rs:11:12 | 11 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/mc.rs:11:12 | 11 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `asm_neon` --> src/mc.rs:13:19 | 13 | } else if #[cfg(asm_neon)] { | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_neon)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_neon)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `nasm_x86_64` --> src/sad_plane.rs:11:12 | 11 | if #[cfg(nasm_x86_64)] { | ^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nasm_x86_64)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nasm_x86_64)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: fields `row` and `col` are never read --> src/lrf.rs:1270:7 | 1269 | pub struct RestorationPlaneOffset { | ---------------------- fields in this struct 1270 | pub row: usize, | ^^^ 1271 | pub col: usize, | ^^^ | = note: `RestorationPlaneOffset` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/capi.rs:121:30 | 121 | #[derive(Copy, Clone, Debug, FromPrimitive, PartialEq)] | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EncoderStatus` 122 | pub enum EncoderStatus { | ------------- `EncoderStatus` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:24:3 | 24 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ChromaSamplePosition` ... 30 | pub enum ChromaSamplePosition { | -------------------- `ChromaSamplePosition` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:54:3 | 54 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ColorPrimaries` ... 60 | pub enum ColorPrimaries { | -------------- `ColorPrimaries` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:98:3 | 98 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TransferCharacteristics` ... 104 | pub enum TransferCharacteristics { | ----------------------- `TransferCharacteristics` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:152:3 | 152 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MatrixCoefficients` ... 158 | pub enum MatrixCoefficients { | ------------------ `MatrixCoefficients` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:220:3 | 220 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PixelRange` ... 226 | pub enum PixelRange { | ---------- `PixelRange` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/config/speedsettings.rs:317:3 | 317 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SceneDetectionSpeed` ... 321 | pub enum SceneDetectionSpeed { | ------------------- `SceneDetectionSpeed` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/config/speedsettings.rs:353:3 | 353 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PredictionModesSetting` ... 357 | pub enum PredictionModesSetting { | ---------------------- `PredictionModesSetting` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/config/speedsettings.rs:396:3 | 396 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SGRComplexityLevel` ... 400 | pub enum SGRComplexityLevel { | ------------------ `SGRComplexityLevel` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/config/speedsettings.rs:428:3 | 428 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SegmentationLevel` ... 432 | pub enum SegmentationLevel { | ----------------- `SegmentationLevel` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/frame/mod.rs:28:45 | 28 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive, Default)] | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FrameTypeOverride` 29 | #[repr(C)] 30 | pub enum FrameTypeOverride { | ----------------- `FrameTypeOverride` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `rav1e` (lib) generated 75 warnings (run `cargo fix --lib -p rav1e` to apply 38 suggestions) Finished `release` profile [optimized] target(s) in 55.04s Building pkg-config files Building header file using cbindgen Populating uninstalled header directory Installing pkg-config file Installing header file Installing static library Installing shared library >>> rav1e-static*: Running split function static... 'usr/lib/librav1e.a' -> '/home/buildozer/aports/community/rav1e/pkg/rav1e-static/usr/lib/librav1e.a' >>> rav1e-static*: Preparing subpackage rav1e-static... >>> rav1e-static*: Stripping binaries >>> rav1e-static*: Running postcheck for rav1e-static >>> rav1e-dev*: Running split function dev... 'usr/include' -> '/home/buildozer/aports/community/rav1e/pkg/rav1e-dev/usr/include' 'usr/lib/pkgconfig' -> '/home/buildozer/aports/community/rav1e/pkg/rav1e-dev/usr/lib/pkgconfig' 'usr/lib/librav1e.so' -> '/home/buildozer/aports/community/rav1e/pkg/rav1e-dev/usr/lib/librav1e.so' >>> rav1e-dev*: Preparing subpackage rav1e-dev... >>> rav1e-dev*: Stripping binaries >>> rav1e-dev*: Running postcheck for rav1e-dev >>> rav1e-doc*: Running split function doc... 'usr/share/doc' -> '/home/buildozer/aports/community/rav1e/pkg/rav1e-doc/usr/share/doc' >>> rav1e-doc*: Preparing subpackage rav1e-doc... >>> rav1e-doc*: Running postcheck for rav1e-doc >>> rav1e-libs*: Running split function libs... 'usr/lib/librav1e.so.0.7' -> '/home/buildozer/aports/community/rav1e/pkg/rav1e-libs/usr/lib/librav1e.so.0.7' 'usr/lib/librav1e.so.0.7.1' -> '/home/buildozer/aports/community/rav1e/pkg/rav1e-libs/usr/lib/librav1e.so.0.7.1' >>> rav1e-libs*: Preparing subpackage rav1e-libs... >>> rav1e-libs*: Stripping binaries >>> rav1e-libs*: Running postcheck for rav1e-libs >>> rav1e*: Running postcheck for rav1e >>> rav1e*: Preparing package rav1e... >>> rav1e*: Stripping binaries >>> rav1e-dev*: Scanning shared objects >>> rav1e-doc*: Scanning shared objects >>> rav1e-libs*: Scanning shared objects >>> rav1e-static*: Scanning shared objects >>> rav1e*: Scanning shared objects >>> rav1e-dev*: Tracing dependencies... pkgconfig rav1e-libs=0.7.1-r0 >>> rav1e-dev*: Package size: 46.6 KB >>> rav1e-dev*: Compressing data... >>> rav1e-dev*: Create checksum... >>> rav1e-dev*: Create rav1e-dev-0.7.1-r0.apk >>> rav1e-doc*: Tracing dependencies... >>> rav1e-doc*: Package size: 11.8 KB >>> rav1e-doc*: Compressing data... >>> rav1e-doc*: Create checksum... >>> rav1e-doc*: Create rav1e-doc-0.7.1-r0.apk >>> rav1e-libs*: Tracing dependencies... so:libc.musl-s390x.so.1 so:libgcc_s.so.1 >>> rav1e-libs*: Package size: 1.5 MB >>> rav1e-libs*: Compressing data... >>> rav1e-libs*: Create checksum... >>> rav1e-libs*: Create rav1e-libs-0.7.1-r0.apk >>> rav1e-static*: Tracing dependencies... >>> rav1e-static*: Package size: 3.9 MB >>> rav1e-static*: Compressing data... >>> rav1e-static*: Create checksum... >>> rav1e-static*: Create rav1e-static-0.7.1-r0.apk >>> rav1e*: Tracing dependencies... so:libc.musl-s390x.so.1 so:libgcc_s.so.1 >>> rav1e*: Package size: 3.3 MB >>> rav1e*: Compressing data... >>> rav1e*: Create checksum... >>> rav1e*: Create rav1e-0.7.1-r0.apk >>> rav1e: Build complete at Fri, 09 May 2025 21:27:26 +0000 elapsed time 0h 5m 46s >>> rav1e: Cleaning up srcdir >>> rav1e: Cleaning up pkgdir >>> rav1e: Uninstalling dependencies... (1/12) Purging .makedepends-rav1e (20250509.212141) (2/12) Purging cargo-c (0.10.12-r0) (3/12) Purging nasm (2.16.03-r0) (4/12) Purging cargo-auditable (0.6.7-r0) (5/12) Purging cargo (1.86.0-r2) (6/12) Purging rust (1.86.0-r2) (7/12) Purging libssh2 (1.11.1-r0) (8/12) Purging llvm20-libs (20.1.4-r0) (9/12) Purging scudo-malloc (20.1.4-r0) (10/12) Purging libffi (3.4.8-r0) (11/12) Purging libxml2 (2.13.8-r0) (12/12) Purging xz-libs (5.8.1-r0) Executing busybox-1.37.0-r17.trigger OK: 359 MiB in 103 packages >>> rav1e: Updating the community/s390x repository index... >>> rav1e: Signing the index...