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 #1701505 2025-02-02 11:15:10

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.86.0-nightly (8239a37f9 2025-02-01)

# docs.rs version docsrs 0.6.0 (29a0e81b 2025-01-22)

# 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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250201-1.86.0-nightly-8239a37f9\", \"--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] c3d58e056bd17501d1ef7717024fb6278f481998e3f774e796a6188a2ff906d4 [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" "c3d58e056bd17501d1ef7717024fb6278f481998e3f774e796a6188a2ff906d4", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Compiling rocket_http v0.4.11 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking toml v0.5.11 [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" "c3d58e056bd17501d1ef7717024fb6278f481998e3f774e796a6188a2ff906d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3d58e056bd17501d1ef7717024fb6278f481998e3f774e796a6188a2ff906d4", kill_on_drop: false }` [INFO] [stdout] c3d58e056bd17501d1ef7717024fb6278f481998e3f774e796a6188a2ff906d4