Radicle repository id rad:z4ExzU1jYHivznhtDPvuTL9z5Ebit
{ "request": "trigger", "version": 1, "event_type": "push", "repository": { "id": "rad:z4ExzU1jYHivznhtDPvuTL9z5Ebit", "name": "sopass", "description": "A command line password manager using SOP", "private": false, "default_branch": "main", "delegates": [ "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV" ] }, "pusher": { "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV", "alias": "liw" }, "before": "d163be6b670c672b356bb911b21b0f2477250510", "after": "d163be6b670c672b356bb911b21b0f2477250510", "branch": "main", "commits": [ "d163be6b670c672b356bb911b21b0f2477250510" ] }
[2025-05-27T11:28:58Z INFO ambient] ambient starts [2J[01;01H[=3h[2J[01;01H[2J[01;01H[=3h[2J[01;01HBdsDxe: failed to load Boot0001 "UEFI QEMU DVD-ROM QM00005 " from PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x2,0xFFFF,0x0): Not Found BdsDxe: loading Boot0002 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x2,0x0) BdsDxe: starting Boot0002 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x2,0x0) [0m[30m[47mWelcome to GRUB! [0m[37m[40m[0m[30m[40m[2J[01;01H[0m[37m[40mINFO: Extracting tar archive from /dev/vdb ./ ./plan.yaml ./run-ci INFO: Running run-ci from /dev/vdb ================================ BEGIN ================================ ambient-execute-plan starts RunnablePlan::from_file: filename=plan.yaml steps: - action: mkdir pathname: /workspace - action: mkdir pathname: /workspace/artifacts - action: tar_extract archive: /dev/vdc directory: /workspace/src - action: tar_extract archive: /dev/vdf directory: /workspace/deps - action: tar_extract archive: /dev/vde directory: /workspace/cache - action: spawn argv: - find - /workspace - '-maxdepth' - '2' - '-ls' - action: cargo_fmt - action: cargo_clippy - action: cargo_build - action: shell shell: | export PATH="/root/.cargo/bin:/bin:/sbin" export SOPASS_LOG=trace export CARGO_TARGET_DIR=/workspace/cache export CARGO_HOME=/workspace/deps make OFFLINE="--offline --locked" - action: deb - action: tar_create archive: /dev/vde directory: /workspace/cache - action: tar_create archive: /dev/vdd directory: /workspace/artifacts executor_drive: /dev/vdb source_drive: /dev/vdc artifact_drive: /dev/vdd cache_drive: /dev/vde deps_drive: /dev/vdf workspace_dir: /workspace source_dir: /workspace/src deps_dir: /workspace/deps cache_dir: /workspace/cache artifacts_dir: /workspace/artifacts RUN: Action Mkdir { pathname: "/workspace", } RUN: Action finished OK RUN: Action Mkdir { pathname: "/workspace/artifacts", } RUN: Action finished OK RUN: Action TarExtract { archive: "/dev/vdc", directory: "/workspace/src", } RUN: Action finished OK RUN: Action TarExtract { archive: "/dev/vdf", directory: "/workspace/deps", } RUN: Action finished OK RUN: Action TarExtract { archive: "/dev/vde", directory: "/workspace/cache", } RUN: Action finished OK RUN: Action Spawn { argv: [ "find", "/workspace", "-maxdepth", "2", "-ls", ], } SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"] cwd=/workspace/src (exists? true) extra_env=[] 1572865 4 drwxr-xr-x 6 root root 4096 May 27 11:28 /workspace 1581100 4 drwxr-xr-x 4 root root 4096 Apr 9 04:21 /workspace/cache 1581101 4 drwxr-xr-x 7 root root 4096 May 24 03:26 /workspace/cache/debug 1584995 4 -rw-r--r-- 1 root root 1034 May 24 03:26 /workspace/cache/.rustc_info.json 1584994 4 -rw-r--r-- 1 root root 218 May 19 14:50 /workspace/cache/.rustdoc_fingerprint.json 1584996 4 drwxr-xr-x 7 root root 4096 May 24 03:26 /workspace/cache/doc 1572867 4 drwxr-xr-x 6 root root 4096 May 27 11:28 /workspace/src 1572868 4 drwxr-xr-x 2 root root 4096 May 27 11:28 /workspace/src/.radicle 1572899 4 -rw-r--r-- 1 root root 1109 May 27 11:28 /workspace/src/README.md 1572887 4 drwxr-xr-x 3 root root 4096 May 27 11:28 /workspace/src/debian 1572898 4 -rw-r--r-- 1 root root 1377 May 27 11:28 /workspace/src/sopass.1 1572984 4 -rw-r--r-- 1 root root 480 May 27 11:28 /workspace/src/Makefile 1572902 4 -rw-r--r-- 1 root root 20 May 27 11:28 /workspace/src/.gitignore 1572870 4 drwxr-xr-x 3 root root 4096 May 27 11:28 /workspace/src/src 1572985 20 -rw-r--r-- 1 root root 19397 May 27 11:28 /workspace/src/Cargo.lock 1572886 4 -rw-r--r-- 1 root root 3822 May 27 11:28 /workspace/src/NEWS.md 1572903 4 -rw-r--r-- 1 root root 517 May 27 11:28 /workspace/src/Cargo.toml 1572901 4 -rw-r--r-- 1 root root 82 May 27 11:28 /workspace/src/sopass.yaml 1572900 4 -rw-r--r-- 1 root root 206 May 27 11:28 /workspace/src/sopass.subplot 1572885 4 -rw-r--r-- 1 root root 289 May 27 11:28 /workspace/src/pass-to-sopass.sh 1572983 4 -rw-r--r-- 1 root root 447 May 27 11:28 /workspace/src/sopass.py 1572905 4 drwxr-xr-x 8 root root 4096 May 27 11:28 /workspace/src/.git 1572904 20 -rw-r--r-- 1 root root 17262 May 27 11:28 /workspace/src/sopass.md 1572866 4 drwxr-xr-x 2 root root 4096 May 27 11:28 /workspace/artifacts 1572986 4 drwxr-xr-x 3 root root 4096 May 27 11:28 /workspace/deps 1572989 4 drwxr-xr-x 5 root root 4096 Apr 9 04:21 /workspace/deps/registry 1572987 56 -rw-r--r-- 1 root root 57344 May 27 11:28 /workspace/deps/.global-cache 1572988 0 -rw-r--r-- 1 root root 0 Apr 9 04:21 /workspace/deps/.package-cache RUN: Action finished OK RUN: Action CargoFmt SPAWN: argv=["cargo", "fmt", "--check"] cwd=/workspace/src (exists? true) extra_env=[("CARGO_TARGET_DIR", "/workspace/cache"), ("CARGO_HOME", "/workspace/deps"), ("PATH", "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin")] RUN: Action finished OK RUN: Action CargoClippy SPAWN: argv=["cargo", "clippy", "--offline", "--locked", "--workspace", "--all-targets", "--no-deps", "--", "--deny", "warnings"] cwd=/workspace/src (exists? true) extra_env=[("CARGO_TARGET_DIR", "/workspace/cache"), ("CARGO_HOME", "/workspace/deps"), ("PATH", "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin")] Checking sopass v0.5.0 (/workspace/src) Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.00s RUN: Action finished OK RUN: Action CargoBuild SPAWN: argv=["cargo", "build", "--offline", "--locked", "--workspace", "--all-targets"] cwd=/workspace/src (exists? true) extra_env=[("CARGO_TARGET_DIR", "/workspace/cache"), ("CARGO_HOME", "/workspace/deps"), ("PATH", "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin")] Compiling sopass v0.5.0 (/workspace/src) Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.09s RUN: Action finished OK RUN: Action Shell { shell: "export PATH=\"/root/.cargo/bin:/bin:/sbin\"\nexport SOPASS_LOG=trace\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\n\nmake OFFLINE=\"--offline --locked\"\n", } SPAWN: argv=["/bin/bash", "-c", "set -xeuo pipefail\nexport PATH=\"/root/.cargo/bin:/bin:/sbin\"\nexport SOPASS_LOG=trace\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\n\nmake OFFLINE=\"--offline --locked\"\n\n"] cwd=/workspace/src (exists? true) extra_env=[] + export PATH=/root/.cargo/bin:/bin:/sbin + PATH=/root/.cargo/bin:/bin:/sbin + export SOPASS_LOG=trace + SOPASS_LOG=trace + export CARGO_TARGET_DIR=/workspace/cache + CARGO_TARGET_DIR=/workspace/cache + export CARGO_HOME=/workspace/deps + CARGO_HOME=/workspace/deps + make 'OFFLINE=--offline --locked' subplot docgen sopass.subplot -o sopass.html [32m INFO[0m Starting Subplot [32m INFO[0m Subplot finished successfully cargo clippy --offline --locked --all-targets -- -Dwarnings Checking sopass v0.5.0 (/workspace/src) Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.67s cargo build --offline --locked --all-targets Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s cargo test --offline --locked --all-targets Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s Running unittests src/lib.rs (/workspace/cache/debug/deps/sopass-a60c5327a59fbb44) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/main.rs (/workspace/cache/debug/deps/sopass-38366486db0bb0f1) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s cargo test --offline --locked --doc Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s Doc-tests sopass running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s cargo doc --offline --locked --no-deps Documenting sopass v0.5.0 (/workspace/src) Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.81s Generated /workspace/cache/doc/sopass/index.html rm -f test.py test.log subplot codegen sopass.subplot -o test.py [32m INFO[0m Starting Subplot [32m INFO[0m Subplot finished successfully SOPASS_LOG=trace python3 test.py --log test.log srcdir /workspace/src datadir /tmp/tmpau96sfqp scenario: Renames values step: given an installed sopass bindir /workspace/cache/debug step: given file my.key step: when I run sopass --store xyzzy init --name primary --key my.key step: given file value.dat step: when I run sopass --store xyzzy value add foo --file value.dat step: when I run sopass --store xyzzy value add foobar --file value.dat step: when I try to run sopass --store xyzzy value rename ghost yo step: then command fails step: then stderr contains "ghost" step: when I try to run sopass --store xyzzy value rename foo foobar step: then command fails step: then stderr contains "foobar" step: when I run sopass --store xyzzy value rename foo yo step: when I run sopass --store xyzzy value list step: then stdout is exactly "foobar\nyo\n" scenario: Showing value that does not exist fails step: given an installed sopass bindir /workspace/cache/debug step: given file my.key step: when I run sopass --store xyzzy init --name primary --key my.key step: when I try to run sopass --store xyzzy value show foo step: then command fails step: then stderr contains "foo" step: then stdout is exactly "" scenario: Rejects unknown field in configuration file step: given an installed sopass bindir /workspace/cache/debug step: given file unknown.yaml step: when I try to run sopass --config unknown.yaml config step: then command fails step: then stderr contains "unknown" scenario: Loads default configuration file step: given an installed sopass bindir /workspace/cache/debug step: given file .config/sopass/sopass.yml from default.yaml step: when I run env HOME=. sopass config step: then stdout contains ""store": "/over/the/rainbow"" scenario: Reports a default configuration step: given an installed sopass bindir /workspace/cache/debug step: when I run sopass config step: then stdout contains ""store": "/" step: then stdout contains ""sop": "" step: then stdout contains ""key_file": "" step: then file .config/sopass/sopass.yml does not exist scenario: Loads specified configuration file step: given an installed sopass bindir /workspace/cache/debug step: when I try to run sopass --config custom.yaml config step: then command fails step: then stderr contains "custom.yaml" step: given file custom.yaml step: when I run sopass --config custom.yaml config step: then stdout contains ""sop": "soppy"" scenario: Imports from a file step: given an installed sopass bindir /workspace/cache/debug step: given file my.key step: given file value.dat step: given file yo.dat step: when I run sopass --store xyzzy init --name primary --key my.key step: when I run sopass --store xyzzy value add foo --file value.dat step: when I run sopass --store xyzzy value add bar --file value.dat step: when I run sopass --store xyzzy value add yo --file value.dat step: when I run sopass --store xyzzy export store.json step: when I run sopass --store new init --name primary --key my.key step: when I run sopass --store new value add foo --file yo.dat step: when I run sopass --store new value add bar --file yo.dat step: when I run sopass --store new import store.json step: when I run sopass --store new value list step: then stdout contains "foo" step: then stdout contains "bar" step: then stdout contains "yo" step: when I run sopass --store new value show foo step: then stdout is exactly "bar\n" step: when I run sopass --store new value show bar step: then stdout is exactly "bar\n" step: when I run sopass --store new value show yo step: then stdout is exactly "bar\n" scenario: Initializes the password store step: given an installed sopass bindir /workspace/cache/debug step: given file my.key step: then directory xyzzy does not exist step: when I run sopass --store xyzzy init --name primary --key my.key step: then file xyzzy/values.sopass exists scenario: Exports store to file step: given an installed sopass bindir /workspace/cache/debug step: given file my.key step: when I run sopass --store xyzzy init --name primary --key my.key step: given file value.dat step: when I run sopass --store xyzzy value add foo --file value.dat step: when I run sopass --store xyzzy export store.json step: when I run cat store.json step: then file store.json contains ""certs":" step: then file store.json contains ""primary":" step: then file store.json contains ""kv":" step: then file store.json contains ""foo":" scenario: Manages values step: given an installed sopass bindir /workspace/cache/debug step: given file my.key step: when I run sopass --store xyzzy init --name primary --key my.key step: when I run sopass --store xyzzy value list step: then stdout is exactly "" step: given file value.dat step: when I run sopass --store xyzzy value add foo --file value.dat step: when I run sopass --store xyzzy value list step: then stdout is exactly "foo\n" step: when I run sopass --store xyzzy value show foo step: then stdout is exactly "bar\n" step: when I run sopass --store xyzzy value remove foo step: then stdout is exactly "" step: given file add-stdin.sh step: when I run sh add-stdin.sh step: when I run sopass --store xyzzy value list step: then stdout is exactly "foo\n" step: when I run sopass --store xyzzy value show foo step: then stdout is exactly "bar\n" step: when I run sopass --store xyzzy value remove foo step: then stdout is exactly "" scenario: Manages certificates step: given an installed sopass bindir /workspace/cache/debug step: given file my.key step: given file other.key step: given file other.cert step: when I run sopass --store xyzzy init --name primary --key my.key step: when I run sopass --store xyzzy cert list step: then stdout is exactly "primary\n" step: when I run sopass --store xyzzy cert add --name secondary --cert other.cert step: when I run sopass --store xyzzy cert list step: then stdout contains "primary" step: then stdout contains "secondary" step: when I run mv other.key xyzzy/default.key step: when I run rm my.key step: when I run sopass --store xyzzy cert list step: then stdout contains "primary" step: then stdout contains "secondary" step: when I run sopass --store xyzzy cert remove primary step: when I run sopass --store xyzzy cert list step: then stdout doesn't contain "primary" step: then stdout contains "secondary" step: when I try to run sopass --store xyzzy cert remove secondary step: then command fails step: then stderr contains "secondary" step: when I run sopass --store xyzzy cert list step: then stdout contains "secondary" scenario: Reports its version step: given an installed sopass bindir /workspace/cache/debug step: when I run sopass --version step: then stdout matches regex ^sopass \\d+\\.\\d+\\.\\d+$ step: when I run sopass version step: then stdout matches regex ^sopass \\d+\\.\\d+\\.\\d+$ OK, all scenarios finished successfully rm -f test.py test.log RUN: Action finished OK RUN: Action Deb SPAWN: argv=["/bin/bash", "-c", "#!/bin/bash\nset -xeuo pipefail\n\necho \"PATH at start: $PATH\"\nexport PATH=\"/root/.cargo/bin:$PATH\"\nexport CARGO_HOME=/workspace/deps\nexport DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\n/bin/env\n\ncommand -v cargo\ncommand -v rustc\n\ncargo --version\nrustc --version\n\n# Get name and version of source package.\nname=\"$(dpkg-parsechangelog -SSource)\"\nversion=\"$(dpkg-parsechangelog -SVersion)\"\n\n# Get upstream version: everything before the last dash.\nuv=\"$(echo \"$version\" | sed 's/-[^-]*$//')\"\n\n# Files that will be created.\narch=\"$(dpkg --print-architecture)\"\norig=\"../${name}_${uv}.orig.tar.xz\"\ndeb=\"../${name}_${version}_${arch}.deb\"\nchanges=\"../${name}_${version}_${arch}.changes\"\n\n# Create \"upstream tarball\".\ngit archive HEAD | xz >\"$orig\"\n\n# Build package.\ndpkg-buildpackage -us -uc\n\n# Dump some information to make it easier to visually verify\n# everything looks OK. Also, test the package with the lintian tool.\n\nls -l ..\nfor x in ../*.deb; do dpkg -c \"$x\"; done\n# FIXME: disabled while this prevents radicle-native-ci deb from being built.\n# lintian -i --allow-root --fail-on warning ../*.changes\n\n# Move files to artifacts directory.\nmv ../*_* /workspace/artifacts\n "] cwd=/workspace/src (exists? true) extra_env=[("CARGO_TARGET_DIR", "/workspace/cache"), ("CARGO_HOME", "/workspace/deps"), ("PATH", "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin")] + echo 'PATH at start: /root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' PATH at start: /root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + export PATH=/root/.cargo/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + PATH=/root/.cargo/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + export CARGO_HOME=/workspace/deps + CARGO_HOME=/workspace/deps + export DEBEMAIL=liw@liw.fi + DEBEMAIL=liw@liw.fi + export 'DEBFULLNAME=Lars Wirzenius' + DEBFULLNAME='Lars Wirzenius' + /bin/env DEBFULLNAME=Lars Wirzenius CARGO_TARGET_DIR=/workspace/cache PWD=/workspace/src SYSTEMD_EXEC_PID=276 LANG=C.UTF-8 CARGO_HOME=/workspace/deps DEBEMAIL=liw@liw.fi INVOCATION_ID=cba26ddf199a432498ce6d0249686771 SHLVL=2 JOURNAL_STREAM=8:12039 PATH=/root/.cargo/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin OLDPWD=/ _=/bin/env + command -v cargo /root/.cargo/bin/cargo + command -v rustc /root/.cargo/bin/rustc + cargo --version cargo 1.87.0 (99624be96 2025-05-06) + rustc --version rustc 1.87.0 (17067e9ac 2025-05-09) ++ dpkg-parsechangelog -SSource + name=sopass ++ dpkg-parsechangelog -SVersion + version=0.5.0-1 ++ sed 's/-[^-]*$//' ++ echo 0.5.0-1 + uv=0.5.0 ++ dpkg --print-architecture + arch=amd64 + orig=../sopass_0.5.0.orig.tar.xz + deb=../sopass_0.5.0-1_amd64.deb + changes=../sopass_0.5.0-1_amd64.changes + git archive HEAD + xz + dpkg-buildpackage -us -uc [1mdpkg-buildpackage: [0m[32minfo[0m: source package sopass [1mdpkg-buildpackage: [0m[32minfo[0m: source version 0.5.0-1 [1mdpkg-buildpackage: [0m[32minfo[0m: source distribution unstable [1mdpkg-buildpackage: [0m[32minfo[0m: source changed by Lars Wirzenius <liw@liw.fi> [1mdpkg-buildpackage: [0m[32minfo[0m: host architecture amd64 [1;35m dpkg-source --before-build . [0m[1;35m debian/rules clean [0mdh clean dh_auto_clean dh_clean [1;35m dpkg-source -b . [0m[1mdpkg-source: [0m[32minfo[0m: using source format '3.0 (quilt)' [1mdpkg-source: [0m[32minfo[0m: building sopass using existing ./sopass_0.5.0.orig.tar.xz [1mdpkg-source: [0m[1;33mwarning[0m: file src/sopass.html has no final newline (either original or modified version) [1mdpkg-source: [0m[32minfo[0m: local changes detected, the modified files are: src/sopass.html [1mdpkg-source: [0m[32minfo[0m: Hint: make sure the version in debian/changelog matches the unpacked source tree [1mdpkg-source: [0m[32minfo[0m: you can integrate the local changes with dpkg-source --commit [1mdpkg-source: [0m[1;31merror[0m: aborting due to unexpected upstream changes, see /tmp/sopass_0.5.0-1.diff.IdVxU8 [1mdpkg-buildpackage: [0m[1;31merror[0m: dpkg-source -b . subprocess returned exit status 2 ERROR: Action failed: command failed: ["/bin/bash", "-c", "#!/bin/bash\nset -xeuo pipefail\n\necho \"PATH at start: $PATH\"\nexport PATH=\"/root/.cargo/bin:$PATH\"\nexport CARGO_HOME=/workspace/deps\nexport DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\n/bin/env\n\ncommand -v cargo\ncommand -v rustc\n\ncargo --version\nrustc --version\n\n# Get name and version of source package.\nname=\"$(dpkg-parsechangelog -SSource)\"\nversion=\"$(dpkg-parsechangelog -SVersion)\"\n\n# Get upstream version: everything before the last dash.\nuv=\"$(echo \"$version\" | sed 's/-[^-]*$//')\"\n\n# Files that will be created.\narch=\"$(dpkg --print-architecture)\"\norig=\"../${name}_${uv}.orig.tar.xz\"\ndeb=\"../${name}_${version}_${arch}.deb\"\nchanges=\"../${name}_${version}_${arch}.changes\"\n\n# Create \"upstream tarball\".\ngit archive HEAD | xz >\"$orig\"\n\n# Build package.\ndpkg-buildpackage -us -uc\n\n# Dump some information to make it easier to visually verify\n# everything looks OK. Also, test the package with the lintian tool.\n\nls -l ..\nfor x in ../*.deb; do dpkg -c \"$x\"; done\n# FIXME: disabled while this prevents radicle-native-ci deb from being built.\n# lintian -i --allow-root --fail-on warning ../*.changes\n\n# Move files to artifacts directory.\nmv ../*_* /workspace/artifacts\n "] ERROR: command failed: ["/bin/bash", "-c", "#!/bin/bash\nset -xeuo pipefail\n\necho \"PATH at start: $PATH\"\nexport PATH=\"/root/.cargo/bin:$PATH\"\nexport CARGO_HOME=/workspace/deps\nexport DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\n/bin/env\n\ncommand -v cargo\ncommand -v rustc\n\ncargo --version\nrustc --version\n\n# Get name and version of source package.\nname=\"$(dpkg-parsechangelog -SSource)\"\nversion=\"$(dpkg-parsechangelog -SVersion)\"\n\n# Get upstream version: everything before the last dash.\nuv=\"$(echo \"$version\" | sed 's/-[^-]*$//')\"\n\n# Files that will be created.\narch=\"$(dpkg --print-architecture)\"\norig=\"../${name}_${uv}.orig.tar.xz\"\ndeb=\"../${name}_${version}_${arch}.deb\"\nchanges=\"../${name}_${version}_${arch}.changes\"\n\n# Create \"upstream tarball\".\ngit archive HEAD | xz >\"$orig\"\n\n# Build package.\ndpkg-buildpackage -us -uc\n\n# Dump some information to make it easier to visually verify\n# everything looks OK. Also, test the package with the lintian tool.\n\nls -l ..\nfor x in ../*.deb; do dpkg -c \"$x\"; done\n# FIXME: disabled while this prevents radicle-native-ci deb from being built.\n# lintian -i --allow-root --fail-on warning ../*.changes\n\n# Move files to artifacts directory.\nmv ../*_* /workspace/artifacts\n "] EXIT CODE: 1 [2025-05-27T11:28:58Z INFO ambient] ambient ends successfully