Skip to main content

Deploy details

Your deploy failed due to an error

Deploy failed for kleros-library-of-justice

chore(deps): bump @kleros/kleros-sdk from 2.1.10 to 2.2.0

PR #70: dependabot/npm_and_yarn/dev/kleros/kleros-sdk-2.2.0@5f9d233

Deploy summary

Deploy log

Initializing

Complete
12:32:57 PM: Waiting for other deploys from your team to complete. Check the queue: https://app.netlify.com/teams/kleros/builds
12:56:40 PM: Build ready to start
12:56:56 PM: build-image version: 9c9fb6952e50bb092d4b66daf2368677e5c68e34 (focal)
12:56:56 PM: buildbot version: 9c9fb6952e50bb092d4b66daf2368677e5c68e34
12:56:56 PM: Fetching cached dependencies
12:56:56 PM: Failed to fetch cache, continuing with build
12:56:56 PM: Starting to prepare the repo for build
12:56:56 PM: No cached dependencies found. Cloning fresh repo
12:56:56 PM: git clone --filter=blob:none https://github.com/kleros/library-of-justice
12:56:56 PM: Preparing Git Reference pull/70/head
12:56:58 PM: Starting to install dependencies
12:56:59 PM: mise python@3.13.2 install
12:56:59 PM: mise python@3.13.2 download cpython-3.13.2+20250212-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
12:56:59 PM: mise python@3.13.2 extract cpython-3.13.2+20250212-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
12:57:00 PM: mise python@3.13.2 python --version
12:57:00 PM: mise python@3.13.2 Python 3.13.2
12:57:00 PM: mise python@3.13.2 installed
12:57:00 PM: Python version set to 3.13
12:57:01 PM: Collecting pipenv
12:57:01 PM: Downloading pipenv-2024.4.1-py3-none-any.whl.metadata (17 kB)
12:57:01 PM: Collecting certifi (from pipenv)
12:57:01 PM: Downloading certifi-2025.1.31-py3-none-any.whl.metadata (2.5 kB)
12:57:01 PM: Collecting packaging>=22 (from pipenv)
12:57:01 PM: Downloading packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
12:57:01 PM: Collecting setuptools>=67 (from pipenv)
12:57:01 PM: Downloading setuptools-75.8.0-py3-none-any.whl.metadata (6.7 kB)
12:57:02 PM: Collecting virtualenv>=20.24.2 (from pipenv)
12:57:02 PM: Downloading virtualenv-20.29.2-py3-none-any.whl.metadata (4.5 kB)
12:57:02 PM: Collecting distlib<1,>=0.3.7 (from virtualenv>=20.24.2->pipenv)
12:57:02 PM: Downloading distlib-0.3.9-py2.py3-none-any.whl.metadata (5.2 kB)
12:57:02 PM: Collecting filelock<4,>=3.12.2 (from virtualenv>=20.24.2->pipenv)
12:57:02 PM: Downloading filelock-3.17.0-py3-none-any.whl.metadata (2.9 kB)
12:57:02 PM: Collecting platformdirs<5,>=3.9.1 (from virtualenv>=20.24.2->pipenv)
12:57:02 PM: Downloading platformdirs-4.3.6-py3-none-any.whl.metadata (11 kB)
12:57:02 PM: Downloading pipenv-2024.4.1-py3-none-any.whl (3.0 MB)
12:57:02 PM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 50.3 MB/s eta 0:00:00
12:57:02 PM: Downloading packaging-24.2-py3-none-any.whl (65 kB)
12:57:02 PM: Downloading setuptools-75.8.0-py3-none-any.whl (1.2 MB)
12:57:02 PM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 42.9 MB/s eta 0:00:00
12:57:02 PM: Downloading virtualenv-20.29.2-py3-none-any.whl (4.3 MB)
12:57:02 PM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 120.8 MB/s eta 0:00:00
12:57:02 PM: Downloading certifi-2025.1.31-py3-none-any.whl (166 kB)
12:57:02 PM: Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
12:57:02 PM: Downloading filelock-3.17.0-py3-none-any.whl (16 kB)
12:57:02 PM: Downloading platformdirs-4.3.6-py3-none-any.whl (18 kB)
12:57:02 PM: Installing collected packages: distlib, setuptools, platformdirs, packaging, filelock, certifi, virtualenv, pipenv
12:57:05 PM: Successfully installed certifi-2025.1.31 distlib-0.3.9 filelock-3.17.0 packaging-24.2 pipenv-2024.4.1 platformdirs-4.3.6 setuptools-75.8.0 virtualenv-20.29.2
12:57:05 PM: [notice] A new release of pip is available: 24.3.1 -> 25.0.1
12:57:05 PM: [notice] To update, run: pip install --upgrade pip
12:57:05 PM: Attempting Ruby version 2.7.2, read from environment
12:57:06 PM: Using Ruby version 2.7.2
12:57:06 PM: Started restoring cached go cache
12:57:06 PM: Finished restoring cached go cache
12:57:08 PM: go version go1.19.13 linux/amd64
12:57:08 PM: Using PHP version 8.0
12:57:10 PM: v18.20.6 is already installed.
12:57:10 PM: Now using node v18.20.6 (npm v10.8.2)
12:57:10 PM: Enabling Node.js Corepack
12:57:10 PM: Started restoring cached build plugins
12:57:10 PM: Finished restoring cached build plugins
12:57:10 PM: Started restoring cached corepack dependencies
12:57:10 PM: Finished restoring cached corepack dependencies
12:57:10 PM: Started restoring cached yarn cache
12:57:10 PM: Finished restoring cached yarn cache
12:57:10 PM: ! Corepack is about to download https://repo.yarnpkg.com/4.5.3/packages/yarnpkg-cli/bin/yarn.js
12:57:11 PM: Installing Yarn version 1.22.19
12:57:11 PM: Preparing yarn@1.22.19 for immediate activation...
12:57:11 PM: No yarn workspaces detected
12:57:11 PM: Started restoring cached node modules
12:57:11 PM: Finished restoring cached node modules
12:57:11 PM: Installing npm packages using Yarn version 4.5.3
12:57:12 PM: ➤ YN0000: · Yarn 4.5.3
12:57:12 PM: ➤ YN0000: ┌ Resolution step
12:57:12 PM: ➤ YN0000: └ Completed
12:57:12 PM: ➤ YN0000: ┌ Fetch step
12:57:16 PM: ➤ YN0013: │ 468 packages were added to the project (+ 429.07 MiB).
12:57:16 PM: ➤ YN0000: └ Completed in 4s 413ms
12:57:16 PM: ➤ YN0000: ┌ Link step
12:57:20 PM: ➤ YN0007: │ @biomejs/biome@npm:1.9.4 must be built because it never has been before or the last one failed
12:57:20 PM: ➤ YN0007: │ keccak@npm:3.0.4 must be built because it never has been before or the last one failed
12:57:20 PM: ➤ YN0007: │ secp256k1@npm:4.0.4 must be built because it never has been before or the last one failed
12:57:20 PM: ➤ YN0007: │ web@workspace:. must be built because it never has been before or the last one failed
12:57:20 PM: ➤ YN0000: └ Completed in 4s 126ms
12:57:20 PM: ➤ YN0000: · Done in 8s 743ms
12:57:21 PM: npm packages installed using Yarn
12:57:21 PM: Successfully installed dependencies
12:57:21 PM: Starting build script
12:57:22 PM: Detected 1 framework(s)
12:57:22 PM: "next" at version "14.2.8"
12:57:22 PM: Section completed: initializing

