CI run for sopass

Radicle repository id rad:z4ExzU1jYHivznhtDPvuTL9z5Ebit

Table of Contents

Run log

[2025-09-13T05:31:29Z INFO  ambient] ambient starts
[=3h[=3hBdsDxe: 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)
Welcome to GRUB!


INFO: Block devices
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
vda    254:0    0   100G  0 disk 
├─vda1 254:1    0   953M  0 part 
└─vda2 254:2    0  99.1G  0 part /
vdb    254:16   0   2.9M  1 disk 
vdc    254:32   0   800K  1 disk 
vdd    254:48   0   9.3G  0 disk 
vde    254:64   0  46.6G  0 disk 
vdf    254:80   0 348.9M  1 disk 
INFO: Extracting tar archive from /dev/vdb
drwxr-xr-x _rad/_rad         0 2025-09-13 05:29 ./
-rw-r--r-- _rad/_rad      1332 2025-09-13 05:29 ./plan.yaml
-rwxr-xr-x _rad/_rad   3007128 2025-09-13 05:29 ./run-ci
INFO: Extracted files:
  4587526      4 drwxr-xr-x   2 1001     1001         4096 Sep 13 05:29 .
  4587527      4 -rw-r--r--   1 1001     1001         1332 Sep 13 05:29 ./plan.yaml
  4587530   2940 -rwxr-xr-x   1 1001     1001      3007128 Sep 13 05:29 ./run-ci
INFO: Running run-ci from /dev/vdb
================================ BEGIN ================================
[2025-09-13T05:29:56Z TRACE ambient_execute_plan] ambient-execute-plan starts
[2025-09-13T05:29:56Z DEBUG ambient_execute_plan] ambient-execute-plan starts
[2025-09-13T05:29:56Z INFO  ambient_execute_plan] ambient-execute-plan starts
[2025-09-13T05:29:56Z WARN  ambient_execute_plan] ambient-execute-plan starts
[2025-09-13T05:29:56Z ERROR ambient_execute_plan] 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: |
    make sopass.html
    mv sopass.html /workspace/artifacts/sopass.html
- action: shell
  shell: |
    export HOME=/root
    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"
    git clean -fdx
- action: custom
  name: dch
  args:
    debemail: liw@liw.fi
    debfullname: Lars Wirzenius
- 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",
}
[2025-09-13T05:29:56Z DEBUG ambient_ci::action] Plan::execute: Mkdir {
        pathname: "/workspace",
    }
RUN: Action finished OK
RUN: Action Mkdir {
    pathname: "/workspace/artifacts",
}
[2025-09-13T05:29:56Z DEBUG ambient_ci::action] Plan::execute: Mkdir {
        pathname: "/workspace/artifacts",
    }
RUN: Action finished OK
RUN: Action TarExtract {
    archive: "/dev/vdc",
    directory: "/workspace/src",
}
[2025-09-13T05:29:56Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
        archive: "/dev/vdc",
        directory: "/workspace/src",
    }
