Report for warnings-MaybeFatal-0.004

Back
From: metabase:user:314402c4-2aae-11df-837a-5e0a49663a4f
Subject: FAIL warnings-MaybeFatal-0.004 v5.25.4 GNU/Linux
Date: 2016-09-01T20:09:27Z

This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language.  See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org


--
Dear Toby Inkster,

This is a computer-generated report for warnings-MaybeFatal-0.004
on perl 5.25.4, created by CPAN-Reporter-1.2018.

Thank you for uploading your work to CPAN.  However, there was a problem
testing your distribution.

If you think this report is invalid, please consult the CPAN Testers Wiki
for suggestions on how to avoid getting FAIL reports for missing library
or binary dependencies, unsupported operating systems, and so on:

http://wiki.cpantesters.org/wiki/CPANAuthorNotes

Sections of this report:

    * Tester comments
    * Program output
    * Prerequisites
    * Environment and other context

------------------------------
TESTER COMMENTS
------------------------------

Additional comments from tester:

none provided

------------------------------
PROGRAM OUTPUT
------------------------------

Output from 'make test':

PERL_DL_NONLAZY=1 "/opt/perl-5.25.4/bin/perl5.25.4" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
A scope-end callback raised an exception, which can not be propagated when B::Hooks::EndOfScope operates in pure-perl mode. Your program will CONTINUE EXECUTION AS IF NOTHING HAPPENED AFTER THIS WARNING. Below is the complete exception text, followed by a stack-trace of the callback execution:

Useless use of a constant ("Hello world") in void context at (eval 7) line 5.


 at /opt/perl-5.25.4/lib/site_perl/5.25.4/B/Hooks/EndOfScope/PP.pm line 36.
	B::Hooks::EndOfScope::PP::__invoke_callback(CODE(0x1190008)) called at /opt/perl-5.25.4/lib/site_perl/5.25.4/B/Hooks/EndOfScope/PP/FieldHash.pm line 31
	B::Hooks::EndOfScope::PP::_TieHintHashFieldHash::DELETE(B::Hooks::EndOfScope::PP::_TieHintHashFieldHash=HASH(0x110d2a0), 12587192) called at (eval 7) line 7
	eval '
	use strict;
	use warnings;
	use warnings::MaybeFatal;
	"Hello world";
	1;
' called at t/01basic.t line 34

#   Failed test 'fatal warning at compile-time'
#   at t/01basic.t line 42.
#                   ''
#     doesn't match '(?^:^Useless use)'
# 
A scope-end callback raised an exception, which can not be propagated when B::Hooks::EndOfScope operates in pure-perl mode. Your program will CONTINUE EXECUTION AS IF NOTHING HAPPENED AFTER THIS WARNING. Below is the complete exception text, followed by a stack-trace of the callback execution:

Useless use of a constant ("Hello World") in void context at t/lib/ThisShouldDie.pm line 7.


 at /opt/perl-5.25.4/lib/site_perl/5.25.4/B/Hooks/EndOfScope/PP.pm line 36.
	B::Hooks::EndOfScope::PP::__invoke_callback(CODE(0x1236458)) called at /opt/perl-5.25.4/lib/site_perl/5.25.4/B/Hooks/EndOfScope/PP/FieldHash.pm line 31
	B::Hooks::EndOfScope::PP::_TieHintHashFieldHash::DELETE(B::Hooks::EndOfScope::PP::_TieHintHashFieldHash=HASH(0x110d2a0), 12587192) called at t/lib/ThisShouldDie.pm line 9
	require ThisShouldDie.pm called at t/01basic.t line 70
	main::__ANON__() called at /opt/perl-5.25.4/lib/site_perl/5.25.4/Test/Fatal.pm line 129
	Test::Fatal::try {...} () called at /opt/perl-5.25.4/lib/site_perl/5.25.4/Try/Tiny.pm line 101
	eval {...} called at /opt/perl-5.25.4/lib/site_perl/5.25.4/Try/Tiny.pm line 94
	Try::Tiny::try(CODE(0x1201c28), Try::Tiny::Catch=REF(0x114b418)) called at /opt/perl-5.25.4/lib/site_perl/5.25.4/Test/Fatal.pm line 136
	Test::Fatal::exception(CODE(0x10fd918)) called at t/01basic.t line 71

