Build:
  1. 0
2025-12-31 20:23.53: New job: build simple_httpd.1.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29154/head (8b93e61efd1dead1c10912f5e256af8cfe394e88)
                              on debian-13-ocaml-5.4-afl/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/29154/head" && git reset --hard 8b93e61e
git fetch origin master
git merge --no-edit 56368dd1acf4bf68f49ac2bdd09e360e687d4741
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4-afl@sha256:63204714cf88837e62df7b1fa0f4be1b52b1af9d28ace751fd50195a238a21fe
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 simple_httpd.1.0 1.0
RUN opam reinstall simple_httpd.1.0; \
    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" != 'simple_httpd.1.0' && 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 .

2025-12-31 20:23.53: Using cache hint "ocaml/opam:debian-13-ocaml-5.4-afl@sha256:63204714cf88837e62df7b1fa0f4be1b52b1af9d28ace751fd50195a238a21fe-simple_httpd.1.0-8b93e61efd1dead1c10912f5e256af8cfe394e88"
2025-12-31 20:23.53: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4-afl@sha256:63204714cf88837e62df7b1fa0f4be1b52b1af9d28ace751fd50195a238a21fe)
 (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 simple_httpd.1.0 1.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall simple_httpd.1.0;\
             \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\" != 'simple_httpd.1.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-12-31 20:23.53: Waiting for resource in pool OCluster
2025-12-31 20:23.55: Waiting for worker…
2025-12-31 20:24.46: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files:  89% (17155/19119)
Updating files:  90% (17208/19119)
Updating files:  91% (17399/19119)
Updating files:  92% (17590/19119)
Updating files:  93% (17781/19119)
Updating files:  94% (17972/19119)
Updating files:  95% (18164/19119)
Updating files:  96% (18355/19119)
Updating files:  97% (18546/19119)
Updating files:  98% (18737/19119)
Updating files:  99% (18928/19119)
Updating files: 100% (19119/19119)
Updating files: 100% (19119/19119), done.
HEAD is now at 56368dd1ac Merge pull request #29151 from dalps/opam-publish-menhir-lsp.0.1.2
Merge made by the 'ort' strategy.
 packages/simple_httpd/simple_httpd.1.0/opam        | 52 ++++++++++++++++++++++
 .../simple_httpd_caqti/simple_httpd_caqti.1.0/opam | 41 +++++++++++++++++
 2 files changed, 93 insertions(+)
 create mode 100644 packages/simple_httpd/simple_httpd.1.0/opam
 create mode 100644 packages/simple_httpd_caqti/simple_httpd_caqti.1.0/opam

(from ocaml/opam:debian-13-ocaml-5.4-afl@sha256:63204714cf88837e62df7b1fa0f4be1b52b1af9d28ace751fd50195a238a21fe)
2025-12-31 20:25.55 ---> using "5fc0dee52e09e5673b3458c1e6434580cb30ed0682ecdb85029738c4557fe6cc" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-31 20:25.55 ---> using "457bcad046cd12b2ce4043aafbc1d92f62ea6b2a2a502b03e1d74b013df6bdbd" 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
2025-12-31 20:25.55 ---> using "e25d848bf60d9d8391d4cb8df5f47155b1938def51f945a5d729854b87af6067" 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.0
# 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       5.4
# invariant            ["ocaml-variants" {= "5.4.0+options"}]
# compiler-packages    ocaml-compiler.5.4.0, ocaml-option-afl.1, ocaml-options-only-afl.1, ocaml-variants.5.4.0+options
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0+options+afl
2025-12-31 20:25.55 ---> using "e69f8e757129fe88450d7ddf5bc1f512808dca8ef313d87ce837811ab7c42b2c" 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/"))
2025-12-31 20:25.55 ---> using "5effa5006610d9916fdeadc8a1a0194616e69a02d78817457a7357125e35cf6a" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-31 20:26.07 ---> saved as "35c7e9d1e9fea867211436e0c2955eb6042d557f2d1045e4d4ddeb8e28bedff2"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-31 20:26.31 ---> saved as "d3ea00c7a0a176a04c5aac2dbce34092bb88a2a8944a1d3408adde259ab7b3bd"

/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]
- Fetched 90.7 kB in 2s (53.2 kB/s)
- Reading package lists...
- 
2025-12-31 20:26.34 ---> saved as "0c6d9b63bfca0b54de756f5a5c1cb99b7e3b3be6fa3d739de168330fc8451870"

