(not at the head of any monitored branch or PR)
2026-04-30 02:04.31: New job: test usb.1.3.1 with dune.3.23.0~alpha2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29824/head (89a6ae888498500bf7c0fc05361da936fc6acacf)
                              on debian-13-ocaml-4.14/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29824/head" && git reset --hard 89a6ae88
git fetch origin master
git merge --no-edit d1c56642b8ca7e1166c90bfe0c74f38007bbad58
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:9fe84ffeeaa92507d198c7af8adb382726e06ae36c031f5ef645a3241cac0353
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn dune.3.23.0~alpha2 3.23.0~alpha2
RUN opam reinstall dune.3.23.0~alpha2; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'dune.3.23.0~alpha2' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall usb.1.3.1; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'usb.1.3.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test usb.1.3.1) || true
RUN opam reinstall --with-test --verbose usb.1.3.1; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'usb.1.3.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2026-04-30 02:04.31: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:9fe84ffeeaa92507d198c7af8adb382726e06ae36c031f5ef645a3241cac0353-dune.3.23.0~alpha2-usb.1.3.1-89a6ae888498500bf7c0fc05361da936fc6acacf"
2026-04-30 02:04.31: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:9fe84ffeeaa92507d198c7af8adb382726e06ae36c031f5ef645a3241cac0353)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam option solver=builtin-0install && opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn dune.3.23.0~alpha2 3.23.0~alpha2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dune.3.23.0~alpha2;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'dune.3.23.0~alpha2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall usb.1.3.1;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'usb.1.3.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test usb.1.3.1) || true"))
 (run (shell  "opam reinstall --with-test --verbose usb.1.3.1;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'usb.1.3.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-04-30 02:04.31: Waiting for resource in pool OCluster
2026-04-30 06:57.07: Waiting for worker…
2026-04-30 07:00.30: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files:  72% (13720/18887)
Updating files:  73% (13788/18887)
Updating files:  74% (13977/18887)
Updating files:  75% (14166/18887)
Updating files:  76% (14355/18887)
Updating files:  77% (14543/18887)
Updating files:  78% (14732/18887)
Updating files:  79% (14921/18887)
Updating files:  80% (15110/18887)
Updating files:  81% (15299/18887)
Updating files:  82% (15488/18887)
Updating files:  83% (15677/18887)
Updating files:  84% (15866/18887)
Updating files:  85% (16054/18887)
Updating files:  86% (16243/18887)
Updating files:  87% (16432/18887)
Updating files:  88% (16621/18887)
Updating files:  89% (16810/18887)
Updating files:  90% (16999/18887)
Updating files:  91% (17188/18887)
Updating files:  92% (17377/18887)
Updating files:  93% (17565/18887)
Updating files:  94% (17754/18887)
Updating files:  95% (17943/18887)
Updating files:  96% (18132/18887)
Updating files:  97% (18321/18887)
Updating files:  98% (18510/18887)
Updating files:  99% (18699/18887)
Updating files: 100% (18887/18887)
Updating files: 100% (18887/18887), done.
HEAD is now at d1c56642b8 Merge pull request #29820 from jmid/core-0.17.1-bound
Merge made by the 'ort' strategy.
 .../chrome-trace/chrome-trace.3.23.0~alpha2/opam   | 39 +++++++++++
 .../dune-action-plugin.3.23.0~alpha2/opam          | 52 ++++++++++++++
 .../dune-action-trace.3.23.0~alpha2/opam           | 39 +++++++++++
 .../dune-build-info.3.23.0~alpha2/opam             | 45 ++++++++++++
 .../dune-configurator.3.23.0~alpha2/opam           | 49 +++++++++++++
 packages/dune-glob/dune-glob.3.23.0~alpha2/opam    | 42 ++++++++++++
 .../dune-private-libs.3.23.0~alpha2/opam           | 50 ++++++++++++++
 .../dune-rpc-lwt/dune-rpc-lwt.3.23.0~alpha2/opam   | 41 +++++++++++
 packages/dune-rpc/dune-rpc.3.23.0~alpha2/opam      | 44 ++++++++++++
 packages/dune-site/dune-site.3.23.0~alpha2/opam    | 37 ++++++++++
 packages/dune/dune.3.23.0~alpha2/opam              | 80 ++++++++++++++++++++++
 packages/dyn/dyn.3.23.0~alpha2/opam                | 40 +++++++++++
 packages/fs-io/fs-io.3.23.0~alpha2/opam            | 39 +++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.23.0~alpha2/opam  | 43 ++++++++++++
 packages/ordering/ordering.3.23.0~alpha2/opam      | 38 ++++++++++
 packages/stdune/stdune.3.23.0~alpha2/opam          | 46 +++++++++++++
 .../top-closure/top-closure.3.23.0~alpha2/opam     | 38 ++++++++++
 packages/xdg/xdg.3.23.0~alpha2/opam                | 39 +++++++++++
 18 files changed, 801 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.23.0~alpha2/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.23.0~alpha2/opam
 create mode 100644 packages/dune-action-trace/dune-action-trace.3.23.0~alpha2/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.23.0~alpha2/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.23.0~alpha2/opam
 create mode 100644 packages/dune-glob/dune-glob.3.23.0~alpha2/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.23.0~alpha2/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.23.0~alpha2/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.23.0~alpha2/opam
 create mode 100644 packages/dune-site/dune-site.3.23.0~alpha2/opam
 create mode 100644 packages/dune/dune.3.23.0~alpha2/opam
 create mode 100644 packages/dyn/dyn.3.23.0~alpha2/opam
 create mode 100644 packages/fs-io/fs-io.3.23.0~alpha2/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.23.0~alpha2/opam
 create mode 100644 packages/ordering/ordering.3.23.0~alpha2/opam
 create mode 100644 packages/stdune/stdune.3.23.0~alpha2/opam
 create mode 100644 packages/top-closure/top-closure.3.23.0~alpha2/opam
 create mode 100644 packages/xdg/xdg.3.23.0~alpha2/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:9fe84ffeeaa92507d198c7af8adb382726e06ae36c031f5ef645a3241cac0353)
2026-04-30 07:00.34 ---> using "59750879172620501422dd230c4db220684ca7fe3e97409754eb72dcd3390183" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-04-30 07:00.34 ---> using "b9ebb375f27da820f646269f579489455309b96c19083cd92f7f6ddd05a4b5f2" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.

This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-30 07:00.34 ---> using "a861010f9e8d58738e62217a8c0fc067b85ae67b915e1ef93e08d814bb3c914c" from cache

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.5.1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.3"}]
# compiler-packages    ocaml-base-compiler.4.14.3, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.3
2026-04-30 07:00.34 ---> using "a880c606232c92d84d818c349c45696fe9be139917bfa5f7b1065b497e8df441" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2026-04-30 07:00.34 ---> using "47c085e53aa5880966ff9fc1e1e12a4661255166181f7931a397db06034201cf" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-30 07:00.35 ---> using "4f46738dfb91aa0cd6670022d574de26b7ba05050d8f85957ea4872d96399e01" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-30 07:00.35 ---> using "f445e8c26fbca2dd0e343fb9cad949aab8e50ebe8f19361a10c799b6322ab39c" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [129 kB]
- Fetched 219 kB in 1s (212 kB/s)
- Reading package lists...
2026-04-30 07:00.35 ---> using "b966a5b49a15ba3eb63ca44315c18e89b0e8b1ab5327a74622eb8f27705503f7" from cache

/home/opam: (run (shell "opam pin add -k version -yn dune.3.23.0~alpha2 3.23.0~alpha2"))
dune is now pinned to version 3.23.0~alpha2
2026-04-30 07:00.35 ---> using "25765793fc7cef20054e052a9de3d7d38466f3811e35fee48d28bad9710db3b2" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dune.3.23.0~alpha2;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'dune.3.23.0~alpha2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
dune.3.23.0~alpha2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install dune 3.23.0~alpha2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.23.0~alpha2  (cached)
-> installed dune.3.23.0~alpha2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-30 07:00.35 ---> using "8638839e5ae5cf3f1965d4f7cf42b88935780d5bcff7e41a79deffdd572bdcbf" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall usb.1.3.1;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'usb.1.3.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
usb.1.3.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 19 packages
  - install base-bytes          base          [required by ocplib-endian]
  - install conf-pkg-config     4             [required by usb]
  - install cppo                1.8.0         [required by lwt]
  - install csexp               1.5.2         [required by dune-configurator]
  - install dune-configurator   3.23.0~alpha2 [required by lwt]
  - install lwt                 5.9.2         [required by lwt_ppx]
  - install lwt_ppx             5.9.3         [required by usb]
  - install oasis               0.4.11        [required by usb]
  - install ocaml-compiler-libs v0.12.4       [required by ppxlib]
  - install ocamlbuild          0.16.1        [required by usb]
  - install ocamlfind           1.9.8         [required by usb]
  - install ocamlify            0.0.1         [required by oasis]
  - install ocamlmod            0.1.1         [required by oasis]
  - install ocplib-endian       1.2           [required by lwt]
  - install ppx_derivers        1.2.1         [required by ppxlib]
  - install ppxlib              0.38.0        [required by lwt_ppx]
  - install sexplib0            v0.17.0       [required by ppxlib]
  - install stdlib-shims        0.3.0         [required by ppxlib]
  - install usb                 1.3.1

The following system packages will first need to be installed:
    libusb-1.0-0-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libusb-1.0-0-dev" "pkg-config"
- Selecting previously unselected package libpkgconf3:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20623 files and directories currently installed.)
- Preparing to unpack .../0-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package libusb-1.0-0:amd64.
- Preparing to unpack .../1-libusb-1.0-0_2%3a1.0.28-1_amd64.deb ...
- Unpacking libusb-1.0-0:amd64 (2:1.0.28-1) ...
- Selecting previously unselected package libusb-1.0-0-dev:amd64.
- Preparing to unpack .../2-libusb-1.0-0-dev_2%3a1.0.28-1_amd64.deb ...
- Unpacking libusb-1.0-0-dev:amd64 (2:1.0.28-1) ...
- Selecting previously unselected package libusb-1.0-doc.
- Preparing to unpack .../3-libusb-1.0-doc_2%3a1.0.28-1_all.deb ...
- Unpacking libusb-1.0-doc (2:1.0.28-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../4-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../5-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../6-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libusb-1.0-doc (2:1.0.28-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libusb-1.0-0:amd64 (2:1.0.28-1) ...
- Setting up libusb-1.0-0-dev:amd64 (2:1.0.28-1) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12+deb13u2) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> installed conf-pkg-config.4
-> retrieved csexp.1.5.2  (cached)
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> retrieved dune-configurator.3.23.0~alpha2  (cached)
-> retrieved lwt.5.9.2  (cached)
-> retrieved lwt_ppx.5.9.3  (cached)
-> retrieved oasis.0.4.11  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlify.0.0.1  (cached)
-> retrieved ocamlmod.0.1.1  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> installed ppx_derivers.1.2.1
-> retrieved ppxlib.0.38.0  (cached)
-> installed ocamlmod.0.1.1
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved usb.1.3.1  (https://opam.ocaml.org/cache)
-> installed stdlib-shims.0.3.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.17.0
-> installed dune-configurator.3.23.0~alpha2
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocplib-endian.1.2
-> installed ocamlbuild.0.16.1
-> installed lwt.5.9.2
-> installed ocamlify.0.0.1
-> installed ppxlib.0.38.0
-> installed lwt_ppx.5.9.3
-> installed oasis.0.4.11
-> installed usb.1.3.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-30 07:02.28 ---> saved as "2baf3a5e80e1c9c867f46c99606c5794b5385190669c3e5cea9b09b09a41cdf5"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test usb.1.3.1) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile usb 1.3.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved usb.1.3.1  (https://opam.ocaml.org/cache)
-> removed   usb.1.3.1
-> installed usb.1.3.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-30 07:02.45 ---> saved as "dd2fb52a7aaa2a6b2651760dd65846800056c3aea255dd34ff42939261b929e9"

/home/opam: (run (shell  "opam reinstall --with-test --verbose usb.1.3.1;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'usb.1.3.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile usb 1.3.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [usb.1.3.1: extract]
-> retrieved usb.1.3.1  (cached)
[usb: patch] applying patches/use-lwt_ppx.patch
Processing  2/4: [usb: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" (CWD=/home/opam/.opam/4.14/.opam-switch/build/usb.1.3.1)
- ./config_pkg || true
- patching file .merlin
- Hunk #1 FAILED at 1.
- 1 out of 1 hunk FAILED
- patching file _oasis
- Hunk #1 FAILED at 17.
- 1 out of 1 hunk FAILED
- patching file examples/myocamlbuild.ml
- Hunk #1 FAILED at 42.
- 1 out of 1 hunk FAILED
- sed '/^#/D' setup.ml > setup_dev.ml
- ocamlfind ocamlopt -o setup-dev.exe -linkpkg -package ocamlbuild,oasis.dynrun setup_dev.ml || \
-   ocamlfind ocamlc -o setup-dev.exe -linkpkg -package ocamlbuild,oasis.dynrun setup_dev.ml || true
- rm -f setup_dev.*
- ./setup-dev.exe -configure 
- 
- Configuration:
- ocamlfind: ........................................... /home/opam/.opam/4.14/bin/ocamlfind
- ocamlc: .............................................. /home/opam/.opam/4.14/bin/ocamlc.opt
- ocamlopt: ............................................ /home/opam/.opam/4.14/bin/ocamlopt.opt
- ocamlbuild: .......................................... /home/opam/.opam/4.14/bin/ocamlbuild
- Package name: ........................................ ocaml-usb
- Package version: ..................................... 1.3.0
- os_type: ............................................. Unix
- system: .............................................. linux
- architecture: ........................................ amd64
- ccomp_type: .......................................... cc
- ocaml_version: ....................................... 4.14.3
- standard_library_default: ............................ /home/opam/.opam/4.14/lib/ocaml
- standard_library: .................................... /home/opam/.opam/4.14/lib/ocaml
- bytecomp_c_compiler: ................................. gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64 
- native_c_compiler: ................................... gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64 
- model: ............................................... default
- ext_obj: ............................................. .o
- ext_asm: ............................................. .s
- ext_lib: ............................................. .a
- ext_dll: ............................................. .so
- default_executable_name: ............................. a.out
- systhread_supported: ................................. true
- Install architecture-independent files dir: .......... /usr/local
- Install architecture-dependent files in dir: ......... $prefix
- User executables: .................................... $exec_prefix/bin
- System admin executables: ............................ $exec_prefix/sbin
- Program executables: ................................. $exec_prefix/libexec
- Read-only single-machine data: ....................... $prefix/etc
- Modifiable architecture-independent data: ............ $prefix/com
- Modifiable single-machine data: ...................... $prefix/var
- Object code libraries: ............................... $exec_prefix/lib
- Read-only arch-independent data root: ................ $prefix/share
- Read-only architecture-independent data: ............. $datarootdir
- Info documentation: .................................. $datarootdir/info
- Locale-dependent data: ............................... $datarootdir/locale
- Man documentation: ................................... $datarootdir/man
- Documentation root: .................................. $datarootdir/doc/$pkg_name
- HTML documentation: .................................. $docdir
- DVI documentation: ................................... $docdir
- PDF documentation: ................................... $docdir
- PS documentation: .................................... $docdir
- findlib_version: ..................................... 1.9.8
- is_native: ........................................... true
- suffix_program: ......................................
- Remove a file.: ...................................... rm -f
- Remove a directory.: ................................. rm -rf
- Turn ocaml debug flag on: ............................ true
- Turn ocaml profile flag on: .......................... false
- Compiler support generation of .cmxs.: ............... true
- OCamlbuild additional flags: .........................
- Create documentations: ............................... true
- Compile tests executable and library and run them: ... false
- pkg_lwt_unix: ........................................ /home/opam/.opam/4.14/lib/lwt/unix
- pkg_lwt_ppx: ......................................... /home/opam/.opam/4.14/lib/lwt_ppx
- ocamldoc: ............................................ /home/opam/.opam/4.14/bin/ocamldoc
- 
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "--enable-tests" (CWD=/home/opam/.opam/4.14/.opam-switch/build/usb.1.3.1)
- ./setup-dev.exe -configure --enable-tests
- 
- Configuration:
- ocamlfind: ........................................... /home/opam/.opam/4.14/bin/ocamlfind
- ocamlc: .............................................. /home/opam/.opam/4.14/bin/ocamlc.opt
- ocamlopt: ............................................ /home/opam/.opam/4.14/bin/ocamlopt.opt
- ocamlbuild: .......................................... /home/opam/.opam/4.14/bin/ocamlbuild
- Package name: ........................................ ocaml-usb
- Package version: ..................................... 1.3.0
- os_type: ............................................. Unix
- system: .............................................. linux
- architecture: ........................................ amd64
- ccomp_type: .......................................... cc
- ocaml_version: ....................................... 4.14.3
- standard_library_default: ............................ /home/opam/.opam/4.14/lib/ocaml
- standard_library: .................................... /home/opam/.opam/4.14/lib/ocaml
- bytecomp_c_compiler: ................................. gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64 
- native_c_compiler: ................................... gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64 
- model: ............................................... default
- ext_obj: ............................................. .o
- ext_asm: ............................................. .s
- ext_lib: ............................................. .a
- ext_dll: ............................................. .so
- default_executable_name: ............................. a.out
- systhread_supported: ................................. true
- Install architecture-independent files dir: .......... /usr/local
- Install architecture-dependent files in dir: ......... $prefix
- User executables: .................................... $exec_prefix/bin
- System admin executables: ............................ $exec_prefix/sbin
- Program executables: ................................. $exec_prefix/libexec
- Read-only single-machine data: ....................... $prefix/etc
- Modifiable architecture-independent data: ............ $prefix/com
- Modifiable single-machine data: ...................... $prefix/var
- Object code libraries: ............................... $exec_prefix/lib
- Read-only arch-independent data root: ................ $prefix/share
- Read-only architecture-independent data: ............. $datarootdir
- Info documentation: .................................. $datarootdir/info
- Locale-dependent data: ............................... $datarootdir/locale
- Man documentation: ................................... $datarootdir/man
- Documentation root: .................................. $datarootdir/doc/$pkg_name
- HTML documentation: .................................. $docdir
- DVI documentation: ................................... $docdir
- PDF documentation: ................................... $docdir
- PS documentation: .................................... $docdir
- findlib_version: ..................................... 1.9.8
- is_native: ........................................... true
- suffix_program: ......................................
- Remove a file.: ...................................... rm -f
- Remove a directory.: ................................. rm -rf
- Turn ocaml debug flag on: ............................ true
- Turn ocaml profile flag on: .......................... false
- Compiler support generation of .cmxs.: ............... true
- OCamlbuild additional flags: .........................
- Create documentations: ............................... true
- Compile tests executable and library and run them: ... true
- pkg_lwt_unix: ........................................ /home/opam/.opam/4.14/lib/lwt/unix
- pkg_lwt_ppx: ......................................... /home/opam/.opam/4.14/lib/lwt_ppx
- ocamldoc: ............................................ /home/opam/.opam/4.14/bin/ocamldoc
- 
Processing  2/4: [usb: make]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/opam/.opam/4.14/.opam-switch/build/usb.1.3.1)
- ./setup-dev.exe -build 
- + /home/opam/.opam/4.14/bin/ocamlc.opt -config
- + /home/opam/.opam/4.14/bin/ocamlopt.opt unix.cmxa -I /home/opam/.opam/4.14/lib/ocamlbuild /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
- + /home/opam/.opam/4.14/bin/ocamlc.opt -config
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -g -ccopt '-I`ocamlfind query lwt`/unix' -ccopt -I/usr/include/libusb-1.0 -package lwt -c src/usb_stubs.c
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -g -ccopt '-I`ocamlfind query lwt`/unix' -ccopt -I/usr/include/libusb-1.0 -package lwt -c src/usb_stubs.c
- In file included from src/usb_stubs.c:18:
- /usr/include/libusb-1.0/libusb.h:1494:20: warning: "callback" is deprecated: use "caml_callback" instead
-  1494 |         libusb_transfer_cb_fn callback;
-       |                    ^~~~~~~~~~~~~~~~~~~~                                       
- /usr/include/libusb-1.0/libusb.h:1920:20: warning: "callback" is deprecated: use "caml_callback" instead
-  1920 |         unsigned char *buffer, libusb_transfer_cb_fn callback, void *user_data,
-       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/libusb-1.0/libusb.h: In function 'libusb_fill_control_transfer':
- /usr/include/libusb-1.0/libusb.h:1933:20: warning: "callback" is deprecated: use "caml_callback" instead
-  1933 |         transfer->callback = callback;
-       |                    ^~~~~~~~~~~~~~~~~~~                                        
- /usr/include/libusb-1.0/libusb.h:1933:20: warning: "callback" is deprecated: use "caml_callback" instead
- /usr/include/libusb-1.0/libusb.h: At top level:
- /usr/include/libusb-1.0/libusb.h:1951:20: warning: "callback" is deprecated: use "caml_callback" instead
-  1951 |         unsigned char *buffer, int length, libusb_transfer_cb_fn callback,
-       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    
- /usr/include/libusb-1.0/libusb.h: In function 'libusb_fill_bulk_transfer':
- /usr/include/libusb-1.0/libusb.h:1961:20: warning: "callback" is deprecated: use "caml_callback" instead
-  1961 |         transfer->callback = callback;
-       |                    ^~~~~~~~~~~~~~~~~~~                                        
- /usr/include/libusb-1.0/libusb.h:1961:20: warning: "callback" is deprecated: use "caml_callback" instead
- /usr/include/libusb-1.0/libusb.h: At top level:
- /usr/include/libusb-1.0/libusb.h:1983:20: warning: "callback" is deprecated: use "caml_callback" instead
-  1983 |         unsigned char *buffer, int length, libusb_transfer_cb_fn callback,
-       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    
- /usr/include/libusb-1.0/libusb.h: In function 'libusb_fill_bulk_stream_transfer':
- /usr/include/libusb-1.0/libusb.h:1987:41: warning: "callback" is deprecated: use "caml_callback" instead
-  1987 |                                   length, callback, user_data, timeout);
-       |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                           
- /usr/include/libusb-1.0/libusb.h: At top level:
- /usr/include/libusb-1.0/libusb.h:2008:20: warning: "callback" is deprecated: use "caml_callback" instead
-  2008 |         libusb_transfer_cb_fn callback, void *user_data, unsigned int timeout)
-       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/libusb-1.0/libusb.h: In function 'libusb_fill_interrupt_transfer':
- /usr/include/libusb-1.0/libusb.h:2017:20: warning: "callback" is deprecated: use "caml_callback" instead
-  2017 |         transfer->callback = callback;
-       |                    ^~~~~~~~~~~~~~~~~~~                                        
- /usr/include/libusb-1.0/libusb.h:2017:20: warning: "callback" is deprecated: use "caml_callback" instead
- /usr/include/libusb-1.0/libusb.h: At top level:
- /usr/include/libusb-1.0/libusb.h:2037:20: warning: "callback" is deprecated: use "caml_callback" instead
-  2037 |         libusb_transfer_cb_fn callback, void *user_data, unsigned int timeout)
-       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/libusb-1.0/libusb.h: In function 'libusb_fill_iso_transfer':
- /usr/include/libusb-1.0/libusb.h:2047:20: warning: "callback" is deprecated: use "caml_callback" instead
-  2047 |         transfer->callback = callback;
-       |                    ^~~~~~~~~~~~~~~~~~~                                        
- /usr/include/libusb-1.0/libusb.h:2047:20: warning: "callback" is deprecated: use "caml_callback" instead
- src/usb_stubs.c: In function 'ml_usb_handle_recv':
- src/usb_stubs.c:846:39: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   846 |     memcpy(String_val(Field(meta, 1)) + Long_val(Field(meta, 2)),
- In file included from src/usb_stubs.c:20:
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
-    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- src/usb_stubs.c: In function 'ml_usb_recv':
- src/usb_stubs.c:955:13: warning: "callback" is deprecated: use "caml_callback" instead
-   955 |   transfer->callback = ml_usb_handle_recv;
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
- src/usb_stubs.c: In function 'ml_usb_send':
- src/usb_stubs.c:968:13: warning: "callback" is deprecated: use "caml_callback" instead
-   968 |   transfer->callback = ml_usb_handle_send;
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
- + mv usb_stubs.o src/usb_stubs.o
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlmklib -o src/usb_stubs -g -lusb-1.0 src/usb_stubs.o
- + /home/opam/.opam/4.14/bin/ocamlfind ocamldep -package lwt.unix -package lwt_ppx -modules src/USB.mli > src/USB.mli.depends
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt '-I`ocamlfind query lwt`/unix' -package lwt.unix -package lwt_ppx -I src -o src/USB.cmi src/USB.mli
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt '-I`ocamlfind query lwt`/unix' -package lwt.unix -package lwt_ppx -I src -o src/USB.cmi src/USB.mli
- ocamlfind: [WARNING] Package `threads': Linking problems may arise because of the missing -thread or -vmthread switch
- + /home/opam/.opam/4.14/bin/ocamlfind ocamldep -package lwt.unix -package lwt_ppx -modules src/USB.ml > src/USB.ml.depends
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt '-I`ocamlfind query lwt`/unix' -package lwt.unix -package lwt_ppx -I src -o src/USB.cmo src/USB.ml
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt '-I`ocamlfind query lwt`/unix' -package lwt.unix -package lwt_ppx -I src -o src/USB.cmo src/USB.ml
- ocamlfind: [WARNING] Package `threads': Linking problems may arise because of the missing -thread or -vmthread switch
- File "src/USB.ml", line 234, characters 10-28:
- 234 |   ignore (Lwt_sequence.add_r enter_iter Lwt_main.enter_iter_hooks);
-                 ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Lwt_sequence
-  Use package lwt-dllist. See
-    https://github.com/mirage/lwt-dllist
- File "src/USB.ml", line 234, characters 40-65:
- 234 |   ignore (Lwt_sequence.add_r enter_iter Lwt_main.enter_iter_hooks);
-                                               ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Lwt_main.enter_iter_hooks
-  Use module Lwt_main.Enter_iter_hooks.
- File "src/USB.ml", line 235, characters 10-28:
- 235 |   ignore (Lwt_sequence.add_r leave_iter Lwt_main.leave_iter_hooks);
-                 ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Lwt_sequence
-  Use package lwt-dllist. See
-    https://github.com/mirage/lwt-dllist
- File "src/USB.ml", line 235, characters 40-65:
- 235 |   ignore (Lwt_sequence.add_r leave_iter Lwt_main.leave_iter_hooks);
-                                               ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Lwt_main.leave_iter_hooks
-  Use module Lwt_main.Leave_iter_hooks.
- File "src/USB.ml", line 238, characters 10-28:
- 238 |   ignore (Lwt_sequence.add_r (fun _ -> Lazy.force exit |> Lwt.return) Lwt_main.exit_hooks)
-                 ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Lwt_sequence
-  Use package lwt-dllist. See
-    https://github.com/mirage/lwt-dllist
- File "src/USB.ml", line 238, characters 70-89:
- 238 |   ignore (Lwt_sequence.add_r (fun _ -> Lazy.force exit |> Lwt.return) Lwt_main.exit_hooks)
-                                                                             ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Lwt_main.exit_hooks
-  Use module Lwt_main.Exit_hooks.
- File "src/USB.ml", line 273, characters 20-31:
- 273 |          (fun () -> execute_job ?async_method:None ~job:(job ()) ~result ~free)
-                           ^^^^^^^^^^^
- Alert deprecated: Lwt_unix.execute_job
-  Use Lwt_unix.run_job.
- File "src/USB.ml", line 481, characters 14-33:
- 481 |   | Some t -> Pervasives.truncate (t *. 1000.0)
-                     ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "src/USB.ml", line 554, characters 43-50:
- 554 | let get_string_descriptor handle ?timeout ?lang_id ~index =
-                                                  ^^^^^^^
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- File "src/USB.ml", line 554, characters 34-41:
- 554 | let get_string_descriptor handle ?timeout ?lang_id ~index =
-                                         ^^^^^^^
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -a -dllib -lusb_stubs -cclib -lusb_stubs -cclib -lusb-1.0 -I src src/USB.cmo -o src/usb.cma
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -ccopt '-I`ocamlfind query lwt`/unix' -package lwt.unix -package lwt_ppx -I src -o src/USB.cmx src/USB.ml
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -ccopt '-I`ocamlfind query lwt`/unix' -package lwt.unix -package lwt_ppx -I src -o src/USB.cmx src/USB.ml
- ocamlfind: [WARNING] Package `threads': Linking problems may arise because of the missing -thread or -vmthread switch
- File "src/USB.ml", line 234, characters 10-28:
- 234 |   ignore (Lwt_sequence.add_r enter_iter Lwt_main.enter_iter_hooks);
-                 ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Lwt_sequence
-  Use package lwt-dllist. See
-    https://github.com/mirage/lwt-dllist
- File "src/USB.ml", line 234, characters 40-65:
- 234 |   ignore (Lwt_sequence.add_r enter_iter Lwt_main.enter_iter_hooks);
-                                               ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Lwt_main.enter_iter_hooks
-  Use module Lwt_main.Enter_iter_hooks.
- File "src/USB.ml", line 235, characters 10-28:
- 235 |   ignore (Lwt_sequence.add_r leave_iter Lwt_main.leave_iter_hooks);
-                 ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Lwt_sequence
-  Use package lwt-dllist. See
-    https://github.com/mirage/lwt-dllist
- File "src/USB.ml", line 235, characters 40-65:
- 235 |   ignore (Lwt_sequence.add_r leave_iter Lwt_main.leave_iter_hooks);
-                                               ^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Lwt_main.leave_iter_hooks
-  Use module Lwt_main.Leave_iter_hooks.
- File "src/USB.ml", line 238, characters 10-28:
- 238 |   ignore (Lwt_sequence.add_r (fun _ -> Lazy.force exit |> Lwt.return) Lwt_main.exit_hooks)
-                 ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Lwt_sequence
-  Use package lwt-dllist. See
-    https://github.com/mirage/lwt-dllist
- File "src/USB.ml", line 238, characters 70-89:
- 238 |   ignore (Lwt_sequence.add_r (fun _ -> Lazy.force exit |> Lwt.return) Lwt_main.exit_hooks)
-                                                                             ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Lwt_main.exit_hooks
-  Use module Lwt_main.Exit_hooks.
- File "src/USB.ml", line 273, characters 20-31:
- 273 |          (fun () -> execute_job ?async_method:None ~job:(job ()) ~result ~free)
-                           ^^^^^^^^^^^
- Alert deprecated: Lwt_unix.execute_job
-  Use Lwt_unix.run_job.
- File "src/USB.ml", line 481, characters 14-33:
- 481 |   | Some t -> Pervasives.truncate (t *. 1000.0)
-                     ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "src/USB.ml", line 554, characters 43-50:
- 554 | let get_string_descriptor handle ?timeout ?lang_id ~index =
-                                                  ^^^^^^^
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- File "src/USB.ml", line 554, characters 34-41:
- 554 | let get_string_descriptor handle ?timeout ?lang_id ~index =
-                                         ^^^^^^^
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -a -cclib -lusb_stubs -cclib -lusb-1.0 -I src src/USB.cmx -o src/usb.cmxa
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -shared -I src -cclib -lusb-1.0 -I src src/usb.cmxa src/USB.cmx -o src/usb.cmxs
- + /home/opam/.opam/4.14/bin/ocamlopt.opt unix.cmxa -I /home/opam/.opam/4.14/lib/ocamlbuild /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
- File "myocamlbuild.ml", line 454, characters 8-19:
- 454 |         Stream.from
-               ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 457, characters 21-32:
- 457 |                match Stream.next st with
-                            ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 460, characters 18-32:
- 460 |              with Stream.Failure -> None)
-                         ^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 462, characters 6-23:
- 462 |       Genlex.make_lexer ["="] st_line
-             ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 465, characters 12-24:
- 465 |       match Stream.npeek 3 lxr with
-                   ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 466, characters 9-21:
- 466 |       | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] ->
-                ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 466, characters 26-36:
- 466 |       | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] ->
-                                 ^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 466, characters 42-55:
- 466 |       | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] ->
-                                                 ^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 467, characters 8-19:
- 467 |         Stream.junk lxr; Stream.junk lxr; Stream.junk lxr;
-               ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 467, characters 25-36:
- 467 |         Stream.junk lxr; Stream.junk lxr; Stream.junk lxr;
-                                ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 467, characters 42-53:
- 467 |         Stream.junk lxr; Stream.junk lxr; Stream.junk lxr;
-                                                 ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 479, characters 17-34:
- 479 |         let st = Stream.of_channel chn in
-                        ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
Processing  2/4: [usb: make test]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "test" (CWD=/home/opam/.opam/4.14/.opam-switch/build/usb.1.3.1)
- ./setup-dev.exe -build 
- + /home/opam/.opam/4.14/bin/ocamlc.opt -config
- + /home/opam/.opam/4.14/bin/ocamlc.opt -config
- ./setup-dev.exe -test 
-> compiled  usb.1.3.1
-> removed   usb.1.3.1
Processing  4/4: [usb: make install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/usb.1.3.1)
- ./setup-dev.exe -install 
- Installed /home/opam/.opam/4.14/lib/usb/USB.mli
- Installed /home/opam/.opam/4.14/lib/usb/libusb_stubs.a
- Installed /home/opam/.opam/4.14/lib/usb/usb.cma
- Installed /home/opam/.opam/4.14/lib/usb/usb.cmxa
- Installed /home/opam/.opam/4.14/lib/usb/usb.a
- Installed /home/opam/.opam/4.14/lib/usb/usb.cmxs
- Installed /home/opam/.opam/4.14/lib/usb/USB.cmi
- Installed /home/opam/.opam/4.14/lib/usb/USB.cmti
- Installed /home/opam/.opam/4.14/lib/usb/USB.cmt
- Installed /home/opam/.opam/4.14/lib/usb/USB.annot
- Installed /home/opam/.opam/4.14/lib/usb/USB.cmx
- Installed /home/opam/.opam/4.14/lib/stublibs/dllusb_stubs.so
- Installed /home/opam/.opam/4.14/lib/stublibs/dllusb_stubs.so.owner
- ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/4.14/lib/stublibs is not mentioned in ld.conf
- Installed /home/opam/.opam/4.14/lib/usb/META
-> installed usb.1.3.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-30 07:03.02 ---> saved as "c74016c4370932ae55f0bb73cbb9bc9538969354ada596c1c22c65777fea395b"
Job succeeded
2026-04-30 07:03.47: Job succeeded