togglempc 0.1.0

Togglempc is a small REST server that accepts HTTP post requests to toggle MPD on and off and switch playlist. (It is a client to MPD.) MPD is Music Play Daemon, see https://www.musicpd.org/. Togglempc can be used for home automation or smart switches can use it to control MPD instances.
Documentation

Build #1900112 2025-03-23 04:08:24

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.87.0-nightly (b48576b4d 2025-03-22)

# docs.rs version docsrs 0.6.0 (004a02c4 2025-03-05)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/togglempc-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/togglempc-0.1.0/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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250322-1.87.0-nightly-b48576b4d\", \"--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] 79b327e4c922f8e1756d83768c24e41221ce10f054ea6d025faecc3114f61781 [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" "79b327e4c922f8e1756d83768c24e41221ce10f054ea6d025faecc3114f61781", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling rocket_http v0.4.11 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] error[E0520]: `to_string` specializes an item from a parent `impl`, but that item is not marked `default` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rocket_http-0.4.11/src/raw_str.rs:406:5 [INFO] [stderr] | [INFO] [stderr] 406 | fn to_string(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: parent implementation is in crate `alloc` [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0520`. [INFO] [stderr] error: could not compile `rocket_http` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rocket_http` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "79b327e4c922f8e1756d83768c24e41221ce10f054ea6d025faecc3114f61781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79b327e4c922f8e1756d83768c24e41221ce10f054ea6d025faecc3114f61781", kill_on_drop: false }` [INFO] [stdout] 79b327e4c922f8e1756d83768c24e41221ce10f054ea6d025faecc3114f61781