#   Failed test 'fatal warning at compile-time in another scope'
#   at t/01basic.t line 73.
#                   undef
#     doesn't match '(?^:^Useless use)'
# undef

#   Failed test 'unimport works'
#   at t/01basic.t line 87.
#                   undef
#     doesn't match '(?^:^Subroutine xxx redefined)'
# undef

#   Failed test 'unimport works'
#   at t/01basic.t line 93.
#                   'ARRAY(0xfd8800)'
#     doesn't match '(?^:^Subroutine yyy redefined)'
# [
#   'Subroutine yyy redefined at t/lib/ThisShouldDieToo.pm line 10.
# ',
#   'A scope-end callback raised an exception, which can not be propagated when B::Hooks::EndOfScope operates in pure-perl mode. Your program will CONTINUE EXECUTION AS IF NOTHING HAPPENED AFTER THIS WARNING. Below is the complete exception text, followed by a stack-trace of the callback execution:
# 
# Subroutine xxx redefined at t/lib/ThisShouldDieToo.pm line 14.
# 
# 
 at /opt/perl-5.25.4/lib/site_perl/5.25.4/B/Hooks/EndOfScope/PP.pm line 36.
# 	B::Hooks::EndOfScope::PP::__invoke_callback(CODE(0x1243bb8)) called at /opt/perl-5.25.4/lib/site_perl/5.25.4/B/Hooks/EndOfScope/PP/FieldHash.pm line 31
# 	B::Hooks::EndOfScope::PP::_TieHintHashFieldHash::DELETE(B::Hooks::EndOfScope::PP::_TieHintHashFieldHash=HASH(0x110d2a0), 12587192) called at t/lib/ThisShouldDieToo.pm line 16
# 	require ThisShouldDieToo.pm called at t/01basic.t line 81
# 	main::__ANON__() called at /opt/perl-5.25.4/lib/site_perl/5.25.4/Test/Fatal.pm line 129
# 	Test::Fatal::try {...} () called at /opt/perl-5.25.4/lib/site_perl/5.25.4/Try/Tiny.pm line 101
# 	eval {...} called at /opt/perl-5.25.4/lib/site_perl/5.25.4/Try/Tiny.pm line 94
# 	Try::Tiny::try(CODE(0x1243d08), Try::Tiny::Catch=REF(0x1201bf8)) called at /opt/perl-5.25.4/lib/site_perl/5.25.4/Test/Fatal.pm line 136
# 	Test::Fatal::exception(CODE(0x118ffa8)) called at t/01basic.t line 81
# 	main::__ANON__() called at /opt/perl-5.25.4/lib/site_perl/5.25.4/Test/Warnings.pm line 80
# 	Test::Warnings::warnings(CODE(0x1201b20)) called at /opt/perl-5.25.4/lib/site_perl/5.25.4/Test/Warnings.pm line 86
# 	Test::Warnings::warning(CODE(0x1201b20)) called at t/01basic.t line 82
# '
# ]

#   Failed test 'no (unexpected) warnings (via done_testing)'
#   at t/01basic.t line 99.
# Looks like you failed 5 tests of 7.
t/01basic.t ..... 
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/7 subtests 
A scope-end callback raised an exception, which can not be propagated when B::Hooks::EndOfScope operates in pure-perl mode. Your program will CONTINUE EXECUTION AS IF NOTHING HAPPENED AFTER THIS WARNING. Below is the complete exception text, followed by a stack-trace of the callback execution:

Useless use of a constant ("Hello World") in void context at t/lib/ThisShouldDie.pm line 7.


 at /opt/perl-5.25.4/lib/site_perl/5.25.4/B/Hooks/EndOfScope/PP.pm line 36.
	B::Hooks::EndOfScope::PP::__invoke_callback(CODE(0x21cc2d0)) called at /opt/perl-5.25.4/lib/site_perl/5.25.4/B/Hooks/EndOfScope/PP/FieldHash.pm line 31
	B::Hooks::EndOfScope::PP::_TieHintHashFieldHash::DELETE(B::Hooks::EndOfScope::PP::_TieHintHashFieldHash=HASH(0x21cba18), 35437272) called at t/lib/ThisShouldDie.pm line 9
	require ThisShouldDie.pm called at t/lib/LoadsThisShouldDie.pm line 7
	LoadsThisShouldDie::BEGIN() called at t/lib/ThisShouldDie.pm line 9
	eval {...} called at t/lib/ThisShouldDie.pm line 9
	require LoadsThisShouldDie.pm called at t/02indirect.t line 33
	main::__ANON__() called at /opt/perl-5.25.4/lib/site_perl/5.25.4/Test/Fatal.pm line 129
	Test::Fatal::try {...} () called at /opt/perl-5.25.4/lib/site_perl/5.25.4/Try/Tiny.pm line 101
	eval {...} called at /opt/perl-5.25.4/lib/site_perl/5.25.4/Try/Tiny.pm line 94
	Try::Tiny::try(CODE(0x1cf6178), Try::Tiny::Catch=REF(0x21dcfb0)) called at /opt/perl-5.25.4/lib/site_perl/5.25.4/Test/Fatal.pm line 136
	Test::Fatal::exception(CODE(0x213d888)) called at t/02indirect.t line 34

#   Failed test at t/02indirect.t line 34.
#                   undef
#     doesn't match '(?^:^Useless use)'

#   Failed test 'no (unexpected) warnings (via done_testing)'
#   at t/02indirect.t line 42.
# Looks like you failed 2 tests of 3.
t/02indirect.t .. 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/3 subtests 

#   Failed test at t/03multiple.t line 47.
#                   undef
#     doesn't match '(?^:^Compile time warnings at t/lib/MultiWarnings.pm)'
# Looks like you failed 1 test of 4.
t/03multiple.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests 

Test Summary Report
-------------------
t/01basic.t   (Wstat: 1280 Tests: 7 Failed: 5)
  Failed tests:  1, 4-7
  Non-zero exit status: 5
t/02indirect.t (Wstat: 512 Tests: 3 Failed: 2)
  Failed tests:  1, 3
  Non-zero exit status: 2
t/03multiple.t (Wstat: 256 Tests: 4 Failed: 1)
  Failed test:  3
  Non-zero exit status: 1
Files=3, Tests=14,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.10 cusr  0.00 csys =  0.12 CPU)
Result: FAIL
Failed 3/3 test programs. 8/14 subtests failed.
Makefile:854: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 1

------------------------------
PREREQUISITES
------------------------------

Prerequisite modules loaded:

requires:

    Module               Need     Have    
    -------------------- -------- --------
    B::Hooks::EndOfScope 0        0.21    
    perl                 5.008004 5.025004

build_requires:

    Module               Need     Have    
    -------------------- -------- --------
    Test::Fatal          0        0.014   
    Test::More           0.96     1.302052
    Test::Warnings       0        0.026   

configure_requires:

    Module               Need     Have    
    -------------------- -------- --------
    ExtUtils::MakeMaker  6.17     7.24    


------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------

Environment variables:

    LANG = en_US.UTF-8
    PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/eserte/bin/linux-gnu:/home/eserte/bin/sh:/home/eserte/bin:/home/eserte/bin/pistachio-perl/bin:/usr/games:/home/eserte/devel:/home/eserte/src/srezic-misc/scripts
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 3927
    PERL5_CPAN_IS_RUNNING = 3927
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 3908,3927
    PERLDOC = -MPod::Perldoc::ToTextOverstrike
    PERL_BATCH = yes
    PERL_CANARY_STABILITY_NOPROMPT = 1
    PERL_CPAN_REPORTER_CONFIG = /var/tmp/cpansmoker-1000/2016090118/cpanreporter_000_config.ini
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_USE_UNSAFE_INC = 1
    SHELL = /bin/zsh
    STDPERL = perl
    TERM = xterm
    TMPDIR = /var/tmp/cpansmoker-1000/2016090118

