Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Manu343726/2d4523cb902a7919d45ec6d460a9f032 to your computer and use it in GitHub Desktop.
Save Manu343726/2d4523cb902a7919d45ec6d460a9f032 to your computer and use it in GitHub Desktop.
tinyrefl parser errors, no namespaces in global namespace found
Running with gitlab-runner 10.6.0 (a3543a27)
 on docker-auto-scale 72989761
Using Docker executor with image lasote/conangcc5 ...
Pulling docker image lasote/conangcc5 ...
Using docker image sha256:682660755d898a68a7b1d77543f2e736a6c554ccb436b5575057147871ec2f51 for lasote/conangcc5 ...
section_start:1522656548:prepare_script
Running on runner-72989761-project-5169630-concurrent-0 via runner-72989761-srm-1522656459-d4b13fb3...
section_end:1522656550:prepare_script
section_start:1522656550:get_sources
Cloning repository...
Cloning into '/builds/Manu343726/tinyrefl'...
Checking out d9a55662 as master...
Skipping Git submodules setup
section_end:1522656551:get_sources
section_start:1522656551:restore_cache
section_end:1522656553:restore_cache
section_start:1522656553:download_artifacts
section_end:1522656554:download_artifacts
section_start:1522656554:build_script
$ ./ci.sh
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.7.4")
Submodule 'cppast' (https://github.com/Manu343726/cppast) registered for path '../external/cppast'
Submodule 'ctti' (https://github.com/Manu343726/ctti) registered for path '../external/ctti'
Submodule 'fmt' (https://github.com/fmtlib/fmt.git) registered for path '../external/fmt'
Submodule 'masquerade' (https://gitlab.com/Manu343726/masquerade.git) registered for path '../external/masquerade'
Cloning into 'external/cppast'...
Submodule path '../external/cppast': checked out '82ad8688fdba867310b9a1bd95985d699d6a4527'
Submodule 'external/cxxopts' (https://github.com/jarro2783/cxxopts) registered for path '../external/cxxopts'
Submodule 'external/tiny-process-library' (https://github.com/eidheim/tiny-process-library) registered for path '../external/tiny-process-library'
Submodule 'external/type_safe' (https://github.com/foonathan/type_safe) registered for path '../external/type_safe'
Cloning into 'external/cxxopts'...
Submodule path '../external/cppast/external/cxxopts': checked out '11faadeba77d05a80c751e97142875c4b296fa87'
Cloning into 'external/tiny-process-library'...
Submodule path '../external/cppast/external/tiny-process-library': checked out 'cf212df358680ef0b4b30569672c770bd723a7aa'
Cloning into 'external/type_safe'...
Submodule path '../external/cppast/external/type_safe': checked out '4fc976c3b213e139729faacf2796a93d750503a1'
Submodule 'external/debug_assert' (https://github.com/foonathan/debug_assert) registered for path '../external/debug_assert'
Cloning into 'external/debug_assert'...
Submodule path '../external/cppast/external/type_safe/external/debug_assert': checked out 'cdd21e8be0d2b7794e41fdd87400cd497615a92d'
Cloning into 'external/ctti'...
Submodule path '../external/ctti': checked out 'fee3aa2f056280fed7f73bf3f3254fae1be3316e'
Cloning into 'external/fmt'...
Submodule path '../external/fmt': checked out 'f78c3e41be6e01aad47fc47163c1ad2caff101c0'
Cloning into 'external/masquerade'...
Submodule path '../external/masquerade': checked out '189afd15c1fa1cf97fce0adc6efb6cb3e4efad65'
-- Installing type_safe via submodule
-- Installing debug_assert via submodule
-- Installing tiny-process-library via submodule
-- Downloading LLVM from https://dl.bintray.com/manu343726/llvm-releases/clang+llvm-3.9.1-x86_64-linux-gnu-ubuntu-14.04.tar.xz
-- [download 0% complete]
-- [download 1% complete]
-- [download 2% complete]
-- [download 3% complete]
-- [download 4% complete]
-- [download 5% complete]
-- [download 6% complete]
-- [download 7% complete]
-- [download 8% complete]
-- [download 9% complete]
-- [download 10% complete]
-- [download 11% complete]
-- [download 12% complete]
-- [download 13% complete]
-- [download 14% complete]
-- [download 15% complete]
-- [download 16% complete]
-- [download 17% complete]
-- [download 18% complete]
-- [download 19% complete]
-- [download 20% complete]
-- [download 21% complete]
-- [download 22% complete]
-- [download 23% complete]
-- [download 24% complete]
-- [download 25% complete]
-- [download 26% complete]
-- [download 27% complete]
-- [download 28% complete]
-- [download 29% complete]
-- [download 30% complete]
-- [download 31% complete]
-- [download 32% complete]
-- [download 33% complete]
-- [download 34% complete]
-- [download 35% complete]
-- [download 36% complete]
-- [download 37% complete]
-- [download 38% complete]
-- [download 39% complete]
-- [download 40% complete]
-- [download 41% complete]
-- [download 42% complete]
-- [download 43% complete]
-- [download 44% complete]
-- [download 45% complete]
-- [download 46% complete]
-- [download 47% complete]
-- [download 48% complete]
-- [download 49% complete]
-- [download 50% complete]
-- [download 51% complete]
-- [download 52% complete]
-- [download 53% complete]
-- [download 54% complete]
-- [download 55% complete]
-- [download 56% complete]
-- [download 57% complete]
-- [download 58% complete]
-- [download 59% complete]
-- [download 60% complete]
-- [download 61% complete]
-- [download 62% complete]
-- [download 63% complete]
-- [download 64% complete]
-- [download 65% complete]
-- [download 66% complete]
-- [download 67% complete]
-- [download 68% complete]
-- [download 69% complete]
-- [download 70% complete]
-- [download 71% complete]
-- [download 72% complete]
-- [download 73% complete]
-- [download 74% complete]
-- [download 75% complete]
-- [download 76% complete]
-- [download 77% complete]
-- [download 78% complete]
-- [download 79% complete]
-- [download 80% complete]
-- [download 81% complete]
-- [download 82% complete]
-- [download 83% complete]
-- [download 84% complete]
-- [download 85% complete]
-- [download 86% complete]
-- [download 87% complete]
-- [download 88% complete]
-- [download 89% complete]
-- [download 90% complete]
-- [download 91% complete]
-- [download 92% complete]
-- [download 93% complete]
-- [download 94% complete]
-- [download 95% complete]
-- [download 96% complete]
-- [download 97% complete]
-- [download 98% complete]
-- [download 99% complete]
-- [download 100% complete]
-- Found llvm-config at /builds/Manu343726/tinyrefl/build/external/cppast/clang+llvm-3.9.1-x86_64-linux-gnu-ubuntu-14.04/bin/llvm-config
-- Using LLVM version 3.9.1
-- Found libclang header files at /builds/Manu343726/tinyrefl/build/external/cppast/clang+llvm-3.9.1-x86_64-linux-gnu-ubuntu-14.04/include
-- Found libclang library at /builds/Manu343726/tinyrefl/build/external/cppast/clang+llvm-3.9.1-x86_64-linux-gnu-ubuntu-14.04/lib/libclang.so
-- Found libclang system header files at /builds/Manu343726/tinyrefl/build/external/cppast/clang+llvm-3.9.1-x86_64-linux-gnu-ubuntu-14.04/lib/clang/3.9.1/include
-- Found clang binary at /builds/Manu343726/tinyrefl/build/external/cppast/clang+llvm-3.9.1-x86_64-linux-gnu-ubuntu-14.04/bin/clang
-- CMake version: 3.10.3
-- Version: 4.1.1
-- Build type:
-- Performing Test HAVE_STD_CPP11_FLAG
-- Performing Test HAVE_STD_CPP11_FLAG - Success
-- Performing Test FMT_CPP11_CMATH
-- Performing Test FMT_CPP11_CMATH - Success
-- Performing Test FMT_CPP11_UNISTD_H
-- Performing Test FMT_CPP11_UNISTD_H - Success
-- Performing Test FMT_CPP11_SNPRINTF
-- Performing Test FMT_CPP11_SNPRINTF - Success
-- Performing Test SUPPORTS_VARIADIC_TEMPLATES
-- Performing Test SUPPORTS_VARIADIC_TEMPLATES - Success
-- Performing Test SUPPORTS_INITIALIZER_LIST
-- Performing Test SUPPORTS_INITIALIZER_LIST - Failed
-- Performing Test SUPPORTS_ENUM_BASE
-- Performing Test SUPPORTS_ENUM_BASE - Success
-- Performing Test SUPPORTS_TYPE_TRAITS
-- Performing Test SUPPORTS_TYPE_TRAITS - Failed
-- Performing Test SUPPORTS_USER_DEFINED_LITERALS
-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success
-- Looking for open
-- Looking for open - found
-- >> Tinyrefl driver on tinyrefl-test-static: tinyrefl strings.hpp members.hpp -std=c++14 /builds/Manu343726/tinyrefl/external;/builds/Manu343726/tinyrefl/include;$<BUILD_INTERFACE:/builds/Manu343726/tinyrefl/external/fmt>;$<INSTALL_INTERFACE:include>;/builds/Manu343726/tinyrefl/external/ctti/include;/builds/Manu343726/tinyrefl/external/masquerade/
-- >> Tinyrefl driver on tinyrefl-test: tinyrefl example.hpp -std=c++14 /builds/Manu343726/tinyrefl/include;$<BUILD_INTERFACE:/builds/Manu343726/tinyrefl/external/fmt>;$<INSTALL_INTERFACE:include>;/builds/Manu343726/tinyrefl/external/ctti/include;/builds/Manu343726/tinyrefl/external/masquerade/
-- >> Tinyrefl driver on tinyrefl-example: tinyrefl example.hpp -std=c++14 /builds/Manu343726/tinyrefl/include;$<BUILD_INTERFACE:/builds/Manu343726/tinyrefl/external/fmt>;$<INSTALL_INTERFACE:include>;/builds/Manu343726/tinyrefl/external/ctti/include;/builds/Manu343726/tinyrefl/external/masquerade/
-- Generate vim YCM config file for tinyrefl at /builds/Manu343726/tinyrefl ...
-- Configuring done
-- Generating done
-- Build files have been written to: /builds/Manu343726/tinyrefl/build
Scanning dependencies of target example_main
Scanning dependencies of target _cppast_tiny_process
Scanning dependencies of target fmt
[ 1%] Building CXX object external/cppast/CMakeFiles/_cppast_tiny_process.dir/external/tiny-process-library/process.cpp.o
[ 2%] Building CXX object external/cppast/CMakeFiles/_cppast_tiny_process.dir/external/tiny-process-library/process_unix.cpp.o
[ 10%] Building CXX object external/fmt/fmt/CMakeFiles/fmt.dir/printf.cc.o
[ 10%] Building CXX object external/ctti/examples/CMakeFiles/example_main.dir/main.cpp.o
[ 10%] Building CXX object external/fmt/fmt/CMakeFiles/fmt.dir/ostream.cc.o
[ 10%] Building CXX object external/fmt/fmt/CMakeFiles/fmt.dir/posix.cc.o
[ 10%] Building CXX object external/fmt/fmt/CMakeFiles/fmt.dir/format.cc.o
[ 11%] Linking CXX executable example_main
[ 11%] Built target example_main
[ 13%] Linking CXX static library lib_cppast_tiny_process.a
[ 13%] Built target _cppast_tiny_process
Scanning dependencies of target cppast
[ 14%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_entity.cpp.o
[ 17%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_class.cpp.o
[ 19%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_entity_kind.cpp.o
[ 20%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_class_template.cpp.o
[ 22%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_alias_template.cpp.o
[ 16%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_attribute.cpp.o
[ 23%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_expression.cpp.o
[ 25%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/code_generator.cpp.o
[ 26%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_enum.cpp.o
[ 27%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_forward_declarable.cpp.o
[ 33%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_function.cpp.o
[ 33%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_entity_index.cpp.o
[ 33%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_file.cpp.o
[ 33%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_friend.cpp.o
[ 35%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_function_template.cpp.o
[ 36%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_language_linkage.cpp.o
[ 38%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_namespace.cpp.o
[ 39%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_preprocessor.cpp.o
[ 41%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_member_variable.cpp.o
[ 42%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_member_function.cpp.o
[ 44%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_static_assert.cpp.o
[ 45%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_template_parameter.cpp.o
[ 47%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_token.cpp.o
[ 48%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_type.cpp.o
[ 50%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_type_alias.cpp.o
[ 51%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_variable.cpp.o
[ 52%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/cpp_variable_template.cpp.o
[ 54%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/visitor.cpp.o
[ 55%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/diagnostic_logger.cpp.o
[ 58%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/libclang/debug_helper.cpp.o
[ 60%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/libclang/cxtokenizer.cpp.o
[ 61%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/libclang/class_parser.cpp.o
[ 57%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/libclang/expression_parser.cpp.o
[ 63%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/libclang/enum_parser.cpp.o
[ 64%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/libclang/function_parser.cpp.o
[ 66%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/libclang/friend_parser.cpp.o
[ 67%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/libclang/language_linkage_parser.cpp.o
[ 69%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/libclang/libclang_parser.cpp.o
[ 70%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/libclang/parse_functions.cpp.o
[ 72%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/libclang/namespace_parser.cpp.o
[ 73%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/libclang/preprocessor.cpp.o
[ 75%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/libclang/template_parser.cpp.o
[ 76%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/libclang/variable_parser.cpp.o
[ 77%] Building CXX object external/cppast/src/CMakeFiles/cppast.dir/libclang/type_parser.cpp.o
section_end:1522656824:build_script
section_start:1522656824:after_script
[ 79%] Linking CXX static library libfmt.a
[ 79%] Built target fmt
Scanning dependencies of target tinyrefl
[ 80%] Building CXX object src/CMakeFiles/tinyrefl.dir/utils/demangle.cpp.o
[ 82%] Linking CXX static library libtinyrefl.a
[ 82%] Built target tinyrefl
[ 83%] Linking CXX static library libcppast.a
[ 83%] Built target cppast
Scanning dependencies of target tinyrefl-tool
[ 85%] Building CXX object tool/CMakeFiles/tinyrefl-tool.dir/tool.cpp.o
[ 86%] Linking CXX executable tinyrefl-tool
[ 86%] Built target tinyrefl-tool
Scanning dependencies of target tinyrefl_tool_tinyrefl-test_example.hpp
Scanning dependencies of target tinyrefl_tool_tinyrefl-example_example.hpp
Scanning dependencies of target tinyrefl_tool_tinyrefl-test-static_strings.hpp
Scanning dependencies of target tinyrefl_tool_tinyrefl-test-static_members.hpp
Generating tinyrefl metadata for tinyrefl-example/example.hpp
Generating tinyrefl metadata for tinyrefl-test/example.hpp
Generating tinyrefl metadata for tinyrefl-test-static/strings.hpp
Generating tinyrefl metadata for tinyrefl-test-static/members.hpp
[simple file parser] [info] parsing file 'example.hpp'
[simple file parser] [info] parsing file 'example.hpp'
[simple file parser] [info] parsing file 'strings.hpp'
[simple file parser] [info] parsing file 'members.hpp'
[libclang] [error] example.hpp:10: use of undeclared identifier 'std'
[libclang] [error] example.hpp:10: expected member name or ';' after declaration specifiers
[libclang] [error] example.hpp:13: expected class name
[libclang] [error] example.hpp:18: use of undeclared identifier 'std'
parsing file members.hpp -std=c++14 -I/builds/Manu343726/tinyrefl/external -I/builds/Manu343726/tinyrefl/include -I/builds/Manu343726/tinyrefl/external/fmt -I/builds/Manu343726/tinyrefl/external/ctti/include -I/builds/Manu343726/tinyrefl/external/masquerade/ -I/usr/include/c++/5 -I/usr/include/x86_64-linux-gnu/c++/5 -I/usr/include/c++/5/backward -I/usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include ...
# foo::Foo [attributes: ]
- (member) member [attributes: ]
Done. Metadata saved in members.hpp.tinyrefl
parsing file example.hpp -std=c++14 -I/builds/Manu343726/tinyrefl/include -I/builds/Manu343726/tinyrefl/external/fmt -I/builds/Manu343726/tinyrefl/external/ctti/include -I/builds/Manu343726/tinyrefl/external/masquerade/ -I/usr/include/c++/5 -I/usr/include/x86_64-linux-gnu/c++/5 -I/usr/include/c++/5/backward -I/usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include ...
# my_namespace::Foo [attributes: ]
# my_namespace::MyClass [attributes: ]
- (member) f [attributes: ]
- (member) str [attributes: ]
- (enum) Enum [attributes: ]
- (class) Foo (definition) [attributes: ]
- (base) my_namespace::Foo
# my_namespace::MyClass::Enum [attributes: ]
- (enum value) my_namespace::MyClass::Enum::A
- (enum value) my_namespace::MyClass::Enum::B
- (enum value) my_namespace::MyClass::Enum::C
- (enum value) my_namespace::MyClass::Enum::D
# my_namespace::MyClass::Foo [attributes: ]
Done. Metadata saved in example.hpp.tinyrefl
parsing file strings.hpp -std=c++14 -I/builds/Manu343726/tinyrefl/external -I/builds/Manu343726/tinyrefl/include -I/builds/Manu343726/tinyrefl/external/fmt -I/builds/Manu343726/tinyrefl/external/ctti/include -I/builds/Manu343726/tinyrefl/external/masquerade/ -I/usr/include/c++/5 -I/usr/include/x86_64-linux-gnu/c++/5 -I/usr/include/c++/5/backward -I/usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include ...
# Foo [attributes: ]
- (member) a [attributes: ]
- (member) b [attributes: ]
- (member) c [attributes: ]
- (member) d [attributes: ]
Done. Metadata saved in strings.hpp.tinyrefl
[ 86%] Built target tinyrefl_tool_tinyrefl-test_example.hpp
[ 86%] Built target tinyrefl_tool_tinyrefl-test-static_members.hpp
[ 86%] Built target tinyrefl_tool_tinyrefl-test-static_strings.hpp
[libclang] [error] example.hpp:28: no member named 'tinyrefl' in the global namespace
[libclang] [error] example.hpp:28: no member named 'tinyrefl' in the global namespace
[libclang] [error] example.hpp:28: use of undeclared identifier 'ctti'
[libclang] [error] example.hpp:28: no member named 'tinyrefl' in the global namespace
[libclang] [error] example.hpp:28: no member named 'tinyrefl' in the global namespace
[libclang] [error] example.hpp:28: use of undeclared identifier 'ctti'
[libclang] [error] example.hpp:28: no member named 'tinyrefl' in the global namespace
[libclang] [error] example.hpp:30: use of undeclared identifier 'std'
[libclang] [error] example.hpp:31: use of undeclared identifier 'std'
[libclang parser] [warning] example.hpp:28: unhandled cursor of kind 'UnexposedDecl'
[libclang parser] [warning] example.hpp:28: unhandled cursor of kind 'UnexposedDecl'
[libclang parser] [warning] example.hpp:28: unhandled cursor of kind 'UnexposedDecl'
[libclang parser] [warning] example.hpp:28: unhandled cursor of kind 'UnexposedDecl'
[libclang parser] [warning] example.hpp:28: unhandled cursor of kind 'UnexposedDecl'
parsing file example.hpp -std=c++14 -I/builds/Manu343726/tinyrefl/include -I/builds/Manu343726/tinyrefl/external/fmt -I/builds/Manu343726/tinyrefl/external/ctti/include -I/builds/Manu343726/tinyrefl/external/masquerade/ -I/usr/include/c++/5 -I/usr/include/x86_64-linux-gnu/c++/5 -I/usr/include/c++/5/backward -I/usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include ...
# example::A [attributes: ]
- (member) a [attributes: ]
# example::B [attributes: ]
- (member) b [attributes: ]
# example::Enum [attributes: ]
- (enum value) example::Enum::A
- (enum value) example::Enum::B
- (enum value) example::Enum::C
- (enum value) example::Enum::D
- (enum value) example::Enum::E
# example::C [attributes: ]
- (class) tinyrefl_godmode_tag (definition) [attributes: ]
- (member) hey_im_here [attributes: ]
- (member) subobject [attributes: ]
- (enum) Enum [attributes: ]
- (member) method [attributes: ]
- (base) example::A
- (base) example::B
# example::C::tinyrefl_godmode_tag [attributes: ]
# example::C::Enum [attributes: ]
- (enum value) example::C::Enum::A
- (enum value) example::C::Enum::B
- (enum value) example::C::Enum::C
- (enum value) example::C::Enum::D
- (enum value) example::C::Enum::E
- (enum value) example::C::Enum::F
- (enum value) example::C::Enum::G
Done. Metadata saved in example.hpp.tinyrefl
Scanning dependencies of target tinyrefl-test-static
[ 86%] Built target tinyrefl_tool_tinyrefl-example_example.hpp
[ 88%] Building CXX object tests/static/CMakeFiles/tinyrefl-test-static.dir/generated_code.cpp.o
[ 89%] Building CXX object tests/static/CMakeFiles/tinyrefl-test-static.dir/main.cpp.o
[ 91%] Building CXX object tests/static/CMakeFiles/tinyrefl-test-static.dir/backend.cpp.o
Scanning dependencies of target tinyrefl-example
[ 92%] Building CXX object examples/CMakeFiles/tinyrefl-example.dir/example.cpp.o
Scanning dependencies of target tinyrefl-test
[ 95%] Building CXX object tests/CMakeFiles/tinyrefl-test.dir/main.cpp.o
[ 94%] Building CXX object tests/CMakeFiles/tinyrefl-test.dir/api.cpp.o
In file included from /builds/Manu343726/tinyrefl/examples/example.cpp:4:0:
/builds/Manu343726/tinyrefl/examples/example.hpp:30:38: warning: 'tinyrefl::ignore' scoped attribute directive ignored [-Wattributes]
[[tinyrefl::ignore]] std::string ignore_me;
^
[ 97%] Linking CXX executable tinyrefl-test-static
[ 97%] Built target tinyrefl-test-static
[ 98%] Linking CXX executable tinyrefl-example
[ 98%] Built target tinyrefl-example
[100%] Linking CXX executable tinyrefl-test
[100%] Built target tinyrefl-test
UpdateCTestConfiguration from :/builds/Manu343726/tinyrefl/build/DartConfiguration.tcl
UpdateCTestConfiguration from :/builds/Manu343726/tinyrefl/build/DartConfiguration.tcl
Test project /builds/Manu343726/tinyrefl/build
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 1
Start 1: tinyrefl-test
1: Test command: /builds/Manu343726/tinyrefl/build/tests/tinyrefl-test
1: Test timeout computed to be: 9.99988e+06
1:
1: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1: tinyrefl-test is a Catch v2.0.1 host application.
1: Run with -? for options
1:
1: -------------------------------------------------------------------------------
1: tinyrefl api
1: class metadata
1: -------------------------------------------------------------------------------
1: /builds/Manu343726/tinyrefl/tests/api.cpp:11
1: ...............................................................................
1:
1: /builds/Manu343726/tinyrefl/tests/api.cpp:20: FAILED:
1: REQUIRE( metadata::base_classes::size == 2 )
1: with expansion:
1: 1 == 2
1: with message:
1: Base class(0): my_namespace::Foo
1:
1: -- 1 -- On base_class my_namespace::Foo
1: -- 0 -- On class my_namespace::MyClass
1: -- 0 -- On member function f
1: -- 0 -- On member variable str
1: -- 0 -- On member class Foo
1: -- 0 -- On member enum Enum
1:
1:
1: -------------------------------------------------------------------------------
1: tinyrefl api
1: visit class
1: member variables
1: -------------------------------------------------------------------------------
1: /builds/Manu343726/tinyrefl/tests/api.cpp:56
1: ...............................................................................
1:
1: /builds/Manu343726/tinyrefl/tests/api.cpp:52: FAILED:
1: CHECK( entities.count(entity_name) == expected_count )
1: with expansion:
1: 0 == 1
1: with message:
1: vector member variable expected 1 times
1:
1: -- 1 -- On base_class my_namespace::Foo
1: -- 0 -- On class my_namespace::MyClass
1: -- 0 -- On member function f
1: -- 0 -- On member variable str
1: -- 0 -- On member class Foo
1: -- 0 -- On member enum Enum
1:
1:
1: -- 1 -- On base_class my_namespace::Foo
1: -- 0 -- On class my_namespace::MyClass
1: -- 0 -- On member function f
1: -- 0 -- On member variable str
1: -- 0 -- On member class Foo
1: -- 0 -- On member enum Enum
1:
1:
1: -- 1 -- On base_class my_namespace::Foo
1: -- 0 -- On class my_namespace::MyClass
1: -- 0 -- On member function f
1: -- 0 -- On member variable str
1: -- 0 -- On member class Foo
1: -- 0 -- On member enum Enum
1:
1:
1: -- 1 -- On base_class my_namespace::Foo
1: -- 0 -- On class my_namespace::MyClass
1: -- 0 -- On member function f
1: -- 0 -- On member variable str
1: -- 0 -- On member class Foo
1: -- 0 -- On member enum Enum
1:
1:
1: -------------------------------------------------------------------------------
1: tinyrefl api
1: visit class
1: base classes
1: -------------------------------------------------------------------------------
1: /builds/Manu343726/tinyrefl/tests/api.cpp:122
1: ...............................................................................
1:
1: /builds/Manu343726/tinyrefl/tests/api.cpp:52: FAILED:
1: CHECK( entities.count(entity_name) == expected_count )
1: with expansion:
1: 0 == 1
1: with message:
1: my_namespace::BaseClass base_class expected 1 times
1:
1: ===============================================================================
1: test cases: 1 | 0 passed | 1 failed
1: assertions: 53 | 50 passed | 3 failed
1:
1/1 Test #1: tinyrefl-test ....................***Failed 0.00 sec
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 0.09 sec
The following tests FAILED:
1 - tinyrefl-test (Failed)
Errors while running CTest
section_end:1522657062:after_script
ERROR: Job failed (system failure): Cannot connect to the Docker daemon at tcp://10.142.0.46:2376. Is the docker daemon running?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment