Organisationstmcgilchristocaml-changes137276 (master)ubuntu-24.04-4.14_opam-2.3

ubuntu-24.04-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-07-04 15:12.13: New job: test tmcgilchrist/ocaml-changes https://github.com/tmcgilchrist/ocaml-changes.git#refs/heads/master (1372766c057cfab8f20bde1856b124d51ccb5164) (linux-x86_64:ubuntu-24.04-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:3dbac5def7b0152a5bc0ed65bbf067083686f3255a31bec492079c20a2c9b498
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/tmcgilchrist/ocaml-changes.git" -b "master" && cd "ocaml-changes" && git reset --hard 1372766c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:3dbac5def7b0152a5bc0ed65bbf067083686f3255a31bec492079c20a2c9b498
# ubuntu-24.04-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocaml-changes.opam ./
RUN opam pin add -yn ocaml-changes.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bisect_ppx.2.8.3 cmdliner.1.3.0 dune.3.19.1 fmt.0.10.0 mparser.1.3 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppxlib.0.35.0 re.1.13.2 result.1.5 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ocaml-changes.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2025-07-04 15:12.13: Using cache hint "tmcgilchrist/ocaml-changes-ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:3dbac5def7b0152a5bc0ed65bbf067083686f3255a31bec492079c20a2c9b498-ubuntu-24.04-4.14_opam-2.3-43637afbfe739de315834de264f26879"
2025-07-04 15:12.13: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:3dbac5def7b0152a5bc0ed65bbf067083686f3255a31bec492079c20a2c9b498)
(comment ubuntu-24.04-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ocaml-changes.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ocaml-changes.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bisect_ppx.2.8.3 cmdliner.1.3.0 dune.3.19.1 fmt.0.10.0 mparser.1.3 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppxlib.0.35.0 re.1.13.2 result.1.5 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y ocaml-changes.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2025-07-04 15:12.13: Waiting for resource in pool OCluster
2025-07-04 15:41.35: Waiting for worker…
2025-07-04 15:43.30: Got resource from pool OCluster
Building on doris.caelum.ci.dev
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/ocaml-changes.git-65618ef30361ec6a87a820d337ac30708bca56b4/.git/
HEAD is now at 1372766 Merge pull request #4 from tmcgilchrist/fmt_deprecations


(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:3dbac5def7b0152a5bc0ed65bbf067083686f3255a31bec492079c20a2c9b498)
2025-07-04 15:43.32 ---> using "e5afc2ae3625d287ff6ad11e1ee8e8c8b323aef4830c05f394017983edb5ece1" from cache


/: (comment ubuntu-24.04-4.14_opam-2.3)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-04 15:43.32 ---> using "5378c45e1f53f35b8a2cc57978b8510a8e388e87b11ddebc0a2ef8672782fc07" from cache


/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then 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 development 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-07-04 15:43.32 ---> using "870a79a9cdb1deb7840ad725d9ab2efecd423034bce03d66f2a18be97b573a87" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-07-04 15:43.32 ---> using "10bc4f77583933fc22d09fff3b6119e5ecf7914e9ab7174dfb7ce9292e5cbc7a" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-07-04 15:43.32 ---> using "929a7cbd5251e9c159ca9dac600cdedb0ee70ea98d87bda1e61823b61e3558c1" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
c7269f729a..ee56c84f60  master     -> origin/master
382e02b4c1 Merge pull request #28124 from kit-ty-kate/opam-publish-re.1.13.2


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-07-04 15:43.32 ---> using "4f96dfc8058ca05e22d017b42e8ffc25f24b6f51dec5a5ff90d7ba0e956f0082" from cache


/src: (copy (src ocaml-changes.opam) (dst ./))
2025-07-04 15:43.32 ---> saved as "735fb54675ab0ace0b6eb5b8875fd276bb05976ae8ca6c2ecf616cc450fd9349"


/src: (run (network host)
(shell "opam pin add -yn ocaml-changes.dev './'"))
Package ocaml-changes does not exist, create as a NEW package? [y/n] y
[ocaml-changes.dev] synchronised (file:///src)
ocaml-changes is now pinned to file:///src (version dev)
2025-07-04 15:43.35 ---> saved as "5f1ae684235d8c1913e27e4a4b4daf8a53e80a27745b4a2b80b12f679b56b2ad"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-04 15:43.35 ---> saved as "54db26f935be9ef043f3541a2d2ace2146bd94d9aaa1d810e61cac7733484a18"


/src: (env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bisect_ppx.2.8.3 cmdliner.1.3.0 dune.3.19.1 fmt.0.10.0 mparser.1.3 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppxlib.0.35.0 re.1.13.2 result.1.5 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4")


/src: (env CI true)


/src: (env OCAMLCI true)


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y ocaml-changes.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:2 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:5 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1122 kB]
- Get:6 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1221 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1547 kB]
- Get:8 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [1708 kB]
- Get:9 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [23.0 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1432 kB]
- Get:11 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [1766 kB]
- Get:12 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [28.1 kB]
- Fetched 9226 kB in 1s (11.7 MB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-changes.dev] synchronised (file:///src)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-07-04 15:43.48 ---> saved as "6f9f0c5012435256dabba64d836e2ca9b105ff92f795bda60f7c08d6114079f1"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 20 packages
- install alcotest            1.9.0
- install astring             0.8.5
- install bisect_ppx          2.8.3
- install cmdliner            1.3.0
- install dune                3.19.1
- install fmt                 0.10.0
- install mparser             1.3
- install ocaml-compiler-libs v0.12.4
- install ocaml-syntax-shims  1.0.0
- install ocamlbuild          0.16.1
- install ocamlfind           1.9.8
- install ppx_derivers        1.2.1
- install ppxlib              0.35.0
- install re                  1.13.2
- install result              1.5
- install seq                 base
- install sexplib0            v0.17.0
- install stdlib-shims        0.3.0
- install topkg               1.0.8
- install uutf                1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved bisect_ppx.2.8.3  (cached)
-> retrieved alcotest.1.9.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved fmt.0.10.0  (cached)
-> retrieved mparser.1.3  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved re.1.13.2  (cached)
-> retrieved result.1.5  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved dune.3.19.1  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed dune.3.19.1
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed result.1.5
-> installed mparser.1.3
-> installed sexplib0.v0.17.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.13.2
-> installed ocaml-compiler-libs.v0.12.4
-> installed alcotest.1.9.0
-> installed ppxlib.0.35.0
-> installed bisect_ppx.2.8.3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-04 15:44.39 ---> saved as "d6a164b53112732cd54e66307abdc24f3ea7665ce167d5da558c10cdd5b87d25"


/src: (copy (src .) (dst /src))
2025-07-04 15:44.39 ---> saved as "d47db28368d94a2eb221a91fad166768342bade29acbc318f4c6031bdb6b3020"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/lib_test && ./test.exe)
Testing `Changes'.
This run has ID `D9D37Q2A'.


[OK]          parse_print          0   cases/square_date.
[OK]          parse_print          1   cases/release_spaces.
[OK]          parse_print          2   cases/opam_publish.
[OK]          parse_print          3   cases/no_date.
[OK]          parse_print          4   cases/no_changes.
[OK]          parse_print          5   cases/md_headers.
[OK]          parse_print          6   cases/md_2_headers.
[OK]          parse_print          7   cases/long_changes.
[OK]          parse_print          8   cases/empty.
[OK]          parse_print          9   cases/bullet_no_space.
[OK]          parse_print         10   cases/bullet_mixed.
[OK]          test_parse           0   empty.
[OK]          test_parse           1   atx_release_header.
[OK]          test_parse           2   setext_release_header.
[OK]          test_parse           3   ascii_release_header.
[OK]          test_parse           4   test release with no changes.
[OK]          test_parse           5   test release with changes.


Full test results in `/src/_build/default/lib_test/_build/_tests/Changes'.
Test Successful in 0.025s. 17 tests run.
2025-07-04 15:44.40 ---> saved as "95e70df6c24ba05973299b5e4faafbf33f79269d59e472f46f8afd873d960bac"
Job succeeded
2025-07-04 15:44.40: Job succeeded