LUCIRUNSDOCSPUBLIC CI
Run · speak_to_me / push

Run failed.

fix: compile the Windows-only core code and keep Linux releases first

1 failed. 2 passed.

Finished

Execution 003 · FAILED

release-windows

Execution recordexit status 1

Jump to execution output
.ci/release.kdl:75Pinned workflow · Phases measured by runner; step times from job log
job "release-windows" {
  1. 76
    build {
      containerfile ".ci/windows.Containerfile"
      context "."
    }
  2. 80
    trigger {
      push {
        branch "trunk"
      }
    }
  3. 85
    cache "cargo-home-windows" {
      path ".cargo-home"
      key {
        file "Cargo.lock"
      }
    }
  4. 91
    cache "target-windows" {
      path "target"
      key {
        file "Cargo.lock"
      }
    }
  5. 97
    run "export CARGO_HOME=\"$PWD/.cargo-home\""
    Finished ·
  6. 98
    run "cargo run --locked -q -p speak-to-me-release -- build --target x86_64-pc-windows-msvc --out dist"
    Finished ·
  7. 99
    run "REV=$(git rev-parse HEAD) && cargo run --locked -q -p speak-to-me-release -- check --manifest \"dist/$REV/manifest.json\" --archive \"dist/$REV/speak_to_me-x86_64-windows.zip\""
    Failed ·
  8. 100
    publish "pkg" {
      from "dist/${rev}"
      to "releases/speak_to_me/windows/${rev}"
    }
  9. 104
    publish "pkg" {
      from "dist/latest"
      to "releases/speak_to_me/windows/latest"
    }
}

Execution timing

Runner timings unavailable. Job log steps · 4m 39s reported.

Unattributed wall time · ≈15m 42s

Execution started 21m 37s after run start.

Execution output · recorded tailView full log Download original
[earlier output truncated]
   Compiling clap_derive v4.6.7
   Compiling clap_builder v4.6.7
warning: function `covered` is never used
  --> crates/lib/src/assets/stamp.rs:81:4
   |
81 | fn covered(destination: &Path, asset: &Asset) -> Result<Vec<(String, PathBuf)>, Error> {
   |    ^^^^^^^
   |
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

   Compiling speak-to-me-cli v0.0.0 (/work/crates/bin)
   Compiling clap v4.6.7
warning: `speak_to_me` (lib) generated 1 warning
    Finished `release` profile [optimized] target(s) in 3m 03s
{"archive":"dist/ad65e90b54d5eade6a09d1a4fde7016e267e128e/speak_to_me-x86_64-windows.zip","bundled":["onnxruntime.dll","sherpa-onnx-c-api.dll"],"host":["KERNEL32.dll","SETUPAPI.dll","VCRUNTIME140.dll","advapi32.dll","api-ms-win-core-path-l1-1-0.dll","api-ms-win-core-synch-l1-2-0.dll","api-ms-win-core-winrt-error-l1-1-0.dll","api-ms-win-crt-heap-l1-1-0.dll","api-ms-win-crt-locale-l1-1-0.dll","api-ms-win-crt-math-l1-1-0.dll","api-ms-win-crt-runtime-l1-1-0.dll","api-ms-win-crt-stdio-l1-1-0.dll","api-ms-win-crt-string-l1-1-0.dll","bcryptprimitives.dll","combase.dll","dbghelp.dll","dxgi.dll","mmdevapi.dll","ntdll.dll","ole32.dll","oleaut32.dll","psapi.dll"],"revision":"ad65e90b54d5eade6a09d1a4fde7016e267e128e","sha256":"488dc056dd9fa528b63309113a12ab7155af64ca8b1e691be470ab09c0aa30ce","size":10725988}
[luci] step 2/3 done in 262s
[luci] step 3/3: REV=$(git rev-parse HEAD) && cargo run --locked -q -p speak-to-me-release -- check --manifest "dist/$REV/manifest.json" --archive "dist/$REV/speak_to_me-x86_64-windows.zip"
Error: service exited early: error: XDG_RUNTIME_DIR is invalid or not set in the environment.

thread 'main' (36) has overflowed its stack
wine: Unhandled stack overflow at address 00007FF667B8F1C7 (thread 0024), starting debugger...

[luci] step 3/3 failed after 17s
exit status 1
Read this log in terminal
ssh ci log r#'dogon-sanos-zopin-jaban'# r#'003'#
Original pinned files · ad65
.ci/release.kdl
Original file
// The first failed job skips the rest, so Linux must run first. Luci keeps "lexical order";
// release < release-android < release-windows both by name and as declared here.
job "release" {
  build {
    containerfile ".ci/Containerfile"
    context "."
  }
  trigger {
    push {
      branch "trunk"
    }
  }
  cache "cargo-home" {
    path ".cargo-home"
    key {
      file "Cargo.lock"
    }
  }
  cache "target" {
    path "target"
    key {
      file "Cargo.lock"
    }
  }
  run "export CARGO_HOME=\"$PWD/.cargo-home\""
  // First run downloads the pinned stock Sherpa prebuilts (~10 MB); the target cache carries them after.
  run "cargo run --locked -q -p speak-to-me-release -- build --out dist"
  run "REV=$(git rev-parse HEAD) && cargo run --locked -q -p speak-to-me-release -- check --manifest \"dist/$REV/manifest.json\" --archive \"dist/$REV/speak_to_me-x86_64-linux.tar.zst\""
  publish "pkg" {
    from "dist/${rev}"
    to "releases/speak_to_me/${rev}"
  }
  publish "pkg" {
    from "dist/latest"
    to "releases/speak_to_me/latest"
  }
}

// Termux bundle. An x86_64 container cannot run Android binaries; the relocated check runs on a phone.
job "release-android" {
  build {
    containerfile ".ci/android.Containerfile"
    context "."
  }
  trigger {
    push {
      branch "trunk"
    }
  }
  cache "cargo-home-android" {
    path ".cargo-home"
    key {
      file "Cargo.lock"
    }
  }
  cache "target-android" {
    path "target"
    key {
      file "Cargo.lock"
    }
  }
  run "export CARGO_HOME=\"$PWD/.cargo-home\""
  run "cargo run --locked -q -p speak-to-me-release -- build --target aarch64-linux-android --out dist"
  publish "pkg" {
    from "dist/${rev}"
    to "releases/speak_to_me/android/${rev}"
  }
  publish "pkg" {
    from "dist/latest"
    to "releases/speak_to_me/android/latest"
  }
}

// Windows bundle, checked under Wine (no physical Windows host in CI).
job "release-windows" {
  build {
    containerfile ".ci/windows.Containerfile"
    context "."
  }
  trigger {
    push {
      branch "trunk"
    }
  }
  cache "cargo-home-windows" {
    path ".cargo-home"
    key {
      file "Cargo.lock"
    }
  }
  cache "target-windows" {
    path "target"
    key {
      file "Cargo.lock"
    }
  }
  run "export CARGO_HOME=\"$PWD/.cargo-home\""
  run "cargo run --locked -q -p speak-to-me-release -- build --target x86_64-pc-windows-msvc --out dist"
  run "REV=$(git rev-parse HEAD) && cargo run --locked -q -p speak-to-me-release -- check --manifest \"dist/$REV/manifest.json\" --archive \"dist/$REV/speak_to_me-x86_64-windows.zip\""
  publish "pkg" {
    from "dist/${rev}"
    to "releases/speak_to_me/windows/${rev}"
  }
  publish "pkg" {
    from "dist/latest"
    to "releases/speak_to_me/windows/latest"
  }
}

Copy value