Perl special variables (and OS-specific diagnostics, for MSWin32):

    $^X = /opt/perl-5.25.4/bin/perl5.25.4
    $UID/$EUID = 1000 / 1000
    $GID = 1000 24 25 27 29 30 44 46 108 111 115 1000 1024
    $EGID = 1000 24 25 27 29 30 44 46 108 111 115 1000 1024

Perl module toolchain versions installed:

    Module              Have      
    ------------------- ----------
    CPAN                2.14_01   
    CPAN::Meta          2.150010  
    Cwd                 3.65      
    ExtUtils::CBuilder  0.280225  
    ExtUtils::Command   7.24      
    ExtUtils::Install   2.04      
    ExtUtils::MakeMaker 7.24      
    ExtUtils::Manifest  1.70      
    ExtUtils::ParseXS   3.33      
    File::Spec          3.65      
    JSON                2.90      
    JSON::PP            2.27400_01
    Module::Build       0.4220    
    Module::Signature   n/a       
    Parse::CPAN::Meta   2.150010  
    Test::Harness       3.36_01   
    Test::More          1.302052  
    YAML                1.18      
    YAML::Syck          1.29      
    version             0.9917    


--

Summary of my perl5 (revision 5 version 25 subversion 4) configuration:
   
  Platform:
    osname=linux
    osvers=3.16.0-4-amd64
    archname=x86_64-linux
    uname='linux cabulja 3.16.0-4-amd64 #1 smp debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 gnulinux '
    config_args='-ds -e -Dprefix=/opt/perl-5.25.4 -Dusedevel -Dusemallocwrap=no -Dcf_email=srezic@cpan.org'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=undef
    usemultiplicity=undef
    use64bitint=define
    use64bitall=define
    uselongdouble=undef
    usemymalloc=n
    bincompat5005=undef
  Compiler:
    cc='cc'
    ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2'
    optimize='-O2'
    cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='4.9.2'
    gccosandvers=''
    intsize=4
    longsize=8
    ptrsize=8
    doublesize=8
    byteorder=12345678
    doublekind=3
    d_longlong=define
    longlongsize=8
    d_longdbl=define
    longdblsize=16
    longdblkind=3
    ivtype='long'
    ivsize=8
    nvtype='double'
    nvsize=8
    Off_t='off_t'
    lseeksize=8
    alignbytes=8
    prototype=define
  Linker and Libraries:
    ld='cc'
    ldflags =' -fstack-protector-strong -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
    libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=libc-2.19.so
    so=so
    useshrplib=false
    libperl=libperl.a
    gnulibc_version='2.19'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs
    dlext=so
    d_dlsymun=undef
    ccdlflags='-Wl,-E'
    cccdlflags='-fPIC'
    lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector-strong'


Characteristics of this binary (from libperl): 
  Compile-time options:
    HAS_TIMES
    PERLIO_LAYERS
    PERL_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    PERL_USE_DEVEL
    USE_64_BIT_ALL
    USE_64_BIT_INT
    USE_LARGE_FILES
    USE_LOCALE
    USE_LOCALE_COLLATE
    USE_LOCALE_CTYPE
    USE_LOCALE_NUMERIC
    USE_LOCALE_TIME
    USE_PERLIO
    USE_PERL_ATOF
  Built under linux
  Compiled at Aug 21 2016 14:41:29
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="3927"
    PERL5_CPAN_IS_RUNNING="3927"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="3908,3927"
    PERLDOC="-MPod::Perldoc::ToTextOverstrike"
    PERL_BATCH="yes"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_CPAN_REPORTER_CONFIG="/var/tmp/cpansmoker-1000/2016090118/cpanreporter_000_config.ini"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /opt/perl-5.25.4/lib/site_perl/5.25.4/x86_64-linux
    /opt/perl-5.25.4/lib/site_perl/5.25.4
    /opt/perl-5.25.4/lib/5.25.4/x86_64-linux
    /opt/perl-5.25.4/lib/5.25.4
    .