[INFO] fetching crate audio-visualizer 0.3.1... [INFO] documenting audio-visualizer-0.3.1 against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] extracting crate audio-visualizer 0.3.1 into /workspace/builds/worker-42/source [INFO] validating manifest of crates.io crate audio-visualizer 0.3.1 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 audio-visualizer 0.3.1 [INFO] finished tweaking crates.io crate audio-visualizer 0.3.1 [INFO] tweaked toml for crates.io crate audio-visualizer 0.3.1 written to /workspace/builds/worker-42/source/Cargo.toml [INFO] crate crates.io crate audio-visualizer 0.3.1 already has a lockfile, it will not be regenerated [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-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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] 31257b52e8672ff81d036043354c1b646e2c537961db510267f05bd0aeeb452d [INFO] running `Command { std: "docker" "start" "-a" "31257b52e8672ff81d036043354c1b646e2c537961db510267f05bd0aeeb452d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31257b52e8672ff81d036043354c1b646e2c537961db510267f05bd0aeeb452d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31257b52e8672ff81d036043354c1b646e2c537961db510267f05bd0aeeb452d", kill_on_drop: false }` [INFO] [stdout] 31257b52e8672ff81d036043354c1b646e2c537961db510267f05bd0aeeb452d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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] ce9bc3e16e9876c6a5ba73c3e2cf6ee6d8b5bedca1f036ba09ae2e9387cf6b7c [INFO] running `Command { std: "docker" "start" "-a" "ce9bc3e16e9876c6a5ba73c3e2cf6ee6d8b5bedca1f036ba09ae2e9387cf6b7c", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling cpal v0.13.4 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking float-ord v0.2.0 [INFO] [stderr] Checking array-init v2.0.0 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.9.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking ringbuffer v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling minifb v0.19.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking png v0.17.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking nix v0.20.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Compiling pathfinder_simd v0.5.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Checking plotters-bitmap v0.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Checking freetype v0.7.0 [INFO] [stderr] Checking servo-fontconfig v0.5.1 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking alsa v0.5.0 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Checking font-kit v0.10.1 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Documenting audio-visualizer v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking audio-visualizer v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "ce9bc3e16e9876c6a5ba73c3e2cf6ee6d8b5bedca1f036ba09ae2e9387cf6b7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce9bc3e16e9876c6a5ba73c3e2cf6ee6d8b5bedca1f036ba09ae2e9387cf6b7c", kill_on_drop: false }` [INFO] [stdout] ce9bc3e16e9876c6a5ba73c3e2cf6ee6d8b5bedca1f036ba09ae2e9387cf6b7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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] 54466ece012d11643f6c0a24c26e52dd99026cbe2df4140c3b4081d258a8353e [INFO] running `Command { std: "docker" "start" "-a" "54466ece012d11643f6c0a24c26e52dd99026cbe2df4140c3b4081d258a8353e", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Compiling cpal v0.13.4 [INFO] [stderr] Checking float-ord v0.2.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking array-init v2.0.0 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking ringbuffer v0.8.3 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.9.1 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Compiling minifb v0.19.3 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking nix v0.20.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking png v0.17.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking freetype v0.7.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking servo-fontconfig v0.5.1 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling pathfinder_simd v0.5.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking alsa v0.5.0 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking font-kit v0.10.1 [INFO] [stderr] Checking plotters-bitmap v0.3.1 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Documenting audio-visualizer v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / //! Super basic and simple audio visualization library which is especially useful for developers to [INFO] [stdout] 25 | | //! visually check audio samples, e.g. by waveform or spectrum. (So far) this library is not [INFO] [stdout] 26 | | //! capable of doing nice visualizations for end users. Contributions are welcome. [INFO] [stdout] | |__________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | #![deny(rustdoc::all)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(rustdoc::missing_doc_code_examples)]` implied by `#[deny(rustdoc::all)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/spectrum/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / //! Module for several frequency spectrum visualization implementations. [INFO] [stdout] 26 | | //! This module focuses on static visualization. For dynamic visualization, [INFO] [stdout] 27 | | //! look into the [`crate::dynamic`] module + corresponding examples in `examples/`. [INFO] [stdout] | |____________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/spectrum/plotters_png_file.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! Static spectrum analysis: print spectrum to PNG file. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/spectrum/plotters_png_file.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub fn spectrum_static_plotters_png_visualize( [INFO] [stdout] 8 | | frequency_spectrum: &BTreeMap, [INFO] [stdout] 9 | | directory: &str, [INFO] [stdout] 10 | | filename: &str, [INFO] [stdout] ... | [INFO] [stdout] 81 | | .unwrap(); [INFO] [stdout] 82 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/spectrum/png_file.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! Static spectrum analysis: print spectrum to PNG file. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/spectrum/png_file.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub fn spectrum_static_png_visualize( [INFO] [stdout] 8 | | frequency_spectrum: &BTreeMap, [INFO] [stdout] 9 | | directory: &str, [INFO] [stdout] 10 | | filename: &str, [INFO] [stdout] ... | [INFO] [stdout] 60 | | write_png_file_rgb_tuples(&path, &rgb_img); [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/waveform/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / //! Module for several waveform visualization implementations. [INFO] [stdout] 25 | | //! This module focuses on static visualization. For dynamic visualization, [INFO] [stdout] 26 | | //! look into the [`crate::dynamic`] module + corresponding examples in `examples/`. [INFO] [stdout] | |____________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/waveform/plotters_png_file.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | //! Static waveform visualization which exports the waveform to a PNG file. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/waveform/plotters_png_file.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / /// Visualizes audio as a waveform in a png file using "plotters" crate. [INFO] [stdout] 31 | | /// If the data is stereo, it creates two files (with "left_" and "right_" prefix). [INFO] [stdout] | |___________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/waveform/png_file.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | //! Static waveform visualization which exports the waveform to a PNG file. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/waveform/png_file.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / /// Visualizes audio as a waveform in a png file in the most simple way. [INFO] [stdout] 31 | | /// There are no axes. If the audio data is mono, it creates one file. [INFO] [stdout] 32 | | /// If the data is stereo, it creates two files (with "left_" and "right_" prefix). [INFO] [stdout] | |___________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/dynamic/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / //! Module provides functions to dynamically get audio input (e.g. from mic) and [INFO] [stdout] 26 | | //! to display the recorded audio side-by-side with a transformation of the audio [INFO] [stdout] 27 | | //! data, such as a lowpass filter or a frequency spectrum. [INFO] [stdout] 28 | | //! [INFO] [stdout] 29 | | //! **Its recommended to execute all functions here only with `--release`-flag. Otherwise [INFO] [stdout] 30 | | //! the demo might run really slow. [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/dynamic/live_input.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / //! This module enables to record audio and store the latest audio data in a synchronized [INFO] [stdout] 25 | | //! ringbuffer. See [`setup_audio_input_loop`]. [INFO] [stdout] 26 | | //! [INFO] [stdout] 27 | | //! It uses the [`cpal`] crate to record audio. [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/dynamic/live_input.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / /// Describes the audio input device that should be used and the config for the input stream. [INFO] [stdout] 36 | | /// Caller must be certain, that the config works for the given device on the current platform. [INFO] [stdout] | |_______________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/dynamic/live_input.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / impl AudioDevAndCfg { [INFO] [stdout] 45 | | /// Creates an instance. If no device is passed, it falls back to the default input [INFO] [stdout] 46 | | /// device of the system. [INFO] [stdout] 47 | | pub fn new( [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [INFO] [stdout] 73 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/dynamic/live_input.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / /// Creates an instance. If no device is passed, it falls back to the default input [INFO] [stdout] 46 | | /// device of the system. [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/dynamic/live_input.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | /// Getter for audio device. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/dynamic/live_input.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | /// Getter for audio input stream config. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/dynamic/live_input.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | / /// Sets up audio recording with the [`cpal`] library on the given audio input device. [INFO] [stdout] 93 | | /// If no input device is given, it uses the default input device. Panics, if it not present. [INFO] [stdout] 94 | | /// Returns the stream plus the chosen config for the device. [INFO] [stdout] 95 | | /// [INFO] [stdout] 96 | | /// Appends all audio data to the ringbuffer `latest_audio_data`. [INFO] [stdout] 97 | | /// [INFO] [stdout] 98 | | /// Works on Windows (WASAPI), Linux (ALSA) and MacOS (coreaudio). [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/dynamic/live_input.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | / /// Lists all input devices for [`cpal`]. Can be used to select a device for [INFO] [stdout] 164 | | /// [`setup_audio_input_loop`]. [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/dynamic/window_top_btm/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / //! This module provides the functionality to display a GUI window, where the upper [INFO] [stdout] 25 | | //! half shows the real-time recorded audio data whereas the lower half shows a [INFO] [stdout] 26 | | //! diagram of transformed data, such as a lowpass filter or a a frequency spectrum. [INFO] [stdout] 27 | | //! [INFO] [stdout] 28 | | //! It uses the [`minifb`] crate to display GUI windows. [INFO] [stdout] | |________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/dynamic/window_top_btm/pixel_buf.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] 25 | | [INFO] [stdout] 26 | | /// Abstraction that helps to access the Pixel data as `[u32]` and `[u8]`. [INFO] [stdout] 27 | | /// Required, because `plotters` bitmap works on `[u8]` and `minifb` on [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/dynamic/window_top_btm/pixel_buf.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / /// Abstraction that helps to access the Pixel data as `[u32]` and `[u8]`. [INFO] [stdout] 27 | | /// Required, because `plotters` bitmap works on `[u8]` and `minifb` on [INFO] [stdout] 28 | | /// the other. [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/dynamic/window_top_btm/visualize_minifb.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | //! Helps to visualize audio data [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/dynamic/window_top_btm/visualize_minifb.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / /// Initializes the [`minifb`] window and draws the initial grid into it. [INFO] [stdout] 45 | | /// It splits the drawing area into an upper chart and a lower chart. The [INFO] [stdout] 46 | | /// upper exists to show original audio data. The lower exists to show transformed [INFO] [stdout] 47 | | /// audio data, e.g. spectrum or lowpass filter. [INFO] [stdout] ... | [INFO] [stdout] 65 | | /// - chartstate of the lower chart [INFO] [stdout] 66 | | /// - the shared pixel buf [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/dynamic/window_top_btm/visualize_minifb.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / /// Returns two drawing areas, that together fill the whole window. [INFO] [stdout] 119 | | /// Upper: original audio data [INFO] [stdout] 120 | | /// Lower: transformed audio data [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/dynamic/window_top_btm/mod.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / /// Parameter type for [`open_window_connect_audio`]. Describes how the audio data shall [INFO] [stdout] 57 | | /// be transformed, and thus, how it should be displayed in the lower part of the window. [INFO] [stdout] 58 | | /// [INFO] [stdout] 59 | | /// The function is called every x milliseconds (refresh rate of window). [INFO] [stdout] 60 | | /// [INFO] [stdout] 61 | | /// This works cross-platform (Windows, MacOS, Linux). [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/dynamic/window_top_btm/mod.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / /// Starts the audio recording via `cpal` on the given audio device (or the default input device), [INFO] [stdout] 80 | | /// opens a GUI window and displays two graphs. The upper graph is the latest audio input as [INFO] [stdout] 81 | | /// wave form (live/real time). The lower graph can be customized, to show for example a [INFO] [stdout] 82 | | /// spectrum or the lowpassed data. [INFO] [stdout] ... | [INFO] [stdout] 98 | | /// - `preferred_input_dev` See [`AudioDevAndCfg`]. [INFO] [stdout] 99 | | /// - `audio_data_transform_fn` See [`open_window_connect_audio`]. [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/util/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | //! Common utility functions required in multiple other modules. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/util/png.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / use std::fs::File; [INFO] [stdout] 25 | | use std::io::BufWriter; [INFO] [stdout] 26 | | use std::path::Path; [INFO] [stdout] 27 | | [INFO] [stdout] ... | [INFO] [stdout] 56 | | write_png_file_u8(file, &rgb_data, width, height) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/util/png.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | /// Writes RGB-bytes into the given file using [`png`]-crate. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/util/png.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / /// Wrapper around [`write_png_file_u8`] that takes a vector of vectors with RGB-tuples. [INFO] [stdout] 42 | | /// (rows, cols). [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / /// Describes the interleavement of audio data if [INFO] [stdout] 54 | | /// it is not mono but stereo. [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / impl ChannelInterleavement { [INFO] [stdout] 65 | | pub const fn is_lrlr(&self) -> bool { [INFO] [stdout] 66 | | matches!(self, ChannelInterleavement::LRLR) [INFO] [stdout] 67 | | } [INFO] [stdout] ... | [INFO] [stdout] 98 | | } [INFO] [stdout] 99 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / pub const fn is_lrlr(&self) -> bool { [INFO] [stdout] 66 | | matches!(self, ChannelInterleavement::LRLR) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / pub const fn is_lllrr(&self) -> bool { [INFO] [stdout] 69 | | matches!(self, ChannelInterleavement::LLRR) [INFO] [stdout] 70 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / /// Transforms the interleaved data into two vectors. [INFO] [stdout] 72 | | /// Returns a tuple. First/left value is left channel, second/right value is right channel. [INFO] [stdout] | |_______________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | /// Describes the number of channels of an audio stream. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / impl Channels { [INFO] [stdout] 109 | | pub const fn is_mono(&self) -> bool { [INFO] [stdout] 110 | | matches!(self, Channels::Mono) [INFO] [stdout] 111 | | } [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | / pub const fn is_mono(&self) -> bool { [INFO] [stdout] 110 | | matches!(self, Channels::Mono) [INFO] [stdout] 111 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | / pub const fn is_stereo(&self) -> bool { [INFO] [stdout] 114 | | matches!(self, Channels::Stereo(_)) [INFO] [stdout] 115 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | / pub fn stereo_interleavement(&self) -> ChannelInterleavement { [INFO] [stdout] 118 | | match self { [INFO] [stdout] 119 | | Channels::Stereo(interleavmement) => *interleavmement, [INFO] [stdout] 120 | | _ => panic!("Not stereo"), [INFO] [stdout] 121 | | } [INFO] [stdout] 122 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 42 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `audio-visualizer` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2021 --crate-type lib --crate-name audio_visualizer src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -Z unstable-options --document-private-items -C metadata=e593efc53ed2ec7b -L dependency=/opt/rustwide/target/debug/deps --extern cpal=/opt/rustwide/target/debug/deps/libcpal-849c167be3edb477.rmeta --extern minifb=/opt/rustwide/target/debug/deps/libminifb-e858af8f41b45716.rmeta --extern plotters=/opt/rustwide/target/debug/deps/libplotters-03c49561064a0e1e.rmeta --extern plotters_bitmap=/opt/rustwide/target/debug/deps/libplotters_bitmap-ab31071fbdf2cdc6.rmeta --extern png=/opt/rustwide/target/debug/deps/libpng-14648acd0c256040.rmeta --extern ringbuffer=/opt/rustwide/target/debug/deps/libringbuffer-38b8b8edefcb78ce.rmeta --extern-html-root-url 'cpal=https://docs.rs/cpal/0.13.4/' --extern-html-root-url 'minifb=https://docs.rs/minifb/0.19.3/' --extern-html-root-url 'plotters=https://docs.rs/plotters/0.3.1/' --extern-html-root-url 'plotters_bitmap=https://docs.rs/plotters-bitmap/0.3.1/' --extern-html-root-url 'png=https://docs.rs/png/0.17.1/' --extern-html-root-url 'ringbuffer=https://docs.rs/ringbuffer/0.8.3/' -Zunstable-options --crate-version 0.3.1` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "54466ece012d11643f6c0a24c26e52dd99026cbe2df4140c3b4081d258a8353e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54466ece012d11643f6c0a24c26e52dd99026cbe2df4140c3b4081d258a8353e", kill_on_drop: false }` [INFO] [stdout] 54466ece012d11643f6c0a24c26e52dd99026cbe2df4140c3b4081d258a8353e