=== Prepare Uploaded Source (prepare_source_bundle) — Success ===
(no log output for this stage)
=== Build Container Image (build_image) — Failure ===
{"level":"info","message":"Starting image build for ***-2ac589994355:latest","timestamp":"2026-09-04T02:55:31.767382153Z","line":1}
{"level":"info","message":"Using Dockerfile: /tmp/uploaded-source-***-b3c74e42-6da6-49f6-bf31-76c146e28854/./Dockerfile","timestamp":"2026-09-04T02:55:31.767784337Z","line":2}
{"level":"info","message":"Build context: /tmp/uploaded-source-***-b3c74e42-6da6-49f6-bf31-76c146e28854/.","timestamp":"2026-09-04T02:55:31.768013988Z","line":3}
{"level":"info","message":"Building container image...","timestamp":"2026-09-04T02:55:31.768202045Z","line":4}
{"level":"info","message":"[RUNNING] [internal] load remote build context\n","timestamp":"2026-09-04T02:55:32.594220045Z","line":5}
{"level":"info","message":"[DONE] [internal] load remote build context\n","timestamp":"2026-09-04T02:55:32.598352054Z","line":6}
{"level":"info","message":"[RUNNING] [internal] load remote build context\n","timestamp":"2026-09-04T02:55:32.599563623Z","line":7}
{"level":"info","message":"[DONE] [internal] load remote build context\n","timestamp":"2026-09-04T02:55:32.599876631Z","line":8}
{"level":"info","message":"[RUNNING] copy /context /\n","timestamp":"2026-09-04T02:55:32.673151950Z","line":9}
{"level":"info","message":"[DONE] copy /context /\n","timestamp":"2026-09-04T02:55:33.310347959Z","line":10}
{"level":"info","message":"[RUNNING] [internal] load metadata for ***.io/library/node:26-trixie-slim\n","timestamp":"2026-09-04T02:55:33.319313867Z","line":11}
{"level":"info","message":"[DONE] [internal] load metadata for ***.io/library/node:26-trixie-slim\n","timestamp":"2026-09-04T02:55:33.784077124Z","line":12}
{"level":"info","message":"[RUNNING] [base 1/4] FROM ***.io/library/node:26-trixie-slim@sha256:c0753125a3789977aefe869cbebccf70e3cfd7ea84ca48547458f02e4f1d7146\n","timestamp":"2026-09-04T02:55:33.790837556Z","line":13}
{"level":"info","message":"[DONE] [base 1/4] FROM ***.io/library/node:26-trixie-slim@sha256:c0753125a3789977aefe869cbebccf70e3cfd7ea84ca48547458f02e4f1d7146\n","timestamp":"2026-09-04T02:55:33.804819802Z","line":14}
{"level":"info","message":"[CACHED] [base 2/4] WORKDIR /app\n","timestamp":"2026-09-04T02:55:33.810445621Z","line":15}
{"level":"info","message":"[CACHED] [base 3/4] RUN --mount=type=cache,id=s/92ca8a61-c1ba-421f-a389-d48ac7258c2d-apt-cache,target=/var/cache/apt,sharing=locked --mount=type=cache,id=s/92ca8a61-c1ba-421f-a389-d48ac7258c2d-apt-lists,target=/var/lib/apt/lists,sharing=locked apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends libsecret-1-0 ca-certificates && rm -rf /var/lib/apt/lists/*\n","timestamp":"2026-09-04T02:55:33.810767482Z","line":16}
{"level":"info","message":"[CACHED] [base 4/4] RUN set -eux; npm install -g npm@latest; npm install --prefix /tmp/npm-cve-patch --no-audit --no-fund --ignore-scripts --install-strategy=nested brace-expansion@5.0.9 ip-address@10.5.0 tar@7.5.22 undici@6.28.0; for pkg in brace-expansion ip-address tar undici; do test -d \"/usr/local/lib/node_modules/npm/node_modules/$pkg\"; rm -rf \"/usr/local/lib/node_modules/npm/node_modules/$pkg\"; cp -R \"/tmp/npm-cve-patch/node_modules/$pkg\" \"/usr/local/lib/node_modules/npm/node_modules/$pkg\"; done; rm -rf /tmp/npm-cve-patch; node -e \"for (const p of ['brace-expansion','ip-address','tar','undici']) console.log(p, require('/usr/local/lib/node_modules/npm/node_modules/'+p+'/package.json').version);\"; npm --version; npm cache clean --force\n","timestamp":"2026-09-04T02:55:33.810965605Z","line":17}
{"level":"info","message":"[RUNNING] [runner-base 1/6] RUN mkdir -p /app/data\n","timestamp":"2026-09-04T02:55:33.811175986Z","line":18}
{"level":"info","message":"[CACHED] [runner-base 1/6] RUN mkdir -p /app/data\n","timestamp":"2026-09-04T02:55:33.811368901Z","line":19}
{"level":"info","message":"[CACHED] [builder 1/10] RUN --mount=type=cache,id=s/92ca8a61-c1ba-421f-a389-d48ac7258c2d-apt-cache,target=/var/cache/apt,sharing=locked --mount=type=cache,id=s/92ca8a61-c1ba-421f-a389-d48ac7258c2d-apt-lists,target=/var/lib/apt/lists,sharing=locked apt-get update && apt-get install -y --no-install-recommends python3 make g++ && rm -rf /var/lib/apt/lists/*\n","timestamp":"2026-09-04T02:55:34.383067305Z","line":20}
{"level":"info","message":"[CACHED] [builder 2/10] COPY package*.json ./\n","timestamp":"2026-09-04T02:55:34.383400142Z","line":21}
{"level":"info","message":"[CACHED] [builder 3/10] COPY open-sse/package.json ./open-sse/package.json\n","timestamp":"2026-09-04T02:55:34.383657906Z","line":22}
{"level":"info","message":"[CACHED] [builder 4/10] COPY scripts/build/postinstall.mjs ./scripts/build/postinstall.mjs\n","timestamp":"2026-09-04T02:55:34.383932766Z","line":23}
{"level":"info","message":"[CACHED] [builder 5/10] COPY scripts/build/postinstallSupport.mjs ./scripts/build/postinstallSupport.mjs\n","timestamp":"2026-09-04T02:55:34.384134383Z","line":24}
{"level":"info","message":"[CACHED] [builder 6/10] COPY scripts/build/native-binary-compat.mjs ./scripts/build/native-binary-compat.mjs\n","timestamp":"2026-09-04T02:55:34.384295980Z","line":25}
{"level":"info","message":"[CACHED] [builder 7/10] RUN test -f package-lock.json || (echo \"package-lock.json is required for reproducible Docker builds\" >&2 && exit 1)\n","timestamp":"2026-09-04T02:55:34.384458769Z","line":26}
{"level":"info","message":"[CACHED] [builder 8/10] RUN --mount=type=cache,id=s/92ca8a61-c1ba-421f-a389-d48ac7258c2d-npm-cache,target=/root/.npm npm ci --include=optional --no-audit --no-fund --legacy-peer-deps --ignore-scripts && (cd node_modules/better-sqlite3 && node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js rebuild) && node -e \"require('better-sqlite3')(':memory:').close()\" && node -e \"const wreq=require('wreq-js'); if(typeof wreq.createTransport!=='function') process.exit(1)\"\n","timestamp":"2026-09-04T02:55:34.384659656Z","line":27}
{"level":"info","message":"[RUNNING] [builder 9/10] COPY . ./\n","timestamp":"2026-09-04T02:55:34.384878169Z","line":28}
{"level":"info","message":"[CACHED] [builder 9/10] COPY . ./\n","timestamp":"2026-09-04T02:55:34.385043892Z","line":29}
{"level":"error","message":"[RUNNING] [builder 10/10] RUN --mount=type=cache,id=s/92ca8a61-c1ba-421f-a389-d48ac7258c2d-next-cache,target=/app/.build/next/cache mkdir -p /app/data && npm run build && node --input-type=module -e \"import { createRequire } from 'node:module'; import { pathToFileURL } from 'node:url'; const standaloneRoot = '/app/.build/next/standalone/node_modules/'; const require = createRequire('/app/.build/next/standalone/package.json'); for (const pkg of ['@atjsh/llmlingua-2', '@huggingface/transformers', 'js-tiktoken']) { const resolved = require.resolve(pkg); if (!resolved.startsWith(standaloneRoot)) throw new Error(pkg + ' resolved outside standalone: ' + resolved); await import(pathToFileURL(resolved).href); } const onnxRuntime = require.resolve('onnxruntime-node'); if (!onnxRuntime.startsWith(standaloneRoot)) throw new Error('onnxruntime-node resolved outside standalone: ' + onnxRuntime); await import(pathToFileURL(onnxRuntime).href);\"\n","timestamp":"2026-09-04T02:55:34.385220922Z","line":30}
{"level":"info","message":"npm notice run ***@3.8.51 prebuild\n","timestamp":"2026-09-04T02:55:34.791190761Z","line":31}
{"level":"info","message":"npm notice run npm run check:native-deps\n","timestamp":"2026-09-04T02:55:34.791761452Z","line":32}
{"level":"info","message":"npm notice run ***@3.8.51 check:native-deps\n","timestamp":"2026-09-04T02:55:34.888320628Z","line":33}
{"level":"info","message":"npm notice run node scripts/check/check-native-deps.mjs\n","timestamp":"2026-09-04T02:55:34.888839630Z","line":34}
{"level":"info","message":"[check-native-deps] OK — all 31 externalised packages resolve (8 optional deps checked).\n","timestamp":"2026-09-04T02:55:34.935751469Z","line":35}
{"level":"info","message":"npm notice run ***@3.8.51 build\n","timestamp":"2026-09-04T02:55:34.952298993Z","line":36}
{"level":"info","message":"npm notice run node scripts/build/build-next-isolated.mjs\n","timestamp":"2026-09-04T02:55:34.952616677Z","line":37}
{"level":"info","message":"▲ Next.js 16.3.3 (Turbopack)\n","timestamp":"2026-09-04T02:55:35.561408182Z","line":38}
{"level":"info","message":"[MDX] generated files in 12.651074999999992ms\n","timestamp":"2026-09-04T02:55:36.060602725Z","line":39}
{"level":"info","message":"✓ Running next.config.mjs took 520ms\n","timestamp":"2026-09-04T02:55:36.081530315Z","line":40}
{"level":"info","message":"- Experiments (use with caution):\n · optimizePackageImports\n · proxyClientMaxBodySize: \"512mb\"\n · proxyTimeout: 600000\n","timestamp":"2026-09-04T02:55:36.156371053Z","line":41}
{"level":"info","message":" · serverActions\n","timestamp":"2026-09-04T02:55:36.156896536Z","line":42}
{"level":"info","message":" ✓ webpackBuildWorker\n ✓ webpackMemoryOptimizations\n","timestamp":"2026-09-04T02:55:36.157145335Z","line":43}
{"level":"info","message":"\n","timestamp":"2026-09-04T02:55:36.157414296Z","line":44}
{"level":"info","message":" Creating an optimized *** build ...\n","timestamp":"2026-09-04T02:55:36.313718484Z","line":45}
{"level":"error","message":"[ERROR] [builder 10/10] RUN --mount=type=cache,id=s/92ca8a61-c1ba-421f-a389-d48ac7258c2d-next-cache,target=/app/.build/next/cache mkdir -p /app/data && npm run build && node --input-type=module -e \"import { createRequire } from 'node:module'; import { pathToFileURL } from 'node:url'; const standaloneRoot = '/app/.build/next/standalone/node_modules/'; const require = createRequire('/app/.build/next/standalone/package.json'); for (const pkg of ['@atjsh/llmlingua-2', '@huggingface/transformers', 'js-tiktoken']) { const resolved = require.resolve(pkg); if (!resolved.startsWith(standaloneRoot)) throw new Error(pkg + ' resolved outside standalone: ' + resolved); await import(pathToFileURL(resolved).href); } const onnxRuntime = require.resolve('onnxruntime-node'); if (!onnxRuntime.startsWith(standaloneRoot)) throw new Error('onnxruntime-node resolved outside standalone: ' + onnxRuntime); await import(pathToFileURL(onnxRuntime).href);\"\n","timestamp":"2026-09-04T02:57:50.674814099Z","line":46}
{"level":"success","message":"ERROR: Build failed: Docker stream error: process \"/bin/sh -c mkdir -p /app/data && npm run build && node --input-type=module -e \\\"import { createRequire } from 'node:module'; import { pathToFileURL } from 'node:url'; const standaloneRoot = '/app/.build/next/standalone/node_modules/'; const require = createRequire('/app/.build/next/standalone/package.json'); for (const pkg of ['@atjsh/llmlingua-2', '@huggingface/transformers', 'js-tiktoken']) { const resolved = require.resolve(pkg); if (!resolved.startsWith(standaloneRoot)) throw new Error(pkg + ' resolved outside standalone: ' + resolved); await import(pathToFileURL(resolved).href); } const onnxRuntime = require.resolve('onnxruntime-node'); if (!onnxRuntime.startsWith(standaloneRoot)) throw new Error('onnxruntime-node resolved outside standalone: ' + onnxRuntime); await import(pathToFileURL(onnxRuntime).href);\\\"\" did not complete successfully: exit code: 1\n","timestamp":"2026-09-04T02:57:50.751572946Z","line":47}
{"level":"success","message":"ERROR: Failed to build image: Build failed: Build failed: Docker stream error: process \"/bin/sh -c mkdir -p /app/data && npm run build && node --input-type=module -e \\\"import { createRequire } from 'node:module'; import { pathToFileURL } from 'node:url'; const standaloneRoot = '/app/.build/next/standalone/node_modules/'; const require = createRequire('/app/.build/next/standalone/package.json'); for (const pkg of ['@atjsh/llmlingua-2', '@huggingface/transformers', 'js-tiktoken']) { const resolved = require.resolve(pkg); if (!resolved.startsWith(standaloneRoot)) throw new Error(pkg + ' resolved outside standalone: ' + resolved); await import(pathToFileURL(resolved).href); } const onnxRuntime = require.resolve('onnxruntime-node'); if (!onnxRuntime.startsWith(standaloneRoot)) throw new Error('onnxruntime-node resolved outside standalone: ' + onnxRuntime); await import(pathToFileURL(onnxRuntime).href);\\\"\" did not complete successfully: exit code: 1","timestamp":"2026-09-04T02:57:50.752049214Z","line":48}
Temps version: 0.1.0-beta.56
Failed stage: Build Container Image (BuildImageJob)
Paste your (redacted) deployment log below: