>>> rav1e: Building community/rav1e 0.7.1-r1 (using abuild 3.15.0-r0) started Tue, 23 Sep 2025 15:54: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/11) Installing libffi (3.4.8-r0) (2/11) Installing xz-libs (5.8.1-r0) (3/11) Installing libxml2 (2.13.8-r0) (4/11) Installing llvm20-libs (20.1.8-r0) (5/11) Installing rust (1.87.0-r0) (6/11) Installing cargo (1.87.0-r0) (7/11) Installing libssh2 (1.11.1-r0) (8/11) Installing cargo-c (0.10.13-r0) (9/11) Installing nasm (2.16.03-r0) (10/11) Installing cargo-auditable (0.6.7-r0) (11/11) Installing .makedepends-rav1e (20250923.155441) Executing busybox-1.37.0-r19.trigger OK: 550 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 Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.22/rav1e-0.7.1.tar.gz.part' rav1e-0.7.1.tar.gz.p 77% |************************ | 2303k 0:00:00 ETA rav1e-0.7.1.tar.gz.p 100% |********************************| 2977k 0:00:00 ETA '/var/cache/distfiles/v3.22/rav1e-0.7.1.tar.gz.part' saved >>> 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 RUSTSEC-2024-0404.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 >>> rav1e: RUSTSEC-2024-0404.patch patching file Cargo.lock Updating crates.io index Downloading crates ... Downloaded target-lexicon v0.12.13 Downloaded scan_fmt v0.2.6 Downloaded num-derive v0.4.1 Downloaded ciborium-io v0.2.1 Downloaded built v0.7.1 Downloaded ciborium v0.2.1 Downloaded av-metrics v0.9.1 Downloaded ciborium-ll v0.2.1 Downloaded winapi-util v0.1.6 Downloaded clap_complete v4.4.6 Downloaded libfuzzer-sys v0.4.7 Downloaded winnow v0.5.33 Downloaded bindgen v0.69.1 Downloaded git2 v0.18.1 Downloaded libgit2-sys v0.16.1+1.7.1 Downloaded v_frame v0.3.7 Downloaded tracing-chrome v0.7.1 Downloaded profiling-procmacros v1.0.13 Downloaded clap_builder v4.4.14 Downloaded aom-sys v0.3.3 Downloaded clap v4.4.14 Downloaded fdeflate v0.3.3 Downloaded libdav1d-sys v0.6.0 Downloaded libz-sys v1.1.14 Compiling crossbeam-utils v0.8.19 Compiling libc v0.2.155 Compiling proc-macro2 v1.0.76 Compiling unicode-ident v1.0.12 Compiling autocfg v1.1.0 Compiling rayon-core v1.12.0 Compiling pkg-config v0.3.28 Compiling vcpkg v0.2.15 Compiling tinyvec_macros v0.1.1 Compiling rustix v0.38.28 Compiling percent-encoding v2.3.1 Compiling unicode-bidi v0.3.14 Compiling either v1.9.0 Compiling linux-raw-sys v0.4.12 Compiling utf8parse v0.2.1 Compiling bitflags v2.4.1 Compiling cfg-if v1.0.0 Compiling log v0.4.20 Compiling anstyle-query v1.0.2 Compiling anstyle v1.0.4 Compiling colorchoice v1.0.0 Compiling clap_lex v0.6.0 Compiling heck v0.4.1 Compiling noop_proc_macro v0.3.0 Compiling thiserror v1.0.56 Compiling anyhow v1.0.79 Compiling minimal-lexical v0.2.1 Compiling paste v1.0.14 Compiling memchr v2.7.1 Compiling signal-hook v0.3.17 Compiling bitstream-io v2.2.0 Compiling unicode-width v0.1.11 Compiling lab v0.11.0 Compiling lazy_static v1.4.0 Compiling arrayvec v0.7.4 Compiling new_debug_unreachable v1.0.4 Compiling once_cell v1.19.0 Compiling y4m v0.8.0 Compiling scan_fmt v0.2.6 Compiling tinyvec v1.6.0 Compiling anstyle-parse v0.2.3 Compiling form_urlencoded v1.2.1 Compiling itertools v0.10.5 Compiling itertools v0.12.0 Compiling fern v0.6.2 Compiling anstream v0.6.8 Compiling num-traits v0.2.17 Compiling num-integer v0.1.45 Compiling num-bigint v0.4.4 Compiling num-rational v0.4.1 Compiling ivf v0.1.3 (/home/buildozer/aports/community/rav1e/src/rav1e-0.7.1/ivf) Compiling nom v7.1.3 Compiling crossbeam-epoch v0.9.18 Compiling crossbeam-queue v0.3.11 Compiling crossbeam-channel v0.5.11 Compiling quote v1.0.35 Compiling unicode-normalization v0.1.22 Compiling crossbeam-deque v0.8.5 Compiling syn v2.0.48 Compiling simd_helpers v0.1.0 Compiling signal-hook-registry v1.4.1 Compiling console v0.15.8 Compiling jobserver v0.1.27 Compiling crossbeam v0.8.4 Compiling cc v1.0.83 Compiling idna v0.5.0 Compiling terminal_size v0.3.0 Compiling rayon v1.8.0 Compiling clap_builder v4.4.14 Compiling url v2.5.0 Compiling libz-sys v1.1.14 Compiling libgit2-sys v0.16.1+1.7.1 Compiling nasm-rs v0.2.5 Compiling maybe-rayon v0.1.1 Compiling git2 v0.18.1 Compiling profiling-procmacros v1.0.13 Compiling num-derive v0.4.1 Compiling clap_derive v4.4.7 Compiling thiserror-impl v1.0.56 Compiling arg_enum_proc_macro v0.3.4 Compiling profiling v1.0.13 Compiling v_frame v0.3.7 Compiling av-metrics v0.9.1 Compiling av1-grain v0.2.3 Compiling clap v4.4.14 Compiling clap_complete v4.4.6 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 2m 02s Compiling crossbeam-utils v0.8.19 Compiling utf8parse v0.2.1 Compiling bitflags v2.4.1 Compiling either v1.9.0 Compiling linux-raw-sys v0.4.12 Compiling anstyle v1.0.4 Compiling cfg-if v1.0.0 Compiling colorchoice v1.0.0 Compiling anstyle-query v1.0.2 Compiling clap_lex v0.6.0 Compiling memchr v2.7.1 Compiling log v0.4.20 Compiling minimal-lexical v0.2.1 Compiling lab v0.11.0 Compiling arrayvec v0.7.4 Compiling bitstream-io v2.2.0 Compiling unicode-width v0.1.11 Compiling lazy_static v1.4.0 Compiling new_debug_unreachable v1.0.4 Compiling y4m v0.8.0 Compiling once_cell v1.19.0 Compiling rustix v0.38.28 Compiling rayon-core v1.12.0 Compiling libc v0.2.155 Compiling anyhow v1.0.79 Compiling thiserror v1.0.56 Compiling signal-hook v0.3.17 Compiling scan_fmt v0.2.6 Compiling num-traits v0.2.17 Compiling num-integer v0.1.45 Compiling num-bigint v0.4.4 Compiling num-rational v0.4.1 Compiling profiling v1.0.13 Compiling rav1e v0.7.1 (/home/buildozer/aports/community/rav1e/src/rav1e-0.7.1) Compiling anstyle-parse v0.2.3 Compiling fern v0.6.2 Compiling itertools v0.10.5 Compiling itertools v0.12.0 Compiling anstream v0.6.8 Compiling ivf v0.1.3 (/home/buildozer/aports/community/rav1e/src/rav1e-0.7.1/ivf) Compiling nom v7.1.3 Compiling crossbeam-epoch v0.9.18 Compiling crossbeam-channel v0.5.11 Compiling crossbeam-queue v0.3.11 Compiling crossbeam-deque v0.8.5 Compiling signal-hook-registry v1.4.1 Compiling console v0.15.8 Compiling crossbeam v0.8.4 Compiling v_frame v0.3.7 Compiling terminal_size v0.3.0 Compiling clap_builder v4.4.14 Compiling rayon v1.8.0 Compiling av1-grain v0.2.3 Compiling clap v4.4.14 Compiling clap_complete v4.4.6 Compiling av-metrics v0.9.1 Compiling maybe-rayon v0.1.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 36s Building pkg-config files Building header file using cbindgen Populating uninstalled header directory >>> rav1e: Entering fakeroot... Compiling crossbeam-utils v0.8.19 Compiling utf8parse v0.2.1 Compiling either v1.9.0 Compiling bitflags v2.4.1 Compiling linux-raw-sys v0.4.12 Compiling colorchoice v1.0.0 Compiling anstyle-query v1.0.2 Compiling anstyle v1.0.4 Compiling cfg-if v1.0.0 Compiling clap_lex v0.6.0 Compiling minimal-lexical v0.2.1 Compiling memchr v2.7.1 Compiling log v0.4.20 Compiling arrayvec v0.7.4 Compiling unicode-width v0.1.11 Compiling lab v0.11.0 Compiling bitstream-io v2.2.0 Compiling lazy_static v1.4.0 Compiling scan_fmt v0.2.6 Compiling y4m v0.8.0 Compiling once_cell v1.19.0 Compiling rustix v0.38.28 Compiling rayon-core v1.12.0 Compiling libc v0.2.155 Compiling anyhow v1.0.79 Compiling thiserror v1.0.56 Compiling signal-hook v0.3.17 Compiling new_debug_unreachable v1.0.4 Compiling num-traits v0.2.17 Compiling num-integer v0.1.45 Compiling num-bigint v0.4.4 Compiling num-rational v0.4.1 Compiling profiling v1.0.13 Compiling rav1e v0.7.1 (/home/buildozer/aports/community/rav1e/src/rav1e-0.7.1) Compiling anstyle-parse v0.2.3 Compiling fern v0.6.2 Compiling itertools v0.10.5 Compiling itertools v0.12.0 Compiling anstream v0.6.8 Compiling ivf v0.1.3 (/home/buildozer/aports/community/rav1e/src/rav1e-0.7.1/ivf) Compiling nom v7.1.3 Compiling crossbeam-epoch v0.9.18 Compiling crossbeam-channel v0.5.11 Compiling crossbeam-queue v0.3.11 Compiling crossbeam-deque v0.8.5 Compiling signal-hook-registry v1.4.1 Compiling console v0.15.8 Compiling crossbeam v0.8.4 Compiling v_frame v0.3.7 Compiling rayon v1.8.0 Compiling terminal_size v0.3.0 Compiling clap_builder v4.4.14 Compiling av1-grain v0.2.3 Compiling clap v4.4.14 Compiling clap_complete v4.4.6 Compiling av-metrics v0.9.1 Compiling maybe-rayon v0.1.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 14s 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-r1 >>> rav1e-dev*: Package size: 46.6 KB >>> rav1e-dev*: Compressing data... >>> rav1e-dev*: Create checksum... >>> rav1e-dev*: Create rav1e-dev-0.7.1-r1.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-r1.apk >>> rav1e-libs*: Tracing dependencies... so:libc.musl-armv7.so.1 so:libgcc_s.so.1 >>> rav1e-libs*: Package size: 972.4 KB >>> rav1e-libs*: Compressing data... >>> rav1e-libs*: Create checksum... >>> rav1e-libs*: Create rav1e-libs-0.7.1-r1.apk >>> rav1e-static*: Tracing dependencies... >>> rav1e-static*: Package size: 3.8 MB >>> rav1e-static*: Compressing data... >>> rav1e-static*: Create checksum... >>> rav1e-static*: Create rav1e-static-0.7.1-r1.apk >>> rav1e*: Tracing dependencies... so:libc.musl-armv7.so.1 so:libgcc_s.so.1 >>> rav1e*: Package size: 1.7 MB >>> rav1e*: Compressing data... >>> rav1e*: Create checksum... >>> rav1e*: Create rav1e-0.7.1-r1.apk >>> rav1e: Build complete at Tue, 23 Sep 2025 15:59:43 +0000 elapsed time 0h 5m 3s >>> rav1e: Cleaning up srcdir >>> rav1e: Cleaning up pkgdir >>> rav1e: Uninstalling dependencies... (1/11) Purging .makedepends-rav1e (20250923.155441) (2/11) Purging cargo-c (0.10.13-r0) (3/11) Purging nasm (2.16.03-r0) (4/11) Purging cargo-auditable (0.6.7-r0) (5/11) Purging cargo (1.87.0-r0) (6/11) Purging rust (1.87.0-r0) (7/11) Purging libssh2 (1.11.1-r0) (8/11) Purging llvm20-libs (20.1.8-r0) (9/11) Purging libffi (3.4.8-r0) (10/11) Purging libxml2 (2.13.8-r0) (11/11) Purging xz-libs (5.8.1-r0) Executing busybox-1.37.0-r19.trigger OK: 274 MiB in 104 packages >>> rav1e: Updating the community/armv7 repository index... >>> rav1e: Signing the index...