[2025-09-13T05:29:56Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
[2025-09-13T05:29:56Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action TarExtract {
    archive: "/dev/vdf",
    directory: "/workspace/deps",
}
[2025-09-13T05:29:56Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
        archive: "/dev/vdf",
        directory: "/workspace/deps",
    }
[2025-09-13T05:29:56Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
[2025-09-13T05:29:58Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action TarExtract {
    archive: "/dev/vde",
    directory: "/workspace/cache",
}
[2025-09-13T05:29:58Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
[2025-09-13T05:29:58Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
[2025-09-13T05:29:58Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action Spawn {
    argv: [
        "find",
        "/workspace",
        "-maxdepth",
        "2",
        "-ls",
    ],
}
[2025-09-13T05:29:58Z DEBUG ambient_ci::action] Plan::execute: Spawn {
        argv: [
            "find",
            "/workspace",
            "-maxdepth",
            "2",
            "-ls",
        ],
    }
SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"]
       cwd=/workspace/src (exists? true)
       extra_env=[]
  2621441      4 drwxr-xr-x   6 root     root         4096 Sep 13 05:29 /workspace
  2621715      4 drwxr-xr-x   3 root     root         4096 Sep 13 05:29 /workspace/deps
  2621716      0 -rw-r--r--   1 root     root            0 Sep 13 05:29 /workspace/deps/.package-cache-mutate
  2621719      4 drwxr-xr-x   5 root     root         4096 Sep 13 05:29 /workspace/deps/registry
  2621717     56 -rw-r--r--   1 root     root        57344 Sep 13 05:29 /workspace/deps/.global-cache
  2621718      0 -rw-r--r--   1 root     root            0 Sep 13 05:29 /workspace/deps/.package-cache
  2621443      4 drwxr-xr-x   7 root     root         4096 Sep 13 05:29 /workspace/src
  2621476      4 -rw-r--r--   1 root     root         1377 Sep 13 05:29 /workspace/src/sopass.1
  2621481      4 -rw-r--r--   1 root     root          537 Sep 13 05:29 /workspace/src/Cargo.toml
  2621482     20 -rw-r--r--   1 root     root        17262 Sep 13 05:29 /workspace/src/sopass.md
  2621464      4 -rw-r--r--   1 root     root         3822 Sep 13 05:29 /workspace/src/NEWS.md
  2621483      4 drwxr-xr-x   8 root     root         4096 Sep 13 05:29 /workspace/src/.git
  2621448      4 drwxr-xr-x   3 root     root         4096 Sep 13 05:29 /workspace/src/src
  2621477      4 -rw-r--r--   1 root     root         1109 Sep 13 05:29 /workspace/src/README.md
  2621446      4 drwxr-xr-x   2 root     root         4096 Sep 13 05:29 /workspace/src/.ambient
  2621478      4 -rw-r--r--   1 root     root          206 Sep 13 05:29 /workspace/src/sopass.subplot
  2621479      4 -rw-r--r--   1 root     root           82 Sep 13 05:29 /workspace/src/sopass.yaml
  2621444      4 drwxr-xr-x   2 root     root         4096 Sep 13 05:29 /workspace/src/.radicle
  2621465      4 drwxr-xr-x   3 root     root         4096 Sep 13 05:29 /workspace/src/debian
  2621463      4 -rw-r--r--   1 root     root          289 Sep 13 05:29 /workspace/src/pass-to-sopass.sh
  2621712      4 -rw-r--r--   1 root     root          447 Sep 13 05:29 /workspace/src/sopass.py
  2621714     24 -rw-r--r--   1 root     root        23479 Sep 13 05:29 /workspace/src/Cargo.lock
  2621480      4 -rw-r--r--   1 root     root           20 Sep 13 05:29 /workspace/src/.gitignore
  2621713      4 -rw-r--r--   1 root     root          480 Sep 13 05:29 /workspace/src/Makefile
  2621442      4 drwxr-xr-x   2 root     root         4096 Sep 13 05:29 /workspace/artifacts
  2631424      4 drwxr-xr-x   2 root     root         4096 Sep 13 05:29 /workspace/cache
RUN: Action finished OK
RUN: Action CargoFmt
[2025-09-13T05:29:58Z DEBUG ambient_ci::action] Plan::execute: 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
[2025-09-13T05:29:58Z DEBUG ambient_ci::action] Plan::execute: 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")]
   Compiling proc-macro2 v1.0.92
   Compiling unicode-ident v1.0.14
   Compiling serde v1.0.219
   Compiling libc v0.2.169
    Checking memchr v2.7.4
    Checking bitflags v2.6.0
   Compiling rustix v0.38.42
    Checking ryu v1.0.18
    Checking hashbrown v0.15.2
   Compiling anyhow v1.0.98
   Compiling quote v1.0.38
    Checking equivalent v1.0.1
    Checking itoa v1.0.14
    Checking utf8parse v0.2.2
    Checking anstyle-parse v0.2.6
   Compiling syn v2.0.92
    Checking aho-corasick v1.1.3
    Checking colorchoice v1.0.3
    Checking indexmap v2.7.1
   Compiling getrandom v0.3.3
    Checking is_terminal_polyfill v1.70.1
    Checking regex-syntax v0.8.5
   Compiling version_check v0.9.5
   Compiling rustix v1.0.7
    Checking anstyle v1.0.10
    Checking cfg-if v1.0.0
    Checking anstyle-query v1.1.2
    Checking linux-raw-sys v0.4.14
    Checking regex-automata v0.4.9
    Checking anstream v0.6.18
   Compiling serde_yml v0.0.12
   Compiling thiserror v2.0.12
   Compiling thiserror v1.0.69
    Checking winnow v0.7.13
   Compiling serde_json v1.0.140
    Checking linux-raw-sys v0.9.4
    Checking option-ext v0.2.0
    Checking dirs-sys v0.4.1
    Checking regex v1.11.1
    Checking terminal_size v0.4.1
    Checking libyml v0.0.5
    Checking toml_parser v1.0.2
    Checking once_cell v1.20.2
    Checking strsim v0.11.1
    Checking unsafe-libyaml v0.2.11
   Compiling heck v0.5.0
   Compiling serde_derive v1.0.219
   Compiling thiserror-impl v1.0.69
   Compiling thiserror-impl v2.0.12
    Checking toml_writer v1.0.2
    Checking clap_lex v0.7.4
    Checking fastrand v2.3.0
    Checking log v0.4.22
    Checking env_filter v0.1.3
    Checking tempfile v3.20.0
    Checking clap_builder v4.5.23
   Compiling clap_derive v4.5.18
    Checking directories v5.0.1
    Checking dirs-sys-next v0.1.2
    Checking humantime v2.1.0
    Checking env_logger v0.11.6
    Checking directories-next v2.0.0
    Checking clap v4.5.23
    Checking serde_spanned v1.0.0
    Checking toml_datetime v0.7.0
    Checking serde_yaml v0.9.34+deprecated
    Checking toml v0.9.5
    Checking confy v0.6.1
    Checking clingwrap v0.3.0
    Checking sopass v0.5.0 (/workspace/src)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.19s
RUN: Action finished OK
RUN: Action CargoBuild
[2025-09-13T05:30:16Z DEBUG ambient_ci::action] Plan::execute: 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 serde v1.0.219
   Compiling libc v0.2.169
   Compiling memchr v2.7.4
   Compiling bitflags v2.6.0
   Compiling itoa v1.0.14
   Compiling equivalent v1.0.1
   Compiling utf8parse v0.2.2
   Compiling hashbrown v0.15.2
   Compiling ryu v1.0.18
   Compiling aho-corasick v1.1.3
   Compiling anstyle-parse v0.2.6
   Compiling indexmap v2.7.1
   Compiling colorchoice v1.0.3
   Compiling cfg-if v1.0.0
   Compiling is_terminal_polyfill v1.70.1
   Compiling anstyle-query v1.1.2
   Compiling regex-syntax v0.8.5
   Compiling anstyle v1.0.10
   Compiling linux-raw-sys v0.4.14
   Compiling rustix v0.38.42
   Compiling regex-automata v0.4.9
   Compiling anstream v0.6.18
   Compiling anyhow v1.0.98
   Compiling linux-raw-sys v0.9.4
   Compiling option-ext v0.2.0
   Compiling winnow v0.7.13
   Compiling rustix v1.0.7
   Compiling dirs-sys v0.4.1
   Compiling libyml v0.0.5
   Compiling toml_parser v1.0.2
   Compiling regex v1.11.1
   Compiling getrandom v0.3.3
   Compiling terminal_size v0.4.1
   Compiling toml_datetime v0.7.0
   Compiling serde_spanned v1.0.0
   Compiling clap_lex v0.7.4
   Compiling log v0.4.22
   Compiling strsim v0.11.1
   Compiling unsafe-libyaml v0.2.11
   Compiling fastrand v2.3.0
   Compiling once_cell v1.20.2
   Compiling toml_writer v1.0.2
   Compiling tempfile v3.20.0
   Compiling toml v0.9.5
   Compiling serde_yaml v0.9.34+deprecated
   Compiling clap_builder v4.5.23
   Compiling env_filter v0.1.3
   Compiling thiserror v2.0.12
   Compiling thiserror v1.0.69
   Compiling serde_yml v0.0.12
   Compiling directories v5.0.1
   Compiling serde_json v1.0.140
   Compiling dirs-sys-next v0.1.2
   Compiling humantime v2.1.0
   Compiling env_logger v0.11.6
   Compiling clingwrap v0.3.0
   Compiling clap v4.5.23
   Compiling directories-next v2.0.0
   Compiling confy v0.6.1
   Compiling sopass v0.5.0 (/workspace/src)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.85s
RUN: Action finished OK
RUN: Action Shell {
    shell: "make sopass.html\nmv sopass.html /workspace/artifacts/sopass.html\n",
}
[2025-09-13T05:30:28Z DEBUG ambient_ci::action] Plan::execute: Shell {
        shell: "make sopass.html\nmv sopass.html /workspace/artifacts/sopass.html\n",
    }
SPAWN: argv=["/bin/bash", "-c", "set -xeuo pipefail\nmake sopass.html\nmv sopass.html /workspace/artifacts/sopass.html\n\n"]
       cwd=/workspace/src (exists? true)
       extra_env=[]
+ make sopass.html
subplot docgen sopass.subplot -o sopass.html
 INFO Starting Subplot
 INFO Subplot finished successfully
+ mv sopass.html /workspace/artifacts/sopass.html
RUN: Action finished OK
RUN: Action Shell {
    shell: "export HOME=/root\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\"\ngit clean -fdx\n",
}
[2025-09-13T05:30:28Z DEBUG ambient_ci::action] Plan::execute: Shell {
        shell: "export HOME=/root\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\"\ngit clean -fdx\n",
    }
SPAWN: argv=["/bin/bash", "-c", "set -xeuo pipefail\nexport HOME=/root\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\"\ngit clean -fdx\n\n"]
       cwd=/workspace/src (exists? true)
       extra_env=[]
+ export HOME=/root
+ HOME=/root
+ 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
 INFO Starting Subplot
 INFO 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.72s
cargo build --offline --locked --all-targets
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s
cargo test --offline --locked --all-targets
    Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
     Running unittests src/lib.rs (/workspace/cache/debug/deps/sopass-33f27be705dac84f)

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-1a4854e822681270)

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.61s
   Generated /workspace/cache/doc/sopass/index.html
rm -f test.py test.log
subplot codegen sopass.subplot -o test.py
 INFO Starting Subplot
 INFO Subplot finished successfully
SOPASS_LOG=trace python3 test.py --log test.log
srcdir /workspace/src
datadir /tmp/tmpbc4t10nc
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: 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: 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: 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: 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: 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: 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: 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 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: 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: 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: 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
+ git clean -fdx
Removing sopass.html
RUN: Action finished OK
RUN: Action Custom(
    Custom {
        name: "dch",
        args: {
            "debemail": String("liw@liw.fi"),
            "debfullname": String("Lars Wirzenius"),
        },
    },
)
[2025-09-13T05:30:31Z DEBUG ambient_ci::action] Plan::execute: Custom(
        Custom {
            name: "dch",
            args: {
                "debemail": String("liw@liw.fi"),
                "debfullname": String("Lars Wirzenius"),
            },
        },
    )
custom: source=/workspace/src
custom: exe=".ambient/dch" exists=false
HEAD is now at afe3d0d chore: update dependency on clingwrap to current 0.3.0
custom action "dch" exit code Some(0)
RUN: Action finished OK
RUN: Action Deb
[2025-09-13T05:30:32Z DEBUG ambient_ci::action] Plan::execute: 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=274
LANG=C.UTF-8
CARGO_HOME=/workspace/deps
DEBEMAIL=liw@liw.fi
INVOCATION_ID=6c5f61480301403da233331ceaeb5662
SHLVL=2
JOURNAL_STREAM=8:2690
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.88.0 (873a06493 2025-05-10)
+ rustc --version
rustc 1.88.0 (6b00bc388 2025-06-23)
++ dpkg-parsechangelog -SSource
+ name=sopass
++ dpkg-parsechangelog -SVersion
+ version=0.5.0.ci20250913T053031-1
++ sed 's/-[^-]*$//'
++ echo 0.5.0.ci20250913T053031-1
+ uv=0.5.0.ci20250913T053031
++ dpkg --print-architecture
+ arch=amd64
+ orig=../sopass_0.5.0.ci20250913T053031.orig.tar.xz
+ deb=../sopass_0.5.0.ci20250913T053031-1_amd64.deb
+ changes=../sopass_0.5.0.ci20250913T053031-1_amd64.changes
+ git archive HEAD
+ xz
+ dpkg-buildpackage -us -uc
dpkg-buildpackage: info: source package sopass
dpkg-buildpackage: info: source version 0.5.0.ci20250913T053031-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by "Lars Wirzenius" <"liw@liw.fi">
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .
 debian/rules clean
dh clean
   dh_auto_clean
   dh_clean
 dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building sopass using existing ./sopass_0.5.0.ci20250913T053031.orig.tar.xz
dpkg-source: info: building sopass in sopass_0.5.0.ci20250913T053031-1.debian.tar.xz
dpkg-source: info: building sopass in sopass_0.5.0.ci20250913T053031-1.dsc
 debian/rules build
dh build
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/workspace/src'
true
make[1]: Leaving directory '/workspace/src'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/workspace/src'
echo tests are disabled, for now
tests are disabled, for now
make[1]: Leaving directory '/workspace/src'
   create-stamp debian/debhelper-build-stamp
 debian/rules binary
dh binary
   dh_testroot
   dh_prep
   debian/rules override_dh_auto_install
make[1]: Entering directory '/workspace/src'
cargo install --offline --locked --target x86_64-unknown-linux-musl --path=. --root=debian/sopass/usr
  Installing sopass v0.5.0 (/workspace/src)
   Compiling proc-macro2 v1.0.92
   Compiling unicode-ident v1.0.14
   Compiling serde v1.0.219
   Compiling libc v0.2.169
   Compiling memchr v2.7.4
   Compiling bitflags v2.6.0
   Compiling quote v1.0.38
   Compiling equivalent v1.0.1
   Compiling ryu v1.0.18
   Compiling syn v2.0.92
   Compiling hashbrown v0.15.2
   Compiling anyhow v1.0.98
   Compiling utf8parse v0.2.2
   Compiling rustix v0.38.42
   Compiling itoa v1.0.14
   Compiling anstyle-parse v0.2.6
   Compiling aho-corasick v1.1.3
   Compiling indexmap v2.7.1
   Compiling anstyle-query v1.1.2
   Compiling getrandom v0.3.3
   Compiling version_check v0.9.5
   Compiling rustix v1.0.7
   Compiling linux-raw-sys v0.4.14
   Compiling regex-syntax v0.8.5
   Compiling cfg-if v1.0.0
   Compiling anstyle v1.0.10
   Compiling colorchoice v1.0.3
   Compiling is_terminal_polyfill v1.70.1
   Compiling anstream v0.6.18
   Compiling serde_derive v1.0.219
   Compiling regex-automata v0.4.9
   Compiling serde_yml v0.0.12
   Compiling option-ext v0.2.0
   Compiling thiserror v1.0.69
   Compiling serde_json v1.0.140
   Compiling thiserror v2.0.12
   Compiling linux-raw-sys v0.9.4
   Compiling winnow v0.7.13
   Compiling serde_spanned v1.0.0
   Compiling toml_datetime v0.7.0
   Compiling dirs-sys v0.4.1
   Compiling toml_parser v1.0.2
   Compiling libyml v0.0.5
   Compiling regex v1.11.1
   Compiling thiserror-impl v2.0.12
   Compiling thiserror-impl v1.0.69
   Compiling terminal_size v0.4.1
   Compiling once_cell v1.20.2
   Compiling clap_lex v0.7.4
   Compiling unsafe-libyaml v0.2.11
   Compiling strsim v0.11.1
   Compiling toml_writer v1.0.2
   Compiling fastrand v2.3.0
   Compiling heck v0.5.0
   Compiling log v0.4.22
   Compiling clap_derive v4.5.18
   Compiling env_filter v0.1.3
   Compiling tempfile v3.20.0
   Compiling serde_yaml v0.9.34+deprecated
   Compiling toml v0.9.5
   Compiling clap_builder v4.5.23
   Compiling directories v5.0.1
   Compiling dirs-sys-next v0.1.2
   Compiling humantime v2.1.0
   Compiling env_logger v0.11.6
   Compiling clingwrap v0.3.0
   Compiling directories-next v2.0.0
   Compiling confy v0.6.1
   Compiling clap v4.5.23
   Compiling sopass v0.5.0 (/workspace/src)
    Finished `release` profile [optimized] target(s) in 43.69s
  Installing debian/sopass/usr/bin/sopass
   Installed package `sopass v0.5.0 (/workspace/src)` (executable `sopass`)
warning: be sure to add `debian/sopass/usr/bin` to your PATH to be able to run the installed binaries
find debian -name ".crates*" -delete
make[1]: Leaving directory '/workspace/src'
   dh_installdocs
   dh_installchangelogs
   dh_lintian
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
   dh_fixperms
   dh_missing
   dh_strip
   dh_makeshlibs
   dh_shlibdeps
dpkg-shlibdeps: warning: couldn't parse dynamic symbol definition: no symbols
   dh_installdeb
   dh_gencontrol
dpkg-gencontrol: warning: Depends field of package sopass: substitution variable ${shlibs:Depends} used, but is not defined
dpkg-gencontrol: warning: Depends field of package sopass: substitution variable ${shlibs:Depends} used, but is not defined
   dh_md5sums
   dh_builddeb
dpkg-deb: building package 'sopass' in '../sopass_0.5.0.ci20250913T053031-1_amd64.deb'.
dpkg-deb: building package 'sopass-dbgsym' in '../sopass-dbgsym_0.5.0.ci20250913T053031-1_amd64.deb'.
 dpkg-genbuildinfo -O../sopass_0.5.0.ci20250913T053031-1_amd64.buildinfo
 dpkg-genchanges -O../sopass_0.5.0.ci20250913T053031-1_amd64.changes
dpkg-genchanges: info: including full source code in upload
 dpkg-source --after-build .
dpkg-buildpackage: info: full upload (original source is included)
+ ls -l ..
total 1144
drwxr-xr-x 2 root root   4096 Sep 13 05:30 artifacts
drwxr-xr-x 6 root root   4096 Sep 13 05:30 cache
drwxr-xr-x 3 root root   4096 Sep 13 05:29 deps
-rw-r--r-- 1 root root 129748 Sep 13 05:31 sopass-dbgsym_0.5.0.ci20250913T053031-1_amd64.deb
-rw-r--r-- 1 root root   2300 Sep 13 05:30 sopass_0.5.0.ci20250913T053031-1.debian.tar.xz
-rw-r--r-- 1 root root    926 Sep 13 05:30 sopass_0.5.0.ci20250913T053031-1.dsc
-rw-r--r-- 1 root root   5756 Sep 13 05:31 sopass_0.5.0.ci20250913T053031-1_amd64.buildinfo
-rw-r--r-- 1 root root   2335 Sep 13 05:31 sopass_0.5.0.ci20250913T053031-1_amd64.changes
-rw-r--r-- 1 root root 972280 Sep 13 05:31 sopass_0.5.0.ci20250913T053031-1_amd64.deb
-rw-r--r-- 1 root root  26264 Sep 13 05:30 sopass_0.5.0.ci20250913T053031.orig.tar.xz
drwxr-xr-x 7 root root   4096 Sep 13 05:30 src
+ for x in ../*.deb
+ dpkg -c ../sopass-dbgsym_0.5.0.ci20250913T053031-1_amd64.deb
drwxr-xr-x root/root         0 2025-09-13 05:30 ./
drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/
drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/lib/
drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/lib/debug/
drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/lib/debug/.build-id/8c/
-rw-r--r-- root/root    664784 2025-09-13 05:30 ./usr/lib/debug/.build-id/8c/1e6872df23bca0c6062d68eb1e63aa4bdbea10.debug
drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/share/
drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/share/doc/
lrwxrwxrwx root/root         0 2025-09-13 05:30 ./usr/share/doc/sopass-dbgsym -> sopass
+ for x in ../*.deb
+ dpkg -c ../sopass_0.5.0.ci20250913T053031-1_amd64.deb
drwxr-xr-x root/root         0 2025-09-13 05:30 ./
drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/
drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/bin/
-rwxr-xr-x root/root   3060384 2025-09-13 05:30 ./usr/bin/sopass
drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/share/
drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/share/doc/
drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/share/doc/sopass/
-rw-r--r-- root/root       285 2025-09-13 05:30 ./usr/share/doc/sopass/changelog.Debian.gz
-rw-r--r-- root/root      1150 2025-09-13 05:30 ./usr/share/doc/sopass/copyright
drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/share/lintian/
drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/share/lintian/overrides/
-rw-r--r-- root/root       173 2025-09-13 05:30 ./usr/share/lintian/overrides/sopass
+ mv ../sopass-dbgsym_0.5.0.ci20250913T053031-1_amd64.deb ../sopass_0.5.0.ci20250913T053031-1.debian.tar.xz ../sopass_0.5.0.ci20250913T053031-1.dsc ../sopass_0.5.0.ci20250913T053031-1_amd64.buildinfo ../sopass_0.5.0.ci20250913T053031-1_amd64.changes ../sopass_0.5.0.ci20250913T053031-1_amd64.deb ../sopass_0.5.0.ci20250913T053031.orig.tar.xz /workspace/artifacts
RUN: Action finished OK
RUN: Action TarCreate {
    archive: "/dev/vde",
    directory: "/workspace/cache",
}
[2025-09-13T05:31:21Z DEBUG ambient_ci::action] Plan::execute: TarCreate {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
[2025-09-13T05:31:21Z TRACE ambient_ci::vdrive] creating virtual drive (tar archive): VirtualDriveBuilder {
        filename: Some(
            "/dev/vde",
        ),
        root: Some(
            "/workspace/cache",
        ),
        size: None,
    }
[2025-09-13T05:31:21Z TRACE ambient_ci::vdrive] tar archive to be created: /dev/vde; exists? true
[2025-09-13T05:31:21Z TRACE ambient_ci::vdrive] create archive file /dev/vde
[2025-09-13T05:31:21Z TRACE ambient_ci::vdrive] directory /workspace/cache exists? true
[2025-09-13T05:31:21Z TRACE ambient_ci::vdrive] add contents of /workspace/cache as .
[2025-09-13T05:31:22Z TRACE ambient_ci::vdrive] created virtual drive /dev/vde
RUN: Action finished OK
RUN: Action TarCreate {
    archive: "/dev/vdd",
    directory: "/workspace/artifacts",
}
[2025-09-13T05:31:22Z DEBUG ambient_ci::action] Plan::execute: TarCreate {
        archive: "/dev/vdd",
        directory: "/workspace/artifacts",
    }
[2025-09-13T05:31:22Z TRACE ambient_ci::vdrive] creating virtual drive (tar archive): VirtualDriveBuilder {
        filename: Some(
            "/dev/vdd",
        ),
        root: Some(
            "/workspace/artifacts",
        ),
        size: None,
    }
[2025-09-13T05:31:22Z TRACE ambient_ci::vdrive] tar archive to be created: /dev/vdd; exists? true
[2025-09-13T05:31:22Z TRACE ambient_ci::vdrive] create archive file /dev/vdd
[2025-09-13T05:31:22Z TRACE ambient_ci::vdrive] directory /workspace/artifacts exists? true
[2025-09-13T05:31:22Z TRACE ambient_ci::vdrive] add contents of /workspace/artifacts as .
[2025-09-13T05:31:22Z TRACE ambient_ci::vdrive] created virtual drive /dev/vdd
RUN: Action finished OK
ambient-execute-plan ends
EXIT CODE: 0
[2025-09-13T05:31:29Z INFO  ambient] ambient ends successfully

Trigger message

{
  "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:z6MkkYez6QAFWvmdudjrfMXySu1NTpSrraJotCJFwGgkmgx8",
    "alias": "ci0"
  },
  "before": "afe3d0d21404f2598750320c452863802ab24e90",
  "after": "afe3d0d21404f2598750320c452863802ab24e90",
  "branch": "main",
  "commits": [
    "afe3d0d21404f2598750320c452863802ab24e90"
  ]
}

Ambient stdout

[2025-09-13T05:29:35Z INFO  ambient] ambient starts
[2025-09-13T05:29:35Z DEBUG ambient] load default configuration file /home/_rad/.config/ambient/config.yaml if it exists
[2025-09-13T05:29:35Z DEBUG ambient] load files named with --config: /tmp/.tmpPJMTc1/ambient_extra_values.yaml
[2025-09-13T05:29:35Z DEBUG ambient] complete configuration: Config {
        tmpdir: "/srv/tmp",
        image_store: "/home/_rad/.local/state/ambient-ci/images",
        projects: "/home/_rad/ambient-projects.yaml",
        state: "/srv/ambient-state",
        rsync_target: None,
        rsync_target_base: Some(
            "ci@http.liw.fi:/srv/http/doc.liw.fi",
        ),
        rsync_target_map: None,
        dput_target: Some(
            "apt.liw.fi",
        ),
        executor: Some(
            "/usr/bin/ambient-execute-plan",
        ),
        artifacts_max_size: Byte(
            10000000000,
        ),
        cache_max_size: Byte(
            50000000000,
        ),
        qemu: QemuConfig {
            cpus: 4,
            memory: Byte(
                8000000000,
            ),
            kvm_binary: "/usr/bin/kvm",
            ovmf_vars_file: "/usr/share/ovmf/OVMF.fd",
            ovmf_code_file: "/usr/share/ovmf/OVMF.fd",
        },
    }
[2025-09-13T05:29:35Z DEBUG ambient] configuration: Config {
        tmpdir: "/srv/tmp",
        image_store: "/home/_rad/.local/state/ambient-ci/images",
        projects: "/home/_rad/ambient-projects.yaml",
        state: "/srv/ambient-state",
        rsync_target: None,
        rsync_target_base: Some(
            "ci@http.liw.fi:/srv/http/doc.liw.fi",
        ),
        rsync_target_map: None,
        dput_target: Some(
            "apt.liw.fi",
        ),
        executor: Some(
            "/usr/bin/ambient-execute-plan",
        ),
        artifacts_max_size: Byte(
            10000000000,
        ),
        cache_max_size: Byte(
            50000000000,
        ),
        qemu: QemuConfig {
            cpus: 4,
            memory: Byte(
                8000000000,
            ),
            kvm_binary: "/usr/bin/kvm",
            ovmf_vars_file: "/usr/share/ovmf/OVMF.fd",
            ovmf_code_file: "/usr/share/ovmf/OVMF.fd",
        },
    }
[2025-09-13T05:29:35Z DEBUG ambient_ci::project] load project state from /srv/ambient-state/sopass/meta.yaml
[2025-09-13T05:29:35Z DEBUG ambient_ci::run] no latest commit stored
[2025-09-13T05:29:35Z DEBUG ambient_ci::run] is a git repository
[2025-09-13T05:29:35Z DEBUG ambient_ci::run] git repository is clean
[2025-09-13T05:29:35Z DEBUG ambient_ci::run] current (HEAD) commit: afe3d0d21404f2598750320c452863802ab24e90
[2025-09-13T05:29:35Z DEBUG ambient_ci::run] no dry run requested
[2025-09-13T05:29:35Z DEBUG ambient_ci::run] forced run requested
[2025-09-13T05:29:35Z DEBUG ambient_ci::run] run? true
[2025-09-13T05:29:35Z INFO  ambient_ci::run] project sopass: running CI
[2025-09-13T05:29:35Z DEBUG ambient_ci::run] Executing pre-plan steps
[2025-09-13T05:29:35Z DEBUG ambient_ci::action] Plan::execute: CargoFetch {
        sourcedir: "/tmp/.tmpnLcSTo/src",
        dependenciesdir: "/srv/ambient-state/sopass/dependencies",
    }
SPAWN: argv=["env", "CARGO_HOME=/srv/ambient-state/sopass/dependencies", "cargo", "fetch", "--locked"]
       cwd=/tmp/.tmpnLcSTo/src (exists? true)
       extra_env=[]
    Updating crates.io index
 Downloading crates ...
  Downloaded thiserror-impl v2.0.12
  Downloaded thiserror v2.0.12
  Downloaded dirs-sys-next v0.1.2
  Downloaded serde v1.0.219
  Downloaded clap_lex v0.7.4
  Downloaded strsim v0.11.1
  Downloaded clap v4.5.23
  Downloaded clap_derive v4.5.18
  Downloaded toml_datetime v0.7.0
  Downloaded toml v0.9.5
  Downloaded libyml v0.0.5
  Downloaded clingwrap v0.3.0
  Downloaded rustix v1.0.7
  Downloaded windows_x86_64_gnullvm v0.52.6
  Downloaded memchr v2.7.4
  Downloaded indexmap v2.7.1
  Downloaded unsafe-libyaml v0.2.11
  Downloaded aho-corasick v1.1.3
  Downloaded serde_yaml v0.9.34+deprecated
  Downloaded rustix v0.38.42
  Downloaded clap_builder v4.5.23
  Downloaded winnow v0.7.13
  Downloaded serde_yml v0.0.12
  Downloaded hashbrown v0.15.2
  Downloaded windows_aarch64_gnullvm v0.52.6
  Downloaded serde_json v1.0.140
  Downloaded regex v1.11.1
  Downloaded wasi v0.14.2+wasi-0.2.4
  Downloaded windows_i686_msvc v0.48.5
  Downloaded regex-syntax v0.8.5
  Downloaded regex-automata v0.4.9
  Downloaded anstyle v1.0.10
  Downloaded errno v0.3.10
  Downloaded windows_aarch64_gnullvm v0.48.5
  Downloaded windows_x86_64_gnullvm v0.48.5
  Downloaded windows_x86_64_msvc v0.52.6
  Downloaded windows_i686_gnullvm v0.52.6
  Downloaded anyhow v1.0.98
  Downloaded version_check v0.9.5
  Downloaded serde_spanned v1.0.0
  Downloaded toml_parser v1.0.2
  Downloaded toml_writer v1.0.2
  Downloaded option-ext v0.2.0
  Downloaded windows-targets v0.48.5
  Downloaded libc v0.2.169
  Downloaded dirs-sys v0.4.1
  Downloaded confy v0.6.1
  Downloaded anstyle-wincon v3.0.6
  Downloaded humantime v2.1.0
  Downloaded env_logger v0.11.6
  Downloaded log v0.4.22
  Downloaded ryu v1.0.18
  Downloaded serde_derive v1.0.219
  Downloaded windows_aarch64_msvc v0.48.5
  Downloaded fastrand v2.3.0
  Downloaded windows_i686_gnu v0.48.5
  Downloaded windows_x86_64_msvc v0.48.5
  Downloaded windows_x86_64_gnu v0.52.6
  Downloaded windows_aarch64_msvc v0.52.6
  Downloaded windows_i686_gnu v0.52.6
  Downloaded windows_x86_64_gnu v0.48.5
  Downloaded windows_i686_msvc v0.52.6
  Downloaded r-efi v5.3.0
  Downloaded wit-bindgen-rt v0.39.0
  Downloaded terminal_size v0.4.1
  Downloaded heck v0.5.0
  Downloaded directories v5.0.1
  Downloaded equivalent v1.0.1
  Downloaded getrandom v0.2.15
  Downloaded libredox v0.1.3
  Downloaded winapi v0.3.9
  Downloaded windows-sys v0.59.0
  Downloaded thiserror-impl v1.0.69
  Downloaded thiserror v1.0.69
  Downloaded redox_users v0.4.6
  Downloaded directories-next v2.0.0
  Downloaded colorchoice v1.0.3
  Downloaded is_terminal_polyfill v1.70.1
  Downloaded utf8parse v0.2.2
  Downloaded anstream v0.6.18
  Downloaded cfg-if v1.0.0
  Downloaded getrandom v0.3.3
  Downloaded once_cell v1.20.2
  Downloaded bitflags v2.6.0
  Downloaded syn v2.0.92
  Downloaded wasi v0.11.0+wasi-snapshot-preview1
  Downloaded anstyle-parse v0.2.6
  Downloaded anstyle-query v1.1.2
  Downloaded env_filter v0.1.3
  Downloaded itoa v1.0.14
  Downloaded tempfile v3.20.0
  Downloaded proc-macro2 v1.0.92
  Downloaded quote v1.0.38
  Downloaded unicode-ident v1.0.14
  Downloaded linux-raw-sys v0.4.14
  Downloaded windows-targets v0.52.6
  Downloaded linux-raw-sys v0.9.4
  Downloaded winapi-x86_64-pc-windows-gnu v0.4.0
  Downloaded windows-sys v0.48.0
  Downloaded winapi-i686-pc-windows-gnu v0.4.0
[2025-09-13T05:29:43Z DEBUG ambient_ci::run] create virtual drive /srv/tmp/.tmp3bWveO/src.tar
[2025-09-13T05:29:43Z DEBUG ambient_ci::run] create virtual drive /srv/tmp/.tmp3bWveO/deps.tar
[2025-09-13T05:29:45Z DEBUG ambient_ci::run] create_executor_vdrive: executor="/usr/bin/ambient-execute-plan"
[2025-09-13T05:29:45Z DEBUG ambient_ci::run] create_executor_vdrive: plan=RunnablePlan {
        steps: [
            Mkdir {
                pathname: "/workspace",
            },
            Mkdir {
                pathname: "/workspace/artifacts",
            },
            TarExtract {
                archive: "/dev/vdc",
                directory: "/workspace/src",
            },
            TarExtract {
                archive: "/dev/vdf",
                directory: "/workspace/deps",
            },
            TarExtract {
                archive: "/dev/vde",
                directory: "/workspace/cache",
            },
            Spawn {
                argv: [
                    "find",
                    "/workspace",
                    "-maxdepth",
                    "2",
                    "-ls",
                ],
            },
            CargoFmt,
            CargoClippy,
            CargoBuild,
            Shell {
                shell: "make sopass.html\nmv sopass.html /workspace/artifacts/sopass.html\n",
            },
            Shell {
                shell: "export HOME=/root\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\"\ngit clean -fdx\n",
            },
            Custom(
                Custom {
                    name: "dch",
                    args: {
                        "debemail": String("liw@liw.fi"),
                        "debfullname": String("Lars Wirzenius"),
                    },
                },
            ),
            Deb,
            TarCreate {
                archive: "/dev/vde",
                directory: "/workspace/cache",
            },
            TarCreate {
                archive: "/dev/vdd",
                directory: "/workspace/artifacts",
            },
        ],
        executor_drive: Some(
            "/dev/vdb",
        ),
        source_drive: Some(
            "/dev/vdc",
        ),
        artifact_drive: Some(
            "/dev/vdd",
        ),
        cache_drive: Some(
            "/dev/vde",
        ),
        deps_drive: Some(
            "/dev/vdf",
        ),
        workspace_dir: Some(
            "/workspace",
        ),
        source_dir: Some(
            "/workspace/src",
        ),
        deps_dir: Some(
            "/workspace/deps",
        ),
        cache_dir: Some(
            "/workspace/cache",
        ),
        artifacts_dir: Some(
            "/workspace/artifacts",
        ),
    }
[2025-09-13T05:29:45Z DEBUG ambient_ci::run] executor bin /usr/bin/ambient-execute-plan
[2025-09-13T05:29:45Z DEBUG ambient_ci::run] copying /usr/bin/ambient-execute-plan to /srv/tmp/.tmp3bWveO/ambient-execute-plan/run-ci
[2025-09-13T05:29:45Z DEBUG ambient_ci::run] copy OK: true
[2025-09-13T05:29:45Z DEBUG ambient_ci::run] create virtual drive /srv/tmp/.tmp3bWveO/executor.tar
[2025-09-13T05:29:45Z DEBUG ambient_ci::project] removing run log file /srv/ambient-state/sopass/run.log
[2025-09-13T05:29:45Z DEBUG ambient_ci::project] statedir is /srv/ambient-state/sopass, exists? true
[2025-09-13T05:29:45Z DEBUG ambient_ci::project] creating run log file /srv/ambient-state/sopass/run.log
[2025-09-13T05:29:45Z DEBUG ambient_ci::project] created run log file /srv/ambient-state/sopass/run.log OK
[2025-09-13T05:29:45Z DEBUG ambient_ci::cloud_init] with_hostname called: "ambient"
[2025-09-13T05:29:45Z DEBUG ambient_ci::cloud_init] with_runcmd called: "echo xyzzy > /dev/ttyS1"
[2025-09-13T05:29:45Z DEBUG ambient_ci::cloud_init] with_runcmd called: "\n(set -xeu\nenv\ndir=\"$(mktemp -d)\"\ncd \"$dir\"\ntar -xvf /dev/vdb\nfind -ls || true\nldd ./run-ci || true\necho ================================ BEGIN ================================\nexport RUST_BACKTRACE=1\nif ./run-ci; then\n        echo \"EXIT CODE: 0\"\nelse\n        echo \"EXIT CODE: $?\"\nfi) > /dev/ttyS1 2>&1\n"
[2025-09-13T05:29:45Z DEBUG ambient_ci::cloud_init] with_runcmd called: "poweroff"
[2025-09-13T05:29:45Z DEBUG ambient_ci::cloud_init] LocalDataStoreBuilder: LocalDataStoreBuilder {
        hostname: Some(
            "ambient",
        ),
        network: false,
        bootcmd: [],
        runcmd: [
            "echo xyzzy > /dev/ttyS1",
            "\n(set -xeu\nenv\ndir=\"$(mktemp -d)\"\ncd \"$dir\"\ntar -xvf /dev/vdb\nfind -ls || true\nldd ./run-ci || true\necho ================================ BEGIN ================================\nexport RUST_BACKTRACE=1\nif ./run-ci; then\n        echo \"EXIT CODE: 0\"\nelse\n        echo \"EXIT CODE: $?\"\nfi) > /dev/ttyS1 2>&1\n",
            "poweroff",
        ],
    }
[2025-09-13T05:29:45Z DEBUG ambient_ci::qemu] run QEMU
[2025-09-13T05:29:45Z DEBUG ambient_ci::qemu] create copy-on-write image and UEFI vars file
[2025-09-13T05:29:45Z DEBUG ambient_ci::qemu_utils] qemu-img create /srv/tmp/.tmpy5HBFk/.tmpDoX4Mf/vm.qcow2 backing on /home/_rad/ambient.qcow2
[2025-09-13T05:29:45Z DEBUG ambient_ci::qemu] create cloud-init ISO file
[2025-09-13T05:29:45Z DEBUG ambient_ci::cloud_init] LocalDataStore: LocalDataStore {
        hostname: "ambient",
        network: false,
        bootcmd: [],
        runcmd: [
            "echo xyzzy > /dev/ttyS1",
            "\n(set -xeu\nenv\ndir=\"$(mktemp -d)\"\ncd \"$dir\"\ntar -xvf /dev/vdb\nfind -ls || true\nldd ./run-ci || true\necho ================================ BEGIN ================================\nexport RUST_BACKTRACE=1\nif ./run-ci; then\n        echo \"EXIT CODE: 0\"\nelse\n        echo \"EXIT CODE: $?\"\nfi) > /dev/ttyS1 2>&1\n",
            "poweroff",
        ],
    }
[2025-09-13T05:29:45Z DEBUG ambient_ci::cloud_init] write /tmp/.tmpY21Uzq/meta-data
[2025-09-13T05:29:45Z DEBUG ambient_ci::cloud_init] write /tmp/.tmpY21Uzq/user-data
[2025-09-13T05:29:46Z DEBUG ambient_ci::qemu] set console log file to /srv/tmp/.tmpy5HBFk/.tmpDoX4Mf/console.log
[2025-09-13T05:29:46Z DEBUG ambient_ci::util] create file /srv/tmp/.tmpy5HBFk/.tmpDoX4Mf/console.log
[2025-09-13T05:29:46Z DEBUG ambient_ci::qemu] set run file to /srv/ambient-state/sopass/run.log
[2025-09-13T05:29:46Z DEBUG ambient_ci::util] create file /srv/ambient-state/sopass/run.log
[2025-09-13T05:29:46Z DEBUG ambient_ci::qemu] run QEMU: QemuArgs {
        args: [
            "-m",
            "7629",
            "-smp",
            "cpus=4",
            "-cpu",
            "kvm64",
            "-machine",
            "type=q35,accel=kvm,usb=off",
            "-uuid",
            "a85c9de7-edc0-4e54-bead-112e5733582c",
            "-boot",
            "strict=on",
            "-name",
            "ambient-ci-vm",
            "-rtc",
            "base=utc,driftfix=slew",
            "-display",
            "none",
            "-device",
            "virtio-rng-pci",
            "-serial",
            "file:/srv/tmp/.tmpy5HBFk/.tmpDoX4Mf/console.log",
            "-serial",
            "file:/srv/ambient-state/sopass/run.log",
            "-drive",
            "if=pflash,format=raw,unit=0,file=/usr/share/ovmf/OVMF.fd,readonly=on",
            "-drive",
            "if=pflash,format=raw,unit=1,file=/srv/tmp/.tmpy5HBFk/.tmpDoX4Mf/vars.fd",
            "-drive",
            "format=qcow2,if=virtio,file=/srv/tmp/.tmpy5HBFk/.tmpDoX4Mf/vm.qcow2",
            "-drive",
            "format=raw,if=virtio,file=/srv/tmp/.tmp3bWveO/executor.tar,readonly=on",
            "-cdrom",
            "/srv/tmp/.tmpy5HBFk/.tmpDoX4Mf/cloud_init.iso",
            "-drive",
            "format=raw,if=virtio,file=/srv/tmp/.tmp3bWveO/src.tar,readonly=on",
            "-drive",
            "format=raw,if=virtio,file=/srv/tmp/.tmp3bWveO/artifacts.tar",
            "-drive",
            "format=raw,if=virtio,file=/srv/tmp/.tmp3bWveO/cache.tar",
            "-drive",
            "format=raw,if=virtio,file=/srv/tmp/.tmp3bWveO/deps.tar,readonly=on",
            "-nodefaults",
            "-no-user-config",
        ],
    }
[2025-09-13T05:31:27Z DEBUG ambient_ci::qemu] QEMU finished OK
[2025-09-13T05:31:27Z DEBUG ambient_ci::qemu] run log:
    --------------------==========
    [2025-09-13T05:29:56Z TRACE ambient_execute_plan] ambient-execute-plan starts
    [2025-09-13T05:29:56Z DEBUG ambient_execute_plan] ambient-execute-plan starts
    [2025-09-13T05:29:56Z INFO  ambient_execute_plan] ambient-execute-plan starts
    [2025-09-13T05:29:56Z WARN  ambient_execute_plan] ambient-execute-plan starts
    [2025-09-13T05:29:56Z ERROR ambient_execute_plan] 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: |
        make sopass.html
        mv sopass.html /workspace/artifacts/sopass.html
    - action: shell
      shell: |
        export HOME=/root
        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"
        git clean -fdx
    - action: custom
      name: dch
      args:
        debemail: liw@liw.fi
        debfullname: Lars Wirzenius
    - 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",
    }
    [2025-09-13T05:29:56Z DEBUG ambient_ci::action] Plan::execute: Mkdir {
            pathname: "/workspace",
        }
    RUN: Action finished OK
    RUN: Action Mkdir {
        pathname: "/workspace/artifacts",
    }
    [2025-09-13T05:29:56Z DEBUG ambient_ci::action] Plan::execute: Mkdir {
            pathname: "/workspace/artifacts",
        }
    RUN: Action finished OK
    RUN: Action TarExtract {
        archive: "/dev/vdc",
        directory: "/workspace/src",
    }
    [2025-09-13T05:29:56Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
            archive: "/dev/vdc",
            directory: "/workspace/src",
        }
    [2025-09-13T05:29:56Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
    [2025-09-13T05:29:56Z TRACE ambient_ci::vdrive] extraction OK
    RUN: Action finished OK
    RUN: Action TarExtract {
        archive: "/dev/vdf",
        directory: "/workspace/deps",
    }
    [2025-09-13T05:29:56Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
            archive: "/dev/vdf",
            directory: "/workspace/deps",
        }
    [2025-09-13T05:29:56Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
    [2025-09-13T05:29:58Z TRACE ambient_ci::vdrive] extraction OK
    RUN: Action finished OK
    RUN: Action TarExtract {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
    [2025-09-13T05:29:58Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
            archive: "/dev/vde",
            directory: "/workspace/cache",
        }
    [2025-09-13T05:29:58Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
    [2025-09-13T05:29:58Z TRACE ambient_ci::vdrive] extraction OK
    RUN: Action finished OK
    RUN: Action Spawn {
        argv: [
            "find",
            "/workspace",
            "-maxdepth",
            "2",
            "-ls",
        ],
    }
    [2025-09-13T05:29:58Z DEBUG ambient_ci::action] Plan::execute: Spawn {
            argv: [
                "find",
                "/workspace",
                "-maxdepth",
                "2",
                "-ls",
            ],
        }
    SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"]
           cwd=/workspace/src (exists? true)
           extra_env=[]
      2621441      4 drwxr-xr-x   6 root     root         4096 Sep 13 05:29 /workspace
      2621715      4 drwxr-xr-x   3 root     root         4096 Sep 13 05:29 /workspace/deps
      2621716      0 -rw-r--r--   1 root     root            0 Sep 13 05:29 /workspace/deps/.package-cache-mutate
      2621719      4 drwxr-xr-x   5 root     root         4096 Sep 13 05:29 /workspace/deps/registry
      2621717     56 -rw-r--r--   1 root     root        57344 Sep 13 05:29 /workspace/deps/.global-cache
      2621718      0 -rw-r--r--   1 root     root            0 Sep 13 05:29 /workspace/deps/.package-cache
      2621443      4 drwxr-xr-x   7 root     root         4096 Sep 13 05:29 /workspace/src
      2621476      4 -rw-r--r--   1 root     root         1377 Sep 13 05:29 /workspace/src/sopass.1
      2621481      4 -rw-r--r--   1 root     root          537 Sep 13 05:29 /workspace/src/Cargo.toml
      2621482     20 -rw-r--r--   1 root     root        17262 Sep 13 05:29 /workspace/src/sopass.md
      2621464      4 -rw-r--r--   1 root     root         3822 Sep 13 05:29 /workspace/src/NEWS.md
      2621483      4 drwxr-xr-x   8 root     root         4096 Sep 13 05:29 /workspace/src/.git
      2621448      4 drwxr-xr-x   3 root     root         4096 Sep 13 05:29 /workspace/src/src
      2621477      4 -rw-r--r--   1 root     root         1109 Sep 13 05:29 /workspace/src/README.md
      2621446      4 drwxr-xr-x   2 root     root         4096 Sep 13 05:29 /workspace/src/.ambient
      2621478      4 -rw-r--r--   1 root     root          206 Sep 13 05:29 /workspace/src/sopass.subplot
      2621479      4 -rw-r--r--   1 root     root           82 Sep 13 05:29 /workspace/src/sopass.yaml
      2621444      4 drwxr-xr-x   2 root     root         4096 Sep 13 05:29 /workspace/src/.radicle
      2621465      4 drwxr-xr-x   3 root     root         4096 Sep 13 05:29 /workspace/src/debian
      2621463      4 -rw-r--r--   1 root     root          289 Sep 13 05:29 /workspace/src/pass-to-sopass.sh
      2621712      4 -rw-r--r--   1 root     root          447 Sep 13 05:29 /workspace/src/sopass.py
      2621714     24 -rw-r--r--   1 root     root        23479 Sep 13 05:29 /workspace/src/Cargo.lock
      2621480      4 -rw-r--r--   1 root     root           20 Sep 13 05:29 /workspace/src/.gitignore
      2621713      4 -rw-r--r--   1 root     root          480 Sep 13 05:29 /workspace/src/Makefile
      2621442      4 drwxr-xr-x   2 root     root         4096 Sep 13 05:29 /workspace/artifacts
      2631424      4 drwxr-xr-x   2 root     root         4096 Sep 13 05:29 /workspace/cache
    RUN: Action finished OK
    RUN: Action CargoFmt
    [2025-09-13T05:29:58Z DEBUG ambient_ci::action] Plan::execute: 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
    [2025-09-13T05:29:58Z DEBUG ambient_ci::action] Plan::execute: 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")]
       Compiling proc-macro2 v1.0.92
       Compiling unicode-ident v1.0.14
       Compiling serde v1.0.219
       Compiling libc v0.2.169
        Checking memchr v2.7.4
        Checking bitflags v2.6.0
       Compiling rustix v0.38.42
        Checking ryu v1.0.18
        Checking hashbrown v0.15.2
       Compiling anyhow v1.0.98
       Compiling quote v1.0.38
        Checking equivalent v1.0.1
        Checking itoa v1.0.14
        Checking utf8parse v0.2.2
        Checking anstyle-parse v0.2.6
       Compiling syn v2.0.92
        Checking aho-corasick v1.1.3
        Checking colorchoice v1.0.3
        Checking indexmap v2.7.1
       Compiling getrandom v0.3.3
        Checking is_terminal_polyfill v1.70.1
        Checking regex-syntax v0.8.5
       Compiling version_check v0.9.5
       Compiling rustix v1.0.7
        Checking anstyle v1.0.10
        Checking cfg-if v1.0.0
        Checking anstyle-query v1.1.2
        Checking linux-raw-sys v0.4.14
        Checking regex-automata v0.4.9
        Checking anstream v0.6.18
       Compiling serde_yml v0.0.12
       Compiling thiserror v2.0.12
       Compiling thiserror v1.0.69
        Checking winnow v0.7.13
       Compiling serde_json v1.0.140
        Checking linux-raw-sys v0.9.4
        Checking option-ext v0.2.0
        Checking dirs-sys v0.4.1
        Checking regex v1.11.1
        Checking terminal_size v0.4.1
        Checking libyml v0.0.5
        Checking toml_parser v1.0.2
        Checking once_cell v1.20.2
        Checking strsim v0.11.1
        Checking unsafe-libyaml v0.2.11
       Compiling heck v0.5.0
       Compiling serde_derive v1.0.219
       Compiling thiserror-impl v1.0.69
       Compiling thiserror-impl v2.0.12
        Checking toml_writer v1.0.2
        Checking clap_lex v0.7.4
        Checking fastrand v2.3.0
        Checking log v0.4.22
        Checking env_filter v0.1.3
        Checking tempfile v3.20.0
        Checking clap_builder v4.5.23
       Compiling clap_derive v4.5.18
        Checking directories v5.0.1
        Checking dirs-sys-next v0.1.2
        Checking humantime v2.1.0
        Checking env_logger v0.11.6
        Checking directories-next v2.0.0
        Checking clap v4.5.23
        Checking serde_spanned v1.0.0
        Checking toml_datetime v0.7.0
        Checking serde_yaml v0.9.34+deprecated
        Checking toml v0.9.5
        Checking confy v0.6.1
        Checking clingwrap v0.3.0
        Checking sopass v0.5.0 (/workspace/src)
        Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.19s
    RUN: Action finished OK
    RUN: Action CargoBuild
    [2025-09-13T05:30:16Z DEBUG ambient_ci::action] Plan::execute: 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 serde v1.0.219
       Compiling libc v0.2.169
       Compiling memchr v2.7.4
       Compiling bitflags v2.6.0
       Compiling itoa v1.0.14
       Compiling equivalent v1.0.1
       Compiling utf8parse v0.2.2
       Compiling hashbrown v0.15.2
       Compiling ryu v1.0.18
       Compiling aho-corasick v1.1.3
       Compiling anstyle-parse v0.2.6
       Compiling indexmap v2.7.1
       Compiling colorchoice v1.0.3
       Compiling cfg-if v1.0.0
       Compiling is_terminal_polyfill v1.70.1
       Compiling anstyle-query v1.1.2
       Compiling regex-syntax v0.8.5
       Compiling anstyle v1.0.10
       Compiling linux-raw-sys v0.4.14
       Compiling rustix v0.38.42
       Compiling regex-automata v0.4.9
       Compiling anstream v0.6.18
       Compiling anyhow v1.0.98
       Compiling linux-raw-sys v0.9.4
       Compiling option-ext v0.2.0
       Compiling winnow v0.7.13
       Compiling rustix v1.0.7
       Compiling dirs-sys v0.4.1
       Compiling libyml v0.0.5
       Compiling toml_parser v1.0.2
       Compiling regex v1.11.1
       Compiling getrandom v0.3.3
       Compiling terminal_size v0.4.1
       Compiling toml_datetime v0.7.0
       Compiling serde_spanned v1.0.0
       Compiling clap_lex v0.7.4
       Compiling log v0.4.22
       Compiling strsim v0.11.1
       Compiling unsafe-libyaml v0.2.11
       Compiling fastrand v2.3.0
       Compiling once_cell v1.20.2
       Compiling toml_writer v1.0.2
       Compiling tempfile v3.20.0
       Compiling toml v0.9.5
       Compiling serde_yaml v0.9.34+deprecated
       Compiling clap_builder v4.5.23
       Compiling env_filter v0.1.3
       Compiling thiserror v2.0.12
       Compiling thiserror v1.0.69
       Compiling serde_yml v0.0.12
       Compiling directories v5.0.1
       Compiling serde_json v1.0.140
       Compiling dirs-sys-next v0.1.2
       Compiling humantime v2.1.0
       Compiling env_logger v0.11.6
       Compiling clingwrap v0.3.0
       Compiling clap v4.5.23
       Compiling directories-next v2.0.0
       Compiling confy v0.6.1
       Compiling sopass v0.5.0 (/workspace/src)
        Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.85s
    RUN: Action finished OK
    RUN: Action Shell {
        shell: "make sopass.html\nmv sopass.html /workspace/artifacts/sopass.html\n",
    }
    [2025-09-13T05:30:28Z DEBUG ambient_ci::action] Plan::execute: Shell {
            shell: "make sopass.html\nmv sopass.html /workspace/artifacts/sopass.html\n",
        }
    SPAWN: argv=["/bin/bash", "-c", "set -xeuo pipefail\nmake sopass.html\nmv sopass.html /workspace/artifacts/sopass.html\n\n"]
           cwd=/workspace/src (exists? true)
           extra_env=[]
    + make sopass.html
    subplot docgen sopass.subplot -o sopass.html
     INFO Starting Subplot
     INFO Subplot finished successfully
    + mv sopass.html /workspace/artifacts/sopass.html
    RUN: Action finished OK
    RUN: Action Shell {
        shell: "export HOME=/root\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\"\ngit clean -fdx\n",
    }
    [2025-09-13T05:30:28Z DEBUG ambient_ci::action] Plan::execute: Shell {
            shell: "export HOME=/root\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\"\ngit clean -fdx\n",
        }
    SPAWN: argv=["/bin/bash", "-c", "set -xeuo pipefail\nexport HOME=/root\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\"\ngit clean -fdx\n\n"]
           cwd=/workspace/src (exists? true)
           extra_env=[]
    + export HOME=/root
    + HOME=/root
    + 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
     INFO Starting Subplot
     INFO 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.72s
    cargo build --offline --locked --all-targets
        Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s
    cargo test --offline --locked --all-targets
        Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
         Running unittests src/lib.rs (/workspace/cache/debug/deps/sopass-33f27be705dac84f)
    
    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-1a4854e822681270)
    
    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.61s
       Generated /workspace/cache/doc/sopass/index.html
    rm -f test.py test.log
    subplot codegen sopass.subplot -o test.py
     INFO Starting Subplot
     INFO Subplot finished successfully
    SOPASS_LOG=trace python3 test.py --log test.log
    srcdir /workspace/src
    datadir /tmp/tmpbc4t10nc
    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: 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: 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: 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: 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: 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: 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: 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 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: 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: 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: 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
    + git clean -fdx
    Removing sopass.html
    RUN: Action finished OK
    RUN: Action Custom(
        Custom {
            name: "dch",
            args: {
                "debemail": String("liw@liw.fi"),
                "debfullname": String("Lars Wirzenius"),
            },
        },
    )
    [2025-09-13T05:30:31Z DEBUG ambient_ci::action] Plan::execute: Custom(
            Custom {
                name: "dch",
                args: {
                    "debemail": String("liw@liw.fi"),
                    "debfullname": String("Lars Wirzenius"),
                },
            },
        )
    custom: source=/workspace/src
    custom: exe=".ambient/dch" exists=false
    HEAD is now at afe3d0d chore: update dependency on clingwrap to current 0.3.0
    custom action "dch" exit code Some(0)
    RUN: Action finished OK
    RUN: Action Deb
    [2025-09-13T05:30:32Z DEBUG ambient_ci::action] Plan::execute: 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=274
    LANG=C.UTF-8
    CARGO_HOME=/workspace/deps
    DEBEMAIL=liw@liw.fi
    INVOCATION_ID=6c5f61480301403da233331ceaeb5662
    SHLVL=2
    JOURNAL_STREAM=8:2690
    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.88.0 (873a06493 2025-05-10)
    + rustc --version
    rustc 1.88.0 (6b00bc388 2025-06-23)
    ++ dpkg-parsechangelog -SSource
    + name=sopass
    ++ dpkg-parsechangelog -SVersion
    + version=0.5.0.ci20250913T053031-1
    ++ sed 's/-[^-]*$//'
    ++ echo 0.5.0.ci20250913T053031-1
    + uv=0.5.0.ci20250913T053031
    ++ dpkg --print-architecture
    + arch=amd64
    + orig=../sopass_0.5.0.ci20250913T053031.orig.tar.xz
    + deb=../sopass_0.5.0.ci20250913T053031-1_amd64.deb
    + changes=../sopass_0.5.0.ci20250913T053031-1_amd64.changes
    + git archive HEAD
    + xz
    + dpkg-buildpackage -us -uc
    dpkg-buildpackage: info: source package sopass
    dpkg-buildpackage: info: source version 0.5.0.ci20250913T053031-1
    dpkg-buildpackage: info: source distribution unstable
    dpkg-buildpackage: info: source changed by "Lars Wirzenius" <"liw@liw.fi">
    dpkg-buildpackage: info: host architecture amd64
     dpkg-source --before-build .
     debian/rules clean
    dh clean
       dh_auto_clean
       dh_clean
     dpkg-source -b .
    dpkg-source: info: using source format '3.0 (quilt)'
    dpkg-source: info: building sopass using existing ./sopass_0.5.0.ci20250913T053031.orig.tar.xz
    dpkg-source: info: building sopass in sopass_0.5.0.ci20250913T053031-1.debian.tar.xz
    dpkg-source: info: building sopass in sopass_0.5.0.ci20250913T053031-1.dsc
     debian/rules build
    dh build
       dh_update_autotools_config
       dh_autoreconf
       dh_auto_configure
       debian/rules override_dh_auto_build
    make[1]: Entering directory '/workspace/src'
    true
    make[1]: Leaving directory '/workspace/src'
       debian/rules override_dh_auto_test
    make[1]: Entering directory '/workspace/src'
    echo tests are disabled, for now
    tests are disabled, for now
    make[1]: Leaving directory '/workspace/src'
       create-stamp debian/debhelper-build-stamp
     debian/rules binary
    dh binary
       dh_testroot
       dh_prep
       debian/rules override_dh_auto_install
    make[1]: Entering directory '/workspace/src'
    cargo install --offline --locked --target x86_64-unknown-linux-musl --path=. --root=debian/sopass/usr
      Installing sopass v0.5.0 (/workspace/src)
       Compiling proc-macro2 v1.0.92
       Compiling unicode-ident v1.0.14
       Compiling serde v1.0.219
       Compiling libc v0.2.169
       Compiling memchr v2.7.4
       Compiling bitflags v2.6.0
       Compiling quote v1.0.38
       Compiling equivalent v1.0.1
       Compiling ryu v1.0.18
       Compiling syn v2.0.92
       Compiling hashbrown v0.15.2
       Compiling anyhow v1.0.98
       Compiling utf8parse v0.2.2
       Compiling rustix v0.38.42
       Compiling itoa v1.0.14
       Compiling anstyle-parse v0.2.6
       Compiling aho-corasick v1.1.3
       Compiling indexmap v2.7.1
       Compiling anstyle-query v1.1.2
       Compiling getrandom v0.3.3
       Compiling version_check v0.9.5
       Compiling rustix v1.0.7
       Compiling linux-raw-sys v0.4.14
       Compiling regex-syntax v0.8.5
       Compiling cfg-if v1.0.0
       Compiling anstyle v1.0.10
       Compiling colorchoice v1.0.3
       Compiling is_terminal_polyfill v1.70.1
       Compiling anstream v0.6.18
       Compiling serde_derive v1.0.219
       Compiling regex-automata v0.4.9
       Compiling serde_yml v0.0.12
       Compiling option-ext v0.2.0
       Compiling thiserror v1.0.69
       Compiling serde_json v1.0.140
       Compiling thiserror v2.0.12
       Compiling linux-raw-sys v0.9.4
       Compiling winnow v0.7.13
       Compiling serde_spanned v1.0.0
       Compiling toml_datetime v0.7.0
       Compiling dirs-sys v0.4.1
       Compiling toml_parser v1.0.2
       Compiling libyml v0.0.5
       Compiling regex v1.11.1
       Compiling thiserror-impl v2.0.12
       Compiling thiserror-impl v1.0.69
       Compiling terminal_size v0.4.1
       Compiling once_cell v1.20.2
       Compiling clap_lex v0.7.4
       Compiling unsafe-libyaml v0.2.11
       Compiling strsim v0.11.1
       Compiling toml_writer v1.0.2
       Compiling fastrand v2.3.0
       Compiling heck v0.5.0
       Compiling log v0.4.22
       Compiling clap_derive v4.5.18
       Compiling env_filter v0.1.3
       Compiling tempfile v3.20.0
       Compiling serde_yaml v0.9.34+deprecated
       Compiling toml v0.9.5
       Compiling clap_builder v4.5.23
       Compiling directories v5.0.1
       Compiling dirs-sys-next v0.1.2
       Compiling humantime v2.1.0
       Compiling env_logger v0.11.6
       Compiling clingwrap v0.3.0
       Compiling directories-next v2.0.0
       Compiling confy v0.6.1
       Compiling clap v4.5.23
       Compiling sopass v0.5.0 (/workspace/src)
        Finished `release` profile [optimized] target(s) in 43.69s
      Installing debian/sopass/usr/bin/sopass
       Installed package `sopass v0.5.0 (/workspace/src)` (executable `sopass`)
    warning: be sure to add `debian/sopass/usr/bin` to your PATH to be able to run the installed binaries
    find debian -name ".crates*" -delete
    make[1]: Leaving directory '/workspace/src'
       dh_installdocs
       dh_installchangelogs
       dh_lintian
       dh_perl
       dh_link
       dh_strip_nondeterminism
       dh_compress
       dh_fixperms
       dh_missing
       dh_strip
       dh_makeshlibs
       dh_shlibdeps
    dpkg-shlibdeps: warning: couldn't parse dynamic symbol definition: no symbols
       dh_installdeb
       dh_gencontrol
    dpkg-gencontrol: warning: Depends field of package sopass: substitution variable ${shlibs:Depends} used, but is not defined
    dpkg-gencontrol: warning: Depends field of package sopass: substitution variable ${shlibs:Depends} used, but is not defined
       dh_md5sums
       dh_builddeb
    dpkg-deb: building package 'sopass' in '../sopass_0.5.0.ci20250913T053031-1_amd64.deb'.
    dpkg-deb: building package 'sopass-dbgsym' in '../sopass-dbgsym_0.5.0.ci20250913T053031-1_amd64.deb'.
     dpkg-genbuildinfo -O../sopass_0.5.0.ci20250913T053031-1_amd64.buildinfo
     dpkg-genchanges -O../sopass_0.5.0.ci20250913T053031-1_amd64.changes
    dpkg-genchanges: info: including full source code in upload
     dpkg-source --after-build .
    dpkg-buildpackage: info: full upload (original source is included)
    + ls -l ..
    total 1144
    drwxr-xr-x 2 root root   4096 Sep 13 05:30 artifacts
    drwxr-xr-x 6 root root   4096 Sep 13 05:30 cache
    drwxr-xr-x 3 root root   4096 Sep 13 05:29 deps
    -rw-r--r-- 1 root root 129748 Sep 13 05:31 sopass-dbgsym_0.5.0.ci20250913T053031-1_amd64.deb
    -rw-r--r-- 1 root root   2300 Sep 13 05:30 sopass_0.5.0.ci20250913T053031-1.debian.tar.xz
    -rw-r--r-- 1 root root    926 Sep 13 05:30 sopass_0.5.0.ci20250913T053031-1.dsc
    -rw-r--r-- 1 root root   5756 Sep 13 05:31 sopass_0.5.0.ci20250913T053031-1_amd64.buildinfo
    -rw-r--r-- 1 root root   2335 Sep 13 05:31 sopass_0.5.0.ci20250913T053031-1_amd64.changes
    -rw-r--r-- 1 root root 972280 Sep 13 05:31 sopass_0.5.0.ci20250913T053031-1_amd64.deb
    -rw-r--r-- 1 root root  26264 Sep 13 05:30 sopass_0.5.0.ci20250913T053031.orig.tar.xz
    drwxr-xr-x 7 root root   4096 Sep 13 05:30 src
    + for x in ../*.deb
    + dpkg -c ../sopass-dbgsym_0.5.0.ci20250913T053031-1_amd64.deb
    drwxr-xr-x root/root         0 2025-09-13 05:30 ./
    drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/
    drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/lib/
    drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/lib/debug/
    drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/lib/debug/.build-id/
    drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/lib/debug/.build-id/8c/
    -rw-r--r-- root/root    664784 2025-09-13 05:30 ./usr/lib/debug/.build-id/8c/1e6872df23bca0c6062d68eb1e63aa4bdbea10.debug
    drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/share/
    drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/share/doc/
    lrwxrwxrwx root/root         0 2025-09-13 05:30 ./usr/share/doc/sopass-dbgsym -> sopass
    + for x in ../*.deb
    + dpkg -c ../sopass_0.5.0.ci20250913T053031-1_amd64.deb
    drwxr-xr-x root/root         0 2025-09-13 05:30 ./
    drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/
    drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/bin/
    -rwxr-xr-x root/root   3060384 2025-09-13 05:30 ./usr/bin/sopass
    drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/share/
    drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/share/doc/
    drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/share/doc/sopass/
    -rw-r--r-- root/root       285 2025-09-13 05:30 ./usr/share/doc/sopass/changelog.Debian.gz
    -rw-r--r-- root/root      1150 2025-09-13 05:30 ./usr/share/doc/sopass/copyright
    drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/share/lintian/
    drwxr-xr-x root/root         0 2025-09-13 05:30 ./usr/share/lintian/overrides/
    -rw-r--r-- root/root       173 2025-09-13 05:30 ./usr/share/lintian/overrides/sopass
    + mv ../sopass-dbgsym_0.5.0.ci20250913T053031-1_amd64.deb ../sopass_0.5.0.ci20250913T053031-1.debian.tar.xz ../sopass_0.5.0.ci20250913T053031-1.dsc ../sopass_0.5.0.ci20250913T053031-1_amd64.buildinfo ../sopass_0.5.0.ci20250913T053031-1_amd64.changes ../sopass_0.5.0.ci20250913T053031-1_amd64.deb ../sopass_0.5.0.ci20250913T053031.orig.tar.xz /workspace/artifacts
    RUN: Action finished OK
    RUN: Action TarCreate {
        archive: "/dev/vde",
        directory: "/workspace/cache",
    }
    [2025-09-13T05:31:21Z DEBUG ambient_ci::action] Plan::execute: TarCreate {
            archive: "/dev/vde",
            directory: "/workspace/cache",
        }
    [2025-09-13T05:31:21Z TRACE ambient_ci::vdrive] creating virtual drive (tar archive): VirtualDriveBuilder {
            filename: Some(
                "/dev/vde",
            ),
            root: Some(
                "/workspace/cache",
            ),
            size: None,
        }
    [2025-09-13T05:31:21Z TRACE ambient_ci::vdrive] tar archive to be created: /dev/vde; exists? true
    [2025-09-13T05:31:21Z TRACE ambient_ci::vdrive] create archive file /dev/vde
    [2025-09-13T05:31:21Z TRACE ambient_ci::vdrive] directory /workspace/cache exists? true
    [2025-09-13T05:31:21Z TRACE ambient_ci::vdrive] add contents of /workspace/cache as .
    [2025-09-13T05:31:22Z TRACE ambient_ci::vdrive] created virtual drive /dev/vde
    RUN: Action finished OK
    RUN: Action TarCreate {
        archive: "/dev/vdd",
        directory: "/workspace/artifacts",
    }
    [2025-09-13T05:31:22Z DEBUG ambient_ci::action] Plan::execute: TarCreate {
            archive: "/dev/vdd",
            directory: "/workspace/artifacts",
        }
    [2025-09-13T05:31:22Z TRACE ambient_ci::vdrive] creating virtual drive (tar archive): VirtualDriveBuilder {
            filename: Some(
                "/dev/vdd",
            ),
            root: Some(
                "/workspace/artifacts",
            ),
            size: None,
        }
    [2025-09-13T05:31:22Z TRACE ambient_ci::vdrive] tar archive to be created: /dev/vdd; exists? true
    [2025-09-13T05:31:22Z TRACE ambient_ci::vdrive] create archive file /dev/vdd
    [2025-09-13T05:31:22Z TRACE ambient_ci::vdrive] directory /workspace/artifacts exists? true
    [2025-09-13T05:31:22Z TRACE ambient_ci::vdrive] add contents of /workspace/artifacts as .
    [2025-09-13T05:31:22Z TRACE ambient_ci::vdrive] created virtual drive /dev/vdd
    RUN: Action finished OK
    ambient-execute-plan ends
    EXIT CODE: 0
    
    ====================
[2025-09-13T05:31:27Z DEBUG ambient_ci::qemu] QEMU exit code 0
[2025-09-13T05:31:27Z DEBUG ambient_ci::run] remove old cache
[2025-09-13T05:31:27Z DEBUG ambient_ci::run] extract cache
[2025-09-13T05:31:28Z DEBUG ambient_ci::run] Executing post-plan steps
[2025-09-13T05:31:28Z DEBUG ambient_ci::action] Plan::execute: Dput {
        artifactsdir: "/srv/ambient-state/sopass/artifacts",
        dput_target: Some(
            "apt.liw.fi",
        ),
    }
[2025-09-13T05:31:28Z DEBUG ambient_ci::util] found /srv/ambient-state/sopass/artifacts
[2025-09-13T05:31:28Z DEBUG ambient_ci::util] found /srv/ambient-state/sopass/artifacts/sopass_0.5.0.ci20250913T053031-1.dsc
[2025-09-13T05:31:28Z DEBUG ambient_ci::util] found /srv/ambient-state/sopass/artifacts/sopass_0.5.0.ci20250913T053031-1_amd64.changes
[2025-09-13T05:31:28Z DEBUG ambient_ci::util] found /srv/ambient-state/sopass/artifacts/sopass_0.5.0.ci20250913T053031-1.debian.tar.xz
[2025-09-13T05:31:28Z DEBUG ambient_ci::util] found /srv/ambient-state/sopass/artifacts/sopass_0.5.0.ci20250913T053031-1_amd64.deb
[2025-09-13T05:31:28Z DEBUG ambient_ci::util] found /srv/ambient-state/sopass/artifacts/sopass_0.5.0.ci20250913T053031.orig.tar.xz
[2025-09-13T05:31:28Z DEBUG ambient_ci::util] found /srv/ambient-state/sopass/artifacts/sopass.html
[2025-09-13T05:31:28Z DEBUG ambient_ci::util] found /srv/ambient-state/sopass/artifacts/sopass_0.5.0.ci20250913T053031-1_amd64.buildinfo
[2025-09-13T05:31:28Z DEBUG ambient_ci::util] found /srv/ambient-state/sopass/artifacts/sopass-dbgsym_0.5.0.ci20250913T053031-1_amd64.deb
[2025-09-13T05:31:28Z INFO  ambient_ci::util] dput apt.liw.fi /srv/ambient-state/sopass/artifacts/sopass_0.5.0.ci20250913T053031-1_amd64.changes
[2025-09-13T05:31:29Z DEBUG ambient_ci::action] Plan::execute: Rsync {
        artifactsdir: "/srv/ambient-state/sopass/artifacts",
        rsync_target: Some(
            "ci@http.liw.fi:/srv/http/doc.liw.fi/sopass",
        ),
    }
[2025-09-13T05:31:29Z INFO  ambient_ci::util] rsync /srv/ambient-state/sopass/artifacts/. -> ci@http.liw.fi:/srv/http/doc.liw.fi/sopass/.
[2025-09-13T05:31:29Z DEBUG ambient_ci::project] write project state to /srv/ambient-state/sopass/meta.yaml
[2025-09-13T05:31:29Z INFO  ambient] ambient ends successfully

Ambient stderr

<empty log>