OCamllabs icon Home|Differences with the last checks|Previous runs


Building on x86-bm-c9.sw.ocaml.org

(from ocaml/opam:debian-unstable)
Unable to find image 'ocaml/opam:debian-unstable' locally
debian-unstable: Pulling from ocaml/opam
63563b31af74: Pulling fs layer
63563b31af74: Verifying Checksum
63563b31af74: Download complete
63563b31af74: Pull complete
Digest: sha256:8f6038a9795a3c7cc61b90b742e29558b247d69f92f73dea67cb146602ff83f6
Status: Downloaded newer image for ocaml/opam:debian-unstable
2025-02-23 22:50.14 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache

/: (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-02-23 22:50.14 ---> using "40df4fa4cdfc68a5fa7a326047e82a7adc5df52b8059d4a7b745bdd50aad56e7" from cache

/: (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 4022a684b64be8161a05cf897f492f8680792469"))
2025-02-23 22:50.14 ---> using "ced9ab1d6bac3c5f95cfdac2696c8d9202989b3f52ba62400bb20a10ac63d439" from cache

/: (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-02-23 22:50.14 ---> using "69f716af23f9139c4566fb0532f54e56ee4f6773c11e689dc47229d6a744c7e1" from cache

/: (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' '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)
2025-02-23 22:50.14 ---> using "8cb80bdf8c98b441ca1a62ad13717befd2e70e905b796cad3ff69df4d26bf351" from cache

/: (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-02-21-0817.39-F-2025-02-16-2015.54.pdiff [385 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-02-21-0817.39-F-2025-02-16-2015.54.pdiff [385 kB]
- Fetched 654 kB in 3s (260 kB/s)
- Reading package lists...
- 
2025-02-23 22:50.14 ---> using "aab064613a33ea1c8e4184107fb782b7e34e02d2710ba539b18cbd20a9d40c72" from cache

/: (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.17.2

The following actions will be performed:
=== install 1 package
  - install dune 3.17.2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.17.2  (cached)
-> installed dune.3.17.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-23 22:50.14 ---> using "ab68111ecaec8e96a659d3801d58f9f48b56993ae57778afc853e701c3286214" from cache

/: (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 "curl -fsSL https://get.dune.build/install | sh"))

#=#=#                                                                          
##O#-#                                                                         
                                                                           0.1%
                                                                           1.2%
##                                                                         3.1%
#########                                                                 12.7%
##################                                                        26.1%
##################################################################        92.4%
######################################################################## 100.0%
dune x86_64-unknown-linux-musl was installed successfully to ~/.local/bin/dune 

To use dune you will need to source the file "$HOME/.local/share/dune/env/env.bash" (or similar as appropriate for your shell)
  export PATH="/home/opam/.local/bin:$PATH" 

To get started, run: 
  dune --help 
2025-02-23 22:50.14 ---> using "91706ab83e18623d5f5c55809c19ede302298d1fa58d418458556ddcfa9179ed" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
        (network host)
        (shell  "PLACE=$(mktemp -d) && cd $PLACE && echo '(lang dune 3.17)\
               \n(package\
               \n  (name dummy)\
               \n  (allow_empty true)\
               \n  (depends (ocaml (= 5.3.0))))' > dune-project && PATH=$HOME/.local/bin:$PATH dune pkg lock && PATH=$HOME/.local/bin:$PATH dune build"))
Solution for dune.lock:
- ocaml.5.3.0
- ocaml-base-compiler.5.3.0
- ocaml-compiler.5.3.0
- ocaml-config.3
 Downloading ocaml-compiler.5.3.0
    Building ocaml-compiler.5.3.0
    Building ocaml-base-compiler.5.3.0
2025-02-23 22:50.14 ---> using "23d3c9485a3a95dd6f64bf73b0bd06b36016919a287108bba74001e847c99f7d" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
        (network host)
        (shell  "cd $HOME && opam source buffer-pool.0.2 && cd buffer-pool.0.2 && opam install ./ --depext-only --with-test && echo '(lang dune 3.17)\
               \n(lock_dir\
               \n (repositories overlay default ))\
               \n\
               \n(repository\
               \n (name default)\
               \n (url \"git+https://github.com/ocaml/opam-repository.git\"))\
               \n\
               \n\
               \n' > dune-workspace && PATH=$HOME/.local/bin:$PATH dune pkg lock && PATH=$HOME/.local/bin:$PATH dune build"))
Successfully extracted to /home/opam/buffer-pool.0.2
[WARNING] Failed checks on buffer-pool package definition from source at file:///home/opam/buffer-pool.0.2:
           warning 68: Missing field 'license'
Solution for dune.lock:
- afl-persistent.1.4
- base-bytes.base
- base-unix.base
- cmdliner.1.3.0
- cppo.1.8.0
- crowbar.0.2.1
- cstruct.6.2.0
- fmt.0.9.0
- ocaml.5.3.0
- ocaml-base-compiler.5.3.0
- ocaml-compiler.5.3.0
- ocaml-config.3
- ocamlbuild.0.15.0+dune
- ocamlfind.1.9.8+dune
- ocplib-endian.1.2
- topkg.1.0.7
 Downloading ocaml-compiler.5.3.0
    Building ocaml-compiler.5.3.0
    Building ocaml-base-compiler.5.3.0
    Building base-unix.base
    Building ocaml-config.3
    Building ocaml.5.3.0
 Downloading cmdliner.1.3.0
    Building cmdliner.1.3.0
 Downloading ocamlbuild.0.15.0+dune
 Downloading ocamlfind.1.9.8+dune
    Building ocamlbuild.0.15.0+dune
    Building ocamlfind.1.9.8+dune
 Downloading topkg.1.0.7
    Building topkg.1.0.7
 Downloading fmt.0.9.0
    Building fmt.0.9.0
 Downloading cstruct.6.2.0
    Building cstruct.6.2.0
    Building base-bytes.base
 Downloading cppo.1.8.0
    Building cppo.1.8.0
 Downloading afl-persistent.1.4
    Building afl-persistent.1.4
 Downloading ocplib-endian.1.2
    Building ocplib-endian.1.2
 Downloading crowbar.0.2.1
    Building crowbar.0.2.1
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I tests/.test.eobjs/byte -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/lib/ocaml/str -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/lib/ocaml/unix -I ../_private/default/.pkg/afl-persistent/target/lib/afl-persistent -I ../_private/default/.pkg/cmdliner/target/lib/cmdliner -I ../_private/default/.pkg/crowbar/target/lib/crowbar -I ../_private/default/.pkg/cstruct/target/lib/cstruct -I ../_private/default/.pkg/ocamlfind/target/lib/bytes -I ../_private/default/.pkg/ocplib-endian/target/lib/ocplib-endian -I src/.buffer_pool.objs/byte -intf-suffix .ml -no-alias-deps -opaque -o tests/.test.eobjs/byte/dune__exe__Test.cmo -c -impl tests/test.ml)
File "tests/test.ml", line 8, characters 12-39:
8 | module BP = Buffer_pool.Make(BP_buffer) 
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Modules do not match:
       sig
         type buffer =
             (char, Bigarray.int8_unsigned_elt, Bigarray.c_layout)
             Bigarray.Array1.t
         type t =
           Cstruct.t = private {
           buffer : buffer;
           off : int;
           len : int;
         }
         type byte = char
         val byte : int -> byte
         type uint8 = int
         type uint16 = uint8
         type uint32 = int32
         type uint64 = int64
         val empty : t
         val of_bigarray : ?off:uint8 -> ?len:uint8 -> buffer -> t
         val to_bigarray : t -> buffer
         val create : uint8 -> t
         val create_unsafe : uint8 -> t
         val of_string :
           ?allocator:(uint8 -> t) -> ?off:uint8 -> ?len:uint8 -> string -> t
         val of_bytes :
           ?allocator:(uint8 -> t) -> ?off:uint8 -> ?len:uint8 -> bytes -> t
         val of_hex : ?off:uint8 -> ?len:uint8 -> string -> t
         val equal : t -> t -> bool
         val compare : t -> t -> uint8
         val byte_to_int : byte -> uint8
         val check_bounds : t -> uint8 -> bool
         val check_alignment : t -> uint8 -> bool
         val get_char : t -> uint8 -> byte
         val get_uint8 : t -> uint8 -> uint8
         val set_char : t -> uint8 -> byte -> unit
         val set_uint8 : t -> uint8 -> uint8 -> unit
         val sub_copy : t -> uint8 -> uint8 -> t
         val shift : t -> uint8 -> t
         val copy : t -> uint8 -> uint8 -> string
         val blit : t -> uint8 -> t -> uint8 -> uint8 -> unit
         val blit_from_string :
           string -> uint8 -> t -> uint8 -> uint8 -> unit
         val blit_from_bytes : bytes -> uint8 -> t -> uint8 -> uint8 -> unit
         val blit_to_bytes : t -> uint8 -> bytes -> uint8 -> uint8 -> unit
         val memset : t -> uint8 -> unit
         val split : ?start:uint8 -> t -> uint8 -> t * t
         val to_string : ?off:uint8 -> ?len:uint8 -> t -> string
         val to_hex_string : ?off:uint8 -> ?len:uint8 -> t -> string
         val to_bytes : ?off:uint8 -> ?len:uint8 -> t -> bytes
         module BE = Cstruct.BE
         module LE = Cstruct.LE
         module HE = Cstruct.HE
         val hexdump : t -> unit
         val hexdump_to_buffer : Buffer.t -> t -> unit
         val hexdump_pp : Format.formatter -> t -> unit
         val debug : t -> string
         val lenv : t list -> uint8
         val copyv : t list -> string
         val fillv : src:t list -> dst:t -> uint8 * t list
         val shiftv : t list -> uint8 -> t list
         type 'a iter = unit -> 'a option
         val iter : (t -> uint8 option) -> (t -> 'a) -> t -> 'a iter
         val fold : ('b -> 'a -> 'b) -> 'a iter -> 'b -> 'b
         val append : t -> t -> t
         val concat : t list -> t
         val rev : t -> t
         val get : t -> uint8 -> byte
         val get_byte : t -> uint8 -> uint8
         val string : ?off:uint8 -> ?len:uint8 -> string -> t
         val buffer : ?off:uint8 -> ?len:uint8 -> buffer -> t
         val start_pos : t -> uint8
         val stop_pos : t -> uint8
         val length : t -> uint8
         val head : ?rev:bool -> t -> byte option
         val tail : ?rev:bool -> t -> t
         val is_empty : t -> bool
         val is_prefix : affix:t -> t -> bool
         val is_suffix : affix:t -> t -> bool
         val is_infix : affix:t -> t -> bool
         val for_all : (byte -> bool) -> t -> bool
         val exists : (byte -> bool) -> t -> bool
         val start : t -> t
         val stop : t -> t
         val trim : ?drop:(byte -> bool) -> t -> t
         val span :
           ?rev:bool ->
           ?min:uint8 -> ?max:uint8 -> ?sat:(byte -> bool) -> t -> t * t
         val take :
           ?rev:bool ->
           ?min:uint8 -> ?max:uint8 -> ?sat:(byte -> bool) -> t -> t
         val drop :
           ?rev:bool ->
           ?min:uint8 -> ?max:uint8 -> ?sat:(byte -> bool) -> t -> t
         val cut : ?rev:bool -> sep:t -> t -> (t * t) option
         val cuts : ?rev:bool -> ?empty:bool -> sep:t -> t -> t list
         val fields : ?empty:bool -> ?is_sep:(byte -> bool) -> t -> t list
         val find : ?rev:bool -> (byte -> bool) -> t -> t option
         val find_sub : ?rev:bool -> sub:t -> t -> t option
         val filter : (byte -> bool) -> t -> t
         val filter_map : (byte -> byte option) -> t -> t
         val map : (byte -> byte) -> t -> t
         val mapi : (uint8 -> byte -> byte) -> t -> t
         val sum_lengths : caller:string -> t list -> uint8
         val reset : t -> unit
         val sub : t -> uint8 -> uint8 -> t
       end
     is not included in Buffer_pool.Buffer
     The value "len" is required but not provided
     File "src/buffer_pool.mli", line 9, characters 2-20:
       Expected declaration
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I tests/.test.eobjs/byte -I tests/.test.eobjs/native -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/lib/ocaml/str -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/lib/ocaml/unix -I ../_private/default/.pkg/afl-persistent/target/lib/afl-persistent -I ../_private/default/.pkg/cmdliner/target/lib/cmdliner -I ../_private/default/.pkg/crowbar/target/lib/crowbar -I ../_private/default/.pkg/cstruct/target/lib/cstruct -I ../_private/default/.pkg/ocamlfind/target/lib/bytes -I ../_private/default/.pkg/ocplib-endian/target/lib/ocplib-endian -I src/.buffer_pool.objs/byte -I src/.buffer_pool.objs/native -intf-suffix .ml -no-alias-deps -opaque -o tests/.test.eobjs/native/dune__exe__Test.cmx -c -impl tests/test.ml)
File "tests/test.ml", line 8, characters 12-39:
8 | module BP = Buffer_pool.Make(BP_buffer) 
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Modules do not match:
       sig
         type buffer =
             (char, Bigarray.int8_unsigned_elt, Bigarray.c_layout)
             Bigarray.Array1.t
         type t =
           Cstruct.t = private {
           buffer : buffer;
           off : int;
           len : int;
         }
         type byte = char
         val byte : int -> byte
         type uint8 = int
         type uint16 = uint8
         type uint32 = int32
         type uint64 = int64
         val empty : t
         val of_bigarray : ?off:uint8 -> ?len:uint8 -> buffer -> t
         val to_bigarray : t -> buffer
         val create : uint8 -> t
         val create_unsafe : uint8 -> t
         val of_string :
           ?allocator:(uint8 -> t) -> ?off:uint8 -> ?len:uint8 -> string -> t
         val of_bytes :
           ?allocator:(uint8 -> t) -> ?off:uint8 -> ?len:uint8 -> bytes -> t
         val of_hex : ?off:uint8 -> ?len:uint8 -> string -> t
         val equal : t -> t -> bool
         val compare : t -> t -> uint8
         val byte_to_int : byte -> uint8
         val check_bounds : t -> uint8 -> bool
         val check_alignment : t -> uint8 -> bool
         val get_char : t -> uint8 -> byte
         val get_uint8 : t -> uint8 -> uint8
         val set_char : t -> uint8 -> byte -> unit
         val set_uint8 : t -> uint8 -> uint8 -> unit
         val sub_copy : t -> uint8 -> uint8 -> t
         val shift : t -> uint8 -> t
         val copy : t -> uint8 -> uint8 -> string
         val blit : t -> uint8 -> t -> uint8 -> uint8 -> unit
         val blit_from_string :
           string -> uint8 -> t -> uint8 -> uint8 -> unit
         val blit_from_bytes : bytes -> uint8 -> t -> uint8 -> uint8 -> unit
         val blit_to_bytes : t -> uint8 -> bytes -> uint8 -> uint8 -> unit
         val memset : t -> uint8 -> unit
         val split : ?start:uint8 -> t -> uint8 -> t * t
         val to_string : ?off:uint8 -> ?len:uint8 -> t -> string
         val to_hex_string : ?off:uint8 -> ?len:uint8 -> t -> string
         val to_bytes : ?off:uint8 -> ?len:uint8 -> t -> bytes
         module BE = Cstruct.BE
         module LE = Cstruct.LE
         module HE = Cstruct.HE
         val hexdump : t -> unit
         val hexdump_to_buffer : Buffer.t -> t -> unit
         val hexdump_pp : Format.formatter -> t -> unit
         val debug : t -> string
         val lenv : t list -> uint8
         val copyv : t list -> string
         val fillv : src:t list -> dst:t -> uint8 * t list
         val shiftv : t list -> uint8 -> t list
         type 'a iter = unit -> 'a option
         val iter : (t -> uint8 option) -> (t -> 'a) -> t -> 'a iter
         val fold : ('b -> 'a -> 'b) -> 'a iter -> 'b -> 'b
         val append : t -> t -> t
         val concat : t list -> t
         val rev : t -> t
         val get : t -> uint8 -> byte
         val get_byte : t -> uint8 -> uint8
         val string : ?off:uint8 -> ?len:uint8 -> string -> t
         val buffer : ?off:uint8 -> ?len:uint8 -> buffer -> t
         val start_pos : t -> uint8
         val stop_pos : t -> uint8
         val length : t -> uint8
         val head : ?rev:bool -> t -> byte option
         val tail : ?rev:bool -> t -> t
         val is_empty : t -> bool
         val is_prefix : affix:t -> t -> bool
         val is_suffix : affix:t -> t -> bool
         val is_infix : affix:t -> t -> bool
         val for_all : (byte -> bool) -> t -> bool
         val exists : (byte -> bool) -> t -> bool
         val start : t -> t
         val stop : t -> t
         val trim : ?drop:(byte -> bool) -> t -> t
         val span :
           ?rev:bool ->
           ?min:uint8 -> ?max:uint8 -> ?sat:(byte -> bool) -> t -> t * t
         val take :
           ?rev:bool ->
           ?min:uint8 -> ?max:uint8 -> ?sat:(byte -> bool) -> t -> t
         val drop :
           ?rev:bool ->
           ?min:uint8 -> ?max:uint8 -> ?sat:(byte -> bool) -> t -> t
         val cut : ?rev:bool -> sep:t -> t -> (t * t) option
         val cuts : ?rev:bool -> ?empty:bool -> sep:t -> t -> t list
         val fields : ?empty:bool -> ?is_sep:(byte -> bool) -> t -> t list
         val find : ?rev:bool -> (byte -> bool) -> t -> t option
         val find_sub : ?rev:bool -> sub:t -> t -> t option
         val filter : (byte -> bool) -> t -> t
         val filter_map : (byte -> byte option) -> t -> t
         val map : (byte -> byte) -> t -> t
         val mapi : (uint8 -> byte -> byte) -> t -> t
         val sum_lengths : caller:string -> t list -> uint8
         val reset : t -> unit
         val sub : t -> uint8 -> uint8 -> t
       end
     is not included in Buffer_pool.Buffer
     The value "len" is required but not provided
     File "src/buffer_pool.mli", line 9, characters 2-20:
       Expected declaration
"/usr/bin/env" "bash" "-c" "cd $HOME && opam source buffer-pool.0.2 && cd buffer-pool.0.2 && opam install ./ --depext-only --with-test && echo '(lang dune 3.17)
(lock_dir
 (repositories overlay default ))

(repository
 (name default)
 (url "git+https://github.com/ocaml/opam-repository.git"))


' > dune-workspace && PATH=$HOME/.local/bin:$PATH dune pkg lock && PATH=$HOME/.local/bin:$PATH dune build" failed with exit status 1
Failed: Build failed