[GH-ISSUE #206] no method named save found for struct ConfigLoader #570

Closed
opened 2026-05-22 23:58:36 +01:00 by JakeStanger · 0 comments
Owner

Originally created by @wonderbrian on GitHub (May 1, 2025).
Original GitHub issue: https://github.com/JakeStanger/mpd-discord-rpc/issues/206

When running cargo install mpd-discord-rpc I get the following error

error[E0599]: no method named `save` found for struct `ConfigLoader` in the current scope
  --> /home/bpp001/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mpd-discord-rpc-1.8.0/src/config.rs:79:18
   |
78 | /             loader
79 | |                 .save(&cfg, &universal_config::Format::Toml)
   | |                 -^^^^ method not found in `ConfigLoader<'_>`
   | |_________________|
   |

It looks like this is coming from your universal-config repository. It's finding the latest version and compiling without issues:

   Compiling tracing-subscriber v0.3.19
   Compiling universal-config v0.5.1
   Compiling mpd-utils v0.2.1
   Compiling regex v1.11.1
   Compiling mpd-discord-rpc v1.8.0

This is on a Raspberry Pi 4

cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Originally created by @wonderbrian on GitHub (May 1, 2025). Original GitHub issue: https://github.com/JakeStanger/mpd-discord-rpc/issues/206 When running cargo install mpd-discord-rpc I get the following error ``` Compiling mpd-discord-rpc v1.8.0 error[E0599]: no method named `save` found for struct `ConfigLoader` in the current scope --> /home/bpp001/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mpd-discord-rpc-1.8.0/src/config.rs:79:18 | 78 | / loader 79 | | .save(&cfg, &universal_config::Format::Toml) | | -^^^^ method not found in `ConfigLoader<'_>` | |_________________| | ``` It looks like this is coming from your universal-config repository. It's finding the latest version and compiling without issues: ``` Compiling tracing-subscriber v0.3.19 Compiling universal-config v0.5.1 Compiling mpd-utils v0.2.1 Compiling regex v1.11.1 Compiling mpd-discord-rpc v1.8.0 ``` This is on a Raspberry Pi 4 ``` cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" ```
JakeStanger 2026-05-22 23:58:36 +01:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/mpd-discord-rpc#570
No description provided.