Building on x86-bm-c7.sw.ocaml.org (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam 25fab027ffef: Pulling fs layer 25fab027ffef: Verifying Checksum 25fab027ffef: Download complete 25fab027ffef: Pull complete Digest: sha256:00c8fa21003c73535c54d476b1a5da8f00157ae8e69ed0802828b81c31dcd75f Status: Downloaded newer image for ocaml/opam:debian-unstable 2025-05-11 08:03.08 ---> saved as "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (env CI true) /: (env OPAM_HEALTH_CHECK_CI true) /: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2025-05-11 08:03.08 ---> saved as "40df4fa4cdfc68a5fa7a326047e82a7adc5df52b8059d4a7b745bdd50aad56e7" /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 0d013e603b5ebf0e9b404e10d5a6839f226e1739")) 2025-05-11 08:04.08 ---> saved as "ba691fcd1e6a6933d86676a5956798a33485251a7773cdc85bbcb8bc10de7787" /: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository")) 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. <><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><> [default] Initialised User configuration: ~/.profile is already up-to-date. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. 2025-05-11 08:04.28 ---> saved as "37994383d0922ffe4fc14a481504ca4a090a36b7b12fca5453c37cee0fe783d2" /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "opam switch create --repositories=default '5.3-opam' '5.3.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "5.3.0"} | "ocaml-system" {= "5.3.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.3 (cached) -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-compiler.5.3.0 (cached) -> installed ocaml-compiler.5.3.0 -> installed ocaml-base-compiler.5.3.0 -> installed ocaml-config.3 -> installed ocaml.5.3.0 -> installed base-domains.base -> installed base-effects.base -> installed base-nnp.base Done. # To update the current shell environment, run: eval $(opam env --switch=5.3-opam) 2025-05-11 08:08.04 ---> saved as "308116583b513fdc7b023cc41f667a0497ea0794a5aadd1cd6c494a4d826c83f" /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [205 kB] - Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-05-11-0205.36-F-2025-05-04-0821.28.pdiff [434 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-05-11-0205.36-F-2025-05-04-0821.28.pdiff [434 kB] - Fetched 703 kB in 2s (291 kB/s) - Reading package lists... - 2025-05-11 08:08.07 ---> saved as "6e3f30bdb18d3f001f5fde54736f8683e0c9941ffe5410c2638f3a07bfcd6abd" /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "opam pin add -k version dune $(opam show -f version dune)")) dune is now pinned to version 3.18.2 The following actions will be performed: === install 1 package - install dune 3.18.2 (pinned) <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved dune.3.18.2 (cached) -> installed dune.3.18.2 Done. # To update the current shell environment, run: eval $(opam env) 2025-05-11 08:08.42 ---> saved as "62db504db63ad18d511c2725cb4b92b5285d4549694da84c6e4c39c1766a5f95" /: (env DUNE_CACHE enabled) /: (env DUNE_CACHE_TRANSPORT direct) /: (env DUNE_CACHE_DUPLICATION copy) /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "opam remove -y MlFront_ZipFile.2.3.0\ \nopam install -vy MlFront_ZipFile.2.3.0\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: MlFront_ZipFile.2.3.0 | grep -q 'debian-unstable'; then\ \n echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\ \n exit 69\ \n fi\ \nfi \ \n\ \n\ \nexit $res")) Nothing to do. [NOTE] MlFront_ZipFile.2.3.0 is not installed. The following actions will be performed: === install 3 packages - install MlFront_ZipFile 2.3.0 - install re 1.12.0 [required by MlFront_ZipFile] - install seq base [required by re] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/9: [MlFront_ZipFile.2.3.0: extract] Processing 2/9: [MlFront_ZipFile.2.3.0: extract] [re.1.12.0: extract] -> retrieved seq.base (cached) Processing 3/9: [MlFront_ZipFile.2.3.0: extract] [re.1.12.0: extract] Processing 4/9: [MlFront_ZipFile.2.3.0: extract] [re.1.12.0: extract] -> installed seq.base Processing 5/9: [MlFront_ZipFile.2.3.0: extract] [re.1.12.0: extract] -> retrieved MlFront_ZipFile.2.3.0 (cached) Processing 5/9: [re.1.12.0: extract] -> retrieved re.1.12.0 (cached) Processing 6/9: [re: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "re" "-j" "31" (CWD=/home/opam/.opam/5.3-opam/.opam-switch/build/re.1.12.0) - (cd _build/default && /home/opam/.opam/5.3-opam/bin/ocamlopt.opt -w -40 -w -50 -g -I deprecated/.re_emacs.objs/byte -I deprecated/.re_emacs.objs/native -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -o deprecated/.re_emacs.objs/native/re_emacs.cmx -c -impl deprecated/re_emacs.ml) - File "deprecated/re_emacs.ml", line 1, characters 4-14: - 1 | [@@@deprecated "Use Re.Emacs"] - ^^^^^^^^^^ - Warning 53 [misplaced-attribute]: the "deprecated" attribute cannot appear in this context - (cd _build/default && /home/opam/.opam/5.3-opam/bin/ocamlopt.opt -w -40 -w -50 -g -I deprecated/.re_glob.objs/byte -I deprecated/.re_glob.objs/native -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -o deprecated/.re_glob.objs/native/re_glob.cmx -c -impl deprecated/re_glob.ml) - File "deprecated/re_glob.ml", line 1, characters 4-14: - 1 | [@@@deprecated "Use Re.Glob"] - ^^^^^^^^^^ - Warning 53 [misplaced-attribute]: the "deprecated" attribute cannot appear in this context - (cd _build/default && /home/opam/.opam/5.3-opam/bin/ocamlopt.opt -w -40 -w -50 -g -I deprecated/.re_posix.objs/byte -I deprecated/.re_posix.objs/native -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -o deprecated/.re_posix.objs/native/re_posix.cmx -c -impl deprecated/re_posix.ml) - File "deprecated/re_posix.ml", line 1, characters 4-14: - 1 | [@@@deprecated "Use Re.Posix"] - ^^^^^^^^^^ - Warning 53 [misplaced-attribute]: the "deprecated" attribute cannot appear in this context - (cd _build/default && /home/opam/.opam/5.3-opam/bin/ocamlopt.opt -w -40 -w -50 -g -I deprecated/.re_perl.objs/byte -I deprecated/.re_perl.objs/native -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -o deprecated/.re_perl.objs/native/re_perl.cmx -c -impl deprecated/re_perl.ml) - File "deprecated/re_perl.ml", line 1, characters 4-14: - 1 | [@@@deprecated "Use Re.Perl"] - ^^^^^^^^^^ - Warning 53 [misplaced-attribute]: the "deprecated" attribute cannot appear in this context - (cd _build/default && /home/opam/.opam/5.3-opam/bin/ocamlopt.opt -w -40 -w -50 -g -I deprecated/.re_pcre.objs/byte -I deprecated/.re_pcre.objs/native -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -o deprecated/.re_pcre.objs/native/re_pcre.cmx -c -impl deprecated/re_pcre.ml) - File "deprecated/re_pcre.ml", line 1, characters 4-14: - 1 | [@@@deprecated "Use Re.Pcre"] - ^^^^^^^^^^ - Warning 53 [misplaced-attribute]: the "deprecated" attribute cannot appear in this context - (cd _build/default && /home/opam/.opam/5.3-opam/bin/ocamlopt.opt -w -40 -w -50 -g -I deprecated/.re_str.objs/byte -I deprecated/.re_str.objs/native -I lib/.re.objs/byte -I lib/.re.objs/native -intf-suffix .ml -no-alias-deps -o deprecated/.re_str.objs/native/re_str.cmx -c -impl deprecated/re_str.ml) - File "deprecated/re_str.ml", line 1, characters 4-14: - 1 | [@@@deprecated "Use Re.Str"] - ^^^^^^^^^^ - Warning 53 [misplaced-attribute]: the "deprecated" attribute cannot appear in this context -> compiled re.1.12.0 -> installed re.1.12.0 Processing 8/9: [MlFront_ZipFile: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "MlFront_ZipFile" "-j" "31" "@install" (CWD=/home/opam/.opam/5.3-opam/.opam-switch/build/MlFront_ZipFile.2.3.0) - (cd _build/default/src/MlFront_ZipFile && ./zipfile_discover.exe -word_size 64 -ccomp_type cc -bytecomp_c_compiler 'gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64') > _build/default/src/MlFront_ZipFile/zipfile_discovered.sexp - checking symbols S_ISVTX, S_IFMT, S_IFDIR and S_ISSOCK ... - /opam-tmp/build_cf94a8_dune/MlFront_ZipFile__checkb7b2c5.c:3:26: error: 'S_ISVTX' undeclared here (not in a function) - 3 | static int mode1 = S_ISVTX; - | ^~~~~~~ - /opam-tmp/build_cf94a8_dune/MlFront_ZipFile__checkb7b2c5.c:4:26: error: 'S_IFDIR' undeclared here (not in a function); did you mean 'S_ISDIR'? - 4 | static int mode2 = S_IFDIR; - | ^~~~~~~ - | S_ISDIR - /opam-tmp/build_cf94a8_dune/MlFront_ZipFile__checkb7b2c5.c:5:29: error: 'S_IFMT' undeclared here (not in a function) - 5 | static int modemask = S_IFMT; - | ^~~~~~ - /opam-tmp/build_cf94a8_dune/MlFront_ZipFile__checkb7b2c5.c:7:25: error: S_ISSOCK() macro is not available - 7 | #pragma GCC error "S_ISSOCK() macro is not available" - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - MlFront_ZipFile discovered: - ; -word_size 64 - ; -ccomp_type cc - ; env(MLFRONT_STUBS_BUILD_TYPE) - ; -bytecomp_c_compiler gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 - (-fPIC -std=c11 -Wall -Wextra -Werror -pedantic -Wno-implicit-function-declaration -D_XOPEN_SOURCE=600) -> compiled MlFront_ZipFile.2.3.0 -> installed MlFront_ZipFile.2.3.0 Done. # To update the current shell environment, run: eval $(opam env) 2025-05-11 08:08.56 ---> saved as "73e6c543a687590ac31cfca4b7cfb2b57903d54b7d278cbb9996bb6321ecfaac" Job succeeded