Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc.rs Build Fails For livekit-api = "0.4.1" #492

Open
RileySeaburg opened this issue Nov 22, 2024 · 0 comments
Open

Doc.rs Build Fails For livekit-api = "0.4.1" #492

RileySeaburg opened this issue Nov 22, 2024 · 0 comments

Comments

@RileySeaburg
Copy link

Build #1489966 2024-11-01T18:04:59.153113+00:00

Ref

# rustc version
rustc 1.84.0-nightly (a0d98ff0e 2024-10-31)# docs.rs version
docsrs 0.6.0 (83e30f05 2024-10-25)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/livekit-api-0.4.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/livekit-api-0.4.1/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\", \"-20241031-1.84.0-nightly-a0d98ff0e\", \"--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] 651495db9bed76a91918d13432b7b575c91fc7cbeabe500b1a70ee562fb00e10
[INFO] running `Command { std: "docker" "start" "-a" "651495db9bed76a91918d13432b7b575c91fc7cbeabe500b1a70ee562fb00e10", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking livekit-protocol v0.3.6
[INFO] [stderr] error[E0425]: cannot find function `spawn` in crate `livekit_runtime`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/livekit-protocol-0.3.6/src/debouncer.rs:38:22
[INFO] [stderr]    |
[INFO] [stderr] 38 |     livekit_runtime::spawn(debounce_task(duration, future, rx, cancel_rx));
[INFO] [stderr]    |                      ^^^^^ not found in `livekit_runtime`
[INFO] [stderr]    |
[INFO] [stderr] help: consider importing one of these functions
[INFO] [stderr]    |
[INFO] [stderr] 15 + use std::thread::spawn;
[INFO] [stderr]    |
[INFO] [stderr] 15 + use tokio::spawn;
[INFO] [stderr]    |
[INFO] [stderr] help: if you import `spawn`, refer to it directly
[INFO] [stderr]    |
[INFO] [stderr] 38 -     livekit_runtime::spawn(debounce_task(duration, future, rx, cancel_rx));
[INFO] [stderr] 38 +     spawn(debounce_task(duration, future, rx, cancel_rx));
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `sleep` in crate `livekit_runtime`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/livekit-protocol-0.3.6/src/debouncer.rs:54:34
[INFO] [stderr]    |
[INFO] [stderr] 54 |             _ = livekit_runtime::sleep(duration) => {
[INFO] [stderr]    |                                  ^^^^^ not found in `livekit_runtime`
[INFO] [stderr]    |
[INFO] [stderr] help: consider importing one of these functions
[INFO] [stderr]    |
[INFO] [stderr] 15 + use std::thread::sleep;
[INFO] [stderr]    |
[INFO] [stderr] 15 + use tokio::time::sleep;
[INFO] [stderr]    |
[INFO] [stderr] help: if you import `sleep`, refer to it directly
[INFO] [stderr]    |
[INFO] [stderr] 54 -             _ = livekit_runtime::sleep(duration) => {
[INFO] [stderr] 54 +             _ = sleep(duration) => {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0425`.
[INFO] [stderr] error: could not compile `livekit-protocol` (lib) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "651495db9bed76a91918d13432b7b575c91fc7cbeabe500b1a70ee562fb00e10", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "651495db9bed76a91918d13432b7b575c91fc7cbeabe500b1a70ee562fb00e10", kill_on_drop: false }`
[INFO] [stdout] 651495db9bed76a91918d13432b7b575c91fc7cbeabe500b1a70ee562fb00e10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant