Installing Type::Tiny 1.0.2 and this - guessing it only works with newer versions
of Moose
t/30-integration/Moose/basic.t ............................ ok
t/30-integration/Moose/coercion.t ......................... skipped: Moose version 2.12 required--this is only version 2.0802 at (eval 5) line 2.
t/30-integration/Moose/inflate-then-inline.t .............. ok
# Failed test 'pushing ok values'
# at t/30-integration/Moose/native-attribute-traits.t line 210.
# got: 'Attribute (things) does not pass the type constraint because: Undef did not pass type constraint at native delegation method MyCollection3::add (push) of attribute things (defined at t/30-integration/Moose/native-attribute-traits.t line 105) line 9.
# MyCollection3::add('MyCollection3=HASH(0x2edc390)', 1) called at t/30-integration/Moose/native-attribute-traits.t line 205
# main::__ANON__() called at /root/.cpanm/work/1408399772.10881/Type-Tiny-1.000002/inc/Test/Fatal.pm line 23
# Test::Fatal::try {...} () called at /root/.cpanm/work/1408399772.10881/Type-Tiny-1.000002/inc/Try/Tiny.pm line 77
# eval {...} called at /root/.cpanm/work/1408399772.10881/Type-Tiny-1.000002/inc/Try/Tiny.pm line 73
# Try::Tiny::try('CODE(0x2edc0d8)', 'Try::Tiny::Catch=REF(0x2f42890)') called at /root/.cpanm/work/1408399772.10881/Type-Tiny-1.000002/inc/Test/Fatal.pm line 30
# Test::Fatal::exception('CODE(0x2ead590)') called at t/30-integration/Moose/native-attribute-traits.t line 210
# main::__ANON__() called at /usr/share/perl/5.10/Test/Builder.pm line 258
# Test::Builder::__ANON__() called at /usr/share/perl/5.10/Test/Builder.pm line 263
# eval {...} called at /usr/share/perl/5.10/Test/Builder.pm line 263
# Test::Builder::subtest('Test::Builder=HASH(0x1ab1b70)', 'Array trait with type ArrayRef[InstanceOf] and coercion and s...', 'CODE(0x2e81fe0)') called at /usr/share/perl/5.10/Test/More.pm line 770
# Test::More::subtest('Array trait with type ArrayRef[InstanceOf] and coercion and s...', 'CODE(0x2e81fe0)') called at t/30-integration/Moose/native-attribute-traits.t line 219
# main::__ANON__() called at /usr/local/lib/perl/5.10.1/Test/Moose.pm line 82
# Test::Moose::with_immutable('CODE(0x25bacd0)', 'MyCollection', 'MyHashes', 'Mini::Milk') called at t/30-integration/Moose/native-attribute-traits.t line 302
# '
# expected: undef
# Failed test ''$things->[1]' isa 'Mini::Milk''
# at t/30-integration/Moose/native-attribute-traits.t line 216.
# '$things->[1]' isn't defined
Can't call method "i" on an undefined value at t/30-integration/Moose/native-attribute-traits.t line 217.
# Child (Array trait with type ArrayRef[InstanceOf] and coercion and subtyping) exited without calling finalize()
# Failed test 'Array trait with type ArrayRef[InstanceOf] and coercion and subtyping'
# at /usr/share/perl/5.10/Test/Builder.pm line 276.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 29 just after 3.
t/30-integration/Moose/native-attribute-traits.t ..........
Dubious, test returned 29 (wstat 7424, 0x1d00)
Failed 1/3 subtests
t/30-integration/MooseX-Getopt/coercion.t ................. skipped: MooseX::Getopt version 0.63 required--this is only version 0.56 at (eval 175) line 2.