fleetfootmike/MX-AbstractFactory — Issue #3: doesn't work on Moose 2.04
Author: xenoterracide
Created: 2011-11-25 20:50:24+00:00
State: open

cpanm (App::cpanminus) 1.5005 on perl 5.014002 built for x86_64-linux
Work directory is /home/ccushing/.cpanm/work/1322254134.13549
You have make /usr/bin/make
You have LWP 6.03
You have /bin/tar: tar (GNU tar) 1.26
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later .
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
Searching MooseX::AbstractFactory on cpanmetadb ...
--> Working on MooseX::AbstractFactory
Fetching http://projects.hostgator.com/~gpan/authors/id/P/PE/PENFOLD/MooseX-AbstractFactory-0.3.2.tar.gz
-> OK
Unpacking MooseX-AbstractFactory-0.3.2.tar.gz
Entering MooseX-AbstractFactory-0.3.2
Checking configure dependencies from META.yml
Configuring MooseX-AbstractFactory-0.3.1
Running Makefile.PL
Cannot determine perl version info from lib/MooseX/AbstractFactory.pm
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
[Core Features]
- Test::Moose ...loaded. (2.0401)
- Test::Exception ...loaded. (0.31)
- Moose ...loaded. (2.0401)
- Moose::Autobox ...loaded. (0.11)
*** Module::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Writing Makefile for MooseX::AbstractFactory
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.62)
Checking if you have Test::Exception 0 ... Yes (0.31)
Checking if you have Test::Moose 0 ... Yes (2.0401)
Checking if you have ExtUtils::MakeMaker 6.62 ... Yes (6.62)
Checking if you have Moose::Autobox 0 ... Yes (0.11)
Checking if you have Moose 0 ... Yes (2.0401)
Building and testing MooseX-AbstractFactory-0.3.1
cp lib/MooseX/AbstractFactory/Role.pm blib/lib/MooseX/AbstractFactory/Role.pm
cp lib/MooseX/AbstractFactory.pm blib/lib/MooseX/AbstractFactory.pm
cp lib/MooseX/AbstractFactory/Meta/Class.pm blib/lib/MooseX/AbstractFactory/Meta/Class.pm
Manifying blib/man3/MooseX::AbstractFactory::Role.3
Manifying blib/man3/MooseX::AbstractFactory.3
Manifying blib/man3/MooseX::AbstractFactory::Meta::Class.3
PERL_DL_NONLAZY=1 /home/ccushing/perl5/perlbrew/perls/perl-5.14.2/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00_load.t t/01_factory.t t/02_factory_validate.t t/03_check_implementation_class.t t/04_override_get_implementation.t t/05_override_validate_implementation.t t/97_pod.t t/98_pod_coverage.t t/99_perl_critic.t
t/00_load.t .............................. ok

# Failed test 'Factory->new() doesn't die'
# at t/01_factory.t line 25.
# died: Invalid implementation class My::Factory::Implementation: Can't use string ("My::Factory::Implementation") as a HASH ref while "strict refs" in use at /home/ccushing/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Class/Load.pm line 170.
# at /home/ccushing/.cpanm/work/1322254134.13549/MooseX-AbstractFactory-0.3.2/blib/lib/MooseX/AbstractFactory/Role.pm line 80
# MooseX::AbstractFactory::Role::_validate_implementation_class() called at /home/ccushing/.cpanm/work/1322254134.13549/MooseX-AbstractFactory-0.3.2/blib/lib/MooseX/AbstractFactory/Role.pm line 23
# MooseX::AbstractFactory::Role::create() called at t/01_factory.t line 21
# Test::Exception::lives_ok() called at t/01_factory.t line 25

# Failed test 'The thing isa My::Factory::Implementation'
# at t/01_factory.t line 27.
# The thing isn't defined

# Failed test '->can(...)'
# at t/01_factory.t line 29.
# can_ok() called with empty class or reference
Can't call method "tweak" on an undefined value at t/01_factory.t line 30.
# Looks like you planned 6 tests but ran 3.
# Looks like you failed 3 tests of 3 run.
# Looks like your test exited with 255 just after 3.
t/01_factory.t ...........................
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 6/6 subtests

