Building C/CH/CHORNY/AI-MegaHAL-0.04_01.tar.gz Loading internal logger. Log::Log4perl recommended for better logging CPAN: HTTP::Tiny loaded ok (v0.096) CPAN: Net::SSLeay loaded ok (v1.96) CPAN: IO::Socket::SSL loaded ok (v2.099) Fetching with HTTP::Tiny: https://cpan.org/authors/01mailrc.txt.gz Reading '/home/cpancover/.cpan/sources/authors/01mailrc.txt.gz' CPAN: Compress::Zlib loaded ok (v2.223) ............................................................................DONE Fetching with HTTP::Tiny: https://cpan.org/modules/02packages.details.txt.gz Reading '/home/cpancover/.cpan/sources/modules/02packages.details.txt.gz' Database was generated on Thu, 13 Aug 2026 18:41:02 GMT CPAN: HTTP::Date loaded ok (v6.08) ............................................................................DONE Fetching with HTTP::Tiny: https://cpan.org/modules/03modlist.data.gz Reading '/home/cpancover/.cpan/sources/modules/03modlist.data.gz' DONE Writing /home/cpancover/.cpan/Metadata 'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/home/cpancover/.cpan/prefs' CPAN: CPAN::Kwalify loaded ok (v5.50) Fetching with HTTP::Tiny: https://cpan.org/authors/id/C/CH/CHORNY/AI-MegaHAL-0.04_01.tar.gz CPAN: Digest::SHA loaded ok (v6.04) Fetching with HTTP::Tiny: https://cpan.org/authors/id/C/CH/CHORNY/CHECKSUMS Checksum for /home/cpancover/.cpan/sources/authors/id/C/CH/CHORNY/AI-MegaHAL-0.04_01.tar.gz ok 'YAML' not installed, will not store persistent state CPAN: CPAN::Meta::Requirements loaded ok (v2.145) CPAN: Parse::CPAN::Meta loaded ok (v2.150013) CPAN: CPAN::Meta loaded ok (v2.150013) Configuring C/CH/CHORNY/AI-MegaHAL-0.04_01.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for AI::MegaHAL Writing MYMETA.yml and MYMETA.json CHORNY/AI-MegaHAL-0.04_01.tar.gz /usr/local/bin/perl Makefile.PL -- OK Running make for C/CH/CHORNY/AI-MegaHAL-0.04_01.tar.gz CPAN: Module::CoreList loaded ok (v5.20260708) cp lib/AI/MegaHAL.pm blib/lib/AI/MegaHAL.pm AutoSplitting blib/lib/AI/MegaHAL.pm (blib/lib/auto/AI/MegaHAL) Running Mkbootstrap for MegaHAL () chmod 644 "MegaHAL.bs" "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- MegaHAL.bs blib/arch/auto/AI/MegaHAL/MegaHAL.bs 644 "/usr/local/bin/perl" "/usr/local/lib/perl5/5.44.0/ExtUtils/xsubpp" -noprototypes -typemap '/usr/local/lib/perl5/5.44.0/ExtUtils/typemap' MegaHAL.xs > MegaHAL.xsc mv MegaHAL.xsc MegaHAL.c cc -c -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.04_01\" -DXS_VERSION=\"0.04_01\" -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" MegaHAL.c MegaHAL.xs: In function 'constant': MegaHAL.xs:46:13: warning: 'return' with no value, in function returning non-void 46 | return MEGAHAL_H; | ^~~~~~ MegaHAL.xs:15:1: note: declared here 15 | constant(char *name, int arg) | ^~~~~~~~ cc -c -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.04_01\" -DXS_VERSION=\"0.04_01\" -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" libmegahal.c libmegahal.c: In function 'read_input': libmegahal.c:694:5: warning: format not a string literal and no format arguments [-Wformat-security] 694 | fprintf(stdout, prompt); | ^~~~~~~ libmegahal.c:717:13: warning: format not a string literal and no format arguments [-Wformat-security] 717 | fprintf(stdout, prompt); | ^~~~~~~ libmegahal.c: In function 'print_header': libmegahal.c:871:19: warning: format not a string literal and no format arguments [-Wformat-security] 871 | fprintf(file, timestamp); | ^~~~~~~~~ libmegahal.c: In function 'delay': libmegahal.c:2854:9: warning: format not a string literal and no format arguments [-Wformat-security] 2854 | fprintf(stdout, string); | ^~~~~~~ libmegahal.c: In function 'load_model': libmegahal.c:1981:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1981 | fread(cookie, sizeof(char), strlen(COOKIE), file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmegahal.c:1987:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1987 | fread(&(model->order), sizeof(BYTE1), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmegahal.c: In function 'load_tree': libmegahal.c:1934:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1934 | fread(&(node->symbol), sizeof(BYTE2), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmegahal.c:1935:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1935 | fread(&(node->usage), sizeof(BYTE4), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmegahal.c:1936:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1936 | fread(&(node->count), sizeof(BYTE2), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmegahal.c:1937:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1937 | fread(&(node->branch), sizeof(BYTE2), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmegahal.c: In function 'load_dictionary': libmegahal.c:1360:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1360 | fread(&size, sizeof(BYTE4), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmegahal.c: In function 'load_word': libmegahal.c:1397:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1397 | fread(&(word.length), sizeof(BYTE1), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmegahal.c:1404:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1404 | fread(&(word.word[i]), sizeof(char), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from libmegahal.c:101: In function 'fread', inlined from 'load_dictionary' at libmegahal.c:1360:5, inlined from 'load_model' at libmegahal.c:1990:5, inlined from 'load_personality' at libmegahal.c:3263:8, inlined from 'change_personality.constprop' at libmegahal.c:3312:5: /usr/include/x86_64-linux-gnu/bits/stdio2.h:214:12: warning: call to '__fread_chk_warn' declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer [-Wattribute-warning] 214 | return __fread_chk_warn (__ptr, sz, __size, __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f blib/arch/auto/AI/MegaHAL/MegaHAL.so cc -shared -O2 -L/usr/local/lib -fstack-protector-strong MegaHAL.o libmegahal.o -o blib/arch/auto/AI/MegaHAL/MegaHAL.so \ \ chmod 755 blib/arch/auto/AI/MegaHAL/MegaHAL.so CHORNY/AI-MegaHAL-0.04_01.tar.gz /usr/bin/make -- OK CHORNY/AI-MegaHAL-0.04_01.tar.gz Skipping test because of notest pragma Running make install for CHORNY/AI-MegaHAL-0.04_01.tar.gz "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- MegaHAL.bs blib/arch/auto/AI/MegaHAL/MegaHAL.bs 644 Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /usr/local/lib/perl5/site_perl/5.44.0/x86_64-linux/auto/AI/MegaHAL/MegaHAL.so Installing /usr/local/lib/perl5/site_perl/5.44.0/x86_64-linux/AI/MegaHAL.pm Installing /usr/local/lib/perl5/site_perl/5.44.0/x86_64-linux/auto/AI/MegaHAL/autosplit.ix Appending installation info to /usr/local/lib/perl5/5.44.0/x86_64-linux/perllocal.pod CHORNY/AI-MegaHAL-0.04_01.tar.gz /usr/bin/make install -- OK Checking coverage of AI-MegaHAL-0.04_01 cover: running gcov -abcr -o . libmegahal.c File 'libmegahal.c' Lines executed:58.85% of 1074 Branches executed:64.74% of 587 Taken at least once:50.26% of 587 Calls executed:48.95% of 333 Creating 'libmegahal.c.gcov' Lines executed:58.85% of 1074 cover: running gcov -abcr -o . MegaHAL.xs File 'MegaHAL.c' Lines executed:44.17% of 120 Branches executed:35.00% of 40 Taken at least once:17.50% of 40 Calls executed:43.94% of 66 Creating 'MegaHAL.c.gcov' File 'MegaHAL.xs' Lines executed:0.00% of 61 Branches executed:0.00% of 29 Taken at least once:0.00% of 29 No calls Creating 'MegaHAL.xs.gcov' Lines executed:29.28% of 181 cover: running gcov -abcr -o . MegaHAL.c File 'MegaHAL.c' Lines executed:44.17% of 120 Branches executed:35.00% of 40 Taken at least once:17.50% of 40 Calls executed:43.94% of 66 Creating 'MegaHAL.c.gcov' File 'MegaHAL.xs' Lines executed:0.00% of 61 Branches executed:0.00% of 29 Taken at least once:0.00% of 29 No calls Creating 'MegaHAL.xs.gcov' Lines executed:29.28% of 181 cover: running /usr/local/bin/perl /usr/local/bin/gcov2perl -db /home/cpancover/.cpan/build/AI-MegaHAL-0.04_01-0/cover_db libmegahal.c.gcov MegaHAL.xs.gcov gcov2perl: Warning: ignoring branch with 11 targets at libmegahal.c:534 switch(execute_command(words, &position)) { gcov2perl: Warning: ignoring branch with 4 targets at libmegahal.c:2608 ((used_key==TRUE)|| gcov2perl: Writing coverage database to /home/cpancover/.cpan/build/AI-MegaHAL-0.04_01-0/cover_db/runs/1786648966.177.45394 gcov2perl: Warning: ignoring branch with 27 targets at MegaHAL.xs:18 switch (*name) { gcov2perl: Writing coverage database to /home/cpancover/.cpan/build/AI-MegaHAL-0.04_01-0/cover_db/runs/1786648966.177.34205 cover: Reading database from /home/cpancover/.cpan/build/AI-MegaHAL-0.04_01-0/cover_db cover: JSON output written to /home/cpancover/.cpan/build/AI-MegaHAL-0.04_01-0/cover_db/cover.json ================================================================================ **** Checking coverage of AI-MegaHAL-0.04_01 **** Testing AI-MegaHAL-0.04_01 in /home/cpancover/.cpan/build/AI-MegaHAL-0.04_01-0 dc -> /usr/local/bin/perl /usr/local/bin/cover --test --report html --outputfile index.html --select_dir blib cover: Deleting database /home/cpancover/.cpan/build/AI-MegaHAL-0.04_01-0/cover_db cover: running make test "OPTIMIZE=-O0 -fprofile-arcs -ftest-coverage" "OTHERLDFLAGS=-fprofile-arcs -ftest-coverage" "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- MegaHAL.bs blib/arch/auto/AI/MegaHAL/MegaHAL.bs 644 cc -c -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -fprofile-arcs -ftest-coverage -DVERSION=\"0.04_01\" -DXS_VERSION=\"0.04_01\" -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" MegaHAL.c MegaHAL.xs: In function 'constant': MegaHAL.xs:46:13: warning: 'return' with no value, in function returning non-void 46 | return MEGAHAL_H; | ^~~~~~ MegaHAL.xs:15:1: note: declared here 15 | constant(char *name, int arg) | ^~~~~~~~ cc -c -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -fprofile-arcs -ftest-coverage -DVERSION=\"0.04_01\" -DXS_VERSION=\"0.04_01\" -fPIC "-I/usr/local/lib/perl5/5.44.0/x86_64-linux/CORE" libmegahal.c libmegahal.c: In function 'read_input': libmegahal.c:694:5: warning: format not a string literal and no format arguments [-Wformat-security] 694 | fprintf(stdout, prompt); | ^~~~~~~ libmegahal.c:717:13: warning: format not a string literal and no format arguments [-Wformat-security] 717 | fprintf(stdout, prompt); | ^~~~~~~ libmegahal.c: In function 'print_header': libmegahal.c:871:19: warning: format not a string literal and no format arguments [-Wformat-security] 871 | fprintf(file, timestamp); | ^~~~~~~~~ libmegahal.c: In function 'delay': libmegahal.c:2854:9: warning: format not a string literal and no format arguments [-Wformat-security] 2854 | fprintf(stdout, string); | ^~~~~~~ rm -f blib/arch/auto/AI/MegaHAL/MegaHAL.so cc -shared -O2 -L/usr/local/lib -fstack-protector-strong MegaHAL.o libmegahal.o -fprofile-arcs -ftest-coverage -o blib/arch/auto/AI/MegaHAL/MegaHAL.so \ \ chmod 755 blib/arch/auto/AI/MegaHAL/MegaHAL.so PERL_DL_NONLAZY=1 "/usr/local/bin/perl" "-Iblib/lib" "-Iblib/arch" test.pl 1..6 # Running under perl version 5.044000 for linux # Current time local: Thu Aug 13 19:22:44 2026 # Current time GMT: Thu Aug 13 19:22:44 2026 # Using Test.pm version 1.31 ok 1 Creating new AI::MegaHAL load_model: Unable to open file `./megahal.brn'. ok 2 Testing AI::MegaHAL->do_reply method * Sending: We are the knights who say NI! * Replied: We are the computer program, and i am the judge! ok 3 Destroying MegaHAL - should autosave brain and dictionary files ok 4 Checking for brain file: megahal.brn ok 5 Checking for dictionary file: megahal.dic ok 6 cover: running gcov -abcr -o . libmegahal.c File 'libmegahal.c' Lines executed:58.85% of 1074 Branches executed:64.74% of 587 Taken at least once:50.26% of 587 Calls executed:48.95% of 333 Creating 'libmegahal.c.gcov' Lines executed:58.85% of 1074 cover: running gcov -abcr -o . MegaHAL.xs File 'MegaHAL.c' Lines executed:44.17% of 120 Branches executed:35.00% of 40 Taken at least once:17.50% of 40 Calls executed:43.94% of 66 Creating 'MegaHAL.c.gcov' File 'MegaHAL.xs' Lines executed:0.00% of 61 Branches executed:0.00% of 29 Taken at least once:0.00% of 29 No calls Creating 'MegaHAL.xs.gcov' Lines executed:29.28% of 181 cover: running gcov -abcr -o . MegaHAL.c File 'MegaHAL.c' Lines executed:44.17% of 120 Branches executed:35.00% of 40 Taken at least once:17.50% of 40 Calls executed:43.94% of 66 Creating 'MegaHAL.c.gcov' File 'MegaHAL.xs' Lines executed:0.00% of 61 Branches executed:0.00% of 29 Taken at least once:0.00% of 29 No calls Creating 'MegaHAL.xs.gcov' Lines executed:29.28% of 181 cover: running /usr/local/bin/perl /usr/local/bin/gcov2perl -db /home/cpancover/.cpan/build/AI-MegaHAL-0.04_01-0/cover_db libmegahal.c.gcov MegaHAL.xs.gcov gcov2perl: Warning: ignoring branch with 11 targets at libmegahal.c:534 switch(execute_command(words, &position)) { gcov2perl: Warning: ignoring branch with 4 targets at libmegahal.c:2608 ((used_key==TRUE)|| gcov2perl: Writing coverage database to /home/cpancover/.cpan/build/AI-MegaHAL-0.04_01-0/cover_db/runs/1786648965.172.11835 gcov2perl: Warning: ignoring branch with 27 targets at MegaHAL.xs:18 switch (*name) { gcov2perl: Writing coverage database to /home/cpancover/.cpan/build/AI-MegaHAL-0.04_01-0/cover_db/runs/1786648965.172.03687 cover: Reading database from /home/cpancover/.cpan/build/AI-MegaHAL-0.04_01-0/cover_db cover: Added 1 file(s) from --select_dir --------------------- ------ ------ ------ ------ ------ ------ ------ ------ File stmt bran cond mcdc sub pod total scar --------------------- ------ ------ ------ ------ ------ ------ ------ ------ MegaHAL.xs 0.0 0.0 n/a n/a n/a n/a 0.0 n/a .../lib/AI/MegaHAL.pm 71.6 27.2 25.0 0.0 73.3 0.0 55.8 24.7 libmegahal.c 58.8 51.0 n/a n/a n/a n/a 56.1 n/a Total 56.5 50.0 25.0 0.0 73.3 0.0 54.1 24.7 --------------------- ------ ------ ------ ------ ------ ------ ------ ------ cover: HTML output written to /home/cpancover/.cpan/build/AI-MegaHAL-0.04_01-0/cover_db/index.html dc -> /usr/local/bin/perl /usr/local/bin/cover -report json_summary -nosummary ================================================================================ Successfully copied 1.24MB to /remote_staging/pjcj-cpancover_dev-C-CH-CHORNY-AI-MegaHAL-0.04_01.tar.gz--1786648926.551590-1786648926-624493304