Setting PATH to /opt/SUNWspro/bin:/usr/local/bin:/opt/csw/bin:/usr/ccs/bin:/usr/bin:/usr/sbin Start 2010-08-06T09:43:20 ActivePerl-1003 CPAN-1.9402 Going to read '/export/home/fly1003/var/cpan/Metadata' Database was generated on Thu, 05 Aug 2010 21:28:01 GMT Running make for R/RK/RKITOVER/MooseX-AlwaysCoerce-0.09.tar.gz Checksum for /net/nas/data/cpan/authors/id/R/RK/RKITOVER/MooseX-AlwaysCoerce-0.09.tar.gz ok Will not use Archive::Tar, need 1.00 MooseX-AlwaysCoerce-0.09/ MooseX-AlwaysCoerce-0.09/t/ MooseX-AlwaysCoerce-0.09/t/02-mx-m-s.t MooseX-AlwaysCoerce-0.09/t/01-basic.t MooseX-AlwaysCoerce-0.09/t/04-parameterized-roles.t MooseX-AlwaysCoerce-0.09/t/pod.t MooseX-AlwaysCoerce-0.09/t/03-roles.t MooseX-AlwaysCoerce-0.09/inc/ MooseX-AlwaysCoerce-0.09/inc/Module/ MooseX-AlwaysCoerce-0.09/inc/Module/Install/ MooseX-AlwaysCoerce-0.09/inc/Module/Install/Metadata.pm MooseX-AlwaysCoerce-0.09/inc/Module/Install/Base.pm MooseX-AlwaysCoerce-0.09/inc/Module/Install/Fetch.pm MooseX-AlwaysCoerce-0.09/inc/Module/Install/Makefile.pm MooseX-AlwaysCoerce-0.09/inc/Module/Install/Can.pm MooseX-AlwaysCoerce-0.09/inc/Module/Install/Include.pm MooseX-AlwaysCoerce-0.09/inc/Module/Install/WriteAll.pm MooseX-AlwaysCoerce-0.09/inc/Module/Install/AutoInstall.pm MooseX-AlwaysCoerce-0.09/inc/Module/Install/Win32.pm MooseX-AlwaysCoerce-0.09/inc/Module/Install.pm MooseX-AlwaysCoerce-0.09/inc/Module/AutoInstall.pm MooseX-AlwaysCoerce-0.09/META.yml MooseX-AlwaysCoerce-0.09/README MooseX-AlwaysCoerce-0.09/lib/ MooseX-AlwaysCoerce-0.09/lib/MooseX/ MooseX-AlwaysCoerce-0.09/lib/MooseX/AlwaysCoerce.pm MooseX-AlwaysCoerce-0.09/Changes MooseX-AlwaysCoerce-0.09/Makefile.PL MooseX-AlwaysCoerce-0.09/MANIFEST CPAN.pm: Going to build R/RK/RKITOVER/MooseX-AlwaysCoerce-0.09.tar.gz >>> /export/home/fly1003/bin/perl Makefile.PL Cannot determine perl version info from lib/MooseX/AlwaysCoerce.pm *** Module::AutoInstall version 1.03 *** Checking for Perl dependencies... *** Since we're running under CPAN, I'll just let it take care of the dependency's installation later. [Core Features] - Test::More ...loaded. (0.94 >= 0.94) - Test::Exception ...loaded. (0.29) - Test::NoWarnings ...loaded. (1.01) - Moose ...loaded. (1.02) - namespace::autoclean ...loaded. (0.11) - MooseX::ClassAttribute ...loaded. (0.16) *** Module::AutoInstall configuration finished. Checking if your kit is complete... Looks good Writing Makefile for MooseX::AlwaysCoerce >>> make cp lib/MooseX/AlwaysCoerce.pm blib/lib/MooseX/AlwaysCoerce.pm Manifying blib/man3/MooseX::AlwaysCoerce.3 RKITOVER/MooseX-AlwaysCoerce-0.09.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /export/home/fly1003/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'inc', 'blib/lib', 'blib/arch')" t/01-basic.t t/02-mx-m-s.t t/03-roles.t t/04-parameterized-roles.t t/pod.t t/01-basic.t ................ 1..10 ok 1 - instance ok 2 - attribute coercion ran ok 3 - class attribute coercion ran ok 4 - class attribute coercion did not run with coerce => 0 ok 5 - attribute coercion did not run with coerce => 0 ok 6 - set attribute having type with no coercion and no coerce=0 ok 7 - set class attribute having type with no coercion and no coerce=0 ok 8 - set untyped attribute ok 9 - set untyped class attribute ok 10 - no warnings ok t/02-mx-m-s.t ............... 1..3 ok 1 - instance not ok 2 - method called with coerced and uncoerced parameters # TODO need rafl to help with implementation # Failed (TODO) test 'method called with coerced and uncoerced parameters' # at t/02-mx-m-s.t line 44. # died: Validation failed for 'MooseX::Types::Structured::Tuple[MooseX::Types::Structured::Tuple[Object],MooseX::Types::Structured::Dict[foo,MooseX::Types::Structured::Optional[MyType],bar,MooseX::Types::Structured::Optional[Uncoerced]]]' failed with value [ [ MyClass=HASH(0xf00f70) ], { bar: 42, foo: "text" } ], Internal Validation Error is: Validation failed for 'MooseX::Types::Structured::Dict[foo,MooseX::Types::Structured::Optional[MyType],bar,MooseX::Types::Structured::Optional[Uncoerced]]' failed with value { bar: 42, foo: "text" } at /export/home/fly1003/var/megalib/MooseX/Method/Signatures/Meta/Method.pm line 435 # MooseX::Method::Signatures::Meta::Method::validate('MooseX::Method::Signatures::Meta::Method=HASH(0xf01040)', 'ARRAY(0xf00e00)') called at /export/home/fly1003/var/megalib/MooseX/Method/Signatures/Meta/Method.pm line 151 # MyClass::foo('MyClass=HASH(0xf00f70)', 'foo', 'text', 'bar', 42) called at t/02-mx-m-s.t line 43 # main::__ANON__() called at /export/home/fly1003/var/megalib/Test/Exception.pm line 308 # eval {...} called at /export/home/fly1003/var/megalib/Test/Exception.pm line 308 # Test::Exception::lives_and('CODE(0x1dc0a8)', 'method called with coerced and uncoerced parameters') called at t/02-mx-m-s.t line 44 ok 3 - no warnings ok t/03-roles.t ................ 1..10 ok 1 - instance not ok 2 - attribute coercion ran # TODO waiting on Moose changes for role support # Failed (TODO) test 'attribute coercion ran' # at t/03-roles.t line 51. # died: Attribute (foo) does not pass the type constraint because: Validation failed for 'MyType' failed with value bar at t/03-roles.t line 49 # main::__ANON__() called at /export/home/fly1003/var/megalib/Test/Exception.pm line 308 # eval {...} called at /export/home/fly1003/var/megalib/Test/Exception.pm line 308 # Test::Exception::lives_and('CODE(0x1dc468)', 'attribute coercion ran') called at t/03-roles.t line 51 ok 3 - class attribute coercion ran ok 4 - class attribute coercion did not run with coerce => 0 ok 5 - attribute coercion did not run with coerce => 0 ok 6 - set attribute having type with no coercion and no coerce=0 ok 7 - set class attribute having type with no coercion and no coerce=0 ok 8 - set untyped attribute ok 9 - set untyped class attribute ok 10 - no warnings ok t/04-parameterized-roles.t .. skipped: MooseX::ClassAttribute is currently incompatible with MooseX::Role::Parameterized t/pod.t ..................... 1..1 ok 1 - POD test for blib/lib/MooseX/AlwaysCoerce.pm ok All tests successful. Files=5, Tests=24, 9 wallclock secs ( 0.13 usr 0.04 sys + 7.13 cusr 0.42 csys = 7.72 CPU) Result: PASS RKITOVER/MooseX-AlwaysCoerce-0.09.tar.gz make test TEST_VERBOSE=1 -- OK Rafael Kitover <rkitover@io.com> Automatically enable coercions for Moose attributes >>> (cd /export/home/fly1003/var/cpan/build/MooseX-AlwaysCoerce-0.09-n3O3bG && tar cvf - MooseX-AlwaysCoerce-0.09.ppd blib) | gzip -c >/export/home/fly1003/var/REPO/R/RK/RKITOVER/MooseX-AlwaysCoerce-0.09.tar.gz MooseX-AlwaysCoerce-0.09.ppd blib/ blib/lib/ blib/lib/MooseX/ blib/lib/MooseX/AlwaysCoerce.pm blib/man3/ blib/man3/MooseX::AlwaysCoerce.3 >>> mv /export/home/fly1003/var/cpan/build/MooseX-AlwaysCoerce-0.09-n3O3bG/MooseX-AlwaysCoerce-0.09.ppd /export/home/fly1003/var/REPO/R/RK/RKITOVER Finished 2010-08-06T09:43:42