# Failed test 'Factory->new() doesn't die with ImplementationA'
# at t/02_factory_validate.t line 43.
# died: Invalid implementation class My::Factory::ImplementationA: Can't use string ("My::Factory::ImplementationA") as a HASH ref while "strict refs" in use at /home/ccushing/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Class/Load.pm line 170.
# at /home/ccushing/.cpanm/work/1322254134.13549/MooseX-AbstractFactory-0.3.2/blib/lib/MooseX/AbstractFactory/Role.pm line 80
# MooseX::AbstractFactory::Role::_validate_implementation_class() called at /home/ccushing/.cpanm/work/1322254134.13549/MooseX-AbstractFactory-0.3.2/blib/lib/MooseX/AbstractFactory/Role.pm line 23
# MooseX::AbstractFactory::Role::create() called at t/02_factory_validate.t line 40
# Test::Exception::lives_ok() called at t/02_factory_validate.t line 43
# Looks like you failed 1 test of 2.
t/02_factory_validate.t ..................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests

# Failed test 'Factory->new() doesn't die with ImplementationA'
# at t/03_check_implementation_class.t line 43.
# died: Invalid implementation class My::Factory::ImplementationA: Can't use string ("My::Factory::ImplementationA") as a HASH ref while "strict refs" in use at /home/ccushing/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Class/Load.pm line 170.
# at /home/ccushing/.cpanm/work/1322254134.13549/MooseX-AbstractFactory-0.3.2/blib/lib/MooseX/AbstractFactory/Role.pm line 80
# MooseX::AbstractFactory::Role::_validate_implementation_class() called at /home/ccushing/.cpanm/work/1322254134.13549/MooseX-AbstractFactory-0.3.2/blib/lib/MooseX/AbstractFactory/Role.pm line 23
# MooseX::AbstractFactory::Role::create() called at t/03_check_implementation_class.t line 40
# Test::Exception::lives_ok() called at t/03_check_implementation_class.t line 43
# Looks like you failed 1 test of 2.
t/03_check_implementation_class.t ........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
t/98_pod_coverage.t ...................... skipped: Pod::Coverage::Moose required for testing POD coverage
t/97_pod.t ............................... ok
t/99_perl_critic.t ....................... skipped: Author test. Set $ENV{TEST_AUTHOR} to a true value to run.

# Failed test 'Factory->new() doesn't die'
# at t/04_override_get_implementation.t line 30.
# died: Invalid implementation class Bar::Implementation: Can't use string ("Bar::Implementation") as a HASH ref while "strict refs" in use at /home/ccushing/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Class/Load.pm line 170.
# at /home/ccushing/.cpanm/work/1322254134.13549/MooseX-AbstractFactory-0.3.2/blib/lib/MooseX/AbstractFactory/Role.pm line 80
# MooseX::AbstractFactory::Role::_validate_implementation_class() called at /home/ccushing/.cpanm/work/1322254134.13549/MooseX-AbstractFactory-0.3.2/blib/lib/MooseX/AbstractFactory/Role.pm line 23
# MooseX::AbstractFactory::Role::create() called at t/04_override_get_implementation.t line 26
# Test::Exception::lives_ok() called at t/04_override_get_implementation.t line 30

# Failed test 'The thing isa Bar::Implementation'
# at t/04_override_get_implementation.t line 32.
# The thing isn't defined
# Looks like you failed 2 tests of 2.
t/04_override_get_implementation.t .......
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
t/05_override_validate_implementation.t .. ok

Test Summary Report
-------------------
t/01_factory.t (Wstat: 65280 Tests: 3 Failed: 3)
Failed tests: 1-3
Non-zero exit status: 255
Parse errors: Bad plan. You planned 6 tests but ran 3.
t/02_factory_validate.t (Wstat: 256 Tests: 2 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/03_check_implementation_class.t (Wstat: 256 Tests: 2 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/04_override_get_implementation.t (Wstat: 512 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 2
Files=9, Tests=17, 0 wallclock secs ( 0.03 usr 0.02 sys + 1.93 cusr 0.18 csys = 2.16 CPU)
Result: FAIL
Failed 4/9 test programs. 7/17 subtests failed.
make: *** [test_dynamic] Error 255
-> FAIL Installing MooseX::AbstractFactory failed. See /home/ccushing/.cpanm/build.log for details.