[INFO] fetching crate beat-detector 0.1.2... [INFO] documenting beat-detector-0.1.2 against 1.61.0 for beta-1.62-rustdoc-1 [INFO] extracting crate beat-detector 0.1.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate beat-detector 0.1.2 on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate beat-detector 0.1.2 [INFO] finished tweaking crates.io crate beat-detector 0.1.2 [INFO] tweaked toml for crates.io crate beat-detector 0.1.2 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate beat-detector 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spidev v0.4.1 [INFO] [stderr] Downloaded microfft v0.4.0 [INFO] [stderr] Downloaded ws2818-rgb-led-spi-driver v2.0.0 [INFO] [stderr] Downloaded ringbuffer v0.7.1 [INFO] [stderr] Downloaded spectrum-analyzer v1.1.0 [INFO] [stderr] Downloaded lowpass-filter v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+1.61.0" "metadata" "--no-deps" "--format-version=1", 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] 185493a6c21d96803d689c6ef5057aee21d19bfe27c83cdf104811078bd6e969 [INFO] running `Command { std: "docker" "start" "-a" "185493a6c21d96803d689c6ef5057aee21d19bfe27c83cdf104811078bd6e969", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "185493a6c21d96803d689c6ef5057aee21d19bfe27c83cdf104811078bd6e969", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "185493a6c21d96803d689c6ef5057aee21d19bfe27c83cdf104811078bd6e969", kill_on_drop: false }` [INFO] [stdout] 185493a6c21d96803d689c6ef5057aee21d19bfe27c83cdf104811078bd6e969 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", 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] 10b62f904ec1cb4c84ab338892bf88089f6e8e99927705564683a7454e9918c8 [INFO] running `Command { std: "docker" "start" "-a" "10b62f904ec1cb4c84ab338892bf88089f6e8e99927705564683a7454e9918c8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking array-init v2.0.0 [INFO] [stderr] Checking lowpass-filter v0.2.4 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling cpal v0.13.4 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking ringbuffer v0.7.1 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking microfft v0.4.0 [INFO] [stderr] Checking spectrum-analyzer v1.1.0 [INFO] [stderr] Checking nix v0.20.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking alsa v0.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Documenting beat-detector v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: no documentation found for this crate's top-level module [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | #![deny(rustdoc::all)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(rustdoc::missing_crate_level_docs)]` implied by `#[warn(rustdoc::all)]` [INFO] [stdout] = help: The following guide may be of use: [INFO] [stdout] https://doc.rust-lang.org/1.61.0/rustdoc/how-to-write-documentation.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `time_ms` [INFO] [stdout] --> src/strategies/mod.rs:46:45 [INFO] [stdout] | [INFO] [stdout] 46 | /// This is always a bit shorter than [`time_ms`]. It is the timestamp [INFO] [stdout] | ^^^^^^^ no item named `time_ms` in scope [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::broken_intra_doc_links)]` implied by `#[warn(rustdoc::all)]` [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `time_ms` [INFO] [stdout] --> src/strategies/mod.rs:47:55 [INFO] [stdout] | [INFO] [stdout] 47 | /// in the middle of the current frame, whereas [`time_ms`] is the timestamp [INFO] [stdout] | ^^^^^^^ no item named `time_ms` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `beat_time_ms` [INFO] [stdout] --> src/strategies/mod.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | /// [`beat_time_ms`]. [INFO] [stdout] | ^^^^^^^^^^^^ no item named `beat_time_ms` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `sampling_rate` [INFO] [stdout] --> src/strategies/mod.rs:72:67 [INFO] [stdout] | [INFO] [stdout] 72 | /// the amount of (mono, not stereo!) samples for the given [`sampling_rate`]. [INFO] [stdout] | ^^^^^^^^^^^^^ no item named `sampling_rate` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `sampling_rate` [INFO] [stdout] --> src/strategies/mod.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | /// Getter for [`sampling_rate`]. [INFO] [stdout] | ^^^^^^^^^^^^^ no item named `sampling_rate` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `last_beat_timestamp` [INFO] [stdout] --> src/strategies/mod.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | /// Getter for [`last_beat_timestamp`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no item named `last_beat_timestamp` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `beat_time_ms` [INFO] [stdout] --> src/strategies/mod.rs:105:22 [INFO] [stdout] | [INFO] [stdout] 105 | /// Getter for [`beat_time_ms`]. [INFO] [stdout] | ^^^^^^^^^^^^ no item named `beat_time_ms` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `time_ms` [INFO] [stdout] --> src/strategies/mod.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | /// Getter for [`time_ms`]. [INFO] [stdout] | ^^^^^^^ no item named `time_ms` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: public documentation for `LPF` links to private item `strategies::lpf::LpfBeatDetector` [INFO] [stdout] --> src/lib.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | /// Corresponds to [`strategies::lpf::LpfBeatDetector`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this item is private [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::private_intra_doc_links)]` implied by `#[warn(rustdoc::all)]` [INFO] [stdout] = note: this link resolves only because you passed `--document-private-items`, but will break without [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: public documentation for `Spectrum` links to private item `strategies::spectrum::SABeatDetector` [INFO] [stdout] --> src/lib.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | /// Corresponds to [`strategies::spectrum::SABeatDetector`] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this item is private [INFO] [stdout] | [INFO] [stdout] = note: this link resolves only because you passed `--document-private-items`, but will break without [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 40.41s [INFO] running `Command { std: "docker" "inspect" "10b62f904ec1cb4c84ab338892bf88089f6e8e99927705564683a7454e9918c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10b62f904ec1cb4c84ab338892bf88089f6e8e99927705564683a7454e9918c8", kill_on_drop: false }` [INFO] [stdout] 10b62f904ec1cb4c84ab338892bf88089f6e8e99927705564683a7454e9918c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+1.61.0" "rustdoc" "--lib" "-Zrustdoc-map" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", 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] 1af4e448927e2f672162ac76d1cf68487575775d20b29039261456307cadcfd0 [INFO] running `Command { std: "docker" "start" "-a" "1af4e448927e2f672162ac76d1cf68487575775d20b29039261456307cadcfd0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling cpal v0.13.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking array-init v2.0.0 [INFO] [stderr] Checking lowpass-filter v0.2.4 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking ringbuffer v0.7.1 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking nix v0.20.1 [INFO] [stderr] Checking microfft v0.4.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking spectrum-analyzer v1.1.0 [INFO] [stderr] Checking alsa v0.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Documenting beat-detector v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error: no documentation found for this crate's top-level module [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | #![deny(rustdoc::all)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(rustdoc::missing_crate_level_docs)]` implied by `#[deny(rustdoc::all)]` [INFO] [stdout] = help: The following guide may be of use: [INFO] [stdout] https://doc.rust-lang.org/1.61.0/rustdoc/how-to-write-documentation.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / #![deny( [INFO] [stdout] 26 | | clippy::all, [INFO] [stdout] 27 | | clippy::cargo, [INFO] [stdout] 28 | | clippy::nursery, [INFO] [stdout] ... | [INFO] [stdout] 337 | | } [INFO] [stdout] 338 | | } [INFO] [stdout] | |_^ [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/record.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / //! Module for audio recording from an audio input device. [INFO] [stdout] 25 | | //! This needs `std`-functionality. [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/record.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / /// Starts listening to audio events and tries to recognize beats [INFO] [stdout] 37 | | /// on the audio. On each recognized beat, the specified callback [INFO] [stdout] 38 | | /// is executed. It does so by starting a new thread. [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/record.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | / /// Convenient function which helps you to select from a number of [INFO] [stdout] 169 | | /// audio devices using "cpal" audio library. [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/record.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | / /// Convenient function which helps you to get capabilities of [INFO] [stdout] 180 | | /// each audio device covered by "cpal" audio library. [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/record.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | / pub fn get_backends() -> HashMap { [INFO] [stdout] 194 | | cpal::available_hosts() [INFO] [stdout] 195 | | .into_iter() [INFO] [stdout] 196 | | .map(|id| (format!("{:?}", id), cpal::host_from_id(id).unwrap())) [INFO] [stdout] 197 | | .collect::>() [INFO] [stdout] 198 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | /// Struct that holds information about a detected beat. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / impl BeatInfo { [INFO] [stdout] 57 | | #[inline(always)] [INFO] [stdout] 58 | | pub const fn new(relative_ms: u32) -> Self { [INFO] [stdout] 59 | | Self { relative_ms } [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / pub const fn new(relative_ms: u32) -> Self { [INFO] [stdout] 59 | | Self { relative_ms } [INFO] [stdout] 60 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / pub const fn relative_ms(&self) -> u32 { [INFO] [stdout] 64 | | self.relative_ms [INFO] [stdout] 65 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / /// Common abstraction over a beat detection strategy. Each strategy keeps ongoing [INFO] [stdout] 69 | | /// audio samples, for example from microphone. Strategies should have an internal [INFO] [stdout] 70 | | /// mutable state via interior mutability to compare sample windows (and analysis) [INFO] [stdout] 71 | | /// against previous values. [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / /// Checks if inside the samples window a new beat was recognized. [INFO] [stdout] 74 | | /// If so, it returns `Some` with [`BeatInfo`] as payload. [INFO] [stdout] 75 | | /// [INFO] [stdout] 76 | | /// Implementations may buffer previous samples and combine them with the latest, [INFO] [stdout] 77 | | /// i.e. make a sliding window. [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / /// Convenient getter to get the [`StrategyKind`] of a strategy. [INFO] [stdout] 81 | | /// This is a 1:1 mapping. [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | /// A nice name for the algorithm, displayable in user interfaces. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | / /// A textual description of the algorithm to help the user to select [INFO] [stdout] 92 | | /// the right one. [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / /// Duration in ms after each beat. Useful do prevent the same beat to be [INFO] [stdout] 100 | | /// detected as two beats. This is a constant per strategy, because more [INFO] [stdout] 101 | | /// advanced strategies can cope with small durations (50ms) whereas [INFO] [stdout] 102 | | /// "stupid"/basic strategies may need 400ms. [INFO] [stdout] 103 | | /// This is a function instead of an associated constant, because [INFO] [stdout] 104 | | /// otherwise the build fails with "`Strategy` cannot be made into an object" [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | / /// Common implementation for all strategies which checks if [INFO] [stdout] 112 | | /// the last beat is beyond the threshold. Of not, we can return early [INFO] [stdout] 113 | | /// and do not need to check if a beat is in the given sample. [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | / /// Common implementation for all strategies which checks if [INFO] [stdout] 130 | | /// the current windows/frames max amplitude (i16) is above a value where [INFO] [stdout] 131 | | /// a beat could happen in theory (discard noise/silence/break between songs) [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | / /// Enum that conveniently and easily makes all [`Strategy`]s provided by this crate accessible. [INFO] [stdout] 140 | | /// This enum provides the bare minimum functionality to access the strategies. All deeper [INFO] [stdout] 141 | | /// functionality must be defined inside the implementations. [INFO] [stdout] | |_____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / impl StrategyKind { [INFO] [stdout] 152 | | /// Creates a concrete detector object, i.e. a struct that implements [INFO] [stdout] 153 | | /// [`Strategy`] on that you can continuously analyze your input audio data. [INFO] [stdout] 154 | | #[inline(always)] [INFO] [stdout] ... | [INFO] [stdout] 184 | | } [INFO] [stdout] 185 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | /// Convenient wrapper for ['Strategy::name']. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | /// Convenient wrapper for ['Strategy::description']. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | /// Returns a vector with all strategy kinds to iterate over them. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unresolved link to `time_ms` [INFO] [stdout] --> src/strategies/mod.rs:46:45 [INFO] [stdout] | [INFO] [stdout] 46 | /// This is always a bit shorter than [`time_ms`]. It is the timestamp [INFO] [stdout] | ^^^^^^^ no item named `time_ms` in scope [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(rustdoc::broken_intra_doc_links)]` implied by `#[deny(rustdoc::all)]` [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unresolved link to `time_ms` [INFO] [stdout] --> src/strategies/mod.rs:47:55 [INFO] [stdout] | [INFO] [stdout] 47 | /// in the middle of the current frame, whereas [`time_ms`] is the timestamp [INFO] [stdout] | ^^^^^^^ no item named `time_ms` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unresolved link to `beat_time_ms` [INFO] [stdout] --> src/strategies/mod.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | /// [`beat_time_ms`]. [INFO] [stdout] | ^^^^^^^^^^^^ no item named `beat_time_ms` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unresolved link to `sampling_rate` [INFO] [stdout] --> src/strategies/mod.rs:72:67 [INFO] [stdout] | [INFO] [stdout] 72 | /// the amount of (mono, not stereo!) samples for the given [`sampling_rate`]. [INFO] [stdout] | ^^^^^^^^^^^^^ no item named `sampling_rate` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unresolved link to `sampling_rate` [INFO] [stdout] --> src/strategies/mod.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | /// Getter for [`sampling_rate`]. [INFO] [stdout] | ^^^^^^^^^^^^^ no item named `sampling_rate` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unresolved link to `last_beat_timestamp` [INFO] [stdout] --> src/strategies/mod.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | /// Getter for [`last_beat_timestamp`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no item named `last_beat_timestamp` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unresolved link to `beat_time_ms` [INFO] [stdout] --> src/strategies/mod.rs:105:22 [INFO] [stdout] | [INFO] [stdout] 105 | /// Getter for [`beat_time_ms`]. [INFO] [stdout] | ^^^^^^^^^^^^ no item named `beat_time_ms` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unresolved link to `time_ms` [INFO] [stdout] --> src/strategies/mod.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | /// Getter for [`time_ms`]. [INFO] [stdout] | ^^^^^^^ no item named `time_ms` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: public documentation for `LPF` links to private item `strategies::lpf::LpfBeatDetector` [INFO] [stdout] --> src/lib.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | /// Corresponds to [`strategies::lpf::LpfBeatDetector`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this item is private [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(rustdoc::private_intra_doc_links)]` implied by `#[deny(rustdoc::all)]` [INFO] [stdout] = note: this link resolves only because you passed `--document-private-items`, but will break without [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: public documentation for `Spectrum` links to private item `strategies::spectrum::SABeatDetector` [INFO] [stdout] --> src/lib.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | /// Corresponds to [`strategies::spectrum::SABeatDetector`] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this item is private [INFO] [stdout] | [INFO] [stdout] = note: this link resolves only because you passed `--document-private-items`, but will break without [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `beat-detector` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name beat_detector 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=5395e661f185088d -L dependency=/opt/rustwide/target/debug/deps --extern cpal=/opt/rustwide/target/debug/deps/libcpal-74f5dacfc31a6cea.rmeta --extern lowpass_filter=/opt/rustwide/target/debug/deps/liblowpass_filter-46d8e4921be29665.rmeta --extern ringbuffer=/opt/rustwide/target/debug/deps/libringbuffer-42516ae683615d99.rmeta --extern spectrum_analyzer=/opt/rustwide/target/debug/deps/libspectrum_analyzer-f0423235719b4d71.rmeta --extern-html-root-url 'cpal=https://docs.rs/cpal/0.13.4/' --extern-html-root-url 'lowpass_filter=https://docs.rs/lowpass-filter/0.2.4/' --extern-html-root-url 'ringbuffer=https://docs.rs/ringbuffer/0.7.1/' --extern-html-root-url 'spectrum_analyzer=https://docs.rs/spectrum-analyzer/1.1.0/' -Zunstable-options --crate-version 0.1.2` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "1af4e448927e2f672162ac76d1cf68487575775d20b29039261456307cadcfd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1af4e448927e2f672162ac76d1cf68487575775d20b29039261456307cadcfd0", kill_on_drop: false }` [INFO] [stdout] 1af4e448927e2f672162ac76d1cf68487575775d20b29039261456307cadcfd0