[INFO] fetching crate minimp4-sys 0.1.0... [INFO] documenting minimp4-sys-0.1.0 against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] extracting crate minimp4-sys 0.1.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate minimp4-sys 0.1.0 on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate minimp4-sys 0.1.0 [INFO] finished tweaking crates.io crate minimp4-sys 0.1.0 [INFO] tweaked toml for crates.io crate minimp4-sys 0.1.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acf05f477fb8e41cd4a2b48dcf1c28091aec48d8d5d94e84f4b7528864919153 [INFO] running `Command { std: "docker" "start" "-a" "acf05f477fb8e41cd4a2b48dcf1c28091aec48d8d5d94e84f4b7528864919153", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acf05f477fb8e41cd4a2b48dcf1c28091aec48d8d5d94e84f4b7528864919153", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acf05f477fb8e41cd4a2b48dcf1c28091aec48d8d5d94e84f4b7528864919153", kill_on_drop: false }` [INFO] [stdout] acf05f477fb8e41cd4a2b48dcf1c28091aec48d8d5d94e84f4b7528864919153 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d43ce96c800b8d56675c301e8b8dac931ee915903590670409be40d38025437 [INFO] running `Command { std: "docker" "start" "-a" "0d43ce96c800b8d56675c301e8b8dac931ee915903590670409be40d38025437", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bindgen v0.52.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling minimp4-sys v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: In file included from minimp4.c:6: [INFO] [stderr] warning: minimp4.h: In function 'write_pending_data': [INFO] [stderr] warning: minimp4.h:1020:56: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: 1020 | if (tr->pending_sample.bytes > 0 && tr->smpl.bytes >= sizeof(sample_t)) [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: minimp4.h: In function 'add_sample_descriptor': [INFO] [stderr] warning: minimp4.h:1055:32: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] [INFO] [stdout] warning: unresolved link to `OUT` [INFO] [stdout] --> /opt/rustwide/target/debug/build/minimp4-sys-5c2875dab046943e/out/bindings.rs:3:130905 [INFO] [stdout] | [INFO] [stdout] 3 | ... { # [doc = " Return position and size for given sample from given track. The 'sample' is a"] # [doc = " MP4 term for 'frame'"] # [doc = ""] # [doc = " frame_bytes [OUT] - return coded frame size in bytes"] # [doc = " timestamp [OUT] - return frame timestamp (in mp4->timescale units)"] # [doc = " duration [OUT] - return frame duration (in mp4->timescale units)"] # [doc = ""] # [doc = " function return offset for the frame"] pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] frame_bytes [OUT] - return coded frame size in bytes [INFO] [stdout] ^^^ [INFO] [stdout] = note: no item named `OUT` in scope [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: 1055 | smp.duration = (duration ? duration : tr->info.default_duration); [INFO] [stdout] warning: unresolved link to `ntrack` [INFO] [stdout] --> /opt/rustwide/target/debug/build/minimp4-sys-5c2875dab046943e/out/bindings.rs:3:131777 [INFO] [stdout] | [INFO] [stdout] 3 | ... { # [doc = " Helper functions to parse mp4.track[ntrack].dsi for H.264 SPS/PPS"] # [doc = " Return pointer to internal mp4 memory, it must not be free()-ed"] # [doc = ""] # [doc = " Example: process all SPS in MP4 file:"] # [doc = " while (sps = MP4D_read_sps(mp4, num_of_avc_track, sps_count, &sps_bytes))"] # [doc = " {"] # [doc = " process(sps, sps_bytes);"] # [doc = " sps_count++;"] # [doc = " }"] pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] Helper functions to parse mp4.track[ntrack].dsi for H.264 SPS/PPS [INFO] [stdout] ^^^^^^ [INFO] [stdout] = note: no item named `ntrack` in scope [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: minimp4.h: In function 'mp4e_write_fragment_header': [INFO] [stderr] warning: minimp4.h:1076:7: warning: unused variable 'e' [-Wunused-variable] [INFO] [stderr] warning: 1076 | } e; [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: minimp4.h: In function 'MP4E_put_sample': [INFO] [stderr] warning: minimp4.h:1201:32: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: 1201 | if (tr->smpl.bytes < sizeof(sample_t)) [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: minimp4.h: In function 'mp4_h26x_write_init': [INFO] [stderr] warning: minimp4.h:2362:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [INFO] [stderr] warning: 2362 | tr.track_name = track_name; [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: minimp4.h: In function 'MP4D_open': [INFO] [stderr] warning: minimp4.h:3348:31: warning: comparison of integer expressions of different signedness: 'boxsize_t' {aka 'long unsigned int'} and 'int64_t' {aka 'long int'} [-Wsign-compare] [INFO] [stderr] warning: 3348 | if (payload_bytes > file_size) [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: minimp4.c: In function 'write_mp4': [INFO] [stderr] warning: minimp4.c:26:40: warning: passing argument 1 of 'get_nal_size' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [INFO] [stderr] warning: 26 | size_t nal_size = get_nal_size(data, data_size); [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: minimp4.c:8:37: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} [INFO] [stderr] warning: 8 | static size_t get_nal_size(uint8_t *buf, size_t size) [INFO] [stderr] warning: | ~~~~~~~~~^~~ [INFO] [stderr] warning: In file included from minimp4.c:6: [INFO] [stderr] warning: minimp4.h: In function 'mp4_h26x_write_nal': [INFO] [stderr] warning: minimp4.h:2510:25: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 2510 | h->need_idr = 0; [INFO] [stderr] warning: | ~~~~~~~~~~~~^~~ [INFO] [stderr] warning: minimp4.h:2512:9: note: here [INFO] [stderr] warning: 2512 | default: [INFO] [stderr] warning: | ^~~~~~~ [INFO] [stderr] warning: minimp4.h: In function 'minimp4_read': [INFO] [stderr] warning: minimp4.h:2613:11: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 2613 | v = (v << 8) | minimp4_fgets(mp4); [INFO] [stderr] warning: | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: minimp4.h:2614:5: note: here [INFO] [stderr] warning: 2614 | case 3: [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: minimp4.h:2615:11: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 2615 | v = (v << 8) | minimp4_fgets(mp4); [INFO] [stderr] warning: | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: minimp4.h:2616:5: note: here [INFO] [stderr] warning: 2616 | case 2: [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: minimp4.h:2617:11: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 2617 | v = (v << 8) | minimp4_fgets(mp4); [INFO] [stderr] warning: | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: minimp4.h:2618:5: note: here [INFO] [stderr] warning: 2618 | default: [INFO] [stderr] warning: | ^~~~~~~ [INFO] [stderr] warning: At top level: [INFO] [stderr] warning: minimp4.h:934:29: warning: 'next_dsi' defined but not used [-Wunused-function] [INFO] [stderr] warning: 934 | static const unsigned char *next_dsi(const unsigned char *p, const unsigned char *end, int *bytes) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] Documenting minimp4-sys v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.27s [INFO] running `Command { std: "docker" "inspect" "0d43ce96c800b8d56675c301e8b8dac931ee915903590670409be40d38025437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d43ce96c800b8d56675c301e8b8dac931ee915903590670409be40d38025437", kill_on_drop: false }` [INFO] [stdout] 0d43ce96c800b8d56675c301e8b8dac931ee915903590670409be40d38025437 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTC_BOOTSTRAP=1" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "rustdoc" "--lib" "-Zrustdoc-map" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stdout] 4f6e8f24b5df864088fbb3894eaf5798817a1fd9d9a110f9b6e23b2d09a4f0f2 [INFO] running `Command { std: "docker" "start" "-a" "4f6e8f24b5df864088fbb3894eaf5798817a1fd9d9a110f9b6e23b2d09a4f0f2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling bindgen v0.52.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling minimp4-sys v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: In file included from minimp4.c:6: [INFO] [stderr] warning: minimp4.h: In function 'write_pending_data': [INFO] [stderr] warning: minimp4.h:1020:56: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: 1020 | if (tr->pending_sample.bytes > 0 && tr->smpl.bytes >= sizeof(sample_t)) [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: minimp4.h: In function 'add_sample_descriptor': [INFO] [stderr] warning: minimp4.h:1055:32: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] [INFO] [stderr] warning: 1055 | smp.duration = (duration ? duration : tr->info.default_duration); [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: minimp4.h: In function 'mp4e_write_fragment_header': [INFO] [stderr] warning: minimp4.h:1076:7: warning: unused variable 'e' [-Wunused-variable] [INFO] [stderr] warning: 1076 | } e; [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: minimp4.h: In function 'MP4E_put_sample': [INFO] [stderr] warning: minimp4.h:1201:32: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: 1201 | if (tr->smpl.bytes < sizeof(sample_t)) [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: minimp4.h: In function 'mp4_h26x_write_init': [INFO] [stderr] warning: minimp4.h:2362:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [INFO] [stderr] warning: 2362 | tr.track_name = track_name; [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: minimp4.h: In function 'MP4D_open': [INFO] [stderr] warning: minimp4.h:3348:31: warning: comparison of integer expressions of different signedness: 'boxsize_t' {aka 'long unsigned int'} and 'int64_t' {aka 'long int'} [-Wsign-compare] [INFO] [stderr] warning: 3348 | if (payload_bytes > file_size) [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: minimp4.c: In function 'write_mp4': [INFO] [stderr] warning: minimp4.c:26:40: warning: passing argument 1 of 'get_nal_size' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [INFO] [stderr] warning: 26 | size_t nal_size = get_nal_size(data, data_size); [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: minimp4.c:8:37: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'const uint8_t *' {aka 'const unsigned char *'} [INFO] [stderr] warning: 8 | static size_t get_nal_size(uint8_t *buf, size_t size) [INFO] [stderr] warning: | ~~~~~~~~~^~~ [INFO] [stderr] warning: In file included from minimp4.c:6: [INFO] [stderr] warning: minimp4.h: In function 'mp4_h26x_write_nal': [INFO] [stderr] warning: minimp4.h:2510:25: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 2510 | h->need_idr = 0; [INFO] [stderr] warning: | ~~~~~~~~~~~~^~~ [INFO] [stderr] warning: minimp4.h:2512:9: note: here [INFO] [stderr] warning: 2512 | default: [INFO] [stderr] warning: | ^~~~~~~ [INFO] [stderr] warning: minimp4.h: In function 'minimp4_read': [INFO] [stderr] warning: minimp4.h:2613:11: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 2613 | v = (v << 8) | minimp4_fgets(mp4); [INFO] [stderr] warning: | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: minimp4.h:2614:5: note: here [INFO] [stderr] warning: 2614 | case 3: [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: minimp4.h:2615:11: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 2615 | v = (v << 8) | minimp4_fgets(mp4); [INFO] [stderr] warning: | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: minimp4.h:2616:5: note: here [INFO] [stderr] warning: 2616 | case 2: [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: minimp4.h:2617:11: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 2617 | v = (v << 8) | minimp4_fgets(mp4); [INFO] [stderr] warning: | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: minimp4.h:2618:5: note: here [INFO] [stderr] warning: 2618 | default: [INFO] [stderr] warning: | ^~~~~~~ [INFO] [stderr] warning: At top level: [INFO] [stderr] warning: minimp4.h:934:29: warning: 'next_dsi' defined but not used [-Wunused-function] [INFO] [stderr] warning: 934 | static const unsigned char *next_dsi(const unsigned char *p, const unsigned char *end, int *bytes) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] Documenting minimp4-sys v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unresolved link to `OUT` [INFO] [stdout] --> /opt/rustwide/target/debug/build/minimp4-sys-5c2875dab046943e/out/bindings.rs:3:130905 [INFO] [stdout] | [INFO] [stdout] 3 | ... { # [doc = " Return position and size for given sample from given track. The 'sample' is a"] # [doc = " MP4 term for 'frame'"] # [doc = ""] # [doc = " frame_bytes [OUT] - return coded frame size in bytes"] # [doc = " timestamp [OUT] - return frame timestamp (in mp4->timescale units)"] # [doc = " duration [OUT] - return frame duration (in mp4->timescale units)"] # [doc = ""] # [doc = " function return offset for the frame"] pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] frame_bytes [OUT] - return coded frame size in bytes [INFO] [stdout] ^^^ [INFO] [stdout] = note: no item named `OUT` in scope [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `ntrack` [INFO] [stdout] --> /opt/rustwide/target/debug/build/minimp4-sys-5c2875dab046943e/out/bindings.rs:3:131777 [INFO] [stdout] | [INFO] [stdout] 3 | ... { # [doc = " Helper functions to parse mp4.track[ntrack].dsi for H.264 SPS/PPS"] # [doc = " Return pointer to internal mp4 memory, it must not be free()-ed"] # [doc = ""] # [doc = " Example: process all SPS in MP4 file:"] # [doc = " while (sps = MP4D_read_sps(mp4, num_of_avc_track, sps_count, &sps_bytes))"] # [doc = " {"] # [doc = " process(sps, sps_bytes);"] # [doc = " sps_count++;"] # [doc = " }"] pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] Helper functions to parse mp4.track[ntrack].dsi for H.264 SPS/PPS [INFO] [stdout] ^^^^^^ [INFO] [stdout] = note: no item named `ntrack` in scope [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.49s [INFO] running `Command { std: "docker" "inspect" "4f6e8f24b5df864088fbb3894eaf5798817a1fd9d9a110f9b6e23b2d09a4f0f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f6e8f24b5df864088fbb3894eaf5798817a1fd9d9a110f9b6e23b2d09a4f0f2", kill_on_drop: false }` [INFO] [stdout] 4f6e8f24b5df864088fbb3894eaf5798817a1fd9d9a110f9b6e23b2d09a4f0f2