sampler 0.2.0

A polyphonic audio sampler instrument that supports unique sample mappings across both frequency and velocity ranges.
Build #1492893 2024-11-04 10:10:58

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version rustc 1.84.0-nightly (b8c8287a2 2024-11-03)

# docs.rs version docsrs 0.6.0 (fd0fad95 2024-11-04)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/sampler-0.2.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/sampler-0.2.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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\", \"-20241103-1.84.0-nightly-b8c8287a2\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ab729dc8ea9974663bb7559ad51f801f68634d21d698cdaf83e44a1f86624266 [INFO] running `Command { std: "docker" "start" "-a" "ab729dc8ea9974663bb7559ad51f801f68634d21d698cdaf83e44a1f86624266", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: wav [INFO] [stderr] If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true` [INFO] [stderr] to the [[example]] target configuration of at least one example. [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Checking sample v0.6.2 [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sample-0.6.2/src/window.rs:57:41 [INFO] [stderr] | [INFO] [stderr] 57 | let v = phase.to_float_sample().to_sample() * PI_2; [INFO] [stderr] | ^^^^^^^^^ cannot infer type of the type parameter `S` declared on the method `to_sample` [INFO] [stderr] | [INFO] [stderr] = note: cannot satisfy `<S as Sample>::Float: ToSample<_>` [INFO] [stderr] note: required by a bound in `Sample::to_sample` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sample-0.6.2/src/lib.rs:256:21 [INFO] [stderr] | [INFO] [stderr] 255 | fn to_sample<S>(self) -> S [INFO] [stderr] | --------- required by a bound in this associated function [INFO] [stderr] 256 | where Self: ToSample<S>, [INFO] [stderr] | ^^^^^^^^^^^ required by this bound in `Sample::to_sample` [INFO] [stderr] help: consider specifying the generic argument [INFO] [stderr] | [INFO] [stderr] 57 | let v = phase.to_float_sample().to_sample::<S>() * PI_2; [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0283`. [INFO] [stderr] error: could not compile `sample` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "ab729dc8ea9974663bb7559ad51f801f68634d21d698cdaf83e44a1f86624266", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab729dc8ea9974663bb7559ad51f801f68634d21d698cdaf83e44a1f86624266", kill_on_drop: false }` [INFO] [stdout] ab729dc8ea9974663bb7559ad51f801f68634d21d698cdaf83e44a1f86624266