Subject: | "Can't use string as a HASH ref" errors in test files |
Observed when testing against perl 5 blead (5.25.8) using cpanm:
#####
--> Working on Catalyst::Authentication::Store::RDBO
Fetching http://www.cpan.org/authors/id/D/DO/DONEILL/Catalyst-Authentication-Store-RDBO-0.1000.tar.gz
-> OK
Unpacking Catalyst-Authentication-Store-RDBO-0.1000.tar.gz
Entering Catalyst-Authentication-Store-RDBO-0.1000
Checking configure dependencies from META.yml
Configuring Catalyst-Authentication-Store-RDBO-0.1000
Running Makefile.PL
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
[Core Features]
- Test::More ...loaded. (1.302075)
- Catalyst::Runtime ...loaded. (5.90114)
- Catalyst::Plugin::Authentication ...loaded. (0.10023 >= 0.10006)
- Rose::DB::Object ...loaded. (0.815)
*** Module::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Catalyst::Authentication::Store::RDBO
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Catalyst::Plugin::Authentication 0.10006 ... Yes (0.10023)
Checking if you have Rose::DB::Object 0 ... Yes (0.815)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.24)
Checking if you have Catalyst::Runtime 0 ... Yes (5.90114)
Checking if you have Test::More 0 ... Yes (1.302075)
Building and testing Catalyst-Authentication-Store-RDBO-0.1000
cp lib/Catalyst/Authentication/Store/RDBO.pm blib/lib/Catalyst/Authentication/Store/RDBO.pm
cp lib/Catalyst/Authentication/Store/RDBO/User.pm blib/lib/Catalyst/Authentication/Store/RDBO/User.pm
"/home/jkeenan/testing/fatal-brace/bin/perl" "-Iinc" "-MModule::Install::ExtraTests" "-e" "Module::Install::ExtraTests::__harness('Test::Harness', 0, '', 'xt/release', '', 0, 'blib/lib', 'blib/arch')" t/00-load.t t/03-authtest.t t/05-auth-roles-relationship.t t/06-auth-roles-column.t
# Testing Catalyst::Authentication::Store::RDBO 0.1000, Perl 5.025009, /home/jkeenan/testing/fatal-brace/bin/perl
t/00-load.t ..................... ok
Can't use string ("HASH(0x399a318)") as a HASH ref while "strict refs" in use at /home/jkeenan/testing/fatal-brace/lib/perl5/site_perl/5.25.9/Catalyst/Component.pm line 132, <DATA> line 1.
Compilation failed in require at /home/jkeenan/testing/fatal-brace/lib/perl5/site_perl/5.25.9/Module/Runtime.pm line 317, <DATA> line 1. at /home/jkeenan/testing/fatal-brace/lib/perl5/site_perl/5.25.9/Catalyst/Test.pm line 155.
BEGIN failed--compilation aborted at t/03-authtest.t line 55, <DATA> line 1.
# Looks like your test exited with 255 before it could output anything.
t/03-authtest.t .................
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 13/13 subtests
Can't use string ("HASH(0x519c5f0)") as a HASH ref while "strict refs" in use at /home/jkeenan/testing/fatal-brace/lib/perl5/site_perl/5.25.9/Catalyst/Component.pm line 132, <DATA> line 1.
Compilation failed in require at /home/jkeenan/testing/fatal-brace/lib/perl5/site_perl/5.25.9/Module/Runtime.pm line 317, <DATA> line 1. at /home/jkeenan/testing/fatal-brace/lib/perl5/site_perl/5.25.9/Catalyst/Test.pm line 155.
BEGIN failed--compilation aborted at t/05-auth-roles-relationship.t line 60, <DATA> line 1.
# Looks like your test exited with 255 before it could output anything.
t/05-auth-roles-relationship.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 8/8 subtests
Can't use string ("HASH(0x14b5ff0)") as a HASH ref while "strict refs" in use at /home/jkeenan/testing/fatal-brace/lib/perl5/site_perl/5.25.9/Catalyst/Component.pm line 132, <DATA> line 1.
Compilation failed in require at /home/jkeenan/testing/fatal-brace/lib/perl5/site_perl/5.25.9/Module/Runtime.pm line 317, <DATA> line 1. at /home/jkeenan/testing/fatal-brace/lib/perl5/site_perl/5.25.9/Catalyst/Test.pm line 155.
BEGIN failed--compilation aborted at t/06-auth-roles-column.t line 59, <DATA> line 1.
# Looks like your test exited with 255 before it could output anything.
t/06-auth-roles-column.t ........
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 8/8 subtests
Test Summary Report
-------------------
t/03-authtest.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 13 tests but ran 0.
t/05-auth-roles-relationship.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 8 tests but ran 0.
t/06-auth-roles-column.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 8 tests but ran 0.
Files=4, Tests=1, 7 wallclock secs ( 0.02 usr 0.00 sys + 1.89 cusr 0.12 csys = 2.03 CPU)
Result: FAIL
Failed 3/4 test programs. 0/1 subtests failed.
Makefile:775: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
-> FAIL Installing Catalyst::Authentication::Store::RDBO failed.
#####