Thread overview
dub dustmite
Dec 12, 2014
Vlad Levenfeld
Dec 12, 2014
Jacob Carlborg
Dec 14, 2014
MrSmith
Dec 14, 2014
Vlad Levenfeld
December 12, 2014
I'm trying to reduce a bug with dub dustmite feature and I must be doing it wrong somehow, my regular dub output looks like this:

  source/experimental.d(2403): Error: struct experimental.Product!(int[], int[]).Product no size yet for forward reference
ulong[2]
  source/experimental.d(2454): Error: template instance experimental.Product!(int[], int[]) error instantiating
  source/experimental.d(2462):        instantiated from here: by!(int[], int[])
  FAIL .dub/build/application-debug-linux.posix-x86_64-dmd_2067-44246AA2375AB6C7D895600135F734E4/ engine_vx executable
  Error executing command run:
  dmd failed with exit code 1.

and then when I run this command

  dub dustmite ~/dubdust --compiler-regex="Product no size yet"

I get

  Executing dustmite...
  None => No
  object.Exception@dustmite.d(243): Initial test fails

It seems like a pretty simple case, I'm not sure what's going on.
December 12, 2014
On 2014-12-12 05:25, Vlad Levenfeld wrote:

> I get
>
>    Executing dustmite...
>    None => No
>    object.Exception@dustmite.d(243): Initial test fails
>
> It seems like a pretty simple case, I'm not sure what's going on.

I get the same error as well every time I use dustmite. At lease via Dub.

-- 
/Jacob Carlborg
December 14, 2014
On Friday, 12 December 2014 at 04:25:01 UTC, Vlad Levenfeld wrote:
> I'm trying to reduce a bug with dub dustmite feature and I must be doing it wrong somehow, my regular dub output looks like this:
>
>   source/experimental.d(2403): Error: struct experimental.Product!(int[], int[]).Product no size yet for forward reference
> ulong[2]
>   source/experimental.d(2454): Error: template instance experimental.Product!(int[], int[]) error instantiating
>   source/experimental.d(2462):        instantiated from here: by!(int[], int[])
>   FAIL .dub/build/application-debug-linux.posix-x86_64-dmd_2067-44246AA2375AB6C7D895600135F734E4/ engine_vx executable
>   Error executing command run:
>   dmd failed with exit code 1.
>
> and then when I run this command
>
>   dub dustmite ~/dubdust --compiler-regex="Product no size yet"
>
> I get
>
>   Executing dustmite...
>   None => No
>   object.Exception@dustmite.d(243): Initial test fails
>
> It seems like a pretty simple case, I'm not sure what's going on.

Try using --combined. This will test all packages at the same time if you have dependencies.
December 14, 2014
No luck, unfortunately.