CC: | calvin.schwenzfeier [...] gmail.com |
Subject: | During install: “Error: Bareword "Test::Stream::Event::Ok::NAME" not allowed while "strict subs" in use” |
Configuring E/EX/EXODIST/Test-Exception-0.33.tar.gz with Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Test-Exception' version '0.33'
EXODIST/Test-Exception-0.33.tar.gz
/usr/local/perl-5.20.1/bin/perl Build.PL -- OK
Running Build for E/EX/EXODIST/Test-Exception-0.33.tar.gz
Building Test-Exception
EXODIST/Test-Exception-0.33.tar.gz
./Build -- OK
Running Build test
t/Exception.t ... 1/20
# Failed test 'use Test::Exception;'
# at t/Exception.t line 9.
# Tried to use 'Test::Exception'.
# Error: Bareword "Test::Stream::Event::Ok::NAME" not allowed while "strict subs" in use at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 344.
# Bareword "Test::Stream::Event::Ok::NAME" not allowed while "strict subs" in use at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 344.
# BEGIN not safe after errors--compilation aborted at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 353.
# Compilation failed in require at t/Exception.t line 9.
# BEGIN failed--compilation aborted at t/Exception.t line 9.
a normal die
t/Exception.t ... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 20/20 subtests
t/caller.t ...... Bareword "Test::Stream::Event::Ok::NAME" not allowed while "strict subs" in use at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 344.
Bareword "Test::Stream::Event::Ok::NAME" not allowed while "strict subs" in use at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 344.
BEGIN not safe after errors--compilation aborted at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 353.
Compilation failed in require at t/caller.t line 8.
BEGIN failed--compilation aborted at t/caller.t line 8.
t/caller.t ...... Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
t/edge-cases.t .. skipped: stuff relating to RT#24678 that I have not fixed yet
t/import.t ...... 1/?
# Failed test 'use Test::Exception;'
# at t/import.t line 7.
# Tried to use 'Test::Exception'.
# Error: Bareword "Test::Stream::Event::Ok::NAME" not allowed while "strict subs" in use at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 344.
# Bareword "Test::Stream::Event::Ok::NAME" not allowed while "strict subs" in use at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 344.
# BEGIN not safe after errors--compilation aborted at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 353.
# Compilation failed in require at t/import.t line 7.
# BEGIN failed--compilation aborted at t/import.t line 7.
# Failed test 'Test::Exception set plan'
# at t/import.t line 9.
# got: '0'
# expected: '2'
# Tests were run but no plan was declared and done_testing() was not seen.
t/import.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
t/isa.t ......... Bareword "Test::Stream::Event::Ok::NAME" not allowed while "strict subs" in use at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 344.
Bareword "Test::Stream::Event::Ok::NAME" not allowed while "strict subs" in use at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 344.
BEGIN not safe after errors--compilation aborted at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 353.
Compilation failed in require at t/isa.t line 7.
BEGIN failed--compilation aborted at t/isa.t line 7.
# Looks like your test exited with 255 before it could output anything.
t/isa.t ......... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests
t/lives_and.t ... 1/3
# Failed test 'use Test::Exception;'
# at t/lives_and.t line 8.
# Tried to use 'Test::Exception'.
# Error: Bareword "Test::Stream::Event::Ok::NAME" not allowed while "strict subs" in use at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 344.
# Bareword "Test::Stream::Event::Ok::NAME" not allowed while "strict subs" in use at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 344.
# BEGIN not safe after errors--compilation aborted at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 353.
# Compilation failed in require at t/lives_and.t line 8.
# BEGIN failed--compilation aborted at t/lives_and.t line 8.
Can't locate object method "lives_and" via package "1" (perhaps you forgot to load "1"?) at t/lives_and.t line 15.
# Looks like you planned 3 tests but ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test exited with 255 just after 2.
t/lives_and.t ... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/3 subtests
t/preserve.t .... 1/5
# Failed test 'use Test::Exception;'
# at t/preserve.t line 8.
# Tried to use 'Test::Exception'.
# Error: Bareword "Test::Stream::Event::Ok::NAME" not allowed while "strict subs" in use at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 344.
# Bareword "Test::Stream::Event::Ok::NAME" not allowed while "strict subs" in use at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 344.
# BEGIN not safe after errors--compilation aborted at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 353.
# Compilation failed in require at t/preserve.t line 8.
# BEGIN failed--compilation aborted at t/preserve.t line 8.
Illegal division by zero at t/preserve.t line 12.
# Looks like you planned 5 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 255 just after 1.
t/preserve.t .... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 5/5 subtests
t/return.t ...... 1/13
# Failed test 'use Test::Exception;'
# at t/return.t line 10.
# Tried to use 'Test::Exception'.
# Error: Bareword "Test::Stream::Event::Ok::NAME" not allowed while "strict subs" in use at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 344.
# Bareword "Test::Stream::Event::Ok::NAME" not allowed while "strict subs" in use at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 344.
# BEGIN not safe after errors--compilation aborted at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 353.
# Compilation failed in require at t/return.t line 10.
# BEGIN failed--compilation aborted at t/return.t line 10.
Illegal division by zero at t/return.t line 14.
# Looks like you planned 13 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 255 just after 1.
t/return.t ...... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 13/13 subtests
t/rt.t .......... Bareword "Test::Stream::Event::Ok::NAME" not allowed while "strict subs" in use at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 344.
Bareword "Test::Stream::Event::Ok::NAME" not allowed while "strict subs" in use at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 344.
BEGIN not safe after errors--compilation aborted at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 353.
Compilation failed in require at t/rt.t line 6.
BEGIN failed--compilation aborted at t/rt.t line 6.
# Looks like your test exited with 255 before it could output anything.
t/rt.t .......... Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
t/stacktrace.t .. 1/3
# Failed test 'use Test::Exception;'
# at t/stacktrace.t line 10.
# Tried to use 'Test::Exception'.
# Error: Bareword "Test::Stream::Event::Ok::NAME" not allowed while "strict subs" in use at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 344.
# Bareword "Test::Stream::Event::Ok::NAME" not allowed while "strict subs" in use at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 344.
# BEGIN not safe after errors--compilation aborted at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 353.
# Compilation failed in require at t/stacktrace.t line 10.
# BEGIN failed--compilation aborted at t/stacktrace.t line 10.
something unexpected at t/stacktrace.t line 20.
main::throw() called at t/stacktrace.t line 21
main::try("fribble") called at t/stacktrace.t line 32
main::test_false_positive("/fribble/") called at t/stacktrace.t line 18
t/stacktrace.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 3/3 subtests
t/throws_ok.t ... 1/2
# Failed test 'use Test::Exception;'
# at t/throws_ok.t line 6.
# Tried to use 'Test::Exception'.
# Error: Bareword "Test::Stream::Event::Ok::NAME" not allowed while "strict subs" in use at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 344.
# Bareword "Test::Stream::Event::Ok::NAME" not allowed while "strict subs" in use at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 344.
# BEGIN not safe after errors--compilation aborted at /Users/cschwenz/.cpan/build/Test-Exception-0.33-2i2YsR/blib/lib/Test/Exception.pm line 353.
# Compilation failed in require at t/throws_ok.t line 6.
# BEGIN failed--compilation aborted at t/throws_ok.t line 6.
# Failed test 'cannot pass undef to throws_ok'
# at t/throws_ok.t line 9.
# 'Can't call method "throws_ok" on an undefined value at t/throws_ok.t line 8.
# '
# doesn't match '/^throws_ok/'
# Looks like you failed 2 tests of 2.
t/throws_ok.t ... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
Test Summary Report
-------------------
t/Exception.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: Bad plan. You planned 20 tests but ran 1.
t/caller.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/import.t (Wstat: 512 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/isa.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 1 tests but ran 0.
t/lives_and.t (Wstat: 65280 Tests: 2 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: Bad plan. You planned 3 tests but ran 2.
t/preserve.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: Bad plan. You planned 5 tests but ran 1.
t/return.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: Bad plan. You planned 13 tests but ran 1.
t/rt.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/stacktrace.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: Bad plan. You planned 3 tests but ran 1.
t/throws_ok.t (Wstat: 512 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 2
Files=11, Tests=10, 1 wallclock secs ( 0.06 usr 0.03 sys + 0.40 cusr 0.07 csys = 0.56 CPU)
Result: FAIL
Failed 10/11 test programs. 9/10 subtests failed.
EXODIST/Test-Exception-0.33.tar.gz
./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports EXODIST/Test-Exception-0.33.tar.gz
Failed during this command:
EXODIST/Test-Exception-0.33.tar.gz : make_test NO