jdx/mise · error
remote platform response is incomplete
Error message
remote platform response is incomplete
What it means
parse_remote_platform expected three lines (os, arch, libc) from the remote detection script but received fewer — the output was truncated or the script failed partway, so required platform fields are missing and parsing fails.
Solutions
- Re-run the remote bootstrap; transient SSH/session truncation is common
- Check that the remote shell can execute the POSIX detection script
- Capture the raw script output manually to see which line is missing
Defensive patterns
Strategy: retry
When it happens
Trigger: Thrown at src/system/remote.rs:1712 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of jdx/mise@533346cc37 (2026-09-17).
Data as JSON: /api/errors/6df608fc60b2e148.
Report an issue: GitHub.
Appendix: source
Thrown at src/system/remote.rs:1712
if [ -e "$loader" ]; then libc=musl; break; fi
done
fi
printf '%s\n' "${libc:-unknown}"
;;
*) printf '%s\n' none ;;
esac"#
}
fn parse_remote_platform(output: &str) -> Result<RemotePlatform> {
let mut lines = output.lines();
let os = normalize_os(lines.next().unwrap_or_default());
let arch = normalize_arch(lines.next().unwrap_or_default());
let libc = match (os.as_str(), lines.next()) {
("linux", Some("glibc")) => Some(LibcFlavor::Glibc),
("linux", Some("musl")) => Some(LibcFlavor::Musl),
("linux", _) => bail!("remote Linux libc family could not be identified"),
(_, Some("none")) => None,
_ => bail!("remote platform response is incomplete"),
};
if os.is_empty() || arch.is_empty() || lines.next().is_some() {
bail!("remote platform response is invalid");
}
Ok(RemotePlatform { os, arch, libc })
}
#[derive(Clone, Debug, Eq, Ord, PartialEq, PartialOrd)]
struct AbiVersion(Vec<u32>);
impl fmt::Display for AbiVersion {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.write_str(
&self
.0
.iter()
.map(u32::to_string)
.collect::<Vec<_>>()View on GitHub (pinned to 533346cc37)