Building

Failed
12:57:24 PM: Netlify Build
12:57:24 PM: ────────────────────────────────────────────────────────────────
12:57:24 PM:
12:57:24 PM: ❯ Version
12:57:24 PM: @netlify/build 29.58.9
12:57:24 PM:
12:57:24 PM: ❯ Flags
12:57:24 PM: accountId: 59b713c1cf321c2011ae7423
12:57:24 PM: baseRelDir: true
12:57:24 PM: buildId: 67b32c798ff8c600081fa0d3
12:57:24 PM: deployId: 67b32c798ff8c600081fa0d5
12:57:24 PM:
12:57:24 PM: ❯ Current directory
12:57:24 PM: /opt/build/repo
12:57:24 PM:
12:57:24 PM: ❯ Config file
12:57:24 PM: No config file was defined: using default values.
12:57:24 PM:
12:57:24 PM: ❯ Context
12:57:24 PM: deploy-preview
12:57:25 PM:
12:57:25 PM: ❯ Using Next.js Runtime - v5.9.4
12:57:26 PM: No Next.js cache to restore
12:57:26 PM:
12:57:26 PM: Build command from Netlify app
12:57:26 PM: ────────────────────────────────────────────────────────────────
12:57:26 PM: ​
12:57:26 PM: $ yarn run build
12:57:26 PM: No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
12:57:26 PM: ▲ Next.js 14.2.8
12:57:26 PM: Creating an optimized production build ...
12:57:38 PM: Compiled successfully
12:57:38 PM: Linting and checking validity of types ...
12:57:41 PM: Failed to compile.
12:57:41 PM:
12:57:41 PM: ./src/app/utils.ts:41:3
12:57:41 PM: Type error: Type '{ id: string; description: string; title: string; reserved?: boolean | undefined; }' is not assignable to type 'IRulingOptions'.
12:57:41 PM: Property 'id' is incompatible with index signature.
12:57:41 PM: Type 'string' is not assignable to type '{ id: string; description: string; title: string; reserved?: boolean | undefined; }'.
12:57:41 PM: 39 | answers: DisputeDetails["answers"],
12:57:41 PM: 40 | ): IRulingOptions =>
12:57:41 PM: > 41 | answers.reduce(
12:57:41 PM: | ^
12:57:41 PM: 42 | (acc: IRulingOptions, answer) => {
12:57:41 PM: 43 | const answerId = answer.id;
12:57:41 PM: 44 | if (answerId) acc[answerId] = answer;
12:57:41 PM:
12:57:41 PM: "build.command" failed
12:57:41 PM: ────────────────────────────────────────────────────────────────
12:57:41 PM: ​
12:57:41 PM: Error message
12:57:41 PM: Command failed with exit code 1: yarn run build (https://ntl.fyi/exit-code-1)
12:57:41 PM: ​
12:57:41 PM: Error location
12:57:41 PM: In Build command from Netlify app:
12:57:41 PM: yarn run build
12:57:41 PM: ​
12:57:41 PM: Resolved config
12:57:41 PM: build:
12:57:41 PM: command: yarn run build
12:57:41 PM: commandOrigin: ui
12:57:41 PM: environment:
12:57:41 PM: - CORE_SUBGRAPH
12:57:41 PM: - DTR_ARBITRUM_SUBGRAPH
12:57:41 PM: - REVIEW_ID
12:57:41 PM: - THEGRAPH_API_KEY
12:57:41 PM: publish: /opt/build/repo/.next
12:57:41 PM: publishOrigin: ui
12:57:41 PM: plugins:
12:57:41 PM: - inputs: {}
12:57:41 PM: origin: ui
12:57:41 PM: package: '@netlify/plugin-nextjs'
12:57:41 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
12:57:41 PM: Failing build: Failed to build site
12:57:42 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
12:57:42 PM: Finished processing build request in 45.962s

Deploying

Skipped
There is no log for this section

Cleanup

Skipped
There is no log for this section

Post-processing

Skipped
There is no log for this section