/home/opam: (run (shell "opam pin add -k version -yn simple_httpd.1.0 1.0"))
simple_httpd is now pinned to version 1.0
2025-12-31 20:26.35 ---> saved as "c252e904dd3d256ff220af9c9c02508bc87fbb4c0029fd19cd0eb1818066ae89"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall simple_httpd.1.0;\
                        \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\" != 'simple_httpd.1.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
simple_httpd.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 25 packages
  - install base64              3.5.2        [required by simple_httpd]
  - install camlzip             1.13         [required by simple_httpd]
  - install cmdliner            2.1.0        [required by polly]
  - install conf-libssl         4            [required by ssl]
  - install conf-linux-libc-dev 0            [required by polly]
  - install conf-pkg-config     4            [required by conf-zlib, conf-libssl]
  - install conf-zlib           1            [required by camlzip]
  - install cppo                1.8.0        [required by simple_httpd]
  - install csexp               1.5.2        [required by dune-configurator]
  - install digestif            1.3.0        [required by simple_httpd]
  - install dune                3.20.2       [required by simple_httpd]
  - install dune-configurator   3.20.2       [required by ssl]
  - install eqaf                0.10         [required by digestif]
  - install magic-mime          1.3.0        [required by simple_httpd]
  - install ocaml-compiler-libs v0.17.0      [required by ppxlib]
  - install ocamlfind           1.9.8        [required by camlzip]
  - install pacomb              1.4.3        [required by simple_httpd]
  - install polly               0.4.1        [required by simple_httpd]
  - install ppx_derivers        1.2.1        [required by ppxlib]
  - install ppxlib              0.37.0       [required by pacomb]
  - install sexplib0            v0.17.0      [required by ppxlib]
  - install simple_httpd        1.0 (pinned)
  - install ssl                 0.7.0        [required by simple_httpd]
  - install stdlib-shims        0.3.0        [required by pacomb]
  - install yojson              3.0.0        [required by simple_httpd]

The following system packages will first need to be installed:
    libssl-dev pkg-config zlib1g-dev

<><> 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" "libssl-dev" "pkg-config" "zlib1g-dev"
- 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 ... 20653 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 libssl-dev:amd64.
- Preparing to unpack .../1-libssl-dev_3.5.4-1~deb13u1_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.5.4-1~deb13u1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../2-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../3-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../4-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../5-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1+b1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libssl-dev:amd64 (3.5.4-1~deb13u1) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- 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) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.2  (cached)
-> retrieved camlzip.1.13  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved conf-libssl.4  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> installed conf-zlib.1
-> installed conf-libssl.4
-> installed conf-linux-libc-dev.0
-> retrieved digestif.1.3.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved magic-mime.1.3.0  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved pacomb.1.4.3  (cached)
-> retrieved polly.0.4.1  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved simple_httpd.1.0  (cached)
-> retrieved ssl.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> installed cmdliner.2.1.0
-> installed ocamlfind.1.9.8
-> installed camlzip.1.13
-> installed dune.3.20.2
-> installed ppx_derivers.1.2.1
-> installed base64.3.5.2
-> installed csexp.1.5.2
-> installed eqaf.0.10
-> installed ocaml-compiler-libs.v0.17.0
-> installed polly.0.4.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed cppo.1.8.0
-> installed yojson.3.0.0
-> installed digestif.1.3.0
-> installed dune-configurator.3.20.2
-> installed ssl.0.7.0
-> installed magic-mime.1.3.0
-> installed ppxlib.0.37.0
-> installed pacomb.1.4.3
-> installed simple_httpd.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-31 20:28.30 ---> saved as "ce2d50deb8aed3c5868dfd4811184762c3293c8f19e7b6e8b320f8173b1118c1"
Job succeeded
2025-12-31 20:28.36: Job succeeded