Setting PATH to /opt/SUNWspro/bin:/usr/local/bin:/opt/csw/bin:/usr/ccs/bin:/usr/bin:/usr/sbin Start 2010-07-29T08:19:44 ActivePerl-818 CPAN-1.9402 Going to read '/export/home/fly818/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 Checksum for /net/nas/data/cpan/authors/id/R/RK/RKITOVER/MooseX-AlwaysCoerce-0.06.tar.gz ok Will not use Archive::Tar, need 1.00 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 >>> /export/home/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.94 >= 0.94) - Test::Exception ...loaded. (0.29) - 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.06.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /export/home/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/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 '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(0xfcd918) ], { 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/fly818/var/megalib/MooseX/Method/Signatures/Meta/Method.pm line 435 # MooseX::Method::Signatures::Meta::Method::validate('MooseX::Method::Signatures::Meta::Method=HASH(0xfcda38)', 'ARRAY(0xfcd87c)') called at /export/home/fly818/var/megalib/MooseX/Method/Signatures/Meta/Method.pm line 151 # MyClass::foo('MyClass=HASH(0xfcd918)', 'foo', 'text', 'bar', 42) called at t/02-mx-m-s.t line 41 # main::__ANON__() called at /export/home/fly818/var/megalib/Test/Exception.pm line 308 # eval {...} called at /export/home/fly818/var/megalib/Test/Exception.pm line 308 # Test::Exception::lives_and('CODE(0xfcd9e4)', '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.11 usr 0.02 sys + 4.59 cusr 0.23 csys = 4.95 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 /export/home/fly818/var/cpan/build/MooseX-AlwaysCoerce-0.06-P1FFsd && tar cvf - MooseX-AlwaysCoerce-0.06.ppd blib) | gzip -c >/export/home/fly818/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 /export/home/fly818/var/cpan/build/MooseX-AlwaysCoerce-0.06-P1FFsd/MooseX-AlwaysCoerce-0.06.ppd /export/home/fly818/var/REPO/R/RK/RKITOVER Finished 2010-07-29T08:20:01