wavetable 0.1.2

A library for wavetable handling.
Documentation
Build #1521819 2024-11-11 21:00:12

# rustc version rustc 1.84.0-nightly (143ce0920 2024-11-10)

# docs.rs version docsrs 0.6.0 (36c721fb 2024-11-06)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/wavetable-0.1.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/wavetable-0.1.2/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241110-1.84.0-nightly-143ce0920\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stdout] d04671786f806b42abb0e74dce2a2e0fd2bbd2786c23577426fe3f4a5ab235e1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d04671786f806b42abb0e74dce2a2e0fd2bbd2786c23577426fe3f4a5ab235e1", kill_on_drop: false }` [INFO] [stderr] Checking wavetable v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: failed to check lib in package `wavetable` as a prerequisite for scraping examples from: example "default_waveshapes", example "fft_analytics" [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `wavetable` (lib) generated 1 warning [INFO] [stderr] Scraping wavetable v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: failed to scan example "fft_analytics" in package `wavetable` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: failed to scan example "default_waveshapes" in package `wavetable` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `wavetable` (example "fft_analytics") generated 1 warning [INFO] [stderr] warning: `wavetable` (example "default_waveshapes") generated 1 warning [INFO] [stderr] Documenting wavetable v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: unknown attribute `norun` [INFO] [stderr] --> src/wt_reader.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | / /// Read a file with the given filename. [INFO] [stderr] 53 | | /// [INFO] [stderr] 54 | | /// The filename should not contain the full path of the file, but be [INFO] [stderr] 55 | | /// relative to the base path set in the constructor. [INFO] [stderr] ... | [INFO] [stderr] 66 | | /// # } [INFO] [stderr] 67 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] | [INFO] [stderr] = help: use `no_run` to compile, but not run, the code sample during testing [INFO] [stderr] = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust` [INFO] [stderr] = note: `#[warn(rustdoc::invalid_codeblock_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unknown attribute `norun` [INFO] [stderr] --> src/wt_reader.rs:82:5 [INFO] [stderr] | [INFO] [stderr] 82 | / /// Read a wavetable from the provided input stream. [INFO] [stderr] 83 | | /// [INFO] [stderr] 84 | | /// Source is any stream object implementing the Read trait. [INFO] [stderr] 85 | | /// samples_per_table is the length of a single wave cycle, usually 2048. [INFO] [stderr] ... | [INFO] [stderr] 94 | | /// let wavetable = WtReader::read_wavetable(buffer, 2048)?; [INFO] [stderr] 95 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] | [INFO] [stderr] = help: use `no_run` to compile, but not run, the code sample during testing [INFO] [stderr] = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust` [INFO] [stderr] [INFO] [stderr] warning: `wavetable` (lib doc) generated 2 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/wavetable/index.html [INFO] running `Command { std: "docker" "inspect" "d04671786f806b42abb0e74dce2a2e0fd2bbd2786c23577426fe3f4a5ab235e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d04671786f806b42abb0e74dce2a2e0fd2bbd2786c23577426fe3f4a5ab235e1", kill_on_drop: false }` [INFO] [stdout] d04671786f806b42abb0e74dce2a2e0fd2bbd2786c23577426fe3f4a5ab235e1