>>> rav1e: Building community/rav1e 0.7.1-r0 (using abuild 3.15.0_rc3-r1) started Wed, 23 Apr 2025 17:06:54 +0000 >>> rav1e: Validating /home/buildozer/aports/community/rav1e/APKBUILD... >>> rav1e: Analyzing dependencies... >>> rav1e: Installing for build: build-base cargo cargo-c nasm cargo-auditable (1/12) Installing libffi (3.4.8-r0) (2/12) Installing xz-libs (5.8.1-r0) (3/12) Installing libxml2 (2.13.7-r1) (4/12) Installing llvm20-libs (20.1.2-r2) (5/12) Installing scudo-malloc (20.1.2-r1) (6/12) Installing rust (1.86.0-r1) (7/12) Installing cargo (1.86.0-r1) (8/12) Installing libssh2 (1.11.1-r0) (9/12) Installing cargo-c (0.10.12-r0) (10/12) Installing nasm (2.16.03-r0) (11/12) Installing cargo-auditable (0.6.6-r1) (12/12) Installing .makedepends-rav1e (20250423.170718) Executing busybox-1.37.0-r16.trigger OK: 838 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) wget: server returned error: HTTP/1.1 404 Not Found >>> rav1e: Fetching rav1e-0.7.1.tar.gz::https://github.com/xiph/rav1e/archive/v0.7.1.tar.gz Connecting to github.com (140.82.121.4:443) Connecting to codeload.github.com (140.82.121.10:443) saving to '/var/cache/distfiles/v3.22/rav1e-0.7.1.tar.gz.part' 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 >>> 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 Updating crates.io index Downloading crates ... Downloaded wasm-bindgen-shared v0.2.89 Downloaded y4m v0.8.0 Downloaded wasm-bindgen-macro v0.2.89 Downloaded maybe-rayon v0.1.1 Downloaded plotters-svg v0.3.5 Downloaded unicode-width v0.1.11 Downloaded peeking_take_while v0.1.2 Downloaded lab v0.11.0 Downloaded windows_x86_64_msvc v0.52.0 Downloaded url v2.5.0 Downloaded unicode-bidi v0.3.14 Downloaded prettyplease v0.2.16 Downloaded clang-sys v1.7.0 Downloaded itertools v0.11.0 Downloaded libloading v0.8.1 Downloaded av1-grain v0.2.3 Downloaded windows_i686_msvc v0.52.0 Downloaded bindgen v0.69.1 Downloaded git2 v0.18.1 Downloaded clap_complete v4.4.6 Downloaded linux-raw-sys v0.4.12 Downloaded windows_i686_gnu v0.52.0 Downloaded predicates v3.0.4 Downloaded windows_x86_64_gnu v0.52.0 Downloaded windows_aarch64_msvc v0.52.0 Downloaded libgit2-sys v0.16.1+1.7.1 Downloaded bstr v1.9.0 Downloaded predicates-tree v1.0.9 Downloaded web-sys v0.3.66 Downloaded backtrace v0.3.69 Downloaded shlex v1.2.0 Downloaded aom-sys v0.3.3 Downloaded arg_enum_proc_macro v0.3.4 Downloaded predicates-core v1.0.6 Downloaded regex-automata v0.4.3 Downloaded termtree v0.4.1 Downloaded assert_cmd v2.0.12 Downloaded anyhow v1.0.79 Downloaded rustc-demangle v0.1.23 Downloaded av-metrics v0.9.1 Downloaded built v0.7.1 Downloaded windows_aarch64_gnullvm v0.52.0 Downloaded windows_x86_64_gnullvm v0.52.0 Downloaded ciborium-ll v0.2.1 Downloaded ciborium v0.2.1 Downloaded anstyle-wincon v3.0.2 Downloaded rustix v0.38.28 Downloaded anstream v0.6.5 Downloaded regex-syntax v0.8.2 Downloaded anstyle v1.0.4 Downloaded clap_builder v4.4.14 Downloaded fern v0.6.2 Downloaded clap_derive v4.4.7 Downloaded image v0.24.7 Downloaded clap v4.4.14 Downloaded regex v1.10.2 Downloaded hermit-abi v0.3.3 Downloaded bitflags v2.4.1 Downloaded is-terminal v0.4.10 Downloaded plotters-backend v0.3.5 Downloaded js-sys v0.3.66 Downloaded plotters v0.3.5 Downloaded winapi-util v0.1.6 Downloaded aho-corasick v1.1.2 Downloaded crossbeam-channel v0.5.11 Downloaded crossbeam-queue v0.3.11 Downloaded crossbeam v0.8.4 Downloaded rayon v1.8.0 Downloaded winnow v0.5.33 Downloaded bytemuck v1.14.0 Downloaded num-bigint v0.4.4 Downloaded serde_json v1.0.111 Downloaded num-integer v0.1.45 Downloaded itertools v0.12.0 Downloaded num-rational v0.4.1 Downloaded libfuzzer-sys v0.4.7 Downloaded wasm-bindgen v0.2.89 Downloaded fdeflate v0.3.3 Downloaded flate2 v1.0.28 Downloaded png v0.17.10 Downloaded memchr v2.7.1 Downloaded toml_edit v0.21.0 Downloaded miniz_oxide v0.7.1 Downloaded pretty_assertions v1.4.0 Downloaded serde v1.0.195 Downloaded toml v0.8.8 Downloaded jobserver v0.1.27 Downloaded rayon-core v1.12.0 Downloaded crossbeam-utils v0.8.19 Downloaded ryu v1.0.16 Downloaded semver v1.0.21 Downloaded cfg-expr v0.15.6 Downloaded num-traits v0.2.17 Downloaded smallvec v1.11.2 Downloaded serde_derive v1.0.195 Downloaded proc-macro2 v1.0.76 Downloaded nasm-rs v0.2.5 Downloaded target-lexicon v0.12.13 Downloaded pin-project-lite v0.2.13 Downloaded system-deps v6.2.0 Downloaded scan_fmt v0.2.6 Downloaded num-derive v0.4.1 Downloaded walkdir v2.4.0 Downloaded either v1.9.0 Downloaded yansi v0.5.1 Downloaded pkg-config v0.3.28 Downloaded profiling v1.0.13 Downloaded version-compare v0.1.1 Downloaded thiserror-impl v1.0.56 Downloaded itoa v1.0.10 Downloaded tracing-chrome v0.7.1 Downloaded thread_local v1.1.7 Downloaded thiserror v1.0.56 Downloaded ciborium-io v0.2.1 Downloaded v_frame v0.3.7 Downloaded wasm-bindgen-macro-support v0.2.89 Downloaded bitstream-io v2.2.0 Downloaded serde-big-array v0.5.1 Downloaded interpolate_name v0.2.4 Downloaded color_quant v1.1.0 Downloaded windows-targets v0.52.0 Downloaded noop_proc_macro v0.3.0 Downloaded profiling-procmacros v1.0.13 Downloaded new_debug_unreachable v1.0.4 Downloaded simd_helpers v0.1.0 Downloaded wasm-bindgen-backend v0.2.89 Downloaded libz-sys v1.1.14 Downloaded libdav1d-sys v0.6.0 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 unicode-bidi v0.3.14 Compiling percent-encoding v2.3.1 Compiling linux-raw-sys v0.4.12 Compiling bitflags v2.4.1 Compiling utf8parse v0.2.1 Compiling either v1.9.0 Compiling anstyle v1.0.4 Compiling cfg-if v1.0.0 Compiling colorchoice v1.0.0 Compiling anstyle-query v1.0.2 Compiling log v0.4.20 Compiling noop_proc_macro v0.3.0 Compiling clap_lex v0.6.0 Compiling anyhow v1.0.79 Compiling thiserror v1.0.56 Compiling heck v0.4.1 Compiling paste v1.0.14 Compiling memchr v2.7.1 Compiling signal-hook v0.3.17 Compiling minimal-lexical v0.2.1 Compiling arrayvec v0.7.4 Compiling lab v0.11.0 Compiling bitstream-io v2.2.0 Compiling lazy_static v1.4.0 Compiling unicode-width v0.1.11 Compiling new_debug_unreachable v1.0.4 Compiling y4m v0.8.0 Compiling once_cell v1.19.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 fern v0.6.2 Compiling itertools v0.10.5 Compiling itertools v0.12.0 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 anstream v0.6.5 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 quote v1.0.35 Compiling crossbeam-channel v0.5.11 Compiling crossbeam-queue v0.3.11 Compiling crossbeam-deque v0.8.5 Compiling syn v2.0.48 Compiling jobserver v0.1.27 Compiling signal-hook-registry v1.4.1 Compiling console v0.15.8 Compiling unicode-normalization v0.1.22 Compiling simd_helpers v0.1.0 Compiling cc v1.0.83 Compiling crossbeam v0.8.4 Compiling rayon v1.8.0 Compiling terminal_size v0.3.0 Compiling idna v0.5.0 Compiling clap_builder v4.4.14 Compiling libz-sys v1.1.14 Compiling libgit2-sys v0.16.1+1.7.1 Compiling url v2.5.0 Compiling nasm-rs v0.2.5 Compiling maybe-rayon v0.1.1 Compiling profiling-procmacros v1.0.13 Compiling num-derive v0.4.1 Compiling thiserror-impl v1.0.56 Compiling clap_derive v4.4.7 Compiling arg_enum_proc_macro v0.3.4 Compiling profiling v1.0.13 Compiling git2 v0.18.1 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 10s 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 linux-raw-sys v0.4.12 Compiling utf8parse v0.2.1 Compiling either v1.9.0 Compiling bitflags v2.4.1 Compiling anstyle-query v1.0.2 Compiling anstyle v1.0.4 Compiling colorchoice v1.0.0 Compiling log v0.4.20 Compiling cfg-if v1.0.0 Compiling heck v0.4.1 Compiling noop_proc_macro v0.3.0 Compiling anyhow v1.0.79 Compiling clap_lex v0.6.0 Compiling thiserror v1.0.56 Compiling memchr v2.7.1 Compiling minimal-lexical v0.2.1 Compiling signal-hook v0.3.17 Compiling paste v1.0.14 Compiling lab v0.11.0 Compiling arrayvec v0.7.4 Compiling lazy_static v1.4.0 Compiling bitstream-io v2.2.0 Compiling unicode-width v0.1.11 Compiling y4m v0.8.0 Compiling new_debug_unreachable v1.0.4 Compiling scan_fmt v0.2.6 Compiling once_cell v1.19.0 Compiling anstyle-parse v0.2.3 Compiling tinyvec v1.6.0 Compiling form_urlencoded v1.2.1 Compiling fern v0.6.2 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 itertools v0.10.5 Compiling itertools v0.12.0 Compiling anstream v0.6.5 Compiling ivf v0.1.3 (/home/buildozer/aports/community/rav1e/src/rav1e-0.7.1/ivf) Compiling nom v7.1.3 Compiling quote v1.0.35 Compiling crossbeam-epoch v0.9.18 Compiling crossbeam-channel v0.5.11 Compiling crossbeam-queue v0.3.11 Compiling syn v2.0.48 Compiling simd_helpers v0.1.0 Compiling signal-hook-registry v1.4.1 Compiling console v0.15.8 Compiling crossbeam-deque v0.8.5 Compiling unicode-normalization v0.1.22 Compiling jobserver v0.1.27 Compiling cc v1.0.83 Compiling crossbeam v0.8.4 Compiling idna v0.5.0 Compiling rayon v1.8.0 Compiling terminal_size v0.3.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 profiling-procmacros v1.0.13 Compiling num-derive v0.4.1 Compiling thiserror-impl v1.0.56 Compiling clap_derive v4.4.7 Compiling arg_enum_proc_macro v0.3.4 Compiling profiling v1.0.13 Compiling v_frame v0.3.7 Compiling git2 v0.18.1 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: 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 42s Building pkg-config files Building header file using cbindgen Populating uninstalled header directory Compiling libc v0.2.155 Compiling proc-macro2 v1.0.76 Compiling unicode-ident v1.0.12 Compiling crossbeam-utils v0.8.19 Compiling autocfg v1.1.0 Compiling rayon-core v1.12.0 Compiling either v1.9.0 Compiling memchr v2.7.1 Compiling pkg-config v0.3.28 Compiling cfg-if v1.0.0 Compiling vcpkg v0.2.15 Compiling tinyvec_macros v0.1.1 Compiling rustix v0.38.28 Compiling bitflags v2.4.1 Compiling anstyle v1.0.4 Compiling linux-raw-sys v0.4.12 Compiling percent-encoding v2.3.1 Compiling unicode-bidi v0.3.14 Compiling utf8parse v0.2.1 Compiling anstyle-query v1.0.2 Compiling regex-syntax v0.8.2 Compiling colorchoice v1.0.0 Compiling log v0.4.20 Compiling serde v1.0.195 Compiling heck v0.4.1 Compiling clap_lex v0.6.0 Compiling thiserror v1.0.56 Compiling anyhow v1.0.79 Compiling bitstream-io v2.2.0 Compiling noop_proc_macro v0.3.0 Compiling serde_json v1.0.111 Compiling minimal-lexical v0.2.1 Compiling paste v1.0.14 Compiling signal-hook v0.3.17 Compiling itoa v1.0.10 Compiling ppv-lite86 v0.2.17 Compiling doc-comment v0.3.3 Compiling half v1.8.2 Compiling plotters-backend v0.3.5 Compiling lab v0.11.0 Compiling lazy_static v1.4.0 Compiling arrayvec v0.7.4 Compiling once_cell v1.19.0 Compiling ciborium-io v0.2.1 Compiling unicode-width v0.1.11 Compiling ryu v1.0.16 Compiling tinyvec v1.6.0 Compiling predicates-core v1.0.6 Compiling same-file v1.0.6 Compiling cast v0.3.0 Compiling new_debug_unreachable v1.0.4 Compiling anstyle-parse v0.2.3 Compiling semver v1.0.21 Compiling termtree v0.4.1 Compiling scan_fmt v0.2.6 Compiling y4m v0.8.0 Compiling difflib v0.4.0 Compiling form_urlencoded v1.2.1 Compiling itertools v0.10.5 Compiling itertools v0.11.0 Compiling itertools v0.12.0 Compiling fern v0.6.2 Compiling yansi v0.5.1 Compiling oorandom v11.1.3 Compiling anstream v0.6.5 Compiling plotters-svg v0.3.5 Compiling predicates-tree v1.0.9 Compiling walkdir v2.4.0 Compiling anes v0.1.6 Compiling diff v0.1.13 Compiling ivf v0.1.3 (/home/buildozer/aports/community/rav1e/src/rav1e-0.7.1/ivf) Compiling ciborium-ll v0.2.1 Compiling aho-corasick v1.1.2 Compiling nom v7.1.3 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 pretty_assertions v1.4.0 Compiling crossbeam-epoch v0.9.18 Compiling crossbeam-queue v0.3.11 Compiling quote v1.0.35 Compiling crossbeam-channel v0.5.11 Compiling crossbeam-deque v0.8.5 Compiling syn v2.0.48 Compiling unicode-normalization v0.1.22 Compiling simd_helpers v0.1.0 Compiling jobserver v0.1.27 Compiling getrandom v0.2.12 Compiling signal-hook-registry v1.4.1 Compiling crossbeam v0.8.4 Compiling console v0.15.8 Compiling wait-timeout v0.2.0 Compiling rand_core v0.6.4 Compiling cc v1.0.83 Compiling rand_chacha v0.3.1 Compiling terminal_size v0.3.0 Compiling is-terminal v0.4.10 Compiling regex-automata v0.4.3 Compiling rayon v1.8.0 Compiling clap_builder v4.4.14 Compiling idna v0.5.0 Compiling rand v0.8.5 Compiling predicates v3.0.4 Compiling criterion-plot v0.5.0 Compiling plotters v0.3.5 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 regex v1.10.2 Compiling bstr v1.9.0 Compiling env_logger v0.8.4 Compiling assert_cmd v2.0.12 Compiling quickcheck v1.0.3 Compiling profiling-procmacros v1.0.13 Compiling serde_derive v1.0.195 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 interpolate_name v0.2.4 Compiling profiling v1.0.13 Compiling git2 v0.18.1 Compiling v_frame v0.3.7 Compiling av1-grain v0.2.3 Compiling av-metrics v0.9.1 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 Compiling ciborium v0.2.1 Compiling tinytemplate v1.2.1 Compiling criterion v0.5.1 warning: fields `row` and `col` are never read --> src/lrf.rs:1270:7 | 1269 | pub struct RestorationPlaneOffset { | ---------------------- fields in this struct 1270 | pub row: usize, | ^^^ 1271 | pub col: usize, | ^^^ | = note: `RestorationPlaneOffset` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:24:3 | 24 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ChromaSamplePosition` ... 30 | pub enum ChromaSamplePosition { | -------------------- `ChromaSamplePosition` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:54:3 | 54 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ColorPrimaries` ... 60 | pub enum ColorPrimaries { | -------------- `ColorPrimaries` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:98:3 | 98 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TransferCharacteristics` ... 104 | pub enum TransferCharacteristics { | ----------------------- `TransferCharacteristics` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:152:3 | 152 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MatrixCoefficients` ... 158 | pub enum MatrixCoefficients { | ------------------ `MatrixCoefficients` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/color.rs:220:3 | 220 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PixelRange` ... 226 | pub enum PixelRange { | ---------- `PixelRange` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/config/speedsettings.rs:317:3 | 317 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SceneDetectionSpeed` ... 321 | pub enum SceneDetectionSpeed { | ------------------- `SceneDetectionSpeed` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/config/speedsettings.rs:353:3 | 353 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PredictionModesSetting` ... 357 | pub enum PredictionModesSetting { | ---------------------- `PredictionModesSetting` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/config/speedsettings.rs:396:3 | 396 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SGRComplexityLevel` ... 400 | pub enum SGRComplexityLevel { | ------------------ `SGRComplexityLevel` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/api/config/speedsettings.rs:428:3 | 428 | FromPrimitive, | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SegmentationLevel` ... 432 | pub enum SegmentationLevel { | ----------------- `SegmentationLevel` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/frame/mod.rs:28:45 | 28 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive, Default)] | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FrameTypeOverride` 29 | #[repr(C)] 30 | pub enum FrameTypeOverride { | ----------------- `FrameTypeOverride` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `rav1e` (lib) generated 36 warnings warning: field `save_config` is never read --> src/bin/common.rs:342:7 | 329 | pub struct ParsedCliOptions { | ---------------- field in this struct ... 342 | pub save_config: Option, | ^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: field `0` is never read --> src/bin/decoder/mod.rs:34:11 | 34 | IoError(io::Error), | ------- ^^^^^^^^^ | | | field in this variant | = note: `DecodeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 34 - IoError(io::Error), 34 + IoError(()), | warning: `rav1e` (bin "rav1e" test) generated 2 warnings (2 duplicates) warning: `rav1e` (bin "rav1e") generated 2 warnings warning: `rav1e` (lib test) generated 36 warnings (36 duplicates) Finished `test` profile [optimized + debuginfo] target(s) in 1m 12s Running unittests src/lib.rs (target/debug/deps/ivf-604188674e3b9cf0) running 3 tests test tests::read_invalid_headers ... ok test tests::read_valid_headers ... ok test tests::read_valid_packet ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/lib.rs (target/debug/deps/rav1e-6efd302a2b7d693f) running 131 tests test activity::ssim_boost_tests::overflow_test ... ok test activity::ssim_boost_tests::accuracy_test ... ok test api::test::large_width_assert ... ok test activity::ssim_boost_tests::reciprocal_cube_root_test_8 ... ok test api::test::max_key_frame_interval_overflow ... ok test api::test::minimum_frame_delay ... ok test api::test::guess_frame_subtypes_assert ... ok test activity::ssim_boost_tests::reciprocal_cube_root_test_10 ... ok test api::test::output_frameno_incremental_reorder_keyframe_at_4 ... ok test api::test::output_frameno_incremental_reorder_keyframe_at_1 ... ok test api::test::output_frameno_incremental_reorder_keyframe_at_3 ... ok test api::test::log_q_exp_overflow ... ok test api::test::output_frameno_incremental_reorder_keyframe_at_2 ... ok test api::test::output_frameno_incremental_reorder_keyframe_at_0 ... ok test api::test::output_frameno_incremental_reorder_minus_4 ... ok test api::test::output_frameno_no_scene_change_at_short_flash_1 ... ok test api::test::output_frameno_no_scene_change_at_short_flash_2 ... ok test api::test::output_frameno_no_scene_change_at_short_flash_3 ... ok test api::test::output_frameno_incremental_reorder_minus_3 ... ok test api::test::output_frameno_low_latency_minus_1 ... ok test api::test::output_frameno_reorder_minus_4 ... ok test api::test::output_frameno_reorder_minus_3 ... ok test api::test::output_frameno_incremental_reorder_minus_2 ... ok test api::test::output_frameno_low_latency_minus_0 ... ok test api::test::output_frameno_incremental_reorder_minus_1 ... ok test api::test::output_frameno_no_scene_change_at_flash_smaller_than_max_len_flash ... ok test api::test::rdo_lookahead_frames_overflow ... ok test api::test::output_frameno_incremental_reorder_scene_change_at_2 ... ok test api::test::output_frameno_reorder_minus_2 ... ok test api::test::output_frameno_incremental_reorder_minus_0 ... ok test api::test::output_frameno_reorder_minus_1 ... ok test api::test::output_frameno_incremental_reorder_scene_change_at_0 ... ok test api::test::output_frameno_incremental_reorder_scene_change_at_3 ... ok test api::test::output_frameno_incremental_reorder_scene_change_at_4 ... ok test api::test::reservoir_max_overflow ... ok test api::test::output_frameno_incremental_reorder_scene_change_at_1 ... ok test api::test::target_bitrate_overflow ... ok test api::test::output_frameno_reorder_minus_0 ... ok test api::test::tile_cols_overflow ... ok test api::test::time_base_den_divide_by_zero ... ok test api::test::zero_frames ... ok test api::test::zero_width ... ok test cdef::rust::test::check_max_element ... ok test context::partition_unit::test::cdf_map ... ok test context::partition_unit::test::cfl_joint_sign ... ok test ec::test::cdf ... ok test ec::test::booleans ... ok test api::test::pyramid_level_low_latency_minus_1 ... ok test api::test::output_frameno_reorder_scene_change_at_2 ... ok test api::test::pyramid_level_low_latency_minus_0 ... ok test encoder::test::check_partition_types_order ... ok test api::test::output_frameno_reorder_scene_change_at_1 ... ok test api::test::output_frameno_reorder_scene_change_at_4 ... ok test api::test::output_frameno_reorder_scene_change_at_3 ... ok test api::test::output_frameno_reorder_scene_change_at_0 ... ok test ec::test::mixed ... ok test api::test::pyramid_level_reorder_minus_4 ... ok test partition::tests::from_wh_matches_naive ... ok test predict::test::pred_matches_u8 ... ok test header::tests::validate_leb128_write ... ok test predict::test::pred_max ... ok test dist::test::get_sad_same_u16 ... ok test quantize::test::test_tx_log_scale ... ok test dist::test::get_sad_same_u8 ... ok test quantize::test::gen_divu_table ... ok test dist::test::get_satd_same_u8 ... ok test rdo::estimate_rate_test ... ok test tiling::plane_region::area_test ... ok test dist::test::get_satd_same_u16 ... ok test tiling::plane_region::frame_block_offset ... ok test api::test::pyramid_level_reorder_minus_3 ... ok test api::test::pyramid_level_reorder_minus_2 ... ok test tiling::tiler::test::test_tiling_info_from_tile_count ... ok test tiling::tiler::test::test_tile_restoration_edges ... ok test api::test::pyramid_level_reorder_minus_1 ... ok test tiling::tiler::test::tile_log2_overflow ... ok test api::test::output_frameno_scene_change_after_multiple_flashes ... ok test transform::test::log_tx_ratios ... ok test api::test::switch_frame_interval ... ok test api::test::pyramid_level_reorder_minus_0 ... ok test api::test::pyramid_level_reorder_scene_change_at_0 ... ok test api::test::pyramid_level_reorder_scene_change_at_1 ... ok test quantize::test::test_divu_pair ... ok test util::align::test::sanity_heap ... ok test api::test::output_frameno_scene_change_before_flash_longer_than_max_flash_len ... ok test tiling::tiler::test::test_tile_blocks_write ... ok test tiling::tiler::test::test_tile_area ... ok test util::align::test::sanity_stack ... ok test util::cdf::test::cdf_5d_ok ... ok test api::test::pyramid_level_reorder_scene_change_at_2 ... ok test util::cdf::test::cdf_len_ok ... ok test transform::test::roundtrips_u16 ... ok test tiling::tiler::test::test_tile_blocks_area ... ok test tiling::tiler::test::test_tile_restoration_write ... ok test transform::test::roundtrips_u8 ... ok test util::cdf::test::cdf_vals_ok ... ok test util::cdf::test::cdf_val_panics - should panic ... ok test util::cdf::test::cdf_len_panics - should panic ... ok test util::kmeans::test::four_means ... ok test tiling::tiler::test::test_tile_motion_vectors_write ... ok test util::kmeans::test::three_means ... ok test tiling::tiler::test::test_tile_write ... ok test api::test::pyramid_level_reorder_scene_change_at_4 ... ok test util::logexp::test::bexp64_vectors ... ok test util::logexp::test::bexp_q24_vectors ... ok test api::test::pyramid_level_reorder_scene_change_at_3 ... ok test tiling::tiler::test::test_tile_iter_len ... ok test util::logexp::test::blog32_vectors ... ok test util::logexp::test::blog64_vectors ... ok test api::test::test_t35_parameter ... ok test util::logexp::test::blog32_q11_bexp32_q10_round_trip ... ok test api::test::test_opaque_delivery ... ok test tiling::tiler::test::from_target_tiles_422 ... ok test activity::ssim_boost_tests::reciprocal_cube_root_test_12 ... ok test util::logexp::test::blog32_bexp_q24_round_trip ... ok test util::logexp::test::blog64_bexp64_round_trip ... ok test api::test::flush_low_latency_scene_change_detection ... ok test api::test::flush_unlimited_low_latency_scene_change_detection ... ok test api::test::flush_unlimited_low_latency_no_scene_change ... ok test api::test::flush_low_latency_no_scene_change ... ok test api::test::max_quantizer_bounds_correctly ... ok test api::test::lookahead_size_properly_bounded_lowlatency_8 ... ok test api::test::lookahead_size_properly_bounded_lowlatency_1 ... ok test api::test::min_quantizer_bounds_correctly ... ok test api::test::flush_unlimited_reorder_no_scene_change ... ok test api::test::flush_reorder_no_scene_change ... ok test api::test::flush_unlimited_reorder_scene_change_detection ... ok test api::test::flush_reorder_scene_change_detection ... ok test api::test::lookahead_size_properly_bounded_10 ... ok test api::test::lookahead_size_properly_bounded_16 ... ok test api::test::lookahead_size_properly_bounded_8 ... ok test result: ok. 131 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.98s Running unittests src/bin/rav1e.rs (target/debug/deps/rav1e-e0da7649759ae30d) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/binary.rs (target/debug/deps/binary-183cfc249494b143) running 10 tests test binary::one_pass_qp_based_high_bitdepth ... ok test binary::one_pass_qp_based_low_bitdepth ... ok test binary::one_pass_bitrate_based_high_bitdepth ... ok test binary::one_pass_bitrate_based_low_bitdepth ... ok test binary::two_pass_bitrate_based_high_bitdepth ... ok test binary::two_pass_bitrate_based_constrained_low_bitdepth ... ok test binary::two_pass_bitrate_based_low_bitdepth ... ok test binary::two_pass_bitrate_based_constrained_high_bitdepth ... ok test binary::three_pass_bitrate_based_high_bitdepth ... ok test binary::three_pass_bitrate_based_low_bitdepth ... ok test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.55s Running tests/doctests.rs (target/debug/deps/doctests-9d90f82df5eb94a3) running 3 tests test send_frame ... ok test encoding ... ok test receive_packet ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.52s Doc-tests ivf running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests rav1e running 12 tests test src/tiling/plane_region.rs - tiling::plane_region::PlaneRegion<'a,T>::subregion (line 435) ... ignored test src/tiling/plane_region.rs - tiling::plane_region::PlaneRegion<'a,T>::subregion (line 443) ... ignored test src/tiling/plane_region.rs - tiling::plane_region::PlaneRegionMut<'a,T>::subregion (line 436) ... ignored test src/tiling/plane_region.rs - tiling::plane_region::PlaneRegionMut<'a,T>::subregion (line 444) ... ignored test src/tiling/plane_region.rs - tiling::plane_region::PlaneRegionMut<'a,T>::subregion_mut (line 455) ... ignored test src/tiling/plane_region.rs - tiling::plane_region::PlaneRegionMut<'a,T>::subregion_mut (line 463) ... ignored test src/lib.rs - version (line 243) ... ok test src/api/context.rs - api::context::Context::send_frame (line 79) ... ok test src/api/context.rs - api::context::Context::receive_packet (line 211) ... ok test src/api/context.rs - api::context::Context::receive_packet (line 238) ... ok test src/api/config/mod.rs - api::config::Config::new_context (line 281) ... ok test src/api/context.rs - api::context::Context::new_frame (line 41) ... ok test result: ok. 6 passed; 0 failed; 6 ignored; 0 measured; 0 filtered out; finished in 0.84s >>> rav1e: Entering fakeroot... Compiling crossbeam-utils v0.8.19 Compiling linux-raw-sys v0.4.12 Compiling bitflags v2.4.1 Compiling utf8parse v0.2.1 Compiling either v1.9.0 Compiling colorchoice v1.0.0 Compiling rustix v0.38.28 Compiling libc v0.2.155 Compiling rayon-core v1.12.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 unicode-width v0.1.11 Compiling lab v0.11.0 Compiling arrayvec v0.7.4 Compiling lazy_static v1.4.0 Compiling bitstream-io v2.2.0 Compiling once_cell v1.19.0 Compiling scan_fmt v0.2.6 Compiling y4m v0.8.0 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 anyhow v1.0.79 Compiling thiserror v1.0.56 Compiling signal-hook v0.3.17 Compiling anstyle-parse v0.2.3 Compiling profiling v1.0.13 Compiling rav1e v0.7.1 (/home/buildozer/aports/community/rav1e/src/rav1e-0.7.1) Compiling itertools v0.10.5 Compiling itertools v0.12.0 Compiling anstream v0.6.5 Compiling fern v0.6.2 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 signal-hook-registry v1.4.1 Compiling console v0.15.8 Compiling crossbeam-deque v0.8.5 Compiling crossbeam v0.8.4 Compiling terminal_size v0.3.0 Compiling v_frame v0.3.7 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 15s Building pkg-config files Building header file using cbindgen Populating uninstalled header directory Installing pkg-config file Installing header file Installing static library Installing shared library >>> rav1e-static*: Running split function static... 'usr/lib/librav1e.a' -> '/home/buildozer/aports/community/rav1e/pkg/rav1e-static/usr/lib/librav1e.a' >>> rav1e-static*: Preparing subpackage rav1e-static... >>> rav1e-static*: Stripping binaries >>> rav1e-static*: Running postcheck for rav1e-static >>> rav1e-dev*: Running split function dev... 'usr/include' -> '/home/buildozer/aports/community/rav1e/pkg/rav1e-dev/usr/include' 'usr/lib/pkgconfig' -> '/home/buildozer/aports/community/rav1e/pkg/rav1e-dev/usr/lib/pkgconfig' 'usr/lib/librav1e.so' -> '/home/buildozer/aports/community/rav1e/pkg/rav1e-dev/usr/lib/librav1e.so' >>> rav1e-dev*: Preparing subpackage rav1e-dev... >>> rav1e-dev*: Stripping binaries >>> rav1e-dev*: Running postcheck for rav1e-dev >>> rav1e-doc*: Running split function doc... 'usr/share/doc' -> '/home/buildozer/aports/community/rav1e/pkg/rav1e-doc/usr/share/doc' >>> rav1e-doc*: Preparing subpackage rav1e-doc... >>> rav1e-doc*: Running postcheck for rav1e-doc >>> rav1e-libs*: Running split function libs... 'usr/lib/librav1e.so.0.7' -> '/home/buildozer/aports/community/rav1e/pkg/rav1e-libs/usr/lib/librav1e.so.0.7' 'usr/lib/librav1e.so.0.7.1' -> '/home/buildozer/aports/community/rav1e/pkg/rav1e-libs/usr/lib/librav1e.so.0.7.1' >>> rav1e-libs*: Preparing subpackage rav1e-libs... >>> rav1e-libs*: Stripping binaries >>> rav1e-libs*: Running postcheck for rav1e-libs >>> rav1e*: Running postcheck for rav1e >>> rav1e*: Preparing package rav1e... >>> rav1e*: Stripping binaries >>> rav1e-dev*: Scanning shared objects >>> rav1e-doc*: Scanning shared objects >>> rav1e-libs*: Scanning shared objects >>> rav1e-static*: Scanning shared objects >>> rav1e*: Scanning shared objects >>> rav1e-dev*: Tracing dependencies... pkgconfig rav1e-libs=0.7.1-r0 >>> rav1e-dev*: Package size: 46.6 KB >>> rav1e-dev*: Compressing data... >>> rav1e-dev*: Create checksum... >>> rav1e-dev*: Create rav1e-dev-0.7.1-r0.apk >>> rav1e-doc*: Tracing dependencies... >>> rav1e-doc*: Package size: 11.8 KB >>> rav1e-doc*: Compressing data... >>> rav1e-doc*: Create checksum... >>> rav1e-doc*: Create rav1e-doc-0.7.1-r0.apk >>> rav1e-libs*: Tracing dependencies... so:libc.musl-x86.so.1 so:libgcc_s.so.1 >>> rav1e-libs*: Package size: 1.3 MB >>> rav1e-libs*: Compressing data... >>> rav1e-libs*: Create checksum... >>> rav1e-libs*: Create rav1e-libs-0.7.1-r0.apk >>> rav1e-static*: Tracing dependencies... >>> rav1e-static*: Package size: 3.0 MB >>> rav1e-static*: Compressing data... >>> rav1e-static*: Create checksum... >>> rav1e-static*: Create rav1e-static-0.7.1-r0.apk >>> rav1e*: Tracing dependencies... so:libc.musl-x86.so.1 so:libgcc_s.so.1 >>> rav1e*: Package size: 2.5 MB >>> rav1e*: Compressing data... >>> rav1e*: Create checksum... >>> rav1e*: Create rav1e-0.7.1-r0.apk >>> rav1e: Build complete at Wed, 23 Apr 2025 17:14:01 +0000 elapsed time 0h 7m 7s >>> rav1e: Cleaning up srcdir >>> rav1e: Cleaning up pkgdir >>> rav1e: Uninstalling dependencies... (1/12) Purging .makedepends-rav1e (20250423.170718) (2/12) Purging cargo-c (0.10.12-r0) (3/12) Purging nasm (2.16.03-r0) (4/12) Purging cargo-auditable (0.6.6-r1) (5/12) Purging cargo (1.86.0-r1) (6/12) Purging rust (1.86.0-r1) (7/12) Purging libssh2 (1.11.1-r0) (8/12) Purging llvm20-libs (20.1.2-r2) (9/12) Purging scudo-malloc (20.1.2-r1) (10/12) Purging libffi (3.4.8-r0) (11/12) Purging libxml2 (2.13.7-r1) (12/12) Purging xz-libs (5.8.1-r0) Executing busybox-1.37.0-r16.trigger OK: 400 MiB in 103 packages >>> rav1e: Updating the community/x86 repository index... >>> rav1e: Signing the index...