simplemad_sys 0.5.0

libmad 0.15.1b bindings for Rust
Documentation

Build #2770586 2025-12-28 20:57:13

# rustc version rustc 1.94.0-nightly (7b5cde737 2025-12-27)

# docs.rs version docsrs 0.1.0 (e6d7c66e 2025-12-21 )

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/simplemad_sys-0.5.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/simplemad_sys-0.5.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20251227-1.94.0-nightly-7b5cde737\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1eb51d20dbac6088910eb13d4e0a2b685c25e48f28748fc6279eb1bf5705db14 [INFO] running `Command { std: "docker" "start" "-a" "1eb51d20dbac6088910eb13d4e0a2b685c25e48f28748fc6279eb1bf5705db14", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stderr] --> build.rs:13:24 [INFO] [stderr] | [INFO] [stderr] 13 | let mut gcc = gcc::Config::new(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stderr] --> build.rs:13:32 [INFO] [stderr] | [INFO] [stderr] 13 | let mut gcc = gcc::Config::new(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `simplemad_sys` (build script) generated 2 warnings [INFO] [stderr] warning: simplemad_sys@0.5.0: libmad-src/bit.c: In function 'mad_bit_crc': [INFO] [stderr] warning: simplemad_sys@0.5.0: libmad-src/bit.c:214:15: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: simplemad_sys@0.5.0: 214 | case 3: crc = (crc << 8) ^ [INFO] [stderr] warning: simplemad_sys@0.5.0: | ~~~~^~~~~~~~~~~~~~ [INFO] [stderr] warning: simplemad_sys@0.5.0: 215 | crc_table[((crc >> 8) ^ mad_bit_read(&bitptr, 8)) & 0xff]; [INFO] [stderr] warning: simplemad_sys@0.5.0: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: simplemad_sys@0.5.0: libmad-src/bit.c:216:3: note: here [INFO] [stderr] warning: simplemad_sys@0.5.0: 216 | case 2: crc = (crc << 8) ^ [INFO] [stderr] warning: simplemad_sys@0.5.0: | ^~~~ [INFO] [stderr] warning: simplemad_sys@0.5.0: libmad-src/bit.c:216:15: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: simplemad_sys@0.5.0: 216 | case 2: crc = (crc << 8) ^ [INFO] [stderr] warning: simplemad_sys@0.5.0: | ~~~~^~~~~~~~~~~~~~ [INFO] [stderr] warning: simplemad_sys@0.5.0: 217 | crc_table[((crc >> 8) ^ mad_bit_read(&bitptr, 8)) & 0xff]; [INFO] [stderr] warning: simplemad_sys@0.5.0: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: simplemad_sys@0.5.0: libmad-src/bit.c:218:3: note: here [INFO] [stderr] warning: simplemad_sys@0.5.0: 218 | case 1: crc = (crc << 8) ^ [INFO] [stderr] warning: simplemad_sys@0.5.0: | ^~~~ [INFO] [stderr] warning: simplemad_sys@0.5.0: libmad-src/frame.c: In function 'mad_header_decode': [INFO] [stderr] warning: simplemad_sys@0.5.0: libmad-src/frame.c:318:19: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: simplemad_sys@0.5.0: 318 | if (end - ptr < stream->skiplen) { [INFO] [stderr] warning: simplemad_sys@0.5.0: | ^ [INFO] [stderr] warning: simplemad_sys@0.5.0: libmad-src/decoder.c: In function 'mad_decoder_finish': [INFO] [stderr] warning: simplemad_sys@0.5.0: libmad-src/decoder.c:96:44: warning: unused parameter 'decoder' [-Wunused-parameter] [INFO] [stderr] warning: simplemad_sys@0.5.0: 96 | int mad_decoder_finish(struct mad_decoder *decoder) [INFO] [stderr] warning: simplemad_sys@0.5.0: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ [INFO] [stderr] warning: simplemad_sys@0.5.0: libmad-src/decoder.c: In function 'mad_decoder_message': [INFO] [stderr] warning: simplemad_sys@0.5.0: libmad-src/decoder.c:569:45: warning: unused parameter 'decoder' [-Wunused-parameter] [INFO] [stderr] warning: simplemad_sys@0.5.0: 569 | int mad_decoder_message(struct mad_decoder *decoder, [INFO] [stderr] warning: simplemad_sys@0.5.0: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ [INFO] [stderr] warning: simplemad_sys@0.5.0: libmad-src/decoder.c:570:31: warning: unused parameter 'message' [-Wunused-parameter] [INFO] [stderr] warning: simplemad_sys@0.5.0: 570 | void *message, unsigned int *len) [INFO] [stderr] warning: simplemad_sys@0.5.0: | ~~~~~~^~~~~~~ [INFO] [stderr] warning: simplemad_sys@0.5.0: libmad-src/decoder.c:570:54: warning: unused parameter 'len' [-Wunused-parameter] [INFO] [stderr] warning: simplemad_sys@0.5.0: 570 | void *message, unsigned int *len) [INFO] [stderr] warning: simplemad_sys@0.5.0: | ~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: simplemad_sys@0.5.0: libmad-src/layer3.c: In function 'III_requantize': [INFO] [stderr] warning: simplemad_sys@0.5.0: libmad-src/layer3.c:897:14: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: simplemad_sys@0.5.0: 897 | if (-exp >= sizeof(mad_fixed_t) * CHAR_BIT) { [INFO] [stderr] warning: simplemad_sys@0.5.0: | ^~ [INFO] [stderr] warning: simplemad_sys@0.5.0: libmad-src/layer3.c: In function 'III_huffdecode': [INFO] [stderr] warning: simplemad_sys@0.5.0: libmad-src/layer3.c:1056:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] warning: simplemad_sys@0.5.0: 1056 | if (cachesz < linbits + 2) { [INFO] [stderr] warning: simplemad_sys@0.5.0: | ^ [INFO] [stderr] warning: simplemad_sys@0.5.0: libmad-src/layer3.c:1091:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] [INFO] [stderr] warning: simplemad_sys@0.5.0: 1091 | if (cachesz < linbits + 1) { [INFO] [stderr] warning: simplemad_sys@0.5.0: | ^ [INFO] [stderr] warning: simplemad_sys@0.5.0: libmad-src/layer3.c: In function 'sdctII': [INFO] [stderr] warning: simplemad_sys@0.5.0: libmad-src/layer3.c:1680:3: warning: 'fastsdct' accessing 72 bytes in a region of size 68 [-Wstringop-overflow=] [INFO] [stderr] warning: simplemad_sys@0.5.0: 1680 | fastsdct(tmp, &X[1]); [INFO] [stderr] warning: simplemad_sys@0.5.0: | ^~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: simplemad_sys@0.5.0: libmad-src/layer3.c:1680:3: note: referencing argument 2 of type 'mad_fixed_t[18]' {aka 'int[18]'} [INFO] [stderr] warning: simplemad_sys@0.5.0: libmad-src/layer3.c:1580:6: note: in a call to function 'fastsdct' [INFO] [stderr] warning: simplemad_sys@0.5.0: 1580 | void fastsdct(mad_fixed_t const x[9], mad_fixed_t y[18]) [INFO] [stderr] warning: simplemad_sys@0.5.0: | ^~~~~~~~ [INFO] [stderr] Documenting simplemad_sys v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/simplemad_sys/index.html [INFO] running `Command { std: "docker" "inspect" "1eb51d20dbac6088910eb13d4e0a2b685c25e48f28748fc6279eb1bf5705db14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eb51d20dbac6088910eb13d4e0a2b685c25e48f28748fc6279eb1bf5705db14", kill_on_drop: false }` [INFO] [stdout] 1eb51d20dbac6088910eb13d4e0a2b685c25e48f28748fc6279eb1bf5705db14