PATH=/usr/bin:/bin Start 2011-03-16T18:00:26 ActivePerl-1003 CPAN-1.9402 Going to read '/home/fly1003/var/cpan/Metadata' Database was generated on Wed, 16 Mar 2011 20:34:32 GMT Running make for E/ET/ETHER/MooseX-AlwaysCoerce-0.16.tar.gz Checksum for /net/nas/data/cpan/authors/id/E/ET/ETHER/MooseX-AlwaysCoerce-0.16.tar.gz ok Will not use Archive::Tar, need 1.00 MooseX-AlwaysCoerce-0.16/ MooseX-AlwaysCoerce-0.16/Changes MooseX-AlwaysCoerce-0.16/inc/ MooseX-AlwaysCoerce-0.16/lib/ MooseX-AlwaysCoerce-0.16/Makefile.PL MooseX-AlwaysCoerce-0.16/MANIFEST MooseX-AlwaysCoerce-0.16/MANIFEST.skip MooseX-AlwaysCoerce-0.16/META.yml MooseX-AlwaysCoerce-0.16/README MooseX-AlwaysCoerce-0.16/t/ MooseX-AlwaysCoerce-0.16/t/01-basic.t MooseX-AlwaysCoerce-0.16/t/02-mx-m-s.t MooseX-AlwaysCoerce-0.16/t/03-roles.t MooseX-AlwaysCoerce-0.16/t/04-parameterized-roles.t MooseX-AlwaysCoerce-0.16/t/pod.t MooseX-AlwaysCoerce-0.16/lib/MooseX/ MooseX-AlwaysCoerce-0.16/lib/MooseX/AlwaysCoerce.pm MooseX-AlwaysCoerce-0.16/inc/Module/ MooseX-AlwaysCoerce-0.16/inc/Module/AutoInstall.pm MooseX-AlwaysCoerce-0.16/inc/Module/Install/ MooseX-AlwaysCoerce-0.16/inc/Module/Install.pm MooseX-AlwaysCoerce-0.16/inc/Module/Install/AutoInstall.pm MooseX-AlwaysCoerce-0.16/inc/Module/Install/Base.pm MooseX-AlwaysCoerce-0.16/inc/Module/Install/Can.pm MooseX-AlwaysCoerce-0.16/inc/Module/Install/Fetch.pm MooseX-AlwaysCoerce-0.16/inc/Module/Install/Include.pm MooseX-AlwaysCoerce-0.16/inc/Module/Install/Makefile.pm MooseX-AlwaysCoerce-0.16/inc/Module/Install/Metadata.pm MooseX-AlwaysCoerce-0.16/inc/Module/Install/Win32.pm /bin/tar: Read 3072 bytes from - MooseX-AlwaysCoerce-0.16/inc/Module/Install/WriteAll.pm CPAN.pm: Going to build E/ET/ETHER/MooseX-AlwaysCoerce-0.16.tar.gz >>> /home/fly1003/ap1003/bin/perl-static 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.98 >= 0.94) - Test::Fatal ...loaded. (0.003) - Test::NoWarnings ...loaded. (1.02) - Test::Requires ...loaded. (0.06) - Moose ...loaded. (1.24) - namespace::autoclean ...loaded. (0.12 >= 0.12) - MooseX::ClassAttribute ...loaded. (0.24 >= 0.24) - Package::Stash ...loaded. (0.26 >= 0.26) *** 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.16.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /home/fly1003/ap1003/bin/perl-static "-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..16 ok 1 - instance ok 2 ok 3 - attribute coercion ran ok 4 ok 5 - class attribute coercion ran ok 6 - class attribute coercion did not run with coerce => 0 ok 7 - attribute coercion did not run with coerce => 0 ok 8 ok 9 - set attribute having type with no coercion and no coerce=0 ok 10 ok 11 - set class attribute having type with no coercion and no coerce=0 ok 12 ok 13 - set untyped attribute ok 14 ok 15 - set untyped class attribute ok 16 - 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. # got: 'Validation failed for 'Tuple[Tuple[Object],Dict[foo,Optional[MyType],bar,Optional[Uncoerced]]]' with value [ [ MyClass=HASH(0x1f57478) ], { 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 /home/fly1003/var/megalib/MooseX/Method/Signatures/Meta/Method.pm line 435 # MooseX::Method::Signatures::Meta::Method::validate('MooseX::Method::Signatures::Meta::Method=HASH(0x1f57898)', 'ARRAY(0x1f57508)') called at /home/fly1003/var/megalib/MooseX/Method/Signatures/Meta/Method.pm line 151 # MyClass::foo('MyClass=HASH(0x1f57478)', 'foo', 'text', 'bar', 42) called at t/02-mx-m-s.t line 39 # main::__ANON__() called at /home/fly1003/var/megalib/Test/Fatal.pm line 23 # Test::Fatal::__ANON__() called at /home/fly1003/var/megalib/Try/Tiny.pm line 71 # eval {...} called at /home/fly1003/var/megalib/Try/Tiny.pm line 67 # Try::Tiny::try('CODE(0x1f57bc8)', 'Try::Tiny::Catch=REF(0x1f405d0)') called at /home/fly1003/var/megalib/Test/Fatal.pm line 30 # Test::Fatal::exception('CODE(0x1f57778)') called at t/02-mx-m-s.t line 40 # ' # expected: undef ok 3 - no warnings ok t/03-roles.t ................ 1..16 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 50. # got: '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 /home/fly1003/var/megalib/Test/Fatal.pm line 23 # Test::Fatal::__ANON__() called at /home/fly1003/var/megalib/Try/Tiny.pm line 71 # eval {...} called at /home/fly1003/var/megalib/Try/Tiny.pm line 67 # Try::Tiny::try('CODE(0x1435970)', 'Try::Tiny::Catch=REF(0x14aee10)') called at /home/fly1003/var/megalib/Test/Fatal.pm line 30 # Test::Fatal::exception('CODE(0x1451308)') called at t/03-roles.t line 50 # ' # expected: undef not ok 3 # TODO waiting on Moose changes for role support # Failed (TODO) test at t/03-roles.t line 51. # got: undef # expected: '3' ok 4 ok 5 - class attribute coercion ran ok 6 - class attribute coercion did not run with coerce => 0 ok 7 - attribute coercion did not run with coerce => 0 ok 8 ok 9 - set attribute having type with no coercion and no coerce=0 ok 10 ok 11 - set class attribute having type with no coercion and no coerce=0 ok 12 ok 13 - set untyped attribute ok 14 ok 15 - set untyped class attribute ok 16 - no warnings ok t/04-parameterized-roles.t .. 1..12 ok 1 - instance not ok 2 - attribute coercion ran # TODO waiting on Moose changes for role support, and ClassAttribute changes for paramterized role support # Failed (TODO) test 'attribute coercion ran' # at t/04-parameterized-roles.t line 59. # got: 'Attribute (foo) does not pass the type constraint because: Validation failed for 'MyType' with value bar at t/04-parameterized-roles.t line 57 # main::__ANON__() called at /home/fly1003/var/megalib/Test/Fatal.pm line 23 # Test::Fatal::__ANON__() called at /home/fly1003/var/megalib/Try/Tiny.pm line 71 # eval {...} called at /home/fly1003/var/megalib/Try/Tiny.pm line 67 # Try::Tiny::try('CODE(0x15c26d0)', 'Try::Tiny::Catch=REF(0x1557598)') called at /home/fly1003/var/megalib/Test/Fatal.pm line 30 # Test::Fatal::exception('CODE(0x1277900)') called at t/04-parameterized-roles.t line 59 # ' # expected: undef not ok 3 - class attribute coercion ran # TODO waiting on Moose changes for role support, and ClassAttribute changes for paramterized role support # Failed (TODO) test 'class attribute coercion ran' # at t/04-parameterized-roles.t line 64. # got: 'Can't locate object method "bar" via package "MyClass" at t/04-parameterized-roles.t line 62. # ' # expected: undef ok 4 - class attribute coercion did not run with coerce => 0 # TODO waiting on Moose changes for role support, and ClassAttribute changes for paramterized role support ok 5 - attribute coercion did not run with coerce => 0 # TODO waiting on Moose changes for role support, and ClassAttribute changes for paramterized role support ok 6 # TODO waiting on Moose changes for role support, and ClassAttribute changes for paramterized role support ok 7 - set attribute having type with no coercion and no coerce=0 # TODO waiting on Moose changes for role support, and ClassAttribute changes for paramterized role support not ok 8 - set class attribute having type with no coercion and no coerce=0 # TODO waiting on Moose changes for role support, and ClassAttribute changes for paramterized role support # Failed (TODO) test 'set class attribute having type with no coercion and no coerce=0' # at t/04-parameterized-roles.t line 78. # got: 'Can't locate object method "uncoerced_class_attr" via package "MyClass" at t/04-parameterized-roles.t line 76. # ' # expected: undef ok 9 # TODO waiting on Moose changes for role support, and ClassAttribute changes for paramterized role support ok 10 - set untyped attribute # TODO waiting on Moose changes for role support, and ClassAttribute changes for paramterized role support not ok 11 - set untyped class attribute # TODO waiting on Moose changes for role support, and ClassAttribute changes for paramterized role support # Failed (TODO) test 'set untyped class attribute' # at t/04-parameterized-roles.t line 88. # got: 'Can't locate object method "untyped_class_attr" via package "MyClass" at t/04-parameterized-roles.t line 86. # ' # expected: undef ok 12 - no warnings ok t/pod.t ..................... 1..1 ok 1 - POD test for blib/lib/MooseX/AlwaysCoerce.pm ok All tests successful. Test Summary Report ------------------- t/04-parameterized-roles.t (Wstat: 0 Tests: 12 Failed: 0) TODO passed: 4-7, 9-10 Files=5, Tests=48, 3 wallclock secs ( 0.03 usr 0.03 sys + 1.67 cusr 0.39 csys = 2.12 CPU) Result: PASS ETHER/MooseX-AlwaysCoerce-0.16.tar.gz make test TEST_VERBOSE=1 -- OK Karen Etheridge <ether@cpan.org> Automatically enable coercions for Moose attributes >>> (cd /home/fly1003/var/cpan/build/MooseX-AlwaysCoerce-0.16-NKrbBG && tar cvf - MooseX-AlwaysCoerce-0.16.ppd blib) | gzip -c >/home/fly1003/var/REPO/E/ET/ETHER/MooseX-AlwaysCoerce-0.16.tar.gz MooseX-AlwaysCoerce-0.16.ppd blib/ blib/lib/ blib/lib/MooseX/ blib/lib/MooseX/AlwaysCoerce.pm blib/man3/ blib/man3/MooseX::AlwaysCoerce.3 >>> mv /home/fly1003/var/cpan/build/MooseX-AlwaysCoerce-0.16-NKrbBG/MooseX-AlwaysCoerce-0.16.ppd /home/fly1003/var/REPO/E/ET/ETHER Finished 2011-03-16T18:00:32