Start 2010-07-29T12:15:44 ActivePerl-1200 CPAN-1.9402 Going to read '/Users/fly1200/var/cpan/Metadata' Database was generated on Wed, 28 Jul 2010 21:27:03 GMT Running make for R/RK/RKITOVER/MooseX-AlwaysCoerce-0.06.tar.gz Fetching with LWP: http://cpan.nas.activestate.com/authors/id/R/RK/RKITOVER/MooseX-AlwaysCoerce-0.06.tar.gz Fetching with LWP: http://cpan.nas.activestate.com/authors/id/R/RK/RKITOVER/CHECKSUMS Checksum for /Users/fly1200/var/cpan/sources/authors/id/R/RK/RKITOVER/MooseX-AlwaysCoerce-0.06.tar.gz ok MooseX-AlwaysCoerce-0.06/ MooseX-AlwaysCoerce-0.06/t/ MooseX-AlwaysCoerce-0.06/t/02-mx-m-s.t MooseX-AlwaysCoerce-0.06/t/01-basic.t MooseX-AlwaysCoerce-0.06/t/pod.t MooseX-AlwaysCoerce-0.06/inc/ MooseX-AlwaysCoerce-0.06/inc/Module/ MooseX-AlwaysCoerce-0.06/inc/Module/Install/ MooseX-AlwaysCoerce-0.06/inc/Module/Install/Metadata.pm MooseX-AlwaysCoerce-0.06/inc/Module/Install/Base.pm MooseX-AlwaysCoerce-0.06/inc/Module/Install/Fetch.pm MooseX-AlwaysCoerce-0.06/inc/Module/Install/Makefile.pm MooseX-AlwaysCoerce-0.06/inc/Module/Install/Can.pm MooseX-AlwaysCoerce-0.06/inc/Module/Install/Include.pm MooseX-AlwaysCoerce-0.06/inc/Module/Install/WriteAll.pm MooseX-AlwaysCoerce-0.06/inc/Module/Install/AutoInstall.pm MooseX-AlwaysCoerce-0.06/inc/Module/Install/Win32.pm MooseX-AlwaysCoerce-0.06/inc/Module/Install.pm MooseX-AlwaysCoerce-0.06/inc/Module/AutoInstall.pm MooseX-AlwaysCoerce-0.06/META.yml MooseX-AlwaysCoerce-0.06/README MooseX-AlwaysCoerce-0.06/lib/ MooseX-AlwaysCoerce-0.06/lib/MooseX/ MooseX-AlwaysCoerce-0.06/lib/MooseX/AlwaysCoerce.pm MooseX-AlwaysCoerce-0.06/Changes MooseX-AlwaysCoerce-0.06/Makefile.PL MooseX-AlwaysCoerce-0.06/MANIFEST CPAN.pm: Going to build R/RK/RKITOVER/MooseX-AlwaysCoerce-0.06.tar.gz >>> /Users/fly1200/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) - Moose ...loaded. (1.09) - 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.06.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /Users/fly1200/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/pod.t t/01-basic.t ... 1..7 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 t/02-mx-m-s.t .. 1..2 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 42. # died: Validation failed for 'Tuple[Tuple[Object],Dict[foo,Optional[MyType],bar,Optional[Uncoerced]]]' with value [ [ MyClass=HASH(0x1be8220) ], { 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/fly1200/var/megalib/MooseX/Method/Signatures/Meta/Method.pm line 435 # MooseX::Method::Signatures::Meta::Method::validate('MooseX::Method::Signatures::Meta::Method=HASH(0x1817ed0)', 'ARRAY(0x1be8440)') called at /Users/fly1200/var/megalib/MooseX/Method/Signatures/Meta/Method.pm line 151 # MyClass::foo('MyClass=HASH(0x1be8220)', 'foo', 'text', 'bar', 42) called at t/02-mx-m-s.t line 41 # main::__ANON__() called at /Users/fly1200/var/megalib/Test/Exception.pm line 308 # eval {...} called at /Users/fly1200/var/megalib/Test/Exception.pm line 308 # Test::Exception::lives_and('CODE(0x1be83b0)', 'method called with coerced and uncoerced parameters') called at t/02-mx-m-s.t line 42 ok t/pod.t ........ 1..1 ok 1 - POD test for blib/lib/MooseX/AlwaysCoerce.pm ok All tests successful. Files=3, Tests=10, 5 wallclock secs ( 0.08 usr 0.06 sys + 3.44 cusr 0.40 csys = 3.98 CPU) Result: PASS RKITOVER/MooseX-AlwaysCoerce-0.06.tar.gz make test TEST_VERBOSE=1 -- OK Rafael Kitover <rkitover@io.com> Automatically enable coercions for Moose attributes >>> (cd /Users/fly1200/var/cpan/build/MooseX-AlwaysCoerce-0.06-0IiobH && tar cvf - MooseX-AlwaysCoerce-0.06.ppd blib) | gzip -c >/Users/fly1200/var/REPO/R/RK/RKITOVER/MooseX-AlwaysCoerce-0.06.tar.gz MooseX-AlwaysCoerce-0.06.ppd blib/ blib/lib/ blib/lib/MooseX/ blib/lib/MooseX/AlwaysCoerce.pm blib/man3/ blib/man3/MooseX::AlwaysCoerce.3 >>> mv /Users/fly1200/var/cpan/build/MooseX-AlwaysCoerce-0.06-0IiobH/MooseX-AlwaysCoerce-0.06.ppd /Users/fly1200/var/REPO/R/RK/RKITOVER Finished 2010-07-29T12:16:00