Skip to content

dune build errors #3

Closed
Closed
@OlivierNicole

Description

@OlivierNicole

I'm trying to use the lin library in a project, but dune build is failing on current main (a7a032f at the time of writing):

File "lib/STM.ml", line 308, characters 23-32:
308 |     Test.make ~retries:rep_count ~count ~name:("parallel " ^ name ^ " (w/shrink retries)")
                             ^^^^^^^^^
Error: The function applied to this argument has type
         ?if_assumptions_fail:[ `Fatal | `Warning ] * float ->
         ?long_factor:int ->
         ?max_gen:int ->
         ?max_fail:int -> ?small:('a -> int) -> QCheck2.Test.t
This argument cannot be applied with label ~retries
File "lib/lin.ml", line 190, characters 30-31:
190 |     Test.make ~count ~retries:3 ~name:("Linearizable " ^ name)
                                    ^
Error: The function applied to this argument has type
         ?if_assumptions_fail:[ `Fatal | `Warning ] * float ->
         ?long_factor:int ->
         ?max_gen:int ->
         ?max_fail:int -> ?small:('a -> int) -> QCheck2.Test.t
This argument cannot be applied with label ~retries
File "/home/olivier/compiler/trunk/_opam/lib/lockfree/dune-package", line 1, characters 11-14:
1 | (lang dune 3.0)
               ^^^
Error: Version 3.0 of the dune language is not supported.
Supported versions of this extension in version 3.0 of the dune language:
- 1.0 to 1.12
- 2.0 to 2.9

I am currently looking for the causes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions