More CI woes
SeeWebsiteForEmail at erdani.org
Sun Sep 20 03:16:57 UTC 2020
Several CI pipelines are failing for
https://github.com/dlang/phobos/pull/7638, so I moseyed to what I
thought would be a simple one, the doc build:
I spent some time trying to make heads and tails of it. A few things
that could be improved:
* It's 2942 lines long. Most of these lines are just chaff, e.g. do we
really need to log every single cp operation, or would a "Copied all
files" line suffice?
* The word '\Werror\W' appears in the log 25 times. Although I assume
most are to be ignored, some occur in quite dire contexts, such as:
"Error parsing type 'const(void function()* function() pure nothrow
@property @nogc)': Missing ')' for 'const('". Is it possible to massage
error messages known to be benign?
* Some of the command lines being run are printed like this:
[2020-09-20 02:25:55.606583] dautotest: Running: 'timeout' '1800' 'make'
'-f' 'posix.mak' 'DMD=/home/dtest/DAutoTest/work/build/bin/dmd' '-j' '8'
Command lines are definitely something people would want to copy and
paste from the log. They should be printed like this:
[2020-09-20 02:25:55.606583] dautotest: Running: 'timeout 1800 make -f
posix.mak DMD=/home/dtest/DAutoTest/work/build/bin/dmd -j 8 MODEL=64'
The lines that carry actual information appear like this:
[1msrc/dmd/frontend.d(142): [1;31mError: [mtemplate
cannot deduce function from argument types
[m[1mfun[0;36m = [m[1m"a"[0;36m,
with [0;36m[m[1mfun[0;36m = [m[1maddGlobalIdent[0;36m,
[m[1mRange[0;36m = [m[1mconst[0;36m([m[1mstring[0;36m)[m
must satisfy one of the following constraints:
They have escape sequences for pretty printing with colors. Whatever
system is producing that output should detect it's not running in a
console and omit the escape sequences.
Thanks in advance!
More information about the Digitalmars-d