Let Exceptions now use stringstreams

8 jobs for development in 12 minutes and 18 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Build Gcc Nocheck
failed #6145
job_make_gcc_nocheck

00:01:25

 
  Test Gcc Nocheck
skipped #6146
job_test_gcc_nocheck
 
  Code Coverage
passed #6147
job_code_coverage

00:05:09

76.984%
 
  Build Python2
failed #6148
job_build_python2

00:01:55

 
  Build Python3
failed #6149
job_build_python3

00:01:54

 
  Test Python2
failed #6150
job_test_python2

00:01:53

 
  Build Clang
failed #6151
job_make_clang

00:00:00

 
  Test Clang
skipped #6152
job_test_clang
 
Name Stage Failure
failed
job_make_clang Build Clang
clang version 7.0.1-8 (tags/RELEASE_701/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
mkdir -p build/.unitTestObjects/src/unitTests/
clang++-3.9 -D XERUS_UNITTEST -I include -I src/unitTests src/unitTests/fullTensor_product.cxx -c -std=c++11 -Wall -Wextra -pedantic -ftemplate-backtrace-limit=0 -Wundef -Wunreachable-code -Wdisabled-optimization -Wcast-qual -Wsign-promo -Winit-self -Wnon-virtual-dtor -Woverloaded-virtual -Wconversion -Wfloat-equal -Wshadow -Wswitch-default -Wpacked -Wcast-align -Wctor-dtor-privacy -Wold-style-cast -Wlogical-op-parentheses -Wno-error=return-type-c-linkage -Wno-comment -Wno-unknown-pragmas -Wno-unused-parameter -Werror -ferror-limit=3 -Wno-error=unused-parameter -Wno-error=unused-variable -Wno-error=disabled-optimization -D XERUS_VERSION="v3.0.1-338-gad80999" -D XERUS_VERSION_MAJOR=3 -D XERUS_VERSION_MINOR=0 -D XERUS_VERSION_REVISION=1 -D XERUS_VERSION_COMMIT=338 -D XERUS_LOG_INFO -g -MMD -o build/.unitTestObjects/src/unitTests/fullTensor_product.o
/bin/sh: 1: clang++-3.9: not found
make: *** [Makefile:378: build/.unitTestObjects/src/unitTests/fullTensor_product.o] Error 127
ERROR: Job failed: exit status 1
failed
job_test_python2 Test Python2
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/usr/bin/ld: cannot find -lboost_python-py27
collect2: error: ld returned 1 exit status
make: *** [Makefile:223: build/python2/xerus.so] Error 1
ERROR: Job failed: exit status 1
failed
job_build_python3 Build Python3
g++ -shared -fPIC -Wl,-soname,libxerus_misc.so -std=c++11 -Wall -Wextra -pedantic -ftemplate-backtrace-limit=0 -Wundef -Wunreachable-code -Wdisabled-optimization -Wcast-qual -Wsign-promo -Winit-self -Wnon-virtual-dtor -Woverloaded-virtual -Wconversion -Wfloat-equal -Wshadow -Wswitch-default -Wpacked -Wcast-align -Wctor-dtor-privacy -Wold-style-cast -Wuseless-cast -Wno-error=useless-cast -Wlogical-op -Wtrampolines -Wsuggest-override -Wno-comment -Wno-unknown-pragmas -Wno-unused-parameter -Werror -fmax-errors=3 -Wno-error=unused-parameter -Wno-error=unused-variable -Wno-error=disabled-optimization -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -D XERUS_VERSION="v3.0.1-338-gad80999" -D XERUS_VERSION_MAJOR=3 -D XERUS_VERSION_MINOR=0 -D XERUS_VERSION_REVISION=1 -D XERUS_VERSION_COMMIT=338 -g -I /usr/include/python2.7/ -lboost_python -I/usr/lib64/python2.7/site-packages/numpy/core/include/ -lpython2.7 -fno-var-tracking-assignments -I include src/xerus/misc/fileUtilities.cpp src/xerus/misc/callStack.cpp src/xerus/misc/random.cpp src/xerus/misc/simpleNumerics.cpp src/xerus/misc/namedLogger.cpp src/xerus/misc/performanceAnalysis.cpp src/xerus/misc/allocator.cpp src/xerus/misc/stringUtilities.cpp src/xerus/misc/timeMeasure.cpp src/xerus/misc/histogram.cpp src/xerus/misc/exceptions.cpp src/xerus/misc/missingFunctions.cpp src/xerus/misc/standard.cpp src/xerus/misc/codeCoverage.cpp -Wl,--as-needed -lbfd -liberty -lz -ldl -lboost_filesystem -o build/libxerus_misc.so
mkdir -p build/
g++ -shared -fPIC -Wl,-soname,libxerus.so -std=c++11 -Wall -Wextra -pedantic -ftemplate-backtrace-limit=0 -Wundef -Wunreachable-code -Wdisabled-optimization -Wcast-qual -Wsign-promo -Winit-self -Wnon-virtual-dtor -Woverloaded-virtual -Wconversion -Wfloat-equal -Wshadow -Wswitch-default -Wpacked -Wcast-align -Wctor-dtor-privacy -Wold-style-cast -Wuseless-cast -Wno-error=useless-cast -Wlogical-op -Wtrampolines -Wsuggest-override -Wno-comment -Wno-unknown-pragmas -Wno-unused-parameter -Werror -fmax-errors=3 -Wno-error=unused-parameter -Wno-error=unused-variable -Wno-error=disabled-optimization -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -D XERUS_VERSION="v3.0.1-338-gad80999" -D XERUS_VERSION_MAJOR=3 -D XERUS_VERSION_MINOR=0 -D XERUS_VERSION_REVISION=1 -D XERUS_VERSION_COMMIT=338 -g -I /usr/include/python2.7/ -lboost_python -I/usr/lib64/python2.7/site-packages/numpy/core/include/ -lpython2.7 -fno-var-tracking-assignments -I include src/xerus/htNetwork.cpp src/xerus/performanceData.cpp src/xerus/measurments.cpp src/xerus/htStack.cpp src/xerus/indexedTensor_tensor_evaluate.cpp src/xerus/tensor.cpp src/xerus/contractionHeuristic.cpp src/xerus/indexedTensor.cpp src/xerus/indexedTensorWritable.cpp src/xerus/cholmod_wrapper.cpp src/xerus/indexedTensorList.cpp src/xerus/ttNetwork.cpp src/xerus/sparseTimesFullContraction.cpp src/xerus/tensor_specializations.cpp src/xerus/arpackWrapper.cpp src/xerus/basic.cpp src/xerus/ttStack.cpp src/xerus/indexedTensorReadOnly.cpp src/xerus/link.cpp src/xerus/tensorNetwork.cpp src/xerus/indexedTensor_tensor_solve.cpp src/xerus/tensorNode.cpp src/xerus/indexedTensorMoveable.cpp src/xerus/blockTT.cpp src/xerus/blasLapackWrapper.cpp src/xerus/indexedTensor_tensor_factorisations.cpp src/xerus/index.cpp src/xerus/algorithms/randomSVD.cpp src/xerus/algorithms/largestEntry.cpp src/xerus/algorithms/asd.cpp src/xerus/algorithms/optimizationAlgorithm.cpp src/xerus/algorithms/adf.cpp src/xerus/algorithms/iht.cpp src/xerus/algorithms/cg.cpp src/xerus/algorithms/retractions.cpp src/xerus/algorithms/als.cpp src/xerus/algorithms/decompositionAls.cpp src/xerus/algorithms/steepestDescent.cpp src/xerus/applications/uq.cpp src/xerus/applications/uqAdf.cpp src/xerus/examples/specificLowRankTensors.cpp src/xerus/examples/tensorCompletion.cpp -L ./build/ -Wl,--as-needed -lxerus_misc -lcholmod -lspqr -llapacke -llapack -lopenblas -lgfortran -o build/libxerus.so
mkdir -p build/python3/
g++ -shared -fPIC -Wl,-soname,xerus.so `python3-config --cflags --ldflags` -std=c++11 -Wall -Wextra -pedantic -ftemplate-backtrace-limit=0 -Wundef -Wunreachable-code -Wdisabled-optimization -Wcast-qual -Wsign-promo -Winit-self -Wnon-virtual-dtor -Woverloaded-virtual -Wconversion -Wfloat-equal -Wshadow -Wswitch-default -Wpacked -Wcast-align -Wctor-dtor-privacy -Wold-style-cast -Wuseless-cast -Wno-error=useless-cast -Wlogical-op -Wtrampolines -Wsuggest-override -Wno-comment -Wno-unknown-pragmas -Wno-unused-parameter -Werror -fmax-errors=3 -Wno-error=unused-parameter -Wno-error=unused-variable -Wno-error=disabled-optimization -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -D XERUS_VERSION="v3.0.1-338-gad80999" -D XERUS_VERSION_MAJOR=3 -D XERUS_VERSION_MINOR=0 -D XERUS_VERSION_REVISION=1 -D XERUS_VERSION_COMMIT=338 -g -I /usr/include/python2.7/ -lboost_python -I/usr/lib64/python2.7/site-packages/numpy/core/include/ -lpython2.7 -fno-var-tracking-assignments -fno-var-tracking-assignments -fpermissive -I include src/xerus/python/htnetwork.cpp src/xerus/python/leastSquares.cpp src/xerus/python/factorizations.cpp src/xerus/python/tensor.cpp src/xerus/python/indexedTensor.cpp src/xerus/python/python.cpp src/xerus/python/ttnetwork.cpp src/xerus/python/recovery.cpp src/xerus/python/tensorNetwork.cpp src/xerus/python/blocktt.cpp src/xerus/python/misc.cpp -L ./build/ -Wl,--as-needed -lxerus -lboost_python-py35 -o build/python3/xerus.so
/usr/bin/ld: cannot find -lboost_python-py35
collect2: error: ld returned 1 exit status
make: *** [Makefile:229: build/python3/xerus.so] Error 1
ERROR: Job failed: exit status 1
failed
job_build_python2 Build Python2
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/usr/bin/ld: cannot find -lboost_python-py27
collect2: error: ld returned 1 exit status
make: *** [Makefile:223: build/python2/xerus.so] Error 1
ERROR: Job failed: exit status 1
failed
job_make_gcc_nocheck Build Gcc Nocheck
include/xerus/misc/allocator.h:56:62:   required from here
/usr/include/c++/8/bits/stl_vector.h:354:21: error: static assertion failed: std::vector must have the same value_type as its allocator
static_assert(is_same<typename _Alloc::value_type, _Tp>::value,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_vector.h: In instantiation of ‘class std::vector<std::pair<unsigned char*, unsigned char*>, __gnu_cxx::malloc_allocator<void*> >’:
include/xerus/misc/allocator.h:57:58: required from here
/usr/include/c++/8/bits/stl_vector.h:354:21: error: static assertion failed: std::vector must have the same value_type as its allocator
make: *** [Makefile:355: build/.miscObjects/src/xerus/misc/allocator.o] Error 1
ERROR: Job failed: exit status 1