Start 2010-10-09T00:02:48 ActivePerl-818 CPAN-1.9402 Going to read '/Users/fly818/var/cpan/Metadata' Database was generated on Fri, 08 Oct 2010 21:29:34 GMT Running make for E/ET/ETHER/MooseX-AlwaysCoerce-0.12.tar.gz Fetching with LWP: http://cpan.nas.activestate.com/authors/id/E/ET/ETHER/MooseX-AlwaysCoerce-0.12.tar.gz Fetching with LWP: http://cpan.nas.activestate.com/authors/id/E/ET/ETHER/CHECKSUMS Checksum for /Users/fly818/var/cpan/sources/authors/id/E/ET/ETHER/MooseX-AlwaysCoerce-0.12.tar.gz ok Will not use Archive::Tar, need 1.00 MooseX-AlwaysCoerce-0.12/ MooseX-AlwaysCoerce-0.12/Changes MooseX-AlwaysCoerce-0.12/inc/ MooseX-AlwaysCoerce-0.12/lib/ MooseX-AlwaysCoerce-0.12/Makefile.PL MooseX-AlwaysCoerce-0.12/MANIFEST MooseX-AlwaysCoerce-0.12/MANIFEST.SKIP MooseX-AlwaysCoerce-0.12/META.yml MooseX-AlwaysCoerce-0.12/README MooseX-AlwaysCoerce-0.12/t/ MooseX-AlwaysCoerce-0.12/t/01-basic.t MooseX-AlwaysCoerce-0.12/t/02-mx-m-s.t MooseX-AlwaysCoerce-0.12/t/03-roles.t MooseX-AlwaysCoerce-0.12/t/04-parameterized-roles.t MooseX-AlwaysCoerce-0.12/t/pod.t MooseX-AlwaysCoerce-0.12/lib/MooseX/ MooseX-AlwaysCoerce-0.12/lib/MooseX/AlwaysCoerce.pm MooseX-AlwaysCoerce-0.12/inc/Module/ MooseX-AlwaysCoerce-0.12/inc/Module/AutoInstall.pm MooseX-AlwaysCoerce-0.12/inc/Module/Install/ MooseX-AlwaysCoerce-0.12/inc/Module/Install.pm MooseX-AlwaysCoerce-0.12/inc/Module/Install/AutoInstall.pm MooseX-AlwaysCoerce-0.12/inc/Module/Install/Base.pm MooseX-AlwaysCoerce-0.12/inc/Module/Install/Can.pm MooseX-AlwaysCoerce-0.12/inc/Module/Install/Fetch.pm MooseX-AlwaysCoerce-0.12/inc/Module/Install/Include.pm MooseX-AlwaysCoerce-0.12/inc/Module/Install/Makefile.pm MooseX-AlwaysCoerce-0.12/inc/Module/Install/Metadata.pm MooseX-AlwaysCoerce-0.12/inc/Module/Install/Win32.pm MooseX-AlwaysCoerce-0.12/inc/Module/Install/WriteAll.pm /usr/bin/tar: Read 512 bytes from - CPAN.pm: Going to build E/ET/ETHER/MooseX-AlwaysCoerce-0.12.tar.gz >>> /Users/fly818/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.96 >= 0.94) - Test::Exception ...loaded. (0.29) - Test::NoWarnings ...loaded. (1.02) - Test::Requires ...loaded. (0.06) - Moose ...loaded. (1.15) - namespace::autoclean ...loaded. (0.11) - MooseX::ClassAttribute ...loaded. (0.20) *** 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 ETHER/MooseX-AlwaysCoerce-0.12.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /Users/fly818/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 40. # died: Validation failed for 'Tuple[Tuple[Object],Dict[foo,Optional[MyType],bar,Optional[Uncoerced]]]' with value [ [ MyClass=HASH(0x1ccfde8) ], { bar: 42, foo: "text" } ], Internal Validation Error is: # [+] Validation failed for 'Dict[foo,Optional[MyType],bar,Optional[Uncoerced]]' with value { bar: 42, foo: "text" } # [+] Validation failed for 'Optional[MyType]' with value text at /Users/fly818/var/megalib/MooseX/Method/Signatures/Meta/Method.pm line 435 # MooseX::Method::Signatures::Meta::Method::validate('MooseX::Method::Signatures::Meta::Method=HASH(0x1ccfecc)', 'ARRAY(0x1ccfcf8)') called at /Users/fly818/var/megalib/MooseX/Method/Signatures/Meta/Method.pm line 151 # MyClass::foo('MyClass=HASH(0x1ccfde8)', 'foo', 'text', 'bar', 42) called at t/02-mx-m-s.t line 39 # main::__ANON__() called at /Users/fly818/var/megalib/Test/Exception.pm line 308 # eval {...} called at /Users/fly818/var/megalib/Test/Exception.pm line 308 # Test::Exception::lives_and('CODE(0x1ccfc8c)', 'method called with coerced and uncoerced parameters') called at t/02-mx-m-s.t line 40 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' with value bar at t/03-roles.t line 49 # main::__ANON__() called at /Users/fly818/var/megalib/Test/Exception.pm line 308 # eval {...} called at /Users/fly818/var/megalib/Test/Exception.pm line 308 # Test::Exception::lives_and('CODE(0x1aa0464)', '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, 18 wallclock secs ( 0.10 usr 0.09 sys + 11.15 cusr 0.89 csys = 12.23 CPU) Result: PASS ETHER/MooseX-AlwaysCoerce-0.12.tar.gz make test TEST_VERBOSE=1 -- OK Karen Etheridge <ether@cpan.org> Automatically enable coercions for Moose attributes >>> (cd /Users/fly818/var/cpan/build/MooseX-AlwaysCoerce-0.12-YFDsG6 && tar cvf - MooseX-AlwaysCoerce-0.12.ppd blib) | gzip -c >/Users/fly818/var/REPO/E/ET/ETHER/MooseX-AlwaysCoerce-0.12.tar.gz MooseX-AlwaysCoerce-0.12.ppd blib/ blib/lib/ blib/lib/MooseX/ blib/lib/MooseX/AlwaysCoerce.pm blib/man3/ blib/man3/MooseX::AlwaysCoerce.3 >>> mv /Users/fly818/var/cpan/build/MooseX-AlwaysCoerce-0.12-YFDsG6/MooseX-AlwaysCoerce-0.12.ppd /Users/fly818/var/REPO/E/ET/ETHER Finished 2010-10-09